MOD HIM 002 COD
Domain specifications / D06-HIM / 5. Detailed Functional Requirements / 5.2 Module Specification: Clinical Coding and Classification
5.2 Module Specification: Clinical Coding and Classification¶
5.2.1 Module Overview¶
Module ID: MOD-HIM-002
Purpose:
Abstract clinician-authored clinical concepts for an encounter into administrative classification codes, with governed crosswalks, human review, code-set validation and a coding status that Domain 5 can rely on.
Business Capabilities: - CAP-HIM-002 Clinical coding and classification
Primary Actors: - Clinical Coder, Coding Supervisor
Dependencies: - Domain 1 encounter and discharge events - Domain 3 and Domain 4 clinical content (diagnoses, procedures, notes, reports) read through their APIs - Domain 10 terminology service (code systems, versions, crosswalks) and authorization - Domain 5 as consumer of coding status and codes
5.2.2 Functional Area: Encounter Coding, Abstraction and Coding Status¶
Functional Area ID: FA-HIM-003, FA-HIM-004, FA-HIM-005
Description:
FA-HIM-003 covers the coding worklist and code assignment. FA-HIM-004 covers crosswalk candidates, human review and validation. FA-HIM-005 covers finalisation, revision and the published coding status.
Scope: - Included: coding record lifecycle, candidate codes, coder decisions, validation, sequencing of codes, revision history, coding status interface. - Excluded: maintenance of code systems and crosswalk content (Domain 10), claim scrubbing and payer rules (Domain 5), grouping or tariff logic (Domain 5), guideline and pathway concept mapping (Domain 9).
5.2.3 Detailed Requirements¶
Requirement FR-HIM-COD-001: Encounter coding worklist and code assignment¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-HIM-COD-001 |
| Requirement Name | Encounter coding worklist and code assignment |
| Requirement Type | Functional |
| Module | Clinical Coding and Classification |
| Functional Area | FA-HIM-003 Encounter coding |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | HIM-001 (coding workflows); RCM-007; ADM-002 (partial) |
| Related Business Rule | BR-HIM-005, BR-HIM-007 |
| Related Workflow | WF-HIM-002 |
1. Requirement Statement
The system shall create a coding record for each encounter that meets the configured coding eligibility condition, place it on a coding worklist, and allow an authorized coder to review the encounter record and assign, sequence and annotate diagnosis and procedure classification codes against that encounter.
2. Business Rationale
HIM-001 requires coding workflows. Claims and statistical reporting need encounter-level classification codes with a traceable coder decision (RCM-007).
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Clinical Coder | Create, Read, Update | Coding records in assigned queues; read access to the encounter record for the coding purpose |
| Coding Supervisor | Read, Update, Approve | All coding records in facility scope |
| Consuming service (Domain 5) | Read | Coding status and final codes only |
4. Preconditions - The encounter exists with a case identifier and patient link. - Coding eligibility rules are configured per encounter type.
5. Trigger - Domain 1 publishes an encounter event that satisfies the eligibility rule, or a coder creates a coding record manually for an eligible encounter.
6. Functional Behaviour
- The system creates one coding record per encounter and coding purpose, in status Pending, linked to patient, encounter and facility.
- The coding screen presents the encounter's diagnoses, procedures, notes, reports and discharge summary in read-only form with their source and status.
- The coder adds code assignments, each with code system, code-set version, code, role (for example principal or secondary diagnosis, procedure), sequence and optional note.
- Each code assignment may reference the source clinical concept or document on which it is based.
- The coder may save work in progress; the coding record stays In Progress.
- The coder may place the record On Hold with a reason and raise a deficiency against the missing documentation (FR-HIM-CDT-001).
- The system shows the chart-completion status of the encounter to the coder.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Encounter identifier | Identifier | Yes | Resolves in Domain 1 | Encounter being coded |
| Code system and version | Code | Yes | Published in Domain 10 | Classification used |
| Code | Code | Yes | Valid in the version (FR-HIM-COD-003) | Assigned code |
| Code role | Code | Yes | Configured roles; at most one principal diagnosis per coding record | Role of the code |
| Sequence | Integer | Yes | Unique within role | Order of codes |
| Source reference | Reference | No | Resolves to a Domain 3 or 4 record | Basis of the code |
| Hold reason | Code and text | When On Hold | Configured value | Why coding cannot proceed |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-COD-001-1 | One active coding record per encounter and coding purpose | A second creation request returns the existing record |
| PR-COD-001-2 | Coding eligibility is evaluated on encounter events and by periodic reconciliation | No eligible encounter lacks a coding record |
| PR-COD-001-3 | Code roles and their cardinality come from the jurisdiction profile | Role rules are not hard-coded |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Coding record | Structured record | Coder, supervisor | Codes with roles, sequence, versions, sources and status |
| Coding worklist item | Work item | HIM Workbench | Pending or in-progress coding |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Encounter cancelled after coding started | Encounter status event | Coding record set to Cancelled with reason; work item closed | "Encounter was cancelled; coding record closed." |
| Second principal diagnosis added | Cardinality rule | Rejected | "Only one principal diagnosis is allowed." |
| Source clinical record unreadable | Authorization or availability | Coding screen shows unavailable sections explicitly | Coder cannot finalise until the record is reviewed |
11. State and Lifecycle Behaviour
Coding record: Pending, In Progress, On Hold, In Review, Final, Revision In Progress, Superseded, Cancelled, as in section 4.3; revisions create new versions (FR-HIM-COD-004). Screens show Final as "Coding complete · [date]" and On Hold as "On hold · [reason]" (glossary 10); "Final" stays the result status of glossary 2.
12. Audit Requirements
Creation, each code assignment change, hold and release from hold are audited with before and after values. Coder access to the encounter record is audited as a record view with purpose "coding".
13. Security and Privacy Requirements
Coders have read access to encounter content for the coding purpose only and no write access to clinical content. Content with privacy labels is shown to coders only as permitted by Domain 10 policy.
14. Acceptance Criteria
- AC-01: Given an inpatient encounter and an eligibility rule of discharge, when the discharge event is received, then a Pending coding record and a worklist item exist for that encounter.
- AC-02: Given an In Progress coding record, when the coder adds a principal diagnosis and two secondary diagnoses with sequence, then the record stores each with code system, version, role and sequence.
- AC-03: Given insufficient documentation, when the coder sets On Hold with a reason, then the record shows On Hold and a deficiency is raised.
- AC-04: Given an encounter that was eligible but whose event was not received, when reconciliation runs, then the missing coding record is created.
15. Dependencies and Integration
- Upstream dependencies: Domain 1 encounter events; Domain 3 and 4 read APIs; Domain 10 terminology.
- Downstream dependencies: FR-HIM-COD-004, Domain 5.
- Required events or APIs: Domain 1 encounter and discharge events; IF-HIM-001.
16. Open Questions / Assumptions
- Classification systems and role rules are set by DEC-HIM-005 (PRS 28.1 "RCM jurisdiction profile"), resolved 2026-11-17. Diagnoses: ICD-10, 2010 edition with the Indonesian Modification. Procedures: ICD-9-CM, 2010 edition with the Indonesian Modification. Morbidity and mortality reporting: ICD-10. SNOMED CT is used on the clinical side only and mapped; it is not a claim code. Code roles: principal diagnosis, secondary diagnoses, principal procedure, secondary procedures, external cause, underlying cause of death. Reference date: code-set version, grouper version and tariff are taken from the discharge date for inpatient episodes and the date of service for outpatient and emergency visits. The edition the current INA-CBG grouper expects and the reference-date rule are confirmed against the E-Klaim manual.
- Outpatient encounters where the clinician's own diagnosis coding is accepted without coder review may be configured as a separate coding purpose; this is an assumption (ASM-HIM-003).
Requirement FR-HIM-COD-002: Crosswalk-assisted abstraction with human review¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-HIM-COD-002 |
| Requirement Name | Crosswalk-assisted abstraction with human review |
| Requirement Type | Functional |
| Module | Clinical Coding and Classification |
| Functional Area | FA-HIM-004 Abstraction and code validation |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | RCM-007; PRS 13.2 (AI and automation boundary); DAT-005 (partial); PRS 22.3 |
| Related Business Rule | BR-HIM-005, BR-HIM-007 |
| Related Workflow | WF-HIM-002 |
1. Requirement Statement
The system shall derive candidate classification codes from the clinician-authored clinical concepts of an encounter using governed crosswalks obtained from the terminology service, shall present each candidate with its source concept, confidence and code-set version, and shall record the coder's decision on each candidate before any candidate becomes part of the coding record.
2. Business Rationale
RCM-007 requires abstraction of clinical concepts into administrative codes using governed crosswalks and human review, with acceptance that candidate mappings show source concept, confidence, coder decision and code-set version.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Clinical Coder | Read, Update | Decide candidates on own or assigned coding records |
| Coding Supervisor | Read, Update | Override coder decision before finalisation, with reason |
| System (crosswalk evaluation) | Create | Creates candidates only; cannot set a decision |
4. Preconditions - A coding record exists (FR-HIM-COD-001). - Crosswalk versions effective for the encounter are published by Domain 10.
5. Trigger - The coding record is opened, or the coder requests regeneration of candidates after the clinical record changed.
6. Functional Behaviour
- The system reads the coded clinical concepts of the encounter (diagnoses, conditions, procedures) from Domain 3 and Domain 4.
- For each concept the system requests the mapped classification code or codes from the Domain 10 terminology service for the target code system and effective version.
- The system creates a candidate for each mapping with source concept, source record reference, target code, crosswalk version, code-set version and the confidence returned by the terminology service. Confidence is the map relationship type of the Domain 10 concept map (FR-ESS-TRM-003): equivalent, broader, narrower or related; no numeric score is used. The map entry's rationale is shown with the candidate. Only an equivalent single target is shown as a plain suggestion; broader, narrower, related and multi-target candidates are shown "Check mapping" and need a decision.
- The coder accepts, rejects or replaces each candidate; rejection and replacement require a reason code.
- An accepted or replacing code becomes a code assignment with a link to the candidate.
- A concept with no mapping, or with several mappings that need a choice, is shown as unmapped or ambiguous and requires a manual decision.
- For an unmapped concept the system raises a stewardship item to the Domain 10 terminology stewardship queue.
- If candidates are produced by a machine-learning or other AI-assisted service, they are labelled "AI-drafted" with the use case and model version, treated as candidates under the same rules, and the coding workflow continues to function when that service is unavailable. The coder's accept, reject or replace records the AI disposition (FR-ANL-AIG-003). An undecided AI candidate does not block finalisation; it expires when the coding record is finalised (OV-135 of the fifth batch).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Source concept | Coded concept | Yes | From a Domain 3 or 4 record with status not entered-in-error | Clinician-authored concept |
| Target code system | Code | Yes | Configured for the coding purpose | Classification |
| Coder decision | Code | Yes, before finalisation | Accept, reject, replace | Human decision |
| Decision reason | Code and text | For reject and replace | Configured value | Why the candidate was not accepted |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-COD-002-1 | A candidate never becomes a code assignment without a recorded coder decision | Undecided candidates block finalisation |
| PR-COD-002-2 | Candidates are generated from the versions effective for the encounter, not the current date | Historical encounters are coded with the correct versions |
| PR-COD-002-3 | Regeneration keeps earlier candidates and decisions | Decisions are not lost when the clinical record changes |
| PR-COD-002-4 | Source concepts are read, never written | Clinical record unchanged |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Candidate list | Screen / structured record | Coder | Source concept, confidence, target code, versions, decision |
| Stewardship item | Work item / event | Domain 10 terminology stewardship | Unmapped or ambiguous concept |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Terminology service unavailable | Service call | Candidates not generated; manual coding remains available | "Candidate codes are unavailable; code manually." |
| Source concept inactive in its code system | Terminology validation | Candidate flagged | Coder decides manually |
| Candidate target code inactive in effective version | Validation | Candidate marked invalid and cannot be accepted | "Mapped code is not valid for this encounter date." |
11. State and Lifecycle Behaviour
A candidate is Proposed, Accepted, Rejected or Replaced. Candidates are retained with the coding record version.
12. Audit Requirements
Each decision is audited with coder, time, candidate, decision and reason. Candidate generation is logged with crosswalk and code-set versions and, where applicable, the model or rule version that produced it.
13. Security and Privacy Requirements
Any automated candidate service receives data through scoped, logged APIs with purpose-limited authorization (PRS 13.2) and does not write to the coding record.
14. Acceptance Criteria
- AC-01: Given an encounter with three coded diagnoses that have crosswalk mappings, when the coding record is opened, then three candidates are shown, each with source concept, confidence, target code and code-set version.
- AC-02: Given an undecided candidate, when the coder attempts to finalise, then finalisation is refused.
- AC-03: Given a concept with no mapping, when candidates are generated, then the concept is shown as unmapped and a stewardship item is raised.
- AC-04: Given a rejected candidate, when the coding record is inspected, then the rejection reason, coder and time are retrievable.
15. Dependencies and Integration
- Upstream dependencies: Domain 10 terminology service (mapping lookup); Domain 3 and 4 read APIs.
- Downstream dependencies: FR-HIM-COD-003, FR-HIM-COD-004; Domain 8 (if AI-assisted candidates are adopted).
- Required events or APIs: terminology translate or mapping API; stewardship item API.
16. Open Questions / Assumptions
- The PRS lists coding assistance as an optional, separately governed AI use case (PRS 13.2). This specification does not require it; if adopted it is governed by Domain 8 and must satisfy point 8 above (DEC-HIM-006).
- "Confidence" is the Domain 10 map relationship type, not a score (part 3; GAP-HIM-005, closed 17 Nov 2026).
Requirement FR-HIM-COD-003: Code validation and vocabulary separation¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-HIM-COD-003 |
| Requirement Name | Code validation and vocabulary separation |
| Requirement Type | Functional |
| Module | Clinical Coding and Classification |
| Functional Area | FA-HIM-004 Abstraction and code validation |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | RCM-008 (partial); EHR-006 (partial); DAT-002 (partial); PRS 22.3; PRS 7.2 (effective-dated terminology) |
| Related Business Rule | BR-HIM-006, BR-HIM-007 |
| Related Workflow | WF-HIM-002 |
1. Requirement Statement
The system shall validate every assigned classification code against the governed code-set version effective for the encounter, shall reject or flag invalid or inactive codes, and shall store classification codes in the coding record separately from the clinical terminology recorded by clinicians.
2. Business Rationale
EHR-006 requires that terminology validation rejects or flags invalid or inactive codes. RCM-008 requires that clinical terminology and billing classification vocabularies stay functionally separate so that problem lists remain clinically expressive.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Clinical Coder | Read | Sees validation results |
| Coding Supervisor | Approve | May approve a flagged (not rejected) code with reason where configuration allows |
| System | Create | Performs validation |
4. Preconditions - The code system and its versions are published by Domain 10 with effective dates.
5. Trigger - A code is assigned or changed, or finalisation is requested.
6. Functional Behaviour
- The system determines the reference date for version selection from configuration (for example discharge date for inpatient encounters).
- The system validates that the code exists and is active in the code-set version effective at the reference date.
- The system applies the structural rules that Domain 10 publishes with the code set. For ICD-10 these are the WHO tabular conventions: a code is valid only at the most specific level that exists (a three-character category with four-character subdivisions is refused); an asterisk code is never the principal diagnosis and needs its dagger code; a code restricted by sex or age is checked against the patient and flagged when it does not fit; an external cause code (chapter XX) is never the principal diagnosis and is required as a secondary code with an injury or poisoning code (chapter XIX); a code marked "not for primary use" is flagged as principal. For ICD-9-CM procedures a code is valid only at its most specific level. The asterisk and most-specific-level rules reject; the others flag.
- An invalid or inactive code is rejected, or flagged where configuration permits flagging; a flagged code blocks finalisation until resolved or approved.
- The coding record stores code system, code-set version and code for each assignment.
- The coding record references, and never replaces, the clinician-authored concept; no coding action writes to the problem list or diagnosis records of Domain 3.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Code, code system, version | Code | Yes | Exists and active at the reference date | Code under validation |
| Reference date | Date | Yes | Derived from encounter by configured rule | Selects the effective version |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-COD-003-1 | Validation uses the Domain 10 terminology service; when it is unavailable, the cached approved version is used | Validation continues on approved cached content |
| PR-COD-003-2 | If neither the service nor an approved cached version is available, finalisation is blocked | No unvalidated code is finalised |
| PR-COD-003-3 | The validated version is stored with the assignment | Historical meaning can be reconstructed |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Validation result | Inline message / structured result | Coder | Valid, flagged or rejected, with reason |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Code not in the effective version | Existence check | Rejected | "Code is not valid in version [version] effective on [date]." |
| Code retired before the reference date | Status check | Rejected or flagged per configuration | Show replacement where the code set provides one |
| Cache older than the configured limit | Cache age check | Validation result marked provisional; finalisation blocked | "Terminology content could not be confirmed as current." |
11. State and Lifecycle Behaviour
Validation does not change the coding record state except that failed validation prevents the transition to Final.
12. Audit Requirements
Supervisor approval of a flagged code is audited with reason. Validation failures are logged for data quality reporting.
13. Security and Privacy Requirements
No additional requirement beyond the common conventions.
14. Acceptance Criteria
- AC-01: Given a code retired before the encounter's reference date, when the coder assigns it, then it is rejected or flagged and the record cannot be finalised with it unresolved.
- AC-02: Given a historical encounter, when it is coded today, then validation uses the code-set version effective at the encounter's reference date.
- AC-03: Given a finalised coding record, when the Domain 3 problem list for the patient is inspected, then it is unchanged by coding.
- AC-04: Given the terminology service is unavailable and an approved cached version exists, when a code is validated, then validation succeeds against the cached version and the version is recorded.
15. Dependencies and Integration
- Upstream dependencies: Domain 10 terminology service.
- Downstream dependencies: FR-HIM-COD-004.
- Required events or APIs: terminology validate-code API; code-set version publication events.
16. Open Questions / Assumptions
- RCM-008 is primarily a terminology and clinical record obligation (Domain 10, with Domains 3 and 5); this requirement states only the coding-side behaviour.
- The structural rules of part 3 are published by Domain 10 with the ICD-10 and ICD-9-CM code sets (GAP-HIM-005, closed 17 Nov 2026). Payer grouper edits, such as INA-CBG grouping when JKN is in scope, stay in Domain 5 claim validation.
Requirement FR-HIM-COD-004: Coding finalisation, revision and coding status for billing readiness¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-HIM-COD-004 |
| Requirement Name | Coding finalisation, revision and coding status for billing readiness |
| Requirement Type | Functional |
| Module | Clinical Coding and Classification |
| Functional Area | FA-HIM-005 Coding status and billing readiness |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | HIM-001; RCM-007; FIN-004 (partial); RCM-009 (partial); RCM-003 (partial); PRS section 24 |
| Related Business Rule | BR-HIM-005, BR-HIM-006, BR-HIM-008 |
| Related Workflow | WF-HIM-002 |
1. Requirement Statement
The system shall allow an authorized coder to finalise a coding record when all candidates are decided and all codes are valid, shall record every later change as a new version with reason, and shall publish the coding status and final codes of each encounter to Domain 5 through a versioned API and durable events.
2. Business Rationale
REF-002 states that Domain 6 provides coding and chart-completion status to Domain 5 for billing and claim readiness where required by workflow. PRS section 24 requires that billing dependencies never block point-of-care care delivery.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Clinical Coder | Update | Finalise own coding records |
| Coding Supervisor | Update, Approve | Finalise after review; start and finalise revisions of Final records |
| Consuming service (Domain 5) | Read | Coding status and final codes by encounter |
4. Preconditions - The coding record is In Progress or In Review with no undecided candidate and no failed validation.
5. Trigger - The coder or supervisor finalises; a revision is started; Domain 5 reports a coding-related claim rejection.
6. Functional Behaviour
- On finalisation the system sets the coding record version to Final with coder identity, time and code-set versions and emits
CodingFinalized. - Where supervisory review is configured for the encounter type or for a sample, the record passes through In Review before Final.
- A revision of a Final record creates a new version; the previous version becomes Superseded on finalisation of the revision and remains retrievable. The system emits
CodingRevised. - The coding status API returns, for an encounter, the current status, the final version identifier and the final codes with roles, sequence and versions.
- When Domain 5 reports a claim rejection attributed to coding, the system creates a recode work item linked to the coding record and the rejection reference. The report is
ClaimReturnedForRecoding(EVT-FIN-017), which Domain 5 publishes when a claim is Rejected or Denied with a payer reason code its reason-code list marks as coding-related (code invalid or not specific, principal diagnosis or sequencing disputed, code not supported by the documentation, grouping mismatch), or when the claims officer refers the claim to coding. The event carries claim, encounter, the coding record version the claim used, reason code and reason text. HIM does not act onClaimAdjudicated. One work item is created per claim and coding record version; a repeat event for the same claim is idempotent. The revision that resolves it publishesCodingRevisedwith the claim reference, so Domain 5 can resubmit. - When the clinical record of a coded encounter is amended after finalisation, the system creates a review work item for the coder.
- The system shows whether the chart was Complete when coding was finalised; whether an incomplete chart blocks finalisation is configurable.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Finalisation action | Command | Yes | Preconditions met | Finalise the version |
| Revision reason | Code and text | For revision | Configured value | Why the final coding changed |
| Claim rejection reference | Identifier | For recode from Domain 5 | Resolves in Domain 5 | Link to the rejection |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-COD-004-1 | Final versions are immutable | A change always creates a new version |
| PR-COD-004-2 | Events are published through a transactional outbox | Status and event cannot diverge |
| PR-COD-004-3 | Coding status never blocks a clinical transaction | No Domain 3 or 4 command consults coding status |
| PR-COD-004-4 | Whether a non-final coding status holds invoice or claim steps is decided by Domain 5 configuration | HIM publishes status; it does not enforce the gate |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
CodingFinalized, CodingRevised |
Versioned event | Domain 5, Domain 8 | Encounter, coding record version, status, code-set versions |
| Coding status response | API response | Domain 5 | Status and final codes |
| Recode work item | Work item | Coder / supervisor | Rejection-driven or amendment-driven recode |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Undecided candidate or failed validation | Precondition check | Finalisation refused | List the blocking items |
| Revision without reason | Mandatory field | Refused | "A revision reason is required." |
| Domain 5 unavailable | Event delivery | Events retained and retried; status available by API | None; monitored |
11. State and Lifecycle Behaviour
In Progress or In Review to Final; Final to Revision In Progress (new version) to Final, with the prior version Superseded.
12. Audit Requirements
Finalisation and revision are audited with before and after code sets, reason, actor and time. Read access to coding status by Domain 5 is logged at service level.
13. Security and Privacy Requirements
Domain 5 receives codes and status only, not the clinical narrative. Codes that would reveal a restricted category are subject to the same privacy labels as their source content (SEC-016).
14. Acceptance Criteria
- AC-01: Given a valid, fully decided coding record, when the coder finalises it, then the status is Final,
CodingFinalizedis emitted and the coding status API returns the final codes. - AC-02: Given a Final coding record, when a supervisor revises a code with a reason, then a new Final version exists, the earlier version is retrievable as Superseded and
CodingRevisedis emitted. - AC-03: Given the HIM coding service is stopped, when clinicians document and order for the same patients, then no clinical transaction fails.
- AC-04: Given a coding-related claim rejection reported by Domain 5, when it is received, then a recode work item linked to the coding record exists.
15. Dependencies and Integration
- Upstream dependencies: FR-HIM-COD-001 to FR-HIM-COD-003; Domain 3 amendment events; Domain 5
ClaimReturnedForRecoding(EVT-FIN-017). - Downstream dependencies: Domain 5 invoice and claim processing; Domain 8.
- Required events or APIs: IF-HIM-001 Coding Status API; EVT-HIM-005, EVT-HIM-006.
16. Open Questions / Assumptions
- Domain 5 reports coding-related rejections through
ClaimReturnedForRecoding(EVT-FIN-017) (part 5; GAP-HIM-006, closed 17 Nov 2026).
← 5.1 Module Specification: HIM Workbench | Contents | Identifier index | 5.3 Module Specification: Chart Completion and Deficiency Tracking →