MOD HIM 010 AUD
Domain specifications / D06-HIM / 5. Detailed Functional Requirements / 5.10 Module Specification: Record Access and Disclosure Audit
5.10 Module Specification: Record Access and Disclosure Audit¶
5.10.1 Module Overview¶
Module ID: MOD-HIM-010
Purpose:
Give HIM and the privacy office the accounting of disclosures for a patient and the means to review who accessed a record, using the disclosure log owned by this domain and the audit records held by the Domain 10 audit service.
Business Capabilities: - CAP-HIM-010 Record access and disclosure audit
Primary Actors: - Privacy Officer, HIM Manager, ROI Officer
Dependencies: - MOD-HIM-008 (disclosure log entries) - Domain 10 audit service (access events, query interface); Domain 2 SIEM forwarding - Domain 7 where an accounting is delivered to a patient through the portal
5.10.2 Functional Area: Accounting of Disclosures and Record Access Review¶
Functional Area ID: FA-HIM-020, FA-HIM-021
Description:
FA-HIM-020 covers the disclosure log and per-patient accounting. FA-HIM-021 covers access reports for a record and HIM review of them.
Scope: - Included: disclosure log, registration of disclosures made outside the ROI workflow, accounting report, record access report, review notes and outcome. - Excluded: the audit store, its integrity protection and SIEM forwarding (Domain 10 and Domain 2); Break-the-Glass retrospective review workflow (Domain 10, SEC-014); security anomaly detection (Domain 2, SEC-010).
5.10.3 Detailed Requirements¶
Requirement FR-HIM-AUD-001: Disclosure log and accounting of disclosures¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-HIM-AUD-001 |
| Requirement Name | Disclosure log and accounting of disclosures |
| Requirement Type | Functional |
| Module | Record Access and Disclosure Audit |
| Functional Area | FA-HIM-020 Accounting of disclosures |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | HIM-004 (disclosure logging); SEC-006 (partial); SEC-019 (partial); PRS 10.3 |
| Related Business Rule | BR-HIM-014 |
| Related Workflow | BP-HIM-008 |
1. Requirement Statement
The system shall maintain an append-only disclosure log of every disclosure of a patient's health information made from the HIS to a party outside the treating organisation, and shall produce on request an accounting of disclosures for a patient and period that lists for each disclosure the date, requester, recipient, purpose, scope and basis.
2. Business Rationale
HIM-004 acceptance is that every disclosure has requester, purpose, scope and recipient. A per-patient accounting makes that verifiable and answers patient and regulator enquiries.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| ROI Officer | Read; Create (manual entries and annotating entries) | Registers disclosures made outside the ROI workflow, such as a legally required report sent on paper; corrects an entry by adding an annotating entry (part 6.2) |
| Privacy Officer | Read | Full disclosure log |
| HIM Manager | Read | Full disclosure log for own facility |
| Consuming services (MOD-HIM-008; Domain 2 exchange adapters; Domain 7) | Create | Write log entries for disclosures they execute |
4. Preconditions - Disclosure-producing services are configured to write to the disclosure log.
5. Trigger - A release is executed (FR-HIM-ROI-004); an external exchange transmits patient data to an external party; a manual entry is made; an accounting is requested.
6. Functional Behaviour
- Each disclosure log entry holds patient, date and time, requester, recipient, purpose, scope description, content references (package or exchanged resource identifiers), basis (authorization, consent directive version or legal basis), channel, executing user or service and correlation ID.
- Entries are append-only. A correction is a new entry, made by the ROI Officer with a required reason, that references and annotates the earlier one.
- System-to-system disclosures to external parties executed by other domains are recorded through the same log by event or API; which exchange types must be recorded is configurable by policy.
- The accounting report lists the entries for a patient and period. It can be produced in a form suitable for the patient (the patient version), which leaves out what CFG-HIM-026 sets: by default the names of internal staff, shown by role and department instead, and disclosures to law enforcement or a court while the law or the order forbids telling the patient.
- Producing an accounting is itself logged. If the accounting is given to the patient or a representative, the request is handled as a disclosure request of the corresponding type (CFG-HIM-019) on UI-HIM-010, with the patient version as its content. The portal does not show an accounting; a patient who asks for one is pointed to the medical records unit.
- Entries follow identity links after merge and unmerge (FR-HIM-WBN-002).
- Entries affected by a later amendment or mis-indexing correction carry a flag (FR-HIM-RAC-003, FR-HIM-DOC-003).
- A statutory disclosure class shows, on request, the per-patient lines for the patient and period on UI-HIM-011 itself: SATUSEHAT lines from the submission record of FR-HIM-ROI-005 part 6.3, lines of other classes from the integration audit trail of Domain 2. Privacy users are not sent to the integration console. When the trail cannot be read, the class row says that the per-patient detail is not available at the moment.
- Every query of the disclosure log and every accounting needs a reason from the list of CFG-HIM-027 and either a patient or a period.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Patient | Identifier | Yes | Resolves in Domain 1 | Subject |
| Requester, recipient, purpose, scope | Text / code | Yes | All four present | HIM-004 attributes |
| Query reason | Code and text | Yes, for every query and accounting | Value of CFG-HIM-027 | Why the log is queried (part 12) |
| Correction reason | Text | For an annotating entry | Not empty | Why the earlier entry is corrected |
| Basis | Code and reference | Yes | Configured value | Ground for the disclosure |
| Content references | Reference list | Yes for system entries | What was disclosed | |
| Channel, executor, time, correlation ID | Code, identifier, timestamp | Yes | Execution facts |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-AUD-001-1 | An entry lacking requester, purpose, scope or recipient is rejected | Log completeness |
| PR-AUD-001-2 | Entries are never updated or deleted | Append-only |
| PR-AUD-001-3 | Entry creation is idempotent by correlation ID and package or message identifier | No duplicate entries from retries |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Accounting of disclosures | Report (screen, printable document) | Privacy Officer, ROI Officer, patient through an ROI request | Disclosures for a patient and period |
| Disclosure indicators | Event / extract | Domain 8 | Volumes by purpose, recipient category, channel |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| External exchange adapter cannot write the entry | Delivery status | Entry buffered durably by the caller and retried; unmatched exchanges appear on a reconciliation list | Monitored |
| Manual entry with missing attribute | PR-AUD-001-1 | Rejected | Name the missing field |
| Accounting requested for an identity under merge review | Identity status | Report produced with a warning | "Identity is under review; report may be incomplete." |
| Query without a reason | Part 6.9 | Refused | "Enter the reason for the query." |
| Integration audit trail unavailable for a statutory class | Service call | Class row shown without per-patient lines | "Per-patient detail is not available at the moment." |
11. State and Lifecycle Behaviour
Disclosure log entries have no lifecycle other than creation and annotation. They are retained under their record class.
12. Audit Requirements
Every query of the disclosure log and every accounting produced is audited with user, patient and the reason given for it, which is required (part 6.9). Annotating entries are audited with their author and reason.
13. Security and Privacy Requirements
The disclosure log is Confidential and can reveal sensitive facts (for example a disclosure to a particular authority). Access is limited to privacy, ROI and HIM management roles.
14. Acceptance Criteria
- AC-01: Given three releases for a patient in a period, when the accounting is produced for that period, then it lists the three with date, requester, recipient, purpose, scope and basis.
- AC-02: Given any user, when an update or delete of a disclosure log entry is attempted, then it is refused.
- AC-03: Given an external exchange configured as recordable, when it transmits the patient's data, then an entry exists with the exchange's correlation ID.
- AC-04: Given an accounting produced by a Privacy Officer, when the audit trail is inspected, then the production is recorded.
- AC-05: Given a user who searches the disclosure log without a reason, when the search is run, then it is refused.
- AC-06: Given an accounting with a disclosure to the police under a non-disclosure order, when the patient version is produced, then that disclosure is left out and internal staff are shown by role only.
- AC-07: Given a patient whose encounters were submitted to SATUSEHAT in the period, when the per-patient detail of the SATUSEHAT class is shown, then each submission is listed from the submission record.
15. Dependencies and Integration
- Upstream dependencies: FR-HIM-ROI-004; Domain 2 exchange adapters; Domain 7.
- Downstream dependencies: Domain 8; Domain 10 audit service (corresponding audit events).
- Required events or APIs: disclosure log write API; EVT-HIM-012.
16. Open Questions / Assumptions
- Recordable disclosures are set by DEC-HIM-012, resolved 2026-11-17. Recorded individually: any release outside the organisation that is not a routine statutory flow, including copies to the patient or representative, insurers beyond the standard claim, law enforcement and courts, employers, other providers on request, research and media. Routine statutory flows (SATUSEHAT submissions, public health reporting) are recorded as a disclosure class, with per-patient detail on request (part 6.8). Configured in CFG-HIM-022. Update 2026-11-17: JKN claims, named in DEC-HIM-012, are not in release 1 (DEC-FIN-003); their class is added when JKN is. The query reason, the patient version of an accounting and the per-patient lines were settled (parts 6.4, 6.8, 6.9 and 12).
- The disclosure log is an HIM business record distinct from, and consistent with, the audit events in Domain 10 (ASM-HIM-002).
Requirement FR-HIM-AUD-002: Record access report and review¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-HIM-AUD-002 |
| Requirement Name | Record access report and review |
| Requirement Type | Functional |
| Module | Record Access and Disclosure Audit |
| Functional Area | FA-HIM-021 Record access review |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | SEC-006 (partial); SEC-019 (partial); SEC-007 (partial); PRS 10.3; PRS section 5 "HIM and compliance" (audit); PMK 24/2022 (security and access trail of the electronic medical record) |
| Related Business Rule | None specific |
| Related Workflow | BP-HIM-008 |
1. Requirement Statement
The system shall allow an authorized privacy or HIM user to obtain, for a patient record and period, a report of access to that record (views, queries, creates, updates, amendments, signatures, exports, prints and disclosures) drawn from the Domain 10 audit service, and to record a review of that access with notes and outcome.
2. Business Rationale
The PRS capability map places audit under HIM and compliance, and the Domain Scope model lists "Record access and disclosure audit" as a Domain 6 module. The audit records are captured and protected by Domain 10 (SEC-006, SEC-019); HIM and privacy staff need a record-centred view to answer complaints, patient enquiries and investigations.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Privacy Officer | Read, Create, Update | Run access reports; record reviews; work access review items in the HIM workbench (FR-HIM-WBN-001) |
| HIM Manager | Read | Run access reports for own facility where delegated |
| Other users | None | No access |
4. Preconditions - The audit service exposes a query interface by patient or resource reference with authorization for the privacy role.
5. Trigger - A complaint, patient enquiry, investigation, mis-indexing correction or scheduled sample review.
6. Functional Behaviour
- The user states patient, period, optional filters (action type, user, department, emergency access) and the reason for the report, from the list of CFG-HIM-027.
- The system queries the audit service and presents the access events with actor, role, action, resource, purpose of use where recorded, source endpoint, outcome and time. The report includes access recorded under identifiers that were later merged into this patient, each marked with the identifier it was recorded under.
- The report marks emergency (Break-the-Glass) access and accesses by users with no recorded care relationship where the audit event carries that information.
- The user records a review with notes and outcome (no concern, referred for investigation, incident raised, from CFG-HIM-027) and may link an incident reference; the reference is required for "incident raised". Starting a review creates an access review work item for the privacy office queue, closed with the review.
- The report can be exported in a controlled format; the export is audited.
- Running the report is itself written to the audit service (privileged access to audit data must be audited, PRS 10.3).
- Where an access report is to be given to the patient, it is handled as a disclosure request of the corresponding type (CFG-HIM-019) on UI-HIM-010 and redacted according to policy.
- A Closed review is not reopened or changed. A later look at the same access is a new review that references the closed one.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Patient | Identifier | Yes | Resolves in Domain 1 | Record under review |
| Period | Date range | Yes | Start before end | Review window |
| Reason | Code and text | Yes | Value of CFG-HIM-027 | Why the report is run |
| Review outcome and notes | Code, text | For a recorded review | Outcome from CFG-HIM-027; notes not empty | Result of the review |
| Earlier review | Reference | No | A Closed review of the same patient | The review this one follows up |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-AUD-002-1 | The report reads audit data; it never copies it into an HIM store beyond the review record and its summary | Audit data remains under Domain 10 control |
| PR-AUD-002-2 | A report cannot be run without a reason | Access to audit data is purposeful |
| PR-AUD-002-3 | Incomplete audit query results are stated as incomplete | No false assurance |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Record access report | Screen / controlled export | Privacy Officer | Access events for the record |
| Review record | Structured record | Privacy office | Notes, outcome, incident link |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Audit service unavailable or query times out | Service call | Report not produced or marked partial | "Audit data is unavailable or incomplete." |
| User lacks privacy role | Authorization | Refused and audited | "You are not permitted to view access reports." |
| Change to a Closed review | Part 6.8 | Refused | "A closed review cannot be changed. Start a new review." |
| Period exceeds the audit retention window | Range check | Report produced for the available period with a notice | "Audit records before [date] are not available." |
11. State and Lifecycle Behaviour
Review record: Open, Closed with outcome. Closed is final; a follow-up is a new review that references it (part 6.8).
12. Audit Requirements
Report execution, export and review recording are audited with user, patient, reason and time.
13. Security and Privacy Requirements
Access reports reveal staff activity and patient information and are Sensitive. Exports are encrypted and their retention is limited by policy.
14. Acceptance Criteria
- AC-01: Given a patient record viewed by three users in a period, when the Privacy Officer runs the access report for that period with a reason, then the three views are listed with actor, action and time.
- AC-02: Given an emergency access event in the period, when the report is produced, then that event is marked.
- AC-03: Given a report run, when the audit trail is inspected, then the report run is recorded with the user and reason.
- AC-04: Given a user without the privacy role, when the report is requested, then it is refused.
- AC-05: Given a patient into whom another record was merged, when the report is run for a period before the merge, then access to the merged record is listed with the identifier it was recorded under.
- AC-06: Given a Closed review, when the Privacy Officer tries to change it, then the change is refused and a new review referencing it can be started.
15. Dependencies and Integration
- Upstream dependencies: Domain 10 audit service query interface.
- Downstream dependencies: privacy incident process (outside the system or in Domain 10 as designed).
- Required events or APIs: audit query API.
16. Open Questions / Assumptions
- The PRS does not give an identified requirement for an HIM-side access review function; it is derived from the capability map, SEC-006, SEC-019 and PMK 24/2022, and confirmed as specified with the split of DEC-HIM-013 (GAP-HIM-002, closed 17 Nov 2026).
- The split between this function and the audit service's own reporting user interface in Domain 10 was resolved as option (a) (DEC-HIM-013). The report columns are those of the Domain 10 access report, view 2 (action, resource, outcome and the "no care relationship" flag included), with one reason field serving as its purpose of query.
- Update 2026-11-17: the reason and outcome lists (CFG-HIM-027), merged identifiers, the access review work item and the rule that a closed review is not reopened were added (parts 6.1, 6.2, 6.4 and 6.8).
← 5.9 Module Specification: Consent Evidence and Disclosure Restrictions Coordination | Contents | Identifier index | 6. User Interface and Interaction Requirements →