Skip to content

MOD ADM 003 XRF

Domain specifications / D01-ADM / 5. Detailed Functional Requirements / 5.3 Module Specification: Patient and Facility Identifiers / Cross-Reference

5.3 Module Specification: Patient and Facility Identifiers / Cross-Reference

5.3.1 Module Overview

Module ID: MOD-ADM-003

Purpose: Assign the enterprise person identifier and facility or organization patient identifiers under their assigning authorities, and resolve identifiers and demographics across facilities and systems.

Business Capabilities: - CAP-ADM-003 Identifier management and cross-reference

Primary Actors: - Registration / admission clerk (ACT-ADM-001) - Consuming domain services (ACT-ADM-012) - External organizations and systems (ACT-ADM-013)

Dependencies: - MOD-ADM-001. - Domain 10: facility, organization and assigning-authority registries; registry and cross-reference service policy; authorization; audit. - Domain 2: API gateway, FHIR facade, HL7 v2 and IHE transaction support.

5.3.2 Functional Areas

Functional Area ID: FA-ADM-007 Identifier assignment

Description: Generation and recording of enterprise and facility identifiers.

Scope: - Included: enterprise person identifier, facility PIN, recording of national and external identifiers with their authority. - Excluded: encounter identifiers (MOD-ADM-004); definition of the authority registry (Domain 10).

Functional Area ID: FA-ADM-008 Cross-reference and demographics query

Description: Resolution of identifiers between assigning authorities and demographic query services for internal and external consumers.

Scope: - Included: identifier cross-reference, demographics query, FHIR Patient exposure, notification of cross-reference changes. - Excluded: transport, partner onboarding and certificates (Domain 2); patient-authorized third-party access (INT-007, Domain 2 and Domain 10).

5.3.3 Detailed Requirements

Requirement FR-ADM-XRF-001: Enterprise person identifier and facility patient identifier assignment

Attribute Description
Requirement ID FR-ADM-XRF-001
Requirement Name Enterprise person identifier and facility patient identifier assignment
Requirement Type Functional
Module Patient and facility identifiers / cross-reference
Functional Area FA-ADM-007 Identifier assignment
Priority Must
Criticality Critical
Requirement Status Draft
Source PAT-002, ADM-001; REF-003 section 6.3
Related Business Rule BR-ADM-003, BR-ADM-004
Related Workflow WF-ADM-001

1. Requirement Statement

The system shall assign a stable enterprise person identifier (the "MPI GUID" of ADM-001) to every person and, where required, a facility or organization-specific Patient Identification Number (PIN) under the relevant assigning authority, such that identifiers are unique within their assigning authority, are never silently reused, and all resolve to one governed enterprise identity without loss of source identifiers.

2. Business Rationale

Facilities issue their own patient numbers. The enterprise identifier ties them together independently of any facility number, national identifier or external identifier.

3. Actors and Permissions

Actor Permission Conditions
System Create (enterprise identifier, PIN) On person creation and first registration at a facility
Registration / admission clerk Create (record external and national identifiers) With assigning authority and type
Registration supervisor / identity steward Update (correct an identifier entered in error) Reason required; original retained in history

4. Preconditions - The facility's assigning authority and PIN format are registered.

5. Trigger - Creation of a person; first registration of a person at a facility; entry or import of an external identifier.

6. Functional Behaviour

  1. On person creation the system generates an enterprise person identifier that is immutable, globally unique within the enterprise and independent of facility PINs, national identifiers and external identifiers.
  2. On first registration at a facility that requires one, the system generates a PIN in that authority's configured format.
  3. Every stored identifier carries value, assigning authority, identifier type, validity interval and source.
  4. The system enforces uniqueness of the value within the assigning authority and never reissues a value that has been assigned, including values belonging to merged, retired or deceased persons.
  5. A person may hold several PINs from different authorities and, after a merge, more than one PIN from the same authority, with one marked preferred.
  6. Correction of an identifier entered in error ends the validity of the erroneous assignment and records the correction; the erroneous value is not released for reuse.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Assigning authority Code Yes In registry Issuer of the identifier
Identifier type Code Yes Governed value set PIN, national identifier, external
Identifier value String Yes for external identifiers; generated for enterprise identifier and PIN Authority format rule; check digit where defined The identifier
Validity start / end Date-time No Start ≤ end Validity interval

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-XRF-001-1 Concurrent generation of PINs No two persons receive the same value (sequence allocation is atomic)
PR-XRF-001-2 External identifier already linked to another person under the same authority Assignment rejected; stewardship item created
PR-XRF-001-3 Identifier generation during downtime Downtime identifiers come from the reserved range of CFG-ADM-008, in blocks issued to each registration point (CFG-ADM-029); a number outside the block of its point, or used twice, is refused at back-entry; a downtime No. RM of a person who already had one is merged into the existing record on reconciliation

9. Output Requirements

Output Format Recipient Description
Enterprise person identifier and PIN Stored identifiers; shown in identity zone; printed outputs Users, consumers Qualified identifiers
IdentityUpdated event Domain event Subscribed domains New or changed identifier links

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Duplicate value within authority Uniqueness Reject; create stewardship item "This identifier is already assigned to another patient."
Value fails format or check-digit rule Format rule Reject "Identifier format is not valid for the selected authority."
Unknown assigning authority Registry lookup Reject "Select a registered issuing authority."

11. State and Lifecycle Behaviour

Identifier assignments are active, expired (validity ended) or entered-in-error. The enterprise person identifier is never changed; on merge it becomes retired with a link to the survivor.

12. Audit Requirements

Assignment, correction and expiry of identifiers are audited with before and after values, actor and reason.

13. Security and Privacy Requirements

National identifiers are Sensitive personal data; display may be masked by role and their storage and use follow the country profile and privacy assessment (PRS 9.4, 10.4).

14. Acceptance Criteria

  • AC-01: Given a new person, when registered at facility A, then an enterprise person identifier and a facility A PIN are assigned and both are retrievable with assigning authority.
  • AC-02: Given the same person registers at facility B, when registration completes, then a facility B PIN is added and both PINs resolve to the same enterprise identity.
  • AC-03: Given a PIN that belonged to a merged or deceased person, when new PINs are generated, then that value is never issued again.
  • AC-04: Given two simultaneous registrations at one facility, when PINs are generated, then the values differ.

15. Dependencies and Integration

  • Upstream dependencies: Domain 10 registries.
  • Downstream dependencies: every domain stores the enterprise person identifier as the patient reference.
  • Required events or APIs: IF-ADM-001; EVT-ADM-002.

16. Open Questions / Assumptions

  • Identifiers follow the identity policy (PRS 19.3, 28.1; DEC-ADM-002, resolved 2026-11-17): an internal enterprise identifier that is never shown; one eight-digit medical record number (No. RM) per facility; NIK as the primary national identifier; the SATUSEHAT IHS number as the national health identifier; and the BPJS number.
  • REF-004 names the enterprise person identifier "EPI"; the PRS uses "enterprise person identifier" (PAT-002) and "MPI GUID" (ADM-001). This document uses "enterprise person identifier" throughout.

Requirement FR-ADM-XRF-002: Identifier cross-reference and demographics query services

Attribute Description
Requirement ID FR-ADM-XRF-002
Requirement Name Identifier cross-reference and demographics query services
Requirement Type Functional
Module Patient and facility identifiers / cross-reference
Functional Area FA-ADM-008 Cross-reference and demographics query
Priority Must
Criticality High
Requirement Status Draft
Source PRS section 21.3 (administrative interoperability), PAT-001; INT-003, NFR-009 (contribute); PRS section 9.4
Related Business Rule BR-ADM-004
Related Workflow WF-ADM-001

1. Requirement Statement

The system shall provide identifier cross-reference and patient demographics query services to authorized internal and external consumers, supporting the FHIR Patient profile and the applicable IHE Patient Identifier Cross-Referencing (PIX / PIXm) and Patient Demographics Query (PDQ / PDQm) transactions in the versions selected in the interoperability profile.

2. Business Rationale

Departmental and partner systems hold local identifiers. They need a governed way to resolve them to the enterprise identity and to obtain current demographics, rather than maintaining their own copies.

3. Actors and Permissions

Actor Permission Conditions
Consuming domain service Read Scoped service identity
External organization / system Read Onboarded partner, scoped authorization, node authentication (SEC-018), consent and purpose evaluated by Domain 10

4. Preconditions - The consumer is registered and authorized; the interoperability profile versions are selected.

5. Trigger - A cross-reference or demographics query; a change in identifier links.

6. Functional Behaviour

  1. Given a qualified identifier and optionally a target assigning authority, the service returns the corresponding identifiers of the same person in the requested authorities, including the enterprise person identifier where the consumer is permitted to receive it.
  2. Given demographic search parameters, the service returns matching patients with qualified identifiers and the demographic elements the consumer is authorized to receive.
  3. The service returns the surviving identity for a merged identifier and indicates the merge.
  4. The service notifies subscribed consumers of cross-reference changes (new link, merge, unmerge) through events.
  5. Responses to external consumers are filtered according to consent and privacy labels as decided by Domain 10 (SEC-008, SEC-016).
  6. National or regional identity exchange is provided through the country profile (PRS 9.4); the core service is jurisdiction-neutral.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Source identifier Value + authority + type Yes (cross-reference) Qualified Identifier to resolve
Target authority Code No In registry Limits the response
Demographic parameters Structured Yes (demographics query) Minimum criteria Search parameters
Purpose of use Code Yes for external consumers Governed list Evaluated in the policy decision

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-XRF-002-1 Unknown identifier Explicit "not found" response; never a nearest match
PR-XRF-002-2 Consumer not authorized for an authority's identifiers Those identifiers are omitted
PR-XRF-002-3 Paged demographic results Paging per the published capability statement

9. Output Requirements

Output Format Recipient Description
Cross-reference response FHIR / IHE PIXm or PIX response per profile Consumer Qualified identifiers
Demographics response FHIR Patient / IHE PDQm or PDQ response per profile Consumer Authorized demographics

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Unqualified identifier in query BR-ADM-004 Reject with error detail Error response naming the missing qualifier
Unauthorized consumer or scope Policy decision Deny; audit Authorization error
Malformed request Schema / profile validation Reject or quarantine at the integration layer (PRS 9.1) Error response with reason

11. State and Lifecycle Behaviour

Read-only with respect to identity state.

12. Audit Requirements

Every query is audited with consumer identity, purpose, criteria, and persons returned (SEC-019); IHE ATNA-aligned audit applies to system-to-system transactions (SEC-018).

13. Security and Privacy Requirements

Mutual authentication for system-to-system access; minimum necessary demographics; consent-aware filtering for external disclosure; rate limits applied at the gateway to deter enumeration.

14. Acceptance Criteria

  • AC-01: Given a facility A PIN, when a consumer requests the facility B identifier, then the facility B PIN of the same person is returned.
  • AC-02: Given a merged identifier, when it is queried, then the surviving identity's identifiers are returned with a merge indication.
  • AC-03: Given the agreed conformance test pack for the selected profiles, when executed, then the service passes.
  • AC-04: Given a consumer without scope for demographics query, when it queries, then access is denied and audited.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • PRS 21.3 has no requirement ID or priority; Must is assigned because PAT-001 and ADM-001 depend on cross-facility resolution. The interoperability profile (DEC-ADM-006, resolved 2026-11-17) selects FHIR R4 (4.0.1) with the SATUSEHAT profiles for national exchange, HL7 v2.5.1 with IHE PAM as the conformance reference for in-hospital administrative messages, and the FHIR-based PIXm and PDQm profiles for partner identity lookup, offered only when a partner needs them.

← 5.2 Module Specification: Patient Registration and Demographic Management | Contents | Identifier index | 5.4 Module Specification: Encounter and Visit Management →