MOD ESS 005 MDM
Domain specifications / D10-ESS / 5. Detailed Functional Requirements / 5.5 Module Specification: Master and Reference Data Governance and Registries
5.5 Module Specification: Master and Reference Data Governance and Registries¶
5.5.1 Module Overview¶
Module ID: MOD-ESS-005 (module code MDM)
Purpose: Govern enterprise master data and maintain the reference registries for organizations, facilities, departments, locations, practitioners, services and resources, so that every domain refers to the same governed entities. This module merges two REF-002 module list items (see section 3.2).
Business Capabilities: - CAP-ESS-006 Master and reference data governance
Primary Actors: - Master data steward (ACT-ESS-006), master data owner (ACT-ESS-007), calling domain service (ACT-ESS-013)
Dependencies: - MOD-ESS-012, MOD-ESS-010, MOD-ESS-011, MOD-ESS-008, MOD-ESS-006. - External sources: HR, credentialing, and national or regional registries where applicable.
5.5.2 Functional Area: Master-Data Governance¶
Functional Area ID: FA-ESS-015
Description: Register of master-data domains with owner, approval workflow and effective dating.
Scope: - Included: governance of all master-data domains named in DAT-001. - Excluded: maintenance screens and business rules for master data whose content is owned by another domain (see FR-ESS-MDM-001).
5.5.3 Functional Area: Organization, Facility and Location Registries¶
Functional Area ID: FA-ESS-016
Description: Enterprise hierarchy of organizations, facilities, campuses, buildings, floors, wards, rooms, clinics, departments and service lines, and resource reference data.
Scope: - Included: structural reference data, calendars, time zone, locale and currency attributes of facilities. - Excluded: bed and room operational state, turnover and allocation (Domain 1); equipment maintenance state (owning operational domain).
5.5.4 Functional Area: Practitioner and Service Registries¶
Functional Area ID: FA-ESS-017
Description: Practitioner identity, qualification, specialty and affiliation, and the enterprise service and procedure reference list.
Scope: - Included: practitioner and practitioner-role records, service and procedure reference entities. - Excluded: provider schedules and availability (Domain 1); order catalogue (Domain 3); tariffs (Domain 5).
5.5.5 Detailed Requirements¶
Requirement FR-ESS-MDM-001: Governed Master-Data Domains¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ESS-MDM-001 |
| Requirement Name | Governed master-data domains |
| Requirement Type | Functional |
| Module | Master and Reference Data Governance and Registries |
| Functional Area | FA-ESS-015 Master-data governance |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | DAT-001; PRS section 18 (Data governance council); Architecture 6.5 |
| Related Business Rule | BR-ESS-018, BR-ESS-019 |
| Related Workflow | WF-ESS-005 |
1. Requirement Statement
The system shall maintain governed master data for organizations, locations, practitioners, services, procedures, medications, devices, units and terminology, such that every master-data domain has a named owner, an approval workflow and effective dates, and every change is validated, approved, versioned and published.
2. Business Rationale
DAT-001 acceptance requires that every master-data domain has an owner, approval workflow and effective dates. Ungoverned reference data causes routing errors, wrong pricing and unreliable reporting.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Data Governance Council | Approve registration of a master-data domain and its owner | — |
| Master data owner | Approve changes; define approval route | For owned domain |
| Master data steward | Create / Update proposals | For assigned domain |
| Calling domain service | Read published versions; submit change requests | Authenticated |
4. Preconditions - The master-data domain is registered.
5. Trigger - Registration of a master-data domain; change proposal; source feed.
6. Functional Behaviour
- The system holds a register of master-data domains recording, for each: owner, stewards, system of record, approval workflow, attribute classes and their approval route, quality rules and consuming domains.
- For master-data domains whose system of record is Domain 10 (organization, facility, location structure, practitioner, service and procedure reference, units, terminology), the system stores the entities and applies WF-ESS-005.
- For master-data domains whose content is owned by another domain (medication catalogue and formulary in Domain 3, inventory item master and tariff in Domain 5, device register where held by Domain 4), the system records ownership and governance in the register and requires that the owning domain's maintenance function meets the same owner, approval and effective-dating rules; it does not store or edit that content.
- The system versions every entity change with effective period, author and approver, and retains history.
- The system retires entities with an end date and keeps them resolvable for historical references.
- The system emits a master-data-changed event (EVT-ESS-007) for each published change in domains it stores.
- The system reports master-data domains lacking an owner, a steward or an approval workflow.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Master-data domain | Code | Yes | Registered | Domain of the entity |
| Entity attributes | Structured | Yes | Domain schema; mandatory attributes | Proposed values |
| Effective from / to | Date-time | From yes | Valid range; no overlap of versions | Validity |
| Change reason | Text | Yes | Non-empty | Justification |
| Owner / approver decision | Code | Yes | Approve / reject | Decision |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-MDM-001-1 | Change to an attribute class that requires owner approval | Not published until approved |
| PR-MDM-001-2 | Overlapping effective periods for the same entity | Rejected |
| PR-MDM-001-3 | Master-data domain has no active owner | Appears on governance exception report; changes blocked where policy requires |
| PR-MDM-001-4 | Likely duplicate detected | Presented to steward before submission |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Master-data domain register | API resource / report (REP-ESS-008) | Data Governance Council | Owner, workflow, status per domain |
| Published entity version | API resource | All domains | Current and historical versions |
| Master-data-changed event | Event (EVT-ESS-007) | All domains | Published change |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Missing mandatory attribute | Schema | Reject with field detail | Actionable field-level message (DAT-002). |
| Referential integrity failure | Reference check | Reject | "Referenced entity does not exist or is not effective." |
| Unapproved publish attempt | Workflow state | Block | "Approval is required." |
11. State and Lifecycle Behaviour
Entity versions are Proposed, Approved, Active, Superseded or Retired. Screens show Proposed as "In review", the word of the lifecycle pattern (OV-18).
12. Audit Requirements
- Audited events: domain registration, owner change, proposal, approval, rejection, publication, retirement.
- Before-and-after values are recorded for every attribute change.
13. Security and Privacy Requirements
- Master data is Internal, except practitioner personal data, which is Confidential.
- Authoring and approval are separated for attribute classes that require owner approval.
14. Acceptance Criteria
- AC-01: Given the register, when inspected, then each of the master-data domains named in DAT-001 has an owner, an approval workflow and effective dating (DAT-001 acceptance).
- AC-02: Given a proposed change requiring approval, when it is not yet approved, then consumers still read the prior version.
- AC-03: Given a retired entity, when a historical record referring to it is displayed, then the entity resolves with its name and retired status.
- AC-04: Given an approved change, when published, then a master-data-changed event is emitted with entity, version and effective period.
15. Dependencies and Integration
- Upstream dependencies: FR-ESS-DGV-001; FR-ESS-CFG-001.
- Downstream dependencies: all domains.
- Required events or APIs: IF-ESS-007; EVT-ESS-007.
16. Open Questions / Assumptions
- System-of-record allocation for medication, device, inventory and tariff master data follows the module lists of REF-002 and the shared medication boundary position (DEC-ESS-004).
Requirement FR-ESS-MDM-002: Organization, Facility, Department, Location and Resource Registries¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ESS-MDM-002 |
| Requirement Name | Organization, facility, department, location and resource registries |
| Requirement Type | Functional |
| Module | Master and Reference Data Governance and Registries |
| Functional Area | FA-ESS-016 Organization, facility and location registries |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS section 4.1; DAT-001; CFG-001 (facility structures); PRS section 7.3 (Location / Resource, Practitioner / Organization); NFR-012 |
| Related Business Rule | BR-ESS-018, BR-ESS-019 |
| Related Workflow | WF-ESS-005 |
1. Requirement Statement
The system shall maintain reference registries that represent a single hospital or a multi-facility enterprise, including organizations, campuses, buildings, floors, wards, rooms, bed positions, clinics, departments, service lines and mobile care locations, with configurable hierarchy, operating hours, local calendars, time zone, language, currency and identifier assigning authority, and shall publish them to all domains.
2. Business Rationale
PRS 4.1 requires a configurable facility model. Every encounter, order, charge and access decision refers to an organization or location, so the reference must be the same everywhere.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Master data steward (facilities) | Create / Update proposals | For assigned facilities |
| Master data owner | Approve | Facility management or operations owner |
| Calling domain service | Read | Authenticated |
4. Preconditions - The parent entity exists and is effective for the proposed period.
5. Trigger - New facility onboarding; structural change (ward opened, merged, renamed, closed); calendar change.
6. Functional Behaviour
- The system stores organizations and locations as typed entities in an effective-dated hierarchy with stable identifiers that are never reused.
- The system records for each facility its time zone, locale, language, currency, tax jurisdiction reference, operating hours and calendar of non-working days.
- The system records for each location its type, parent, physical and operational attributes that are structural (for example isolation-capable, bed position count), and the organizational unit responsible.
- The system registers structural resource reference entities (rooms, equipment types, bed positions) that other domains schedule and allocate; operational state is not stored here.
- The system validates that a location cannot be retired while active child locations exist, and warns when other domains report active dependants through the dependency check API.
- The system supports the representation of these entities as FHIR Organization and Location resources where selected by the interoperability profile.
- The system publishes changes as master-data-changed events and supports point-in-time queries of the hierarchy.
- The system holds the SATUSEHAT Organization identifier for each own facility and organizational unit that SATUSEHAT exchange references, and for each external organization used as a referral target (hospital, clinic, laboratory, puskesmas). It also holds the Ministry of Health facility code (kode faskes) where one exists. Both are identifiers with their assigning authority (FR-ESS-REG-001). An external organization chosen as a referral target without a SATUSEHAT Organization identifier is accepted with a flag, and a stewardship item asks the master data steward to look it up in the SATUSEHAT organization master (EXT-ESS-006). Set 17 Nov 2026.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Entity type | Code | Yes | Value set | Organization, campus, building, floor, ward, room, bed position, clinic, department, service line, mobile location |
| Name and short name | String | Yes | Unique among siblings in period | Display |
| Parent | Reference | Yes except root | Effective in period; type-compatible | Hierarchy |
| Identifiers | Identifier list with assigning authority | No | Unique within authority | Local and external identifiers |
| SATUSEHAT Organization identifier; facility code | Identifier with assigning authority | Yes for own facilities and units referenced in SATUSEHAT exchange; expected for external referral targets | Unique within authority | National identifiers for exchange and referral (part 6.8) |
| Time zone, locale, currency | Codes | Yes for facility | Valid codes | Localization attributes |
| Operating hours / calendar | Structured | No | Valid times | Availability reference |
| Effective period | Date-time range | Yes | No overlap | Validity |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-MDM-002-1 | Child type not permitted under parent type | Rejected |
| PR-MDM-002-2 | Retirement with active children | Blocked |
| PR-MDM-002-3 | Identifier duplicates another entity within the same assigning authority | Rejected |
| PR-MDM-002-4 | External referral target has no SATUSEHAT Organization identifier | Accepted with a flag; stewardship item to the master data steward |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Hierarchy and entity | API resource; FHIR Organization / Location where selected | All domains | Current and as-of views |
| Master-data-changed event | Event (EVT-ESS-007) | All domains | Structural change |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Invalid time zone or currency code | Code validation | Reject | Field-level message. |
| Parent not effective for whole period | Temporal check | Reject | "Parent is not effective for the full period." |
| Dependants reported by another domain | Dependency check | Warn; approver decides | List of dependants shown. |
11. State and Lifecycle Behaviour
Entity versions follow the master-data lifecycle. Retired locations remain resolvable.
12. Audit Requirements
- Audited events: all proposals, approvals, publications and retirements, with before-and-after values.
13. Security and Privacy Requirements
- Internal classification. Facility scope attributes are used by the policy decision service; an error here can widen or narrow access, so changes require owner approval.
14. Acceptance Criteria
- AC-01: Given a multi-facility configuration, when the hierarchy is queried, then each ward resolves to its floor, building, campus and organization.
- AC-02: Given a ward with active rooms, when its retirement is proposed, then the proposal is blocked.
- AC-03: Given two facilities in different time zones, when their attributes are read, then each returns its own time zone and locale for display conversion (NFR-012).
- AC-04: Given a date in the past, when the hierarchy is queried as of that date, then the structure effective then is returned.
- AC-05: Given an external hospital used as a referral target, when its record is read, then it returns its SATUSEHAT Organization identifier with assigning authority, or a flag and an open stewardship item when the identifier is missing.
15. Dependencies and Integration
- Upstream dependencies: FR-ESS-MDM-001; FR-ESS-REG-001.
- Downstream dependencies: Domain 1 (beds, scheduling, encounters), Domain 5 (cost centres, stock locations), MOD-ESS-002, all domains.
- Required events or APIs: IF-ESS-007; EVT-ESS-007.
16. Open Questions / Assumptions
- REF-002 lists "bed, ward, room and location management" under Domain 1. The working position is that Domain 10 holds the structural reference entity and Domain 1 holds operational state and allocation (DEC-ESS-013).
Requirement FR-ESS-MDM-003: Practitioner and Service Reference Registries¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ESS-MDM-003 |
| Requirement Name | Practitioner and service reference registries |
| Requirement Type | Functional |
| Module | Master and Reference Data Governance and Registries |
| Functional Area | FA-ESS-017 Practitioner and service registries |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | DAT-001; PRS section 7.3 (Practitioner / Organization); PRS section 4.2 (credential status); PRS 25.1 "Right people" |
| Related Business Rule | BR-ESS-003, BR-ESS-018 |
| Related Workflow | WF-ESS-001, WF-ESS-005 |
1. Requirement Statement
The system shall maintain a practitioner registry holding each practitioner's unique identity, role and qualification, organization, specialty, active status and assignment to organizational units, and an enterprise service and procedure reference list, each governed, effective-dated and published to all domains.
2. Business Rationale
Orders, results, notes, charges and audit all reference a practitioner. Credential status drives access (PRS 4.2). A shared service and procedure reference keeps scheduling, ordering and charging aligned.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Master data steward (medical staff / HR) | Create / Update proposals | — |
| Master data owner (credentialing authority) | Approve qualification and credential changes | — |
| External credentialing source | Create / Update via interface | Service identity |
| Calling domain service | Read | Authenticated; personal attributes limited by purpose |
4. Preconditions - The practitioner's organization exists in the registry.
5. Trigger - Joiner, credential change, privilege change, specialty change, leaver; new or changed service.
6. Functional Behaviour
- The system stores each practitioner with a stable enterprise practitioner identifier, professional identifiers with assigning authority, name, qualifications with validity, specialties, active status and affiliations to organizations with role and period.
- The system links a practitioner record to at most one workforce account and notifies MOD-ESS-001 when credential status changes.
- The system stores external practitioners (referring clinicians, external performers) as practitioner records without an account.
- The system stores service and procedure reference entities with code, name, category, terminology binding and owning organizational unit.
- The system flags qualifications approaching expiry and emits a master-data-changed event on status change.
- The system supports representation as FHIR Practitioner and related resources where selected (PRS 21.3).
- The system keeps retired or departed practitioners resolvable for historical authorship.
- The system records each practitioner's clinical privileges as Indonesian hospitals grant them (set 17 Nov 2026, GAP-ESS-007). After credentialing, the medical committee (komite medik) recommends a list of clinical privileges (rincian kewenangan klinis, RKK), and the hospital director issues a clinical appointment letter (surat penugasan klinis, SPK) (Permenkes 755/2011 on the medical committee; nurses and midwives through the nursing committee under Permenkes 49/2013). The system stores per practitioner the SPK number, issuer, issue date and expiry, and the RKK as a list of privileges. Each privilege is a code from the service and procedure reference list (part 6.4) or a privilege group, a reference entity of that list whose members are procedures of it (GAP-ESS-018), with a level (independent, or under supervision with the supervisor named) and a status (Granted, Suspended, Expired, Revoked).
- A privilege ends at the earliest of: the SPK expiry, at most 3 years after issue (re-credentialing cycle); the end of the practitioner's SIP for this facility; or suspension or revocation by the director. The system flags privileges 90 days before expiry to the medical committee and the credentialing office (REP-ESS-008), and publishes each change as a master-data change (EVT-ESS-007).
- Each service and procedure reference entity carries a "privilege required" flag. For a flagged procedure, the ordering, scheduling and documenting domains ask, at order time and again when the procedure is scheduled or performed, whether the named performer holds a current privilege for it (IF-ESS-007). Without one, the system names the missing privilege and the action is refused for that performer. In an emergency the clinician may proceed with the reason "Emergency, no current privilege"; the action is audited and a review task goes to the medical committee within 7 days. The director may issue a temporary SPK for an emergency or a visiting practitioner, valid at most 30 days.
- The system stores the national licence data of each practitioner who performs clinical care (set 17 Nov 2026): the registration certificate (surat tanda registrasi, STR) number, which under UU 17/2023 is valid for life; the practice licence (surat izin praktik, SIP) number, issuing local government, the facility it covers, issue date and expiry; and the SATUSEHAT Practitioner (IHS) identifier together with the NIK (DEC-ADM-002). A practitioner may hold several SIPs, one per practice place; only the SIP for this facility gates privileges here. The system flags a SIP 90 days before its expiry to the credentialing office (REP-ESS-008). When the SIP for a facility expires, that SIP shows Expired, the privileges under it end (PR-MDM-003-5) and the roles that depend on it at that facility are suspended (BR-ESS-003); the practitioner's credential status and access at other facilities do not change. Credential status becomes Lapsed when a qualification ends or the STR is no longer valid (PR-MDM-003-1) (GAP-ESS-017).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Practitioner identifiers | Identifier list with assigning authority | Yes (at least one) | Unique within authority | Professional and local identifiers |
| Name | Structured name | Yes | Non-empty | Display and legal name |
| Qualification | Code, issuer, validity period | Conditional | Value set; valid dates | Licences and qualifications |
| Specialty | Code list | No | Value set | Specialties |
| Practice licence (SIP) and registration (STR) | SIP number, issuer, facility, issue date, expiry; STR number | For practitioners who perform clinical care | SIP expiry after issue date; one SIP per facility | National licence data (part 6.11) |
| SATUSEHAT Practitioner identifier and NIK | Identifiers with assigning authority | For practitioners named in SATUSEHAT exchange | Unique within authority | National identifiers |
| Clinical appointment (SPK) | Number, issuer, issue date, expiry | For practitioners who perform clinical care | Expiry at most 3 years after issue and not after the SIP end | Clinical appointment letter |
| Clinical privileges (RKK) | List of procedure or privilege-group codes, level, supervisor, status | With an SPK | Codes from the service and procedure reference list | What the practitioner may perform |
| Affiliation | Organization reference, role, period | Yes for internal staff | Active organization | Where and in what role |
| Service / procedure code and binding | Code, terminology reference | Yes for service entities | Valid code | Reference entity |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-MDM-003-1 | Qualification validity ends | Credential status "lapsed"; event to MOD-ESS-001 |
| PR-MDM-003-2 | Duplicate professional identifier | Rejected; stewardship item |
| PR-MDM-003-3 | Practitioner retired | Remains resolvable; cannot be selected for new activity |
| PR-MDM-003-4 | Performer of a privilege-required procedure has no current privilege for it | Refused for that performer; emergency override with reason, audited and reviewed by the medical committee |
| PR-MDM-003-5 | SPK expiry or SIP end reached | All privileges under that SPK become Expired; event published |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Practitioner record | API resource; FHIR Practitioner where selected | All domains | Identity, qualification, affiliation |
| Credential expiry list | Report (REP-ESS-008) | Credentialing office | Qualifications expiring |
| Master-data-changed event | Event (EVT-ESS-007) | MOD-ESS-001, all domains | Status changes |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Qualification code not in value set | Terminology validation | Reject | Field-level message. |
| Affiliation to inactive organization | Reference check | Reject | "Organization is not active." |
| Source feed conflict with local value | Conflict detection | Queue for stewardship; no silent overwrite | Item visible to steward. |
11. State and Lifecycle Behaviour
Practitioners are Active, Inactive or Retired; qualifications are Current, Lapsed or Restricted; clinical privileges are Granted, Suspended, Expired or Revoked. Screens show a practitioner as "In use", "Inactive" or "Retired" (glossary section 9), because "Active" is kept for content versions.
12. Audit Requirements
- Audited events: creation, qualification and status change, affiliation change, merge of duplicate practitioner records.
13. Security and Privacy Requirements
- Practitioner personal data (contact details, identifiers) is Confidential and released by purpose; display name, role and specialty are Internal.
14. Acceptance Criteria
- AC-01: Given a practitioner whose licence validity ends, when the end time passes, then credential status is "lapsed" and MOD-ESS-001 receives the change.
- AC-02: Given a departed practitioner, when a note they authored is displayed, then their name and role at the time resolve.
- AC-03: Given an external referring clinician, when registered, then a practitioner record exists without a workforce account.
- AC-04: Given a service reference entity, when read, then it carries its terminology binding and owning unit.
- AC-05: Given a surgeon whose RKK does not include a privilege-required procedure, when the surgeon is named as performer on an order for it, then the order is refused for that performer with the missing privilege named, and an emergency override creates an audit event and a medical committee review task.
- AC-06: Given an SPK that reaches its expiry date, when the date passes, then its privileges show Expired and the change is published.
- AC-07: Given a practitioner whose SIP for a facility expires in 90 days, when the expiry list runs, then the SIP appears on it; when the expiry date passes, that SIP shows Expired, the privileges under it show Expired and MOD-ESS-001 receives the change for that facility, while a current SIP at another facility keeps its privileges and the credential status stays Current.
- AC-08: Given an RKK that grants a privilege group, when a privilege is asked for a procedure that is a current member of the group, then it is held at the level of the group entry, unless the RKK has an entry for the procedure itself, which decides.
15. Dependencies and Integration
- Upstream dependencies: EXT-ESS-001, EXT-ESS-002; FR-ESS-TRM-002.
- Downstream dependencies: MOD-ESS-001; Domains 1, 3, 4, 5, 6, 9.
- Required events or APIs: IF-ESS-007; EVT-ESS-007.
16. Open Questions / Assumptions
- Update 17 Nov 2026: STR, SIP with expiry and the SATUSEHAT Practitioner identifier are added as part 6.11.
- Update 25 Nov 2026: the end of one facility's SIP acts at that facility only (GAP-ESS-017); privilege groups are defined (GAP-ESS-018).
- Update 17 Nov 2026 (GAP-ESS-007, closed): clinical privileges (SPK and RKK) with expiry and the order-time check are added as parts 6.8 to 6.10. Permenkes 755/2011 is applied as the current regulation on the medical committee under UU 17/2023; if it is replaced, the new regulation's names and cycle replace these defaults.
← 5.4 Module Specification: Terminology Service | Contents | Identifier index | 5.6 Module Specification: Audit Service and Security-Event Integration →