Domain specifications / D08-ANL / 9. Security, Privacy, and Compliance Requirements
9. Security, Privacy, and Compliance Requirements¶
9.1 Domain Security Model¶
The analytical platform runs in a separate analytics zone with its own credentials and compute, provided by Domain 2 (REF-003 section 11.1). Its security responsibilities are: to accept data only from registered feeds; to hold no credentials for production transactional stores; to restrict identifiable data to the layers and roles that need it (raw and conformed layers to ingestion, engineering and stewardship roles; curated products by purpose); to enforce every query, export, extract and AI request through a policy decision from Domain 10 at the data-access boundary; and to log access to patient-level data in the Domain 10 audit service.
Domain 10 owns identities, roles, the policy decision service, consent directives and the audit service. Domain 2 owns network segmentation, encryption and key management, secrets, egress control, security monitoring and backup. This domain owns the correct use of those services for analytical data, the classification of its data products, de-identification, and AI governance.
Separation of duties applies: authors do not approve their own definitions, rules, profiles, access assignments, extracts or model versions (BR-ANL-009; PRS section 13.1 "separation of duties"). Front-end hiding is never the authorization control (PRS section 10.2).
9.2 Role-Based and Attribute-Based Access¶
| Role | Resource | Action | Conditions |
|---|---|---|---|
| Executive / Hospital Manager | Management reports, scorecard, aggregate dashboards | Read | Enterprise or assigned facility scope; aggregates only |
| Operations Manager / Department Head | Operational and utilization dashboards | Read; drill-down where permitted | Own facility, department or service; operational purpose |
| Clinical Quality and Safety Analyst | Quality indicators, CDS analytics, pathway measures, cohort detail | Read | Clinical governance or quality-improvement purpose; practitioner-level data restricted |
| Finance / Revenue Cycle Analyst | Financial and revenue-cycle reports; account-level detail | Read; run; export | Finance purpose; facility scope |
| Metric Owner | Metric definitions | Create, Update, Submit, Retire | Own metrics; cannot approve own version |
| Data Governance Council reviewer | Definitions, data products, quality rules | Approve | Not the author |
| Data Steward | Quarantine, stewardship items, reconciliation results | Read, Update, Resolve | Assigned data domain |
| Data Engineer | Feeds, pipelines, raw and conformed layers; extract preparation; de-identification profiles and risk checks | Create, Update, Read | Change control; raw PHI access limited to ingestion and engineering roles; audited; profiles need approval by the privacy officer |
| BI Developer / Report Author | Semantic models, dashboards, reports | Create, Update | Certified products and Active metrics only; publication approved by another |
| Researcher / QI Investigator | Own extract requests and released packages | Create (request), Update (amend, withdraw), Read (released) | Approved request; conditions accepted; within expiry |
| Data Product Owner | Extract requests that use their products | Approve the use of the product, Return | Not the requester |
| Privacy Officer / Extract Approver | Extract requests, de-identification profiles, risk thresholds | Approve, Reject, Revoke | Not the requester or profile author |
| AI Governance Reviewer | AI use cases, model versions | Approve, Suspend, Retire | Not the proposer or developer |
| AI-Assisted Workflow User | AI draft output in an approved workflow | Read, Accept, Edit, Reject | Authorized for the function, patient and purpose; holds reviewer role |
| Data Scientist / Model Developer | Governed AI workspace, registry entries | Create, Read | De-identified data only, from an approved extract of the class AI development and validation (DEC-ANL-007; corrected 17 Nov 2026: the earlier "unless explicitly approved" does not match the decision) |
| Analytics Platform Administrator | Configuration, schedules, access assignment | Update | Per approved policy; cannot approve own change; privileged access with MFA (SEC-002) |
| Pipeline / AI Service Identity | Registered feed endpoints; scoped APIs | Read; Append to raw | Non-human, scoped, rotated; no production OLTP access; AI has no write to records |
Attributes used in policy decisions are identity, role, organizational affiliation, facility, purpose of use, data sensitivity label, consent and, for AI, the use-case identifier. Access is recertified periodically (SEC-004).
9.3 Privacy and Data Classification¶
| Data Category | Classification | Access Restrictions | Protection Requirements |
|---|---|---|---|
| Raw layer source payloads (identifiable PHI) | Sensitive | Ingestion and engineering roles only | Encryption in transit and at rest; append-only; access audited; retention only where lawful and justified |
| Conformed layer and quarantine (identifiable PHI) | Sensitive | Engineering and assigned stewards | As above; sensitivity labels carried forward |
| Curated patient-level or encounter-level products | Sensitive | By purpose and scope through the semantic layer | Policy-enforced row and column restrictions; export control; audit |
| Specially restricted record categories (as labelled by source domains under SEC-016) | Sensitive (restricted) | Excluded or masked unless the policy decision allows | Label enforcement on read, export and extract |
| Aggregate dashboards, reports and scorecard | Confidential | Authorized staff by scope | Small-number suppression where the product policy requires; classification marking on exports |
| Practitioner-level performance data (override rates, adoption) | Sensitive | Clinical governance and line management purposes | Purpose restriction; audit |
| Financial reports and account-level detail | Confidential (detail: Sensitive) | Finance roles by facility | Export control; audit |
| De-identified data sets | As assessed by the privacy office from residual risk | Approved recipients until expiry | Profile and risk checks; no re-identification attempts; key held separately |
| Limited data sets | Sensitive | Approved recipients until expiry | As approved; encrypted delivery |
| AI interaction logs and draft outputs | Sensitive | AI governance, audit; draft visible to invoking user only | Tamper-evident logging; retention aligned with record and privacy rules |
| Metric definitions, catalogue and lineage metadata, quality scores | Internal | All authenticated analytical users (record-level lineage restricted) | Change audit |
| Pipeline and feed configuration, service credentials | Confidential | Platform administrators | Secrets held in the Domain 2 controlled mechanism (SEC-009) |
9.4 Consent and Purpose of Use¶
- Consent requirements. The consent directive and the policy decision are owned by Domain 10. This domain requests a decision for patient-level access, for every extract cohort and for every AI request with patient scope, and applies it. The legal basis and consent model for secondary use are set by DEC-ANL-007, resolved 2026-11-17, in three classes. (1) Quality improvement, clinical audit, operational analytics and statutory reporting: no consent; legal obligation and legitimate interest with a documented assessment; minimum necessary data, de-identified where the purpose allows. (2) Research: ethics committee approval, plus explicit consent or a committee-approved waiver using de-identified data; an opt-out register is honoured. (3) AI development and validation: treated as research; de-identified data only, in a hospital-controlled environment; no identifiable data to an external service. No extract or AI use case starts before the privacy impact assessment covers it. The waiver route for de-identified research data needs legal sign-off.
- Purpose-of-use restrictions. Every patient-level query, export, extract and AI request carries a purpose of use. Permitted purposes in this domain are operational management, quality improvement and clinical governance, finance and revenue cycle, data stewardship, approved research and approved AI use cases. Each data product carries the secondary-use classes of DEC-ANL-007 that its access policy allows (quality, audit, operations and statutory reporting; research; AI development and validation), shown in the data product catalogue (DE-ANL-006). Treatment access is not served from the analytical platform.
- Sensitive information segmentation. Privacy labels attached by source domains are carried through the layers. Labelled categories are excluded from general curated products and from extracts unless the approval and policy decision explicitly include them.
- Emergency access procedures. Break-the-Glass does not apply to analytical data. Emergency clinical access is provided by the source clinical systems under Domain 10 controls (SEC-007, SEC-014).
- Access review and revocation. Analytical access assignments are included in periodic recertification; revoked permissions stop working at the next policy decision. Extract access ends at expiry or revocation. Consent withdrawal affects future refreshes and access according to approved policy (SEC-008).
9.5 Audit and Accountability¶
- Audited events. Views, queries and exports returning patient-level data; record-level lineage traces; access to raw, conformed and quarantine data by humans; creation, change, approval, activation and retirement of metric definitions, quality rules, data products, semantic models, dashboards and reports; threshold changes; product suspension and release; replays; stewardship resolutions and acceptances; extract requests, approvals, releases, refreshes, expiries, revocations and disposal attestations; de-identification profile changes and key access; AI use-case and model decisions; every AI interaction with its human disposition; access assignment changes; statutory report sign-off; data subject request actions applied to analytical copies; refused connections to non-registered sources.
- Audit event catalogue. Each auditable action above has an event type code and one category of the Domain 10 minimum audit event catalogue, which sets the fields each category must carry. The event types below are registered in the Domain 10 audit service before this domain's go-live; an event of an unregistered type is quarantined there. Sign-in, session, policy-decision Deny and audit-query events are written by Domain 10 itself and are not repeated here.
| Event type code | Auditable action | Category |
|---|---|---|
| anl.patient-data.view | View of patient-level data on a dashboard, report or workbench | Record access |
| anl.patient-data.query | Query or ad hoc analysis returning patient-level data, with the query criteria | Record access |
| anl.patient-data.export | Export, download or print of a result containing patient-level data | Record access |
| anl.lineage.trace | Record-level lineage trace to source records | Record access |
| anl.layer.access | Human access to raw, conformed or quarantine data | Record access |
| anl.ai.interaction | AI request with patient scope and its human disposition (accepted, edited, rejected) | Record access |
| anl.stewardship.resolve | Stewardship resolution or acceptance of a data quality issue | Record change |
| anl.extract.request | Extract request created or changed | Disclosure and exchange |
| anl.extract.approve | Extract approval or refusal | Disclosure and exchange |
| anl.extract.release | Extract package release or scheduled refresh | Disclosure and exchange |
| anl.extract.end | Extract expiry, revocation or disposal attestation | Disclosure and exchange |
| anl.statutory-report.submit | Statutory report (SIRS RL) signed off and handed to Domain 2 for transmission | Disclosure and exchange |
| anl.data-subject.apply | Restriction or erasure from an approved data subject request applied to analytical copies | Consent and privacy |
| anl.definition.change | Create, change, approval, activation or retirement of a metric definition, quality rule, data product, semantic model, dashboard or report | Administration and configuration |
| anl.threshold.change | Change of a quality, freshness or reconciliation threshold | Administration and configuration |
| anl.product.status | Product suspension or release | Administration and configuration |
| anl.replay.run | Replay or reprocessing of ingested data | Administration and configuration |
| anl.deid-profile.change | De-identification profile created, changed or retired | Administration and configuration |
| anl.ai.decision | AI use-case or model version approval, deployment, suspension, re-approval or retirement | Administration and configuration |
| anl.access.change | Analytical access assignment granted, changed or removed | Administration and configuration |
| anl.key.access | Access to pseudonymisation or de-identification keys | Security |
| anl.source.refused | Refused connection from a non-registered source | Security |
- Content. Each event records actor or service identity, action, resource reference (and patient reference where applicable), purpose of use, outcome, timestamp, correlation identifier and relevant before/after metadata (PRS section 10.3).
- Integrity. Audit events are sent to the Domain 10 audit service, which is append-only or tamper-evident and separately administered. Lineage records, issued-report records and AI interaction logs held in this domain are immutable.
- Access to audit records. Through the Domain 10 audit service under its controls; privileged access to audit data is itself audited.
- Retention. Per the enterprise retention baseline, held by the Domain 10 audit service: audit of patient-level data for the life of the record, other audit events 10 years.
9.6 Regulatory and Standards Mapping¶
The sources name no statute or clause for analytics. The rows below record the obligations the PRS states and the standards it references. For the Indonesia profile, the national law clauses follow the enterprise clause-level mapping in D02-ISE section 9.6, with the analytics-specific clauses added; the privacy impact assessment (PRS section 10.4) uses this mapping. The hospital's legal adviser confirms the article text before go-live. Where no external clause applies, the "Applicable Clause" column cites the PRS.
| Requirement ID | Regulation / Standard | Applicable Clause | Implementation | Evidence |
|---|---|---|---|---|
| COMP-ANL-001 | Applicable personal data protection and health-sector law of the deployment jurisdiction (Indonesia profile; PRS section 10.4) — mandatory, jurisdiction-specific | UU 27/2022 (PDP) art. 4(2) (health data is specific personal data), 16(2) (purpose limitation and minimization), 20 (legal bases), 5 to 13 (data subject rights, answered within 3 x 24 hours), 34 (impact assessment), 43, 44 (erasure at end of retention), 56 (transfer abroad); UU 17/2023 (Kesehatan) art. 4(1)(i) and 297 (confidentiality of health data); PMK 24/2022 art. 33 to 36 (opening of record content, including education and research with consent or ethics approval); PP 28/2024 (implementing regulation) (D02-ISE clause table) | Purpose limitation, minimization, de-identification, extract approval, data subject request handling (sections 5.8, 7.6, 9.4) | Privacy impact assessment; extract register; privacy test results |
| COMP-ANL-002 | PRS privacy control SEC-012 — mandatory product requirement | SEC-012 | De-identification profiles and risk checks; minimum-necessary products | Approved profiles; risk-control results |
| COMP-ANL-003 | PRS audit controls SEC-006, SEC-019 — mandatory product requirement | SEC-006, SEC-019 | Audit of analytical views, queries, exports and disclosures via Domain 10 | Audit completeness tests |
| COMP-ANL-004 | Medical-device / software regulation applicable to clinical AI — jurisdiction-specific; applicability to be assessed per use case | PRS section 13.2 | Regulatory assessment recorded before approval of clinical AI (FR-ANL-AIG-001) | Assessment record per use case |
| COMP-ANL-005 | National hospital reporting obligations (for Indonesia, relevant SIRS interfaces where applicable) — mandatory where applicable | PRS section 9.4; SIRS online RL reports (monthly RL 3 to RL 5 by the 10th of the next month, yearly RL 1 and RL 2 by the end of January) and the national quality indicators to SIMAR (EXT-ANL-005, monthly by the 10th) | Governed reporting datasets from certified products, built from source events (EXT-ANL-002); transmission by Domain 2 | Conformance pack results; each submission signed off and its acknowledgement kept |
| COMP-ANL-006 | WCAG 2.2 AA — optional standard adopted "where applicable" by NFR-011 | NFR-011 | Accessible dashboards and workbenches (section 6.4) | Accessibility test report |
| COMP-ANL-007 | HIMSS EMRAM — optional maturity reference; not a legal requirement | PRS sections 27, 28 | Internal scorecard only; any Stage 7 claim needs a separate formal assessment | Scorecard with internal-readiness notice |
| COMP-ANL-008 | ISO/IEC 27001-family and ISO/IEC 27799 practices — referenced for design alignment (PRS section 20.2); optional, not legal obligations | ISO/IEC 27001:2022 Annex A A.5.34 (privacy and protection of PII), A.8.11 (data masking), A.8.12 (data leakage prevention), A.8.15 (logging); ISO 27799:2016 clauses 9 and 12.4; the platform clauses of the D02-ISE clause table | Domain applies platform security baselines of Domains 2 and 10 | Security assessment evidence |
| COMP-ANL-009 | OMOP CDM — optional research model (REF-003) | Not applicable | Not adopted in the first release; warehouse data is kept coded to the standard terminologies so that a later conversion is feasible (DEC-ANL-005, deferred) | Mapping validation |
← 8. Integration and Interoperability Requirements | Contents | Identifier index | 10. Non-Functional Requirements →