Domain specifications / D06-HIM / 7. Domain Data Requirements
7. Domain Data Requirements¶
7.1 Data Ownership¶
| Data Entity | Ownership | System of Record | Consuming Domains |
|---|---|---|---|
| Coding record and code assignments | Owned | MOD-HIM-002 | 5, 8 |
| Deficiency | Owned | MOD-HIM-003 | 3 (clinician worklist), 8 |
| Chart completion status and lock snapshot | Owned | MOD-HIM-004 | 1, 5, 7, 8 |
| Record component list | Owned (index of references) | MOD-HIM-004 | Internal; 7 for coordination |
| HIM document metadata (class, index, lifecycle, provenance) | Owned (stewardship) | MOD-HIM-005, exposed to the Domain 10 document service | 3, 4, 7, 8, 10 |
| Retention rule, disposition batch, disposal record | Owned | MOD-HIM-006 | 10, 2, 8 |
| Legal hold | Owned | MOD-HIM-007 | 10, record-holding domains, 8 |
| Disclosure request, release package, disclosure log entry | Owned | MOD-HIM-008, MOD-HIM-010 | 7, 8, 10 |
| Consent evidence link, restriction request | Owned | MOD-HIM-009 | 10 |
| HIM work item | Owned | MOD-HIM-001 | 8 |
| Patient, encounter, care team, identity links | Consumed | Domain 1 | n/a |
| Clinical documents, notes, diagnoses, procedures, signatures | Consumed | Domain 3 | n/a |
| Diagnostic reports, results, procedure and theatre records | Consumed | Domain 4 | n/a |
| Document content, document reference, content hash | Consumed | Domain 10 document service (storage by Domain 2) | n/a |
| Consent directive and decision, privacy labels | Consumed | Domain 10 | n/a |
| Code systems, value sets, crosswalks | Consumed | Domain 10 terminology service | n/a |
| Audit events | Consumed (read for review); produced (written) | Domain 10 audit service | n/a |
| Claim rejection references | Consumed | Domain 5 | n/a |
7.2 Data Entity Catalogue¶
| Entity ID | Entity Name | Description | Primary Key | Data Owner |
|---|---|---|---|---|
| DE-HIM-001 | Health Record (encounter record) | The HIM view of one encounter's record: chart status, lock state, snapshots | Health record ID (one per encounter) | Head of HIM |
| DE-HIM-002 | Record Component | Reference to one authoritative document or record belonging to a health record | Component ID | Head of HIM |
| DE-HIM-003 | Document Metadata | HIM stewardship record for a document: class, index, lifecycle, provenance | Document metadata ID (per document reference) | Head of HIM |
| DE-HIM-004 | Coding Record | Versioned coding of an encounter for a coding purpose | Coding record ID + version | Head of HIM |
| DE-HIM-005 | Code Assignment | One classification code in a coding record version, with candidate link | Code assignment ID | Head of HIM |
| DE-HIM-006 | Deficiency | A missing, unsigned or incomplete required component | Deficiency ID | Head of HIM |
| DE-HIM-007 | Completeness Rule | Versioned rule stating required components per encounter type | Rule ID + version | Head of HIM with Clinical Governance |
| DE-HIM-008 | Retention Rule | Versioned retention rule per record class and jurisdiction | Rule ID + version | Legal / Compliance with Data Governance Council |
| DE-HIM-009 | Disposition Batch | Set of records proposed for archival or disposal with approvals and outcome; includes the disposal record | Batch ID | Head of HIM |
| DE-HIM-010 | Legal Hold | Versioned hold with matter, scope and state | Hold ID + version | Legal / Compliance |
| DE-HIM-011 | Disclosure Request | Release-of-information request with verification and basis | Request number | Head of HIM with Privacy Officer |
| DE-HIM-012 | Release Package | Fixed set of component versions and derived redacted copies for a request | Package ID + version | Head of HIM |
| DE-HIM-013 | Disclosure Log Entry | Append-only record of one disclosure | Entry ID | Privacy Officer |
| DE-HIM-014 | Consent Evidence Link | Link between an evidence document and a consent directive version | Link ID | Privacy Officer |
| DE-HIM-015 | HIM Work Item | Queue item representing work on an HIM record | Work item ID | Head of HIM |
| DE-HIM-016 | Access Review | Record of an access report review with outcome | Review ID | Privacy Officer |
7.3 Entity Attributes¶
All entities carry facility, created and last-changed timestamps in UTC (NFR-018), the creating and changing identity, and a row version for optimistic concurrency. These common attributes are not repeated below.
Entity DE-HIM-001: Health Record¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| health_record_id | Identifier | Yes | Unique | Primary key |
| patient_id | Identifier | Yes | Enterprise person identifier from Domain 1 | Subject |
| original_patient_id | Identifier | Yes | Immutable | Identity at creation, for merge and unmerge provenance |
| encounter_id | Identifier | Yes | Unique per record; from Domain 1 | Encounter |
| chart_status | Code | Yes | In Progress, Incomplete, Complete, Locked, Reopened, Not Applicable | Completion state |
| completed_at | Timestamp | No | Set on Complete | Completion time |
| locked_at | Timestamp | No | Set on Locked | Last lock time |
| lock_snapshot_id | Identifier | No | References the latest snapshot | Component versions at lock |
| reopen_cause | Code / text | No | Required when Reopened | Why reopened |
| hold_indicator | Boolean | Yes | Derived from active holds | Whether any hold applies |
Entity DE-HIM-002: Record Component¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| component_id | Identifier | Yes | Unique | Primary key |
| health_record_id | Identifier | Yes | References DE-HIM-001 | Parent record |
| source_domain | Code | Yes | CLI, ANC, ESS, HIM, external | Owner of the content |
| source_record_ref | Reference | Yes | Unique with source_domain | Authoritative record |
| component_type | Code | Yes | Governed type list | Kind of component |
| current_version_ref | Reference | Yes | Current version | |
| prior_version_refs | Reference list | No | Earlier versions | |
| status | Code | Yes | Common status set (saved not signed, final or signed, amended, corrected, entered in error). "Saved not signed" is shown as "Saved · not signed". Drafts are not part of the legal record (DEC-HIM-002) and are never components | Mapped source status |
| author_ref | Identifier | No | Practitioner or system | Author |
| origin | Code | Yes | Authored, imported, scanned, generated | Distinguishes local from imported content |
| amends_component_id | Identifier | No | References DE-HIM-002 | For amendments and addenda |
| privacy_labels | Code list | No | From Domain 10 | Labels of the component |
Entity DE-HIM-003: Document Metadata¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| document_metadata_id | Identifier | Yes | Unique | Primary key |
| document_ref | Reference | Yes | Issued by Domain 10 document service | Content reference |
| metadata_version | Integer | Yes | Increments on reclassification or re-index | Version of the metadata |
| patient_id | Identifier | Yes once Indexed | From Domain 1 | Subject |
| encounter_id | Identifier | No | Belongs to patient | Encounter |
| document_type | Code | Yes once Indexed | Governed code set | Type |
| record_class | Code | Yes once Indexed | Record class catalogue | Retention class |
| document_date | Date/time | Yes once Indexed | Date of content | |
| author_or_source | Identifier / text | Yes once Indexed | Provenance | |
| capture_method | Code | Yes | Authored, scanned, imported, generated | Provenance |
| downtime_form_number | Text | No | Unique among indexed forms | Controlled form number |
| lifecycle_state | Code | Yes | Received, Unindexed, Indexed, Active, Superseded, Entered in Error, Archived, Disposed | HIM lifecycle |
| predecessor_document_ref | Reference | No | Version chain | |
| content_hash_ref | Text | No | Supplied by document service | Integrity reference |
| change_reason | Text | For metadata versions after the first | Why metadata changed | |
| disposal_ref | Identifier | No | References DE-HIM-009 | Set on Disposed (tombstone) |
Entity DE-HIM-004: Coding Record¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| coding_record_id | Identifier | Yes | Unique with version | Primary key part |
| version | Integer | Yes | Starts at 1 | Version |
| encounter_id | Identifier | Yes | From Domain 1 | Encounter coded |
| patient_id | Identifier | Yes | From Domain 1 | Subject |
| coding_purpose | Code | Yes | Configured | For example claim, statistical reporting |
| status | Code | Yes | Pending, In Progress, On Hold, In Review, Final, Superseded, Cancelled | State |
| coder_id | Identifier | When In Progress or later | Unique human identity | Accountable coder |
| finalised_by, finalised_at | Identifier, timestamp | When Final | Finalisation | |
| revision_reason | Code / text | For version > 1 | Why revised | |
| reference_date | Date | Yes | Derived by rule | Selects code-set versions |
| chart_status_at_finalisation | Code | When Final | Context |
Entity DE-HIM-005: Code Assignment¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| code_assignment_id | Identifier | Yes | Unique | Primary key |
| coding_record_id, version | Identifier, integer | Yes | References DE-HIM-004 | Parent |
| code_system | Code | Yes | Published in Domain 10 | Classification |
| code_set_version | Text | Yes | Effective at reference date | Version |
| code | Code | Yes | Valid in version | Assigned code |
| role | Code | Yes | Configured roles | Principal, secondary, procedure and so on |
| sequence | Integer | Yes | Unique within role | Order |
| source_concept | Coded concept | No | Read from Domain 3 or 4 | Clinician-authored concept |
| source_record_ref | Reference | No | Basis record | |
| candidate_origin | Code | No | Crosswalk, AI-drafted, none | How the candidate arose; an AI-drafted candidate also refers to its AI interaction (DE-ANL-023) |
| candidate_confidence | Text / number | No | As returned by terminology service | Confidence or mapping relationship |
| crosswalk_version | Text | No | Mapping version | |
| decision | Code | Yes | Accepted, rejected, replaced, manual | Coder decision |
| decision_by, decision_at, decision_reason | Identifier, timestamp, text | Yes for decisions | Accountability |
Entity DE-HIM-006: Deficiency¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| deficiency_id | Identifier | Yes | Unique | Primary key |
| health_record_id | Identifier | Yes | References DE-HIM-001 | Record |
| required_component_type | Code | Yes | What is required | |
| component_id | Identifier | No | References DE-HIM-002 when the item exists | Deficient item |
| deficiency_type | Code | Yes | Missing, unsigned, incomplete | Nature |
| rule_id, rule_version | Identifier, integer | For automatic deficiencies | References DE-HIM-007 | Rule applied |
| mandatory | Boolean | Yes | Blocks completion | |
| state | Code | Yes | Open, Assigned, Escalated, Closed, Waived, Cancelled | State |
| owner_ref | Identifier | Yes when Assigned or Escalated | User or unit | Accountable owner |
| due_at | Timestamp | Yes when Assigned | Escalation start | |
| escalation_level | Integer | No | Current level | |
| priority | Code | Yes | Derived, not entered: High when overdue or blocking a release-of-information request or chart lock; Normal otherwise | Shown in the shared work list row |
| disputed | Boolean | Yes | Default false; set by "Return to HIM", cleared when HIM resolves the dispute | Disputed flag; not a state |
| return_reason, return_reason_text, returned_by, returned_at | Code, text, identifier, timestamp | When disputed | Reason: not mine, already done, not required, other; text required for other | Why the owner returned the deficiency |
| dispute_resolution, dispute_resolved_by, dispute_resolved_at | Code, identifier, timestamp | When a dispute is resolved | Reassigned, cancelled, waived, closed by reconciliation, confirmed | HIM decision on the dispute |
| reopens_deficiency_id | Identifier | No | References DE-HIM-006 in Closed | The closed deficiency this one reopens (PR-CDT-002-3) |
| closed_at, closing_event_ref | Timestamp, reference | When Closed | Closure | |
| waiver_reason, waived_by | Text, identifier | When Waived | Waiver |
Entity DE-HIM-008: Retention Rule¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| rule_id, version | Identifier, integer | Yes | Unique together | Primary key |
| record_class | Code | Yes | Record class catalogue | Class |
| jurisdiction | Code | Yes | Domain 10 reference data | Jurisdiction |
| conditions | Structured | No | Encounter type, patient age and similar | Applicability |
| retention_trigger | Code | Yes | Configured trigger types | Start of period |
| retention_period | Duration / permanent | Yes | Below 25 years for a medical record class needs short_period_reason | Period |
| short_period_reason | Text | When the period is below the DEC-HIM-008 minimum | Why the rule keeps the record for less than 25 years from the last visit | |
| archival_point | Duration | No | When to archive | |
| disposition_action | Code | Yes | Retain permanently, review, dispose | End action |
| approver_roles | Role list | Yes | Required approvals | |
| policy_reference | Text | Yes | Source of the rule | |
| state | Code | Yes | Draft, In review, Approved, Active, Superseded, Rolled back, Retired (FR-HIM-RET-001 part 11) | State |
| effective_from, effective_to | Date | Yes (from) | Validity | |
| submitted_by, submitted_at | Identifier, timestamp | From In review | Submission for approval | |
| approved_by, approved_at | Identifier, timestamp | When Approved | Not the author where separation is configured | Approval |
| co_approved_by, co_approved_at | Identifier, timestamp | When Approved and co-approval is configured (CFG-HIM-025) | HIM Manager; not the author | HIM Manager co-approval |
| rolled_back_by, rolled_back_at, rollback_reason | Identifier, timestamp, text | When Rolled back | Rollback |
Entity DE-HIM-010: Legal Hold¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| hold_id, version | Identifier, integer | Yes | Unique together | Primary key |
| matter_reference | Text | Yes | Sensitive | Legal matter |
| reason | Text | Yes | Sensitive | Why held |
| scope_criteria | Structured | Yes | Patient, encounter, record class, date range, record | What is held |
| disclosure_instruction | Boolean / text | No | Release requires legal review | |
| state | Code | Yes | Active, Partially Applied, Released | State |
| effective_at | Timestamp | Yes | Start | |
| review_date | Date | No | Review prompt | |
| released_at, released_by, release_reason | Timestamp, identifier, text | When Released | Release | |
| propagation_status | Structured | Yes | Per holding service | Confirmation tracking |
Entity DE-HIM-011: Disclosure Request¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| request_number | Identifier | Yes | Unique | Primary key |
| patient_id | Identifier | Yes | From Domain 1 | Subject |
| requester_name, requester_contact, requester_category | Text, text, code | Yes | Requester | |
| purpose | Code / text | Yes | Configured list | Purpose |
| requested_scope | Structured | Yes | Requested content | |
| recipient | Text / reference | Yes | Recipient | |
| request_type | Code | Yes | Configured | Type |
| channel, received_at, due_at | Code, timestamp, timestamp | Yes | Intake | |
| state | Code | Yes | As in section 4.3 | State |
| verification_method, verification_evidence_ref, verified_by, verified_at | Code, reference, identifier, timestamp | Before Verified | Identity verification | |
| authority_basis | Code | When requester is not the patient | Authority | |
| legal_basis, authorization_doc_ref, authorized_scope, validity_period | Code, reference, structured, date range | Before Verified | Authorization | |
| consent_decision_ref | Reference | Before release | From Domain 10 | Decision applied |
| refusal_reason | Code / text | When Refused | Refusal |
Entity DE-HIM-012: Release Package¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| package_id, version | Identifier, integer | Yes | Unique together | Primary key |
| request_number | Identifier | Yes | References DE-HIM-011 | Request |
| items | List of component version references and derived copy references | Yes | Within authorized scope | Content |
| redactions | List (item, part, reason, user, time) | No | Redaction log | |
| prepared_by, approved_by, approved_at | Identifier, identifier, timestamp | As applicable | Approver not preparer | Preparation and approval |
| delivery_channel, delivered_at, delivery_status, access_expiry | Code, timestamp, code, timestamp | On release | Delivery |
Entity DE-HIM-013: Disclosure Log Entry¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| entry_id | Identifier | Yes | Unique; append-only | Primary key |
| patient_id, original_patient_id | Identifier | Yes | Subject and identity at time of disclosure | |
| disclosed_at | Timestamp | Yes | Time | |
| requester, recipient, purpose, scope_description | Text / code | Yes | All four mandatory | HIM-004 attributes |
| basis | Code and reference | Yes | Authorization, consent directive version or legal basis | |
| content_refs | Reference list | Yes for system entries | Package or message identifiers | |
| channel | Code | Yes | Delivery or exchange channel | |
| executed_by | Identifier | Yes | User or service identity | Executor |
| correlation_id | Identifier | Yes | Unique with content reference | Idempotency and trace |
| annotates_entry_id | Identifier | No | References DE-HIM-013 | Correction or flag |
The remaining entities (DE-HIM-007, 009, 014, 015, 016) have the attributes stated in their requirements (FR-HIM-CDT-001, FR-HIM-RET-002 and 003, FR-HIM-CEV-001, FR-HIM-WBN-001, FR-HIM-AUD-002) and will be detailed in the design specification.
7.4 Entity Relationships¶
erDiagram
HEALTH_RECORD ||--o{ RECORD_COMPONENT : contains
HEALTH_RECORD ||--o{ DEFICIENCY : has
HEALTH_RECORD ||--o{ CODING_RECORD : "is coded by"
CODING_RECORD ||--|{ CODE_ASSIGNMENT : contains
RECORD_COMPONENT }o--o| DOCUMENT_METADATA : "is described by"
COMPLETENESS_RULE ||--o{ DEFICIENCY : raises
RETENTION_RULE ||--o{ DOCUMENT_METADATA : governs
DISPOSITION_BATCH }o--o{ DOCUMENT_METADATA : includes
LEGAL_HOLD }o--o{ HEALTH_RECORD : preserves
LEGAL_HOLD }o--o{ DOCUMENT_METADATA : preserves
DISCLOSURE_REQUEST ||--o{ RELEASE_PACKAGE : has
RELEASE_PACKAGE }o--|{ RECORD_COMPONENT : "references versions of"
RELEASE_PACKAGE ||--o| DISCLOSURE_LOG_ENTRY : "is logged as"
DOCUMENT_METADATA ||--o{ CONSENT_EVIDENCE_LINK : evidences
- One Health Record exists per encounter. Patient-level documents with no encounter have Document Metadata without a Health Record and are governed at patient level.
- A Record Component references an authoritative record in another domain or a document in the Domain 10 document service; it never stores content. A component that is a document has exactly one Document Metadata record.
- Patient and encounter identifiers are references to Domain 1 enterprise master data; they must resolve at creation and follow identity links afterwards, with the original identifier retained.
- Code systems, document types and record classes are references to governed reference data in Domain 10; values are stored with their version where the version affects meaning.
- A Legal Hold relates to records through its scope criteria, evaluated continuously, and through an explicit resolved list for evidence.
- A Release Package references specific component versions, so a later version of a component does not change what was released.
- A Disclosure Log Entry outlives the request and package and is never deleted by HIM workflows.
- Referential integrity: a Deficiency, Coding Record or Record Component cannot exist without its Health Record; a Health Record cannot be removed while any child or any hold exists; disposal of a document leaves the Document Metadata tombstone and the Disposition Batch.
7.5 Data Quality Requirements¶
Unmapped codes, documents without class, records without trigger date and failed reconciliations are routed to stewardship work items that are assigned, resolved and measured (DAT-005).
7.6 Data Lifecycle and Retention¶
- Creation. HIM records are created by events from other domains (health record, components, deficiencies, coding records) or by HIM users (manual deficiencies, holds, requests, rules, batches).
- Modification. Working records are editable until finalised or approved. Final coding versions, approved retention rules, approved packages, hold versions, lock snapshots and disclosure log entries are immutable.
- Correction. Corrections are new versions or annotating entries with reason, author and time. Nothing in the legal record is overwritten (EHR-004). Indexing corrections retain the earlier metadata version.
- Archiving. Documents and records move to Archived only through an approved batch under an effective retention rule and remain retrievable.
- Retention. Retention periods are defined per record class and jurisdiction in retention rules. The product ships the enterprise retention baseline below as the default rule set for the Indonesia profile; a local rule may lengthen a period, and a shorter one warns and needs a reason (REF-004 section 7.7). HIM's own records (coding records, deficiencies, disclosure requests, packages, disclosure log, holds, disposal records) are record classes in the same catalogue and need their own rules. Disposal records and tombstones are kept permanently; released hold histories are kept as long as any record the hold covered, and at least 10 years after release (ASM-HIM-009; the baseline row below).
- Disposal or deletion. Only through FR-HIM-RET-003. Ordinary user actions cannot physically delete retained records. Treatment of backup copies follows Domain 2 backup retention and is stated on the disposal record.
- Legal hold. An active hold suspends archival to non-retrievable states and disposal for every record in scope, including records created after the hold, until every applicable hold is released.
- Export. All HIM records, including metadata, version history, mappings used and the disclosure log, are exportable in documented machine-readable formats that preserve identifiers, relationships, provenance, timestamps, status and version history (PRS 15.2, ACC-008).
Enterprise retention baseline¶
Closed 17 Nov 2026 on common practice for all ten domains (GAP-HIM-003). This is the default rule set (CFG-HIM-016) for the Indonesia profile. Every domain specification takes its retention periods from this table. "Online" is the period in the primary store; after it, records move to the read-only archive tier and stay retrievable. Legal hold suspends every disposal. Disposal follows FR-HIM-RET-003; content in backups ages out with backup retention (DEC-HIM-009).
| Record class | Minimum retention | Trigger | Online | Basis |
|---|---|---|---|---|
| Medical record content: registration, encounters and ADT, clinical documentation, orders, results and reports, diagnostic images, anaesthesia and peri-operative records, medication records, consents, pathway instances and decisions, outcome measures, clinical messages from the portal | 25 years | Patient's last visit | 5 years after last visit; images 2 years at full speed, then the lower-cost tier | PMK 24/2022; DEC-HIM-008 |
| Transfusion and implant traceability (donation unit, component, recipient, final fate) | 30 years | Transfusion or implant | 5 years | Common practice for vein-to-vein traceability (EU Directive 2002/98/EC article 14); longer than the record period |
| Paper originals after scanning | 2 years, then destruction with minutes (berita acara), unless under legal hold or flagged "keep original" by HIM | Scan verified by quality check | Not applicable | PMK 24/2022 alih media; common practice |
| Physical specimens | Routine laboratory samples 7 days; blood bank recipient samples 7 days after transfusion; wet surgical tissue 4 weeks after the final report; cytology slides 5 years; histology slides and paraffin blocks 10 years | As stated | Not applicable | College of American Pathologists retention guidance; AABB |
| Raw device data (waveforms, high-frequency vitals) not saved into the record | 30 days | Capture | 30 days | Common practice; validated values and saved strips are medical record content |
| Audit events about patient data (access, change, disclosure, Break-the-Glass) and the disclosure log | Same as the record they concern (25 years) | Patient's last visit | 2 years | Common practice: the audit trail lives as long as the record |
| Consent directives and all superseded versions | Same as the record they govern | Patient's last visit | Life of the directive plus 2 years | Common practice |
| Financial and stock records: invoices, credit notes, payments, claims and remittances, ledger postings, stock movements, procurement documents | 10 years | End of the fiscal year | 2 years | UU 8/1997 on company documents; UU KUP article 28 |
| Other audit: configuration, administration, privileged access, workforce identity and grants | 10 years | Event, or deprovisioning for identity | 2 years | Common practice, aligned with financial records |
| Laboratory quality records: internal QC, external quality assessment, calibration, storage temperature logs | 10 years | Record date | 2 years | Common practice for laboratory accreditation (ISO 15189) |
| Release artifacts, SBOMs and release evidence | 10 years | Release | 2 years | Common practice, aligned with other audit |
| Security events in the SIEM | 3 years | Event | 1 year searchable | Common practice |
| Superseded content and configuration versions (pathways, rules, value sets, forms, templates, report definitions) | While any retained record references them, and at least 25 years after retirement | Retirement | Until retirement plus 2 years | Needed to reproduce what a record was based on |
| HIM disposal records and tombstones (identifiers, record class, rule version, dates, approvers and the minutes; no record content) | Permanent | Disposal | 2 years | Common practice: the only proof that a record existed and was lawfully destroyed (ASM-HIM-009) |
| Released legal hold histories | As long as any record in the hold's scope, and at least 10 years | Hold release | 2 years | Common practice, aligned with other audit |
| Workflow instances and tasks, data subject requests, stewardship items | 10 years | Closure | 2 years | Common practice |
| Notifications | Content 90 days; delivery metadata 2 years | Sending | As stated | Common practice; the clinical fact lives in the source record |
| Portal account data (not record content) | 2 years | Account closure | 2 years | Common practice; UU 27/2022 (PDP) minimisation |
| Analytics: raw landing data 90 days; conformed and curated data, month-end snapshots and issued reports 10 years; AI inference logs that influenced care with the record (25 years); model monitoring logs 3 years | As stated | Load, issue or inference | 2 years | Common practice; curated data is rebuildable from source |
| Platform data: interface message payloads 30 days; message metadata 2 years; application logs 90 days; traces 14 days; metrics 13 months; event broker topics 7 days; domain event archive for replay and reconciliation 2 years; dead letters until resolved plus 90 days | As stated | Creation | As stated | Common practice; payloads hold patient data and the fact lives in the owning domain |
| Backups | Daily 35 days; monthly 12 months; maximum backup retention 13 months, immutable offline copy included | Backup | Not applicable | Common practice; the maximum stated for DEC-HIM-009 |
7.7 Data Migration Requirements¶
PRS 16.2 applies. Source-system identifiers and provenance are preserved, conflicts are not silently overwritten, trial migrations use counts, checksums and sampling with exception queues, and HIM sign-off is obtained before final migration.
| Migration ID | Source | Target | Data Scope | Validation |
|---|---|---|---|---|
| MIG-HIM-001 | Legacy document management or scanned record archive | Domain 10 document service with DE-HIM-003 metadata | Legacy documents with patient, encounter, type, date, author and source identifiers; record class assigned by mapping | Document counts and checksums per source; sampling for correct patient and type; documents with unresolved patient held in the unindexed queue, not loaded into a record |
| MIG-HIM-002 | Legacy coding or billing system | DE-HIM-004, DE-HIM-005 | Historical encounter codes with code system and version where known, marked as migrated | Counts per encounter; code validity against the stated version; codes with unknown version flagged, not coerced |
| MIG-HIM-003 | Legacy deficiency or chart-tracking system or spreadsheets | DE-HIM-001, DE-HIM-006 | Open deficiencies and chart status of encounters not yet complete at cutover | Reconciliation of open counts; re-evaluation by completeness rules after load |
| MIG-HIM-004 | Paper or electronic legal hold registers | DE-HIM-010 | Active holds with matter reference and scope | Review of every migrated hold by the legal function before any disposition run is enabled |
| MIG-HIM-005 | Legacy release-of-information logs | DE-HIM-011, DE-HIM-013 | Historical disclosures within the period the hospital decides to migrate | Counts; sampling; entries lacking a mandatory attribute loaded with an explicit "not recorded in source" marker |
| MIG-HIM-006 | Existing retention schedule documents | DE-HIM-008 | Record classes and rules | Approval of every rule by legal and HIM before effective date |
| MIG-HIM-007 | Paper medical records selected for back-scanning | Document service with DE-HIM-003 | Scope decided by the hospital | Capture quality check and indexing verification as in FR-HIM-DOC-003 |
No disposition run may execute in production until MIG-HIM-004 and MIG-HIM-006 are signed off.
← 6. User Interface and Interaction Requirements | Contents | Identifier index | 8. Integration and Interoperability Requirements →