MOD ANL 005 DWH
Domain specifications / D08-ANL / 5. Detailed Functional Requirements / 5.5 Module Specification: Data Warehouse / Lakehouse and Ingestion Pipelines
5.5 Module Specification: Data Warehouse / Lakehouse and Ingestion Pipelines¶
5.5.1 Module Overview¶
Module ID: MOD-ANL-005
Purpose:
Ingest approved feeds from all operational domains and maintain the raw, conformed and curated analytical layers, physically or logically isolated from live clinical transaction workloads.
Business Capabilities: - CAP-ANL-005 Isolated analytical data platform
Primary Actors: - ACT-ANL-007 Data Engineer - ACT-ANL-014 Analytics Platform Administrator - ACT-ANL-015 Pipeline Service Identity - ACT-ANL-016 Data Product Owner
Dependencies: - Domain 2 (isolated data infrastructure, event backbone, ingestion transport, security, observability, backup) - Domain 10 (terminology, master data, authorization, audit); Domain 1 (enterprise identity cross-reference and merge events) - All source domains (versioned events and change data capture); external and legacy sources by scheduled extract only where they cannot publish events or change data capture
5.5.2 Functional Area: Workload Isolation and Source Feeds; Layered Pipeline¶
Functional Area ID: FA-ANL-008
Description:
Registration of approved source feeds and the controls that keep analytical workloads away from clinical OLTP.
Scope: - Included: feed registry; allowed ingestion mechanisms; isolation evidence. - Excluded: provisioning of network zones, compute quotas and replicas (Domain 2).
Functional Area ID: FA-ANL-009
Description:
The raw (Bronze), conformed (Silver) and curated (Gold) layers, the governance / admin layer and controlled replay.
Scope: - Included: landing, validation, deduplication, normalization, mapping, curation, snapshots, replay. - Excluded: authoring of terminology maps and master data (Domain 10).
5.5.3 Detailed Requirements¶
Requirement FR-ANL-DWH-001: Isolation of Analytical Workloads from Clinical OLTP¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ANL-DWH-001 |
| Requirement Name | Isolation of Analytical Workloads from Clinical OLTP |
| Requirement Type | Functional |
| Module | Data Warehouse / Lakehouse and Ingestion Pipelines |
| Functional Area | FA-ANL-008 Workload isolation and source feeds |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | PRS ANA-003 (M); PRS section 7.2 ("Do not run uncontrolled analytical queries against live clinical transaction stores"); PRS section 13.1; PRS section 12.1 (Tier 3 and Tier 4 must not impair Tier 1/2); contributes to INF-004 (primary Domain 2); REF-003 section 13.1 |
| Related Business Rule | BR-ANL-001, BR-ANL-002 |
| Related Workflow | WF-ANL-001 |
1. Requirement Statement
The system shall obtain all analytical data through registered feeds (event streams or change data capture, and scheduled extracts only for a source that cannot publish either) and shall not permit any analytical query, pipeline, report or AI job to read from or write to a production clinical transactional store, so that analytical load cannot starve clinical transactions.
2. Business Rationale
Bedside transaction performance is a patient-safety matter. Analytics is a Tier 3 or Tier 4 workload and must be able to run, fail or pause without affecting clinical services.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| ACT-ANL-007 Data Engineer | Create / Update feed registrations; suspend and resume a feed | Approval by source domain owner and Domain 2 required |
| Source domain owner (ACT-ISE-008 service owner) | Approve feed and contract change | Confirms contract and mechanism; arrives as a work-list task |
| Domain 2 platform owner (ACT-ISE-001) | Approve isolation and capacity control | Confirms no uncontrolled OLTP access; arrives as a work-list task |
| ACT-ANL-014 Analytics Platform Administrator | Pause and resume all ingestion | With confirmation and a reason; audited |
| ACT-ANL-015 Pipeline Service Identity | Read from approved feed endpoints only | Scoped, rotated credentials |
4. Preconditions - Domain 2 provides an analytics zone with separate credentials and compute. - Source domains publish events or change data capture through the integration fabric; an external or legacy source that cannot publish either delivers scheduled extracts through the integration layer.
5. Trigger - A feed is registered or changed; a pipeline requests a connection.
6. Functional Behaviour
- The system keeps a feed registry in which each feed records source domain, contract and version, mechanism, classification, owner, schedule or stream, expected volume, purpose and the isolation and capacity control that applies. The contract is chosen from the API and event catalogue of Domain 2 and referred to, never copied.
- The system accepts data only from registered, approved feeds.
- Analytical service identities hold no credentials for production transactional stores; an attempted connection is refused and logged as a security event.
- Where a scheduled extract or change data capture is used, the registration states the source-side control (for example read replica, off-peak window, rate limit) agreed with the source owner and Domain 2. The mechanism Scheduled extract is accepted only for a source that cannot publish events or change data capture (an external system, or a legacy system during transition); the registration records why, the extract is read-only on the source side and arrives through the integration layer to the landing location (IF-ANL-002), and the platform never connects to the source store (DEC-ANL-004, clarified 17 Nov 2026).
- The analytical platform consumes events as a secondary consumer; its lag or outage never blocks the producing transaction.
- The system can pause all ingestion and analytical processing independently of clinical services. The analytics platform administrator pauses and resumes all ingestion on the feed registry and pipeline console (UI-ANL-006) after a confirmation that states the effect and asks for a reason; consumer positions are kept, so nothing is lost, and every dashboard banner shows that the platform is paused and since when.
- A contract change creates a new registration version in Draft that refers to the new contract version in the Domain 2 catalogue. The current version stays Active until the new one is approved by both approvers and activated; the previous version is then Retired.
- A data engineer can suspend one feed and resume it; ingestion of that feed stops or resumes from the retained consumer position.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Source domain and contract version | Reference | Yes | Exists in API / event catalogue | What is consumed |
| Mechanism | Enumeration | Yes | Event stream, CDC or scheduled extract; scheduled extract only for an external or legacy source, with the reason | How it arrives |
| Schedule or stream; expected volume | Text; number per period | Yes | Consistent with the mechanism | When and how much arrives |
| Purpose | Text | Yes | Names the reporting need or product | Why the feed exists |
| Isolation control | Text + reference | Yes | Approved by Domain 2 | Why OLTP is not at risk |
| Data classification | Enumeration | Yes | Valid class | Sensitivity |
| Owner | Role reference | Yes | Exists | Accountable source owner |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-DWH-001-1 | A feed without recorded approvals cannot be activated | No unapproved source |
| PR-DWH-001-2 | Connection targets are checked against the feed registry allowlist | No direct OLTP access |
| PR-DWH-001-3 | Consumer back-pressure is absorbed in the analytics zone | Producers unaffected |
| PR-DWH-001-4 | A feed of a HIS domain that publishes events is not registered as a scheduled extract | Events and change data capture are the rule (DEC-ANL-004) |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Feed registry | Table / API | Governance, architects, auditors | Approved feeds and controls |
| Isolation evidence | Test report | Domain 2, acceptance | Load-test result |
| Refused-connection alert | Security event | Domain 2 SIEM via Domain 10 audit | Attempted OLTP access |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Pipeline targets an unregistered source | Allowlist | Refused; security event | "Source is not a registered feed." |
| Feed approval missing | Approval check | Activation blocked | "Feed awaiting approval." |
| Extract exceeds agreed window or rate | Capacity control | Extract throttled or stopped | Alert to data engineer and source owner |
11. State and Lifecycle Behaviour
A feed registration moves Draft, Approved, Active, Suspended, Retired, as in section 4.3. Contract version changes create a new registration version, which waits in Draft while the current version stays Active. The platform as a whole is Running or Paused.
12. Audit Requirements
Feed registration, approval, change, suspension, resumption, pausing and resuming all ingestion, and refused connections are audited with actor or service identity, time and target.
13. Security and Privacy Requirements
Analytics zone uses separate credentials and compute (REF-003 section 11.1). Service identities are non-human, scoped and rotated (PRS section 4.2). Data in transit and at rest is encrypted (SEC-005).
14. Acceptance Criteria
- AC-01: Given peak clinical load and a concurrent maximum analytical workload, when the load test runs, then clinical transaction response times stay within their approved objectives (ANA-003 acceptance).
- AC-02: Given an analytical service identity, when it attempts to connect to a production transactional store, then the connection is refused and a security event is recorded.
- AC-03: Given the analytical platform is stopped, when clinical workflows are exercised, then they complete normally and events are retained for later consumption (INF-004).
- AC-04: Given the feed registry, when inspected, then every active feed has source owner approval, Domain 2 approval and a recorded isolation control.
15. Dependencies and Integration
- Upstream dependencies: Domain 2 analytics zone, event backbone and capacity controls; all source domains.
- Downstream dependencies: all other requirements in this domain.
- Required events or APIs: IF-ANL-001, IF-ANL-002.
16. Open Questions / Assumptions
- ASM-ANL-001: Domain 2 provides the isolated infrastructure and enforces network-level separation.
- DEC-ANL-004: physical versus logical isolation, per PRS section 13.1 ("physically or logically isolated"). Resolved as logically isolated and fed from events and change data capture; clarified 17 Nov 2026 that a scheduled extract stays only for an external or legacy source that cannot publish either (part 6.4).
Requirement FR-ANL-DWH-002: Governed Ingestion to the Raw Layer and Controlled Replay¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ANL-DWH-002 |
| Requirement Name | Governed Ingestion to the Raw Layer and Controlled Replay |
| Requirement Type | Functional |
| Module | Data Warehouse / Lakehouse and Ingestion Pipelines |
| Functional Area | FA-ANL-009 Layered pipeline |
| Priority | Must (PRS section 13.1 carries no requirement ID; priority follows ANA-004 and DAT-003, both M) |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS section 13.1 (Raw / Bronze layer and controls); contributes to DAT-003, DAT-004 (primary Domain 10), INF-002, INF-003, INT-004 (primary Domain 2); REF-003 section 13.1 |
| Related Business Rule | BR-ANL-003, BR-ANL-006, BR-ANL-007 |
| Related Workflow | WF-ANL-001 |
1. Requirement Statement
The system shall land approved messages, extracts, document metadata and event streams in an append-only raw layer, unchanged, with ingestion metadata (source identifier, source event identifier, arrival time, batch identifier, source checksum and parser version), shall process them idempotently, and shall support controlled replay of raw data through later layers.
2. Business Rationale
Preserving raw source evidence lets transformations be re-run when mappings or definitions change and gives lineage its starting point. Idempotent ingestion prevents duplicate deliveries from inflating counts.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| ACT-ANL-015 Pipeline Service Identity | Create (append) raw records | Registered feed only |
| ACT-ANL-007 Data Engineer | Read raw; request replay | Raw PHI access restricted to ingestion roles |
| ACT-ANL-016 Data Product Owner | Approve or refuse replay | Not the requester for production replays; arrives as a work-list task |
| Requester (ACT-ANL-007 or ACT-ANL-006) | Cancel own replay request | Before it starts running |
4. Preconditions - Feed is Active (FR-ANL-DWH-001). Schema versions are available from the Domain 2 schema registry or contract catalogue.
5. Trigger - Event arrival; change data capture; scheduled extract arrival from an external or legacy source; approved replay request.
6. Functional Behaviour
- The system writes each received item to the raw layer without altering the payload and records the ingestion metadata.
- The system verifies the source checksum where provided and records a checksum where it is not.
- The system detects duplicates by source event identifier and records them as duplicates without creating a second analytical effect.
- The system records ingestion time separately from event time, recorded time and effective time carried in the payload.
- The system retains its consumer position so that after an outage it resumes without loss.
- On an approved replay, the system reprocesses a defined raw range through the conformed and curated layers with a stated parser, mapping and definition version, and records the replay as a lineage activity. Replay requests are made on one form on the feed registry and pipeline console (UI-ANL-006); the stewardship workbench opens the same form with the scope filled in.
- The system never replays into a source domain or re-emits source events to operational consumers.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Payload | Bytes / structured message | Yes | Schema version registered | Source content |
| Source event identifier | Identifier | Yes | Unique per source | Deduplication key |
| Event / recorded / effective time | Timestamps | As supplied | UTC or with zone | Source time dimensions |
| Replay request | Range, versions, reason | For replay | Approved | Controlled reprocessing |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-DWH-002-1 | Raw records are immutable once written | Evidence preserved |
| PR-DWH-002-2 | Same source event identifier received again is marked duplicate | Idempotent consumption |
| PR-DWH-002-3 | Replay output supersedes prior conformed and curated versions without deleting them | Reversible, traceable reprocessing |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Raw record with ingestion metadata | Raw store entry | Conformance pipeline | Source evidence |
| Ingestion record | Record | Lineage, monitoring | Batch counts and status |
| Replay record | Record | Audit, lineage | Range, versions, approver, result |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Unknown schema version | Schema check | Batch quarantined whole | Alert to engineer and source owner |
| Checksum mismatch | Integrity check | Batch quarantined | Re-delivery requested |
| Replay requested without approval | Approval check | Refused | "Replay requires approval." |
11. State and Lifecycle Behaviour
Implements the Ingestion Batch states (Received, Landed, Quarantined, Conformed) and the Replay Request states (Requested, Approved, Declined, In progress, Completed, Failed, Cancelled, the words of glossary 10) of section 4.3.
12. Audit Requirements
Ingestion batches, quarantines and replays are recorded with service identity, time, counts and versions. Human read access to raw PHI is audited.
13. Security and Privacy Requirements
Raw layer holds identifiable PHI and is classified Sensitive; access is restricted to ingestion roles. Retention of raw data is subject to legal and operational justification (REF-003 section 13.1) and to Domain 6 retention policy where applicable.
14. Acceptance Criteria
- AC-01: Given an event delivered twice, when ingested, then one conformed record results and one duplicate is counted.
- AC-02: Given a consumer outage of defined length, when the consumer restarts, then all events produced during the outage are ingested exactly once in effect.
- AC-03: Given a changed terminology mapping, when an approved replay is run over a raw range, then curated values are rebuilt under the new mapping version and the previous versions remain retrievable.
- AC-04: Given any raw record, when inspected, then source identifier, arrival time, batch, checksum and parser version are present.
15. Dependencies and Integration
- Upstream dependencies: Domain 2 event backbone and integration fabric; source domains.
- Downstream dependencies: FR-ANL-DWH-003, FR-ANL-DQL-001.
- Required events or APIs: IF-ANL-001, IF-ANL-002; EVT-ANL-007.
16. Open Questions / Assumptions
- GAP-ANL-004, closed 17 Nov 2026: raw landing data is kept 90 days (CFG-ANL-016). A replay of an older range reads the Domain 2 domain event archive, kept 2 years (enterprise retention baseline).
Requirement FR-ANL-DWH-003: Conformed Layer – Validation, Normalization and Correction History¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ANL-DWH-003 |
| Requirement Name | Conformed Layer – Validation, Normalization and Correction History |
| Requirement Type | Functional |
| Module | Data Warehouse / Lakehouse and Ingestion Pipelines |
| Functional Area | FA-ANL-009 Layered pipeline |
| Priority | Must (PRS section 13.1 carries no requirement ID; priority follows DAT-002 and DAT-003, both M) |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS section 13.1 (Conformed / Silver layer and controls); contributes to DAT-002, DAT-003, DAT-004 (primary Domain 10); REF-003 sections 6.5 and 13.1 |
| Related Business Rule | BR-ANL-006, BR-ANL-007, BR-ANL-008 |
| Related Workflow | WF-ANL-001 |
1. Requirement Statement
The system shall transform raw data into a conformed layer by deduplicating, validating and normalizing it, mapping terminology and units with versioned, effective-dated mappings, applying enterprise identity links reversibly, preserving corrections as versions, quarantining malformed or unmapped records, and recording reconciliation counts for every run.
2. Business Rationale
A single validated enterprise view is the basis of consistent metrics. Preserving corrections and reversible identity links keeps the analytical view faithful to source history, including corrected results and patient merges and unmerges.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| ACT-ANL-015 Pipeline Service Identity | Create conformed records | From raw only |
| ACT-ANL-007 Data Engineer | Maintain transformation logic | Under change control |
| ACT-ANL-006 Data Steward | Read quarantine; resolve | Assigned data domain |
4. Preconditions - Terminology mappings, unit conversions and master data are available from Domain 10 with versions and effective dates. - Identity cross-reference and merge/unmerge events are available from Domain 1.
5. Trigger - Raw batch landed; replay; mapping version change.
6. Functional Behaviour
- The system validates mandatory fields, code systems, units, identifiers, referential integrity and temporal consistency.
- The system maps local codes to governed terminology using the mapping version effective at the event's effective time and keeps the original source code beside the mapped code.
- The system normalizes units and keeps the original value and unit.
- The system resolves patient identifiers to the enterprise person identifier through a link that can be re-evaluated when Domain 1 publishes a merge or unmerge.
- The system stores corrected, cancelled and withdrawn source facts as new versions linked to the prior version; it does not overwrite.
- The system quarantines records that fail validation or cannot be mapped, with an actionable reason, and excludes them from curated products.
- The system records for each run: received, accepted, quarantined and duplicate counts, and fails the run if they do not balance.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Raw records | Raw store entries | Yes | Landed state | Source |
| Mapping set version | Reference | Yes | Effective for the record | Terminology and unit maps |
| Identity link set | Reference | Yes | Current at run time | Patient cross-reference |
| Validation rule set version | Reference | Yes | Approved | Rules applied |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-DWH-003-1 | received = accepted + quarantined + duplicates | Run balances or fails |
| PR-DWH-003-2 | Unmapped or ambiguous codes are quarantined, never coerced | No silent semantic loss |
| PR-DWH-003-3 | Merge and unmerge events re-point identity links without rewriting facts | Reversible identity |
| PR-DWH-003-4 | Each conformed record stores event, recorded, effective and ingestion time | DAT-004 |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Conformed record | Conformed store entry | Curation pipeline | Validated, normalized, versioned |
| Quarantine record | Record | Stewardship queue | Failed record with reason |
| Run reconciliation result | Record | Monitoring, lineage | Counts and balance |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Inactive or invalid code | Terminology validation | Quarantined | "Code not valid at effective time." |
| Invalid or missing unit | Unit validation | Quarantined | "Unit invalid." |
| Patient identifier cannot be resolved | Identity resolution | Quarantined | Stewardship item; Domain 1 referral if needed |
| Counts do not balance | Run check | Run failed; nothing published | Alert to data engineer |
11. State and Lifecycle Behaviour
Conformed records are versioned; a correction creates a new current version and keeps prior versions.
12. Audit Requirements
Each run records rule set, mapping and parser versions, counts and outcome. Changes to transformation logic follow change control with approval evidence.
13. Security and Privacy Requirements
Conformed layer holds identifiable data and is Sensitive. Sensitivity labels supplied by source domains (SEC-016) are carried on the conformed records so later layers can enforce them.
14. Acceptance Criteria
- AC-01: Given a batch with valid, invalid and duplicate records, when conformed, then counts balance and invalid records are quarantined with actionable reasons (DAT-002 acceptance).
- AC-02: Given a corrected result event, when conformed, then the new version is current and the prior version is retained and linked.
- AC-03: Given a patient merge followed by an unmerge, when processed, then analytical facts are attributed correctly after each event and no fact was rewritten.
- AC-04: Given a query by effective time and another by recorded time, when run, then each uses the correct temporal dimension (DAT-004 acceptance).
15. Dependencies and Integration
- Upstream dependencies: FR-ANL-DWH-002; Domain 10 terminology and master data; Domain 1 identity events.
- Downstream dependencies: FR-ANL-DWH-004, FR-ANL-DQL-002, FR-ANL-DQL-003.
- Required events or APIs: Domain 10 terminology and master-data APIs; Domain 1 PatientMerged / Unmerged events.
16. Open Questions / Assumptions
- ASM-ANL-004: Domain 10 exposes mapping sets with version and effective dates suitable for batch use.
Requirement FR-ANL-DWH-004: Curated Data Products¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ANL-DWH-004 |
| Requirement Name | Curated Data Products |
| Requirement Type | Functional |
| Module | Data Warehouse / Lakehouse and Ingestion Pipelines |
| Functional Area | FA-ANL-009 Layered pipeline |
| Priority | Must (PRS section 13.1 carries no requirement ID; priority follows ANA-001, ANA-002 and ANA-004, all M) |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS section 13.1 (Curated / Gold layer and controls; "curated data products with fixed grain, versioned definitions, lineage and access controls"); PRS section 1.1 ("Decision-grade data products"); REF-003 section 13.2 |
| Related Business Rule | BR-ANL-005, BR-ANL-011, BR-ANL-013 |
| Related Workflow | WF-ANL-001 |
1. Requirement Statement
The system shall publish curated data products (approved measures, dimensions, cohorts and snapshots), each with an owner, purpose, fixed grain, metric definitions, source lineage, refresh target, cutoff time, terminology version, data quality checks and score, sensitivity classification and consumer access policy, and shall require certification before a product is used on a published dashboard, report or extract.
2. Business Rationale
Reports, quality measures, research extracts and approved AI all need the same trusted, documented data. Certification gives consumers a clear signal of which data is fit for decisions.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| ACT-ANL-007 Data Engineer | Create / Update product build | Under change control |
| ACT-ANL-016 Data Product Owner | Propose product; request certification; deprecate and retire; approve product thresholds and settings | Named owner |
| Data Governance Council reviewer | Approve certification | Evidence of quality, reconciliation and lineage present; not the owner who requested it |
| Consumers | Read | Per product access policy |
4. Preconditions - Conformed data for the product's sources exists. Quality rules and reconciliation controls are defined.
5. Trigger - Scheduled refresh; conformed data change; replay; certification request.
6. Functional Behaviour
- The system builds each product at its declared grain and rejects builds that would change the grain without a new product version.
- The system records with each refresh the cutoff time, refresh watermark, terminology version, definition versions and data quality score.
- The system stores period snapshots that are immutable once published.
- The system maintains a catalogue entry for each product with all attributes named in the requirement statement.
- The system applies the late-arriving data policy declared for the product and publishes it in the catalogue.
- The system allows only Certified products to feed published dashboards, reports and extracts; products In Development are available only in non-production workspaces.
- The system provides the product lifecycle actions (propose, request certification, certify, suspend, release, deprecate, retire) and the per-product settings on the data product catalogue (UI-ANL-007). The settings (refresh target, freshness threshold, reconciliation tolerance, suspension threshold and late-arriving data policy, CFG-ANL-001 to CFG-ANL-004 and CFG-ANL-006) are proposed by the analytics platform administrator and approved by the data product owner as a new settings version on the versioned-content lifecycle, effective from a stated time; they are listed with the other configuration in Domain 10.
- Each product shows its secondary-use classes, derived from the purposes its access policy allows (DEC-ANL-007).
- Where a governed research model (for example OMOP CDM) is adopted, the system maintains versioned mappings from the conformed layer to that model.
- The initial product list is the one below (GAP-ANL-003, closed 17 Nov 2026). It takes the REF-004 section 14.2 starting list and adds the products that the Appendix B dashboards of section 12.1 need. Each product is registered in the catalogue under its name, with the refresh class of CFG-ANL-001. Further products are proposed by a data product owner through the catalogue.
| Increment | Data product | Grain | Main sources | Refresh class | Feeds |
|---|---|---|---|---|---|
| A | Encounter and patient-day core (shared dimensions: patient, encounter, facility, location, practitioner, calendar) | One row per encounter; one row per patient per bed-day | Domain 1, Domain 10 reference data | Operational | Every other product |
| B | Patient flow | One row per encounter movement (arrival, triage, seen, admit, transfer, discharge) | Domain 1, Domain 3 | Operational | REP-ANL-001 |
| B | Bed utilization and capacity | One row per bed per hour | Domain 1, Domain 10 | Operational | REP-ANL-001, REP-ANL-014 |
| B | Theatre performance | One row per theatre case | Domain 4 | Operational | REP-ANL-001, REP-ANL-014 |
| B | Diagnostic turnaround | One row per order line with its specimen, result and report times | Domains 3 and 4 | Operational | REP-ANL-002 |
| B | Medication safety | One row per scheduled dose and per verification | Domain 3 | Operational | REP-ANL-003 |
| B | Revenue cycle | One row per billable event, charge, claim and payment | Domain 5, Domains 3 and 4 | Daily | REP-ANL-012, REP-ANL-013 |
| B | Finance and supply | One row per ledger posting and per stock movement | Domain 5 | Daily; Period for closed periods | REP-ANL-012, REP-ANL-015 |
| B | Integration and platform operations | One row per interface per 5 minutes; one row per service per day | Domain 2 | Operational | REP-ANL-004, REP-ANL-005 |
| B | Data quality and identity | One row per quality rule result per run | Domain 1, Domain 10, this domain | Daily | REP-ANL-006 |
| B | Security and privacy indicators | One row per indicator per day | Domains 2 and 10 | Daily | REP-ANL-007 |
| B | Adoption and usability | One row per user role per unit per day; one row per ticket; one row per feedback response | Domains 3 and 10; EXT-ANL-006, EXT-ANL-007 | Daily | REP-ANL-008 |
| C | Clinical quality | One row per indicator case (numerator, denominator, exclusion flags) | Domains 1, 3, 4, 6, 7, 9; EXT-ANL-007 | Daily; Monthly for issued periods | REP-ANL-009, EXT-ANL-005 |
| C | Pathway performance | One row per pathway instance and step | Domain 9 | Daily | REP-ANL-010 |
| C | CDS rule analytics | One row per rule firing and response | Domain 3 | Daily | REP-ANL-011 |
| C | Digital maturity scorecard | One row per scorecard metric per unit per period | Domains 3, 4, 5, 2, 10 | Monthly | REP-ANL-016 |
The management report pack (REP-ANL-015) reads these products and has no product of its own.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Product definition | Structured record | Yes | All catalogue attributes present | Owner, purpose, grain, sources, secondary-use classes |
| Refresh target | Duration / schedule | Yes | Consistent with source feeds | Expected freshness |
| Quality rule set | Reference | Yes | Approved | Checks applied |
| Access policy | Policy reference | Yes | Valid in Domain 10 | Who may consume and for what purpose |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-DWH-004-1 | Grain uniqueness is checked on every build | One row per grain key |
| PR-DWH-004-2 | Published snapshots are immutable; restatements are new snapshots | Reproducibility |
| PR-DWH-004-3 | Certification requires passing quality, reconciliation and lineage evidence | No uncertified product in production reporting |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Curated data product | Governed dataset | Semantic layer, authorized consumers | Fixed-grain data |
| Product catalogue entry | Catalogue / API | All users | Metadata, status, quality, lineage link |
| Refresh event | Event | Dashboards, consumers | EVT-ANL-001 |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Duplicate grain keys | Uniqueness | Build fails; last good version kept | Alert to engineer |
| Missing catalogue attribute | Completeness | Certification refused | "Attribute X missing." |
| Quality score below threshold | Threshold | Warning or suspension per BR-ANL-013 | Stewardship item |
11. State and Lifecycle Behaviour
Implements the Data Product states of section 4.3 (Proposed, In Development, Certified, Suspended, Deprecated, Retired). Deprecation gives consumers notice before retirement. Product settings are versioned: a proposed change waits for the owner's approval while the current settings stay in force.
12. Audit Requirements
Certification, suspension, release, deprecation, retirement, settings changes and access-policy changes are audited with actor, reason and evidence reference.
13. Security and Privacy Requirements
Each product carries a sensitivity classification and an access policy by purpose. Products for general reporting should hold the minimum identifiable data needed (SEC-012).
14. Acceptance Criteria
- AC-01: Given a certified product, when its catalogue entry is inspected, then owner, purpose, grain, metric definitions, lineage, refresh target, quality checks, sensitivity and access policy are all present.
- AC-02: Given a product that is not Certified, when a dashboard referencing it is submitted for publication, then publication is refused.
- AC-03: Given a published snapshot, when source data later changes, then the snapshot is unchanged and a restated snapshot can be produced.
- AC-04: Given a refresh, when complete, then cutoff time, terminology version and data quality score are recorded and visible.
15. Dependencies and Integration
- Upstream dependencies: FR-ANL-DWH-003, FR-ANL-DQL-002, FR-ANL-DQL-003.
- Downstream dependencies: MOD-ANL-001, 002, 003, 004, 007, 008, 009, 010.
- Required events or APIs: IF-ANL-003, IF-ANL-004; EVT-ANL-001.
16. Open Questions / Assumptions
- DEC-ANL-005, deferred 2026-11-17: OMOP CDM is not adopted in the first release. Warehouse data is kept coded to the standard terminologies so that a later conversion is feasible. The decision is revisited at the first approved research extract programme or a request to join a research network.
- GAP-ANL-003, closed 17 Nov 2026: the initial product list is that of part 6.10, built on the REF-004 section 14.2 starting list (patient flow, clinical quality, medication safety, diagnostic turnaround, bed utilization, theatre performance, revenue cycle and finance).
← 5.4 Module Specification: Resource Utilization and Capacity Reporting | Contents | Identifier index | 5.6 Module Specification: Data Quality, Reconciliation and Lineage Controls →