Skip to content

MOD HIM 001 WBN

Domain specifications / D06-HIM / 5. Detailed Functional Requirements / 5.1 Module Specification: HIM Workbench

5.1 Module Specification: HIM Workbench

5.1.1 Module Overview

Module ID: MOD-HIM-001

Purpose:
Give HIM staff one workspace in which all HIM work items are queued, assigned, aged, escalated and measured, and from which HIM identity stewards reach the Domain 1 identity review queue.

Business Capabilities: - CAP-HIM-001 HIM work management

Primary Actors: - HIM Manager, Clinical Coder, Coding Supervisor, HIM Analyst, Document Indexing Clerk, ROI Officer, Privacy Officer, Records Retention Administrator, Identity Steward (HIM)

Dependencies: - MOD-HIM-002 to MOD-HIM-010 as sources of work items - Domain 1 (ADM) identity review queue and merge or unmerge events - Domain 10 (ESS) identity, authorization, workflow or task coordination, notification and audit

5.1.2 Functional Area: Workqueue Management and Identity Review Participation

Functional Area ID: FA-HIM-001, FA-HIM-002

Description:
FA-HIM-001 covers the work item model shared by all HIM modules. FA-HIM-002 covers how HIM stewards take part in identity review and how HIM-owned records follow identity changes.

Scope: - Included: queue definitions, assignment, ageing, escalation, queue measures, entry to the Domain 1 identity queue, re-linking of HIM records after merge or unmerge. - Excluded: the identity matching engine, the identity review queue itself and merge or unmerge execution (Domain 1); the generic workflow engine (Domain 10).

5.1.3 Detailed Requirements

Requirement FR-HIM-WBN-001: HIM workqueues with assignment, ageing and escalation

Attribute Description
Requirement ID FR-HIM-WBN-001
Requirement Name HIM workqueues with assignment, ageing and escalation
Requirement Type Functional
Module HIM Workbench
Functional Area FA-HIM-001 Workqueue management
Priority Must
Criticality High
Requirement Status Draft
Source HIM-001; DAT-005 (partial); PRS section 5 "HIM and compliance"; CFG-001 (partial)
Related Business Rule BR-HIM-001, BR-HIM-002
Related Workflow WF-HIM-001 to WF-HIM-006

1. Requirement Statement

The system shall provide configurable HIM workqueues that hold work items for coding, deficiencies, document indexing, retention review, legal hold, disclosure requests, access reviews and coding or indexing exceptions, and shall support assignment, reassignment, ageing, escalation and closure of every work item.

2. Business Rationale

HIM-001 requires that deficiencies can be assigned, escalated and closed, and DAT-005 requires that stewardship items are assigned, resolved and measured. A single work item model lets HIM management see and balance all HIM work.

3. Actors and Permissions

Actor Permission Conditions
HIM Manager Create, Read, Update, Approve Configure queues within own facility scope; reassign any item; approve waivers
Clinical Coder, HIM Analyst, Document Indexing Clerk, ROI Officer, Records Retention Administrator Read, Update Only queues granted to the role and facility; may claim and release items
Privacy Officer Read, Update Disclosure and access review queues; claims and closes access review items
Consuming service (HIM modules) Create, Update Service identity scoped to its own item types

4. Preconditions - Queue definitions and routing rules are configured and effective. - The user is authenticated with a unique identity (SEC-001).

5. Trigger - An HIM module creates or updates a work item, a user claims, reassigns or closes an item, or a timer reaches a due time.

6. Functional Behaviour

  1. The system creates a work item with type, patient and encounter references where applicable, source record reference, priority, created time and due time derived from configuration. A deficiency work item takes the derived priority of its deficiency (FR-HIM-CDT-002 part 6.12). A "Disputed deficiency" item is created when an owner returns a deficiency to HIM (FR-HIM-CDT-002 part 6.9); an "Integrity check failed" item is created for the HIM Manager when a document fails its integrity check (FR-HIM-DOC-002 part 10); an "Access review" item is created for the privacy office queue when a record access review is started or a scheduled sample review falls due (FR-HIM-AUD-002), and closes when the review is Closed.
  2. The system routes the item to a queue by item type, facility, encounter type and other configured attributes.
  3. An authorized user claims an item ("Claim"), or a manager assigns it; the system records assignee and time.
  4. The system computes item age and shows queue depth, oldest item and overdue count.
  5. When an item passes its due time the system escalates it to the configured level and notifies that level through the Domain 10 notification service.
  6. The system closes the item when the underlying record reaches its terminal state, recording outcome and resolution reason.
  7. The system prevents two users from working the same item concurrently by an explicit claim or lock with visible holder.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Work item type Code Yes Value from configured item types Coding, deficiency, disputed deficiency, indexing, integrity check failed, retention, hold, disclosure, access review, exception
Source record reference Identifier Yes Must resolve to an HIM record The record the item represents
Patient / encounter reference Identifier Conditional Must resolve in Domain 1 when present Context of the item
Priority Code Yes Configured value; derived, never entered, for deficiency and Disputed deficiency items Routing and ordering
Assignee User or team identifier No Active user with queue permission Current owner
Resolution reason Code and text On closure Configured value Outcome of the item

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-WBN-001-1 One open work item per source record and item type Duplicate creation requests update the existing item
PR-WBN-001-2 Due time is computed from the configured rule at creation and recomputed on priority change Due time and its rule version are stored
PR-WBN-001-3 Escalation does not change the accountable owner unless a manager reassigns Owner history remains intact

9. Output Requirements

Output Format Recipient Description
Queue view Screen HIM roles Items with age, priority, assignee, due state
Escalation notification Notification Configured escalation level Overdue item reference without unnecessary clinical detail
Queue measures Event / extract Domain 8 Volume, ageing, assignment, resolution reason and outcome

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Assignee lacks queue permission Authorization check Assignment rejected "User is not permitted to work this queue."
Item already held by another user Lock check Claim rejected Show current holder
Notification service unavailable Delivery status Escalation state recorded; notification retried Item shows escalation with delivery pending

11. State and Lifecycle Behaviour

A work item is Open, Assigned, Escalated or Closed. Its state is derived from, and kept consistent with, the state of the source record; closing a work item never by itself changes the source record.

12. Audit Requirements

Assignment, reassignment, escalation, closure and queue configuration changes are audited with before and after assignee and reason.

13. Security and Privacy Requirements

Queue visibility is limited by role and facility. Queue lists show the patient by name and No. RM, as the work list row of OV-01 does. Notifications do not carry clinical content.

14. Acceptance Criteria

  • AC-01: Given a configured deficiency queue, when a deficiency is created, then a work item appears in the queue with age, priority and due time.
  • AC-02: Given an assigned item past its due time, when the timer fires, then the item is Escalated, the configured level is notified and the owner is unchanged.
  • AC-03: Given an item held by user A, when user B attempts to claim it, then the claim is rejected and the holder is shown.
  • AC-04: Given a closed item, when the queue report is produced, then ageing, assignment, resolution reason and outcome are reported.

15. Dependencies and Integration

  • Upstream dependencies: MOD-HIM-002 to MOD-HIM-010; Domain 10 identity and authorization.
  • Downstream dependencies: Domain 10 notification; Domain 8 queue measures.
  • Required events or APIs: internal work item API; EVT-HIM-014 HimWorkItemChanged.

16. Open Questions / Assumptions

  • Work items run on the Domain 10 workflow and task coordination capability, with HIM owning the definitions (DEC-HIM-004, resolved 2026-11-17; DEC-ESS-014).

Requirement FR-HIM-WBN-002: HIM participation in identity review and re-linking of HIM records

Attribute Description
Requirement ID FR-HIM-WBN-002
Requirement Name HIM participation in identity review and re-linking of HIM records
Requirement Type Functional
Module HIM Workbench
Functional Area FA-HIM-002 Identity review participation
Priority Must
Criticality Critical
Requirement Status Draft
Source ADM-006 (partial); ADM-007 (partial); PAT-006 (partial); PRS 19.3 "Identity policy"
Related Business Rule BR-HIM-020, BR-HIM-009
Related Workflow BP-HIM-009

1. Requirement Statement

The system shall give HIM identity stewards access from the HIM workbench to the Domain 1 identity review queue, and shall re-link coding records, deficiencies, document metadata, legal holds, disclosure requests and disclosure log entries to the surviving enterprise identity after a merge, and restore the original links after an unmerge, without losing history.

2. Business Rationale

ADM-006 places uncertain matches, duplicate candidates and merge or unmerge requests in HIM workqueues, and ADM-007 requires that histories remain intact after merge and unmerge. A wrong or lost link on a legal hold or disclosure record is a legal and privacy risk.

3. Actors and Permissions

Actor Permission Conditions
Identity Steward (HIM) Read, Update (in Domain 1) Permission granted by Domain 1 policy; actions are executed by Domain 1 services
Consuming service (Domain 1) Create (event) Publishes merge and unmerge events
HIM Manager Read Views re-link reconciliation results

4. Preconditions - Domain 1 publishes merge, unmerge and identity correction events with source and surviving identifiers.

5. Trigger - A steward opens the identity queue from the workbench, or a merge, unmerge or identity correction event is received.

6. Functional Behaviour

  1. The workbench shows the count and age of identity review items the user is entitled to and opens the Domain 1 review function in context.
  2. On a merge event the system records the identity link change against every HIM record that references the non-surviving identifier, keeping the original identifier as provenance.
  3. An active legal hold scoped to either identity continues to protect the records of both.
  4. A disclosure restriction on either identity is flagged for Privacy Officer review, because a restriction must not be silently widened or dropped by a merge.
  5. An open disclosure request for either identity is flagged for review before release.
  6. On an unmerge event the system restores the original links using the retained provenance and flags records created after the merge for manual attribution.
  7. Records that existed before the merge return to their original identity with the unmerge.
  8. On EncounterCorrected (EVT-ADM-026) with the reason "Reattributed after unmerge", the system moves every HIM record held under that encounter (CIN) to the identity the encounter now belongs to, without a separate decision: coding records, deficiencies, document metadata, legal hold scope entries, disclosure requests and disclosure log entries. The unmerge reference is kept as provenance. Restriction and open-request flags of steps 4 and 5 apply to the moved records.
  9. Records created after the merge with no encounter (for example a document indexed to the patient only, or a disclosure request) go to the HIM identity review queue as a work item for the Identity Steward (HIM), following the Domain 1 unmerge procedure step 9.3. Each item is closed within 2 working days.
  10. The system acknowledges PatientUnmerged and each EncounterCorrected through the inbox mechanism, so that Domain 1 can close the unmerge work item only after HIM has closed its items.
  11. The system produces a reconciliation result listing re-linked, flagged and failed records.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Event identifier Identifier Yes Unique; used for idempotency Merge or unmerge event ID
Surviving enterprise identifier Identifier Yes Resolves in Domain 1 Target identity
Non-surviving identifier(s) Identifier list Yes Resolves in Domain 1 Source identities
Event type Code Yes Merge, unmerge, correction, encounter correction with reason "Reattributed after unmerge" Processing branch

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-WBN-002-1 Processing is idempotent by event identifier A repeated event produces no additional change
PR-WBN-002-2 Original identifiers are never overwritten Each record keeps its original and current identity references
PR-WBN-002-3 Records created between merge and unmerge are not attributed automatically unless they carry an encounter Records under an encounter follow its "Reattributed after unmerge" correction; records with no encounter are placed on a work item for manual attribution

9. Output Requirements

Output Format Recipient Description
Re-link reconciliation result Report / work items HIM Manager Counts and exceptions per event
Review flags Work items Privacy Officer, ROI Officer Restrictions and open requests affected by an identity change

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Event references an unknown identifier Lookup in Domain 1 Event quarantined Exception work item for HIM Manager
Re-link fails for some records Per-record outcome Remaining records processed; failures listed Reconciliation shows failed records
Events received out of order Sequence check on identity version Later event held until the earlier is applied None to user; monitored

11. State and Lifecycle Behaviour

Record states do not change on re-linking. A disclosure request in Approved returns to In Preparation when its patient identity changes before release.

12. Audit Requirements

Each re-link is audited with event identifier, record reference and old and new identity reference. Steward actions in the identity queue are audited by Domain 1.

13. Security and Privacy Requirements

A merge must not extend access or disclosure: restrictions are reviewed, not merged automatically. Stewards see only the demographic and identifier data needed for the decision, as defined by Domain 1.

14. Acceptance Criteria

  • AC-01: Given two identities each with coding records and documents, when a merge event is processed, then all HIM records resolve to the surviving identity and each keeps its original identifier.
  • AC-02: Given a merged identity, when an unmerge event is processed, then the HIM records return to their original identities and records created after the merge are listed for manual attribution.
  • AC-05: Given a coding record and a document created after a merge under encounter E, and a disclosure request with no encounter, when PatientUnmerged and an EncounterCorrected for E with the reason "Reattributed after unmerge" are processed, then the coding record and document move with E to its attributed identity and the disclosure request is placed in the HIM review queue.
  • AC-03: Given an active legal hold on the non-surviving identity, when the merge is processed, then the held records remain held.
  • AC-04: Given the same merge event delivered twice, when the second is processed, then no record changes.

15. Dependencies and Integration

  • Upstream dependencies: Domain 1 identity events and identity review function.
  • Downstream dependencies: MOD-HIM-002 to MOD-HIM-010.
  • Required events or APIs: Domain 1 patient merge, unmerge and correction events; EncounterCorrected (EVT-ADM-026) for reattribution after unmerge; Domain 1 identity review entry point.

16. Open Questions / Assumptions

  • The identity stewardship model, including whether HIM staff are the identity stewards, is an open decision in REF-002 and PRS 19.3 (DEC-HIM-003).

← 5. Detailed Functional Requirements | Contents | Identifier index | 5.2 Module Specification: Clinical Coding and Classification →