Skip to content

Domain specifications / D08-ANL / 7. Domain Data Requirements

7. Domain Data Requirements

7.1 Data Ownership

Data Entity Ownership System of Record Consuming Domains
Source feed registration Owned MOD-ANL-005 Domain 2, all source domains (visibility)
Ingestion record and raw record Owned (as an analytical copy; source remains authoritative for the fact) MOD-ANL-005 Domain 8 only
Conformed record, quarantine record Owned (analytical copy) MOD-ANL-005 / MOD-ANL-006 Domain 8 only
Curated data product and snapshot Owned MOD-ANL-005 Management, quality, research and approved consumers; Domain 9
Data quality rule and result Owned MOD-ANL-006 Domain 10 (governance reporting), source domains
Reconciliation result, stewardship item Owned MOD-ANL-006 Source domains (referrals), Domain 10
Lineage record Owned MOD-ANL-006 Domain 10, auditors
Metric definition and version Owned MOD-ANL-007 All domains (as consumers of their KPIs), Domain 9
Semantic model, dashboard and report definition, issued report Owned MOD-ANL-007 / MOD-ANL-001 / MOD-ANL-010 Authorized users
Extract request, extract package, de-identification profile Owned MOD-ANL-008 Security and Privacy Office, Domain 6 (awareness of secondary-use disclosures)
AI use case, model version, AI interaction log Owned MOD-ANL-009 Owning domains (provenance reference), Domain 10 audit
Scorecard target Owned MOD-ANL-010 Management
Patient identity, encounter, ADT, bed, appointment, queue Consumed Domain 1 (ADM) Domain 8
Clinical record entries, orders, medication, eMAR, CDS decision logs Consumed Domain 3 (CLI) Domain 8
Specimens, results, studies, procedures, theatre, ICU and therapy activity Consumed Domain 4 (ANC) Domain 8
Charges, invoices, claims, payments, adjustments, stock and procurement Consumed Domain 5 (FIN) Domain 8
Coding, deficiency and chart-completion status, disclosure measures Consumed Domain 6 (HIM) Domain 8
Engagement events and patient-reported outcomes Consumed Domain 7 (PEX) Domain 8
Pathway versions, instances, step events, variances Consumed Domain 9 (EBP) Domain 8
Terminology, value sets, mappings, master and reference data, policy decisions, consent directives, audit events Consumed Domain 10 (ESS) Domain 8
Platform, integration and security telemetry indicators Consumed Domain 2 (ISE) Domain 8

7.2 Data Entity Catalogue

Entity ID Entity Name Description Primary Key Data Owner
DE-ANL-001 Source Feed Registration Approved feed from a source domain with mechanism and isolation control feed_id + version Analytics platform owner
DE-ANL-002 Ingestion Record One batch or stream segment landed, with counts and status ingestion_id Analytics platform owner
DE-ANL-003 Raw Record Unchanged source payload with ingestion metadata raw_record_id Source data owner (content); analytics platform owner (custody)
DE-ANL-004 Conformed Record Validated, normalized, versioned analytical record conformed_id + version Data owner of the data domain
DE-ANL-005 Quarantine Record Record that failed validation, with reason quarantine_id Data steward of the data domain
DE-ANL-006 Data Product Curated product with catalogue metadata product_id + version Data product owner
DE-ANL-007 Data Product Snapshot Immutable published state of a product for a cutoff snapshot_id Data product owner
DE-ANL-008 Data Quality Rule Versioned rule with threshold and owner rule_id + version Data owner
DE-ANL-009 Data Quality Result Outcome of rules and score for a run dq_result_id Data steward
DE-ANL-010 Reconciliation Result Analytical versus source control totals for a cutoff reconciliation_id Data product owner
DE-ANL-011 Stewardship Item Assigned exception with lifecycle, including user reports of a suspect figure item_id Data steward
DE-ANL-012 Lineage Record Transformation run and its inputs and outputs lineage_id Analytics platform owner
DE-ANL-013 Metric Definition Stable metric identity and owner metric_id Metric owner
DE-ANL-014 Metric Definition Version Effective-dated definition content metric_id + version_no Metric owner
DE-ANL-015 Semantic Model Published model over curated products model_id + version Analytics platform owner
DE-ANL-016 Dashboard / Report Definition Versioned definition bound to metrics. Authored, reviewed and published in the governed publishing workflow of the dashboard tool; this registry record holds each version, its approver and its state (Draft, Approved, Published, Retired) definition_id + version Dashboard / report owner (ACT-ANL-016)
DE-ANL-017 Issued Report Immutable record of a report issue issue_id Report owner
DE-ANL-018 Extract Request Secondary-use request with approval and lifecycle request_id Security and Privacy Office
DE-ANL-019 Extract Package Released data set manifest and risk results package_id Security and Privacy Office
DE-ANL-020 De-identification Profile Versioned treatments per element profile_id + version Security and Privacy Office
DE-ANL-021 AI Use Case Registered use case with assessments use_case_id + version AI governance; the use-case owner (ACT-ANL-017)
DE-ANL-022 Model Version Versioned model, prompt, corpus, evaluation dataset or release artefact_id + version AI governance
DE-ANL-023 AI Interaction Log Record of one AI request, output and disposition interaction_id AI governance
DE-ANL-024 Scorecard Target Approved target for a scorecard metric. Proposed by the metric owner and approved in the same governed workflow of the dashboard tool; this registry record holds the target, proposer, approver and effective date metric_id + effective_from Executive Steering Committee delegate (ACT-ANL-001 with the delegation)

7.3 Entity Attributes

Entity DE-ANL-001: Source Feed Registration

Attribute Data Type Required Constraints Description
feed_id Identifier Yes Unique Feed key
version Integer Yes Increments on contract change Registration version
source_domain Code Yes One of the ten domains or an approved external source Producer
contract_ref, contract_version Reference, text Yes Exists in the Domain 2 API and event catalogue; referred to, never copied What is consumed
mechanism Enumeration Yes EVENT_STREAM, CDC, SCHEDULED_EXTRACT; SCHEDULED_EXTRACT only for an external or legacy source Ingestion mechanism
isolation_control Text + reference Yes Approved by Domain 2 Control protecting OLTP
data_classification Enumeration Yes Per section 9.3 Sensitivity
schedule_or_stream Text Yes A schedule for a scheduled extract; "Stream" for events and change data capture When data arrives
expected_volume Number per period Yes Positive Expected records per period, for capacity and anomaly checks
purpose Text Yes Names the reporting need or data product Why the feed exists
extract_reason Text When mechanism is SCHEDULED_EXTRACT Source is external or legacy and cannot publish events or change data capture (DEC-ANL-004) Why an extract is used
source_owner Role reference Yes Valid Approver on the source side
status Enumeration Yes Draft, Approved, Active, Suspended, Retired Lifecycle (section 4.3)
approved_by, approved_at References, timestamp When approved Two approvals: source owner and Domain 2 Approval evidence
supersedes_version Integer No Prior Active version of the same feed Set for a contract change; the prior version stays Active until this one is activated

Entity DE-ANL-002: Ingestion Record

Attribute Data Type Required Constraints Description
ingestion_id Identifier Yes Unique Batch or segment key
feed_id, feed_version Reference Yes Active feed Source feed
batch_id Text Yes Unique per feed Source batch or offset range
arrival_time Timestamp (UTC) Yes — Ingestion time
source_checksum Text Yes Computed if not supplied Integrity
parser_version Text Yes — Parser used
received_count, accepted_count, quarantined_count, duplicate_count Integers Yes received = accepted + quarantined + duplicates Reconciliation counts
status Enumeration Yes Received, Landed, Quarantined, Conformed Lifecycle
replay_of Reference No Existing ingestion_id Set for replays

Entity DE-ANL-004: Conformed Record (common attributes)

Attribute Data Type Required Constraints Description
conformed_id, version Identifier, integer Yes New version on correction Record key
raw_record_id Reference Yes Exists Lineage to raw
source_system, source_event_id Text Yes — Source identity
enterprise_person_link Reference Where patient-related Re-evaluable on merge/unmerge Identity link, not a copied key
encounter_ref, facility_ref References Where applicable Valid in master data Context
event_time, recorded_time, effective_time, ingestion_time Timestamps (UTC) Yes (as supplied; ingestion always) Kept distinct Four time dimensions
source_code, mapped_code, mapping_version Text Where coded Mapping effective at effective_time Terminology
source_value, source_unit, normalized_value, normalized_unit Numeric, text Where quantitative UCUM units Unit normalization
correction_state Enumeration Yes Current, Superseded, Cancelled, Withdrawn Correction history
sensitivity_labels List No From source Privacy labels carried forward

Entity DE-ANL-006: Data Product

Attribute Data Type Required Constraints Description
product_id, version Identifier, integer Yes New version on grain or schema change Product key
name, purpose Text Yes — What it is for
owner Role reference Yes Valid Accountable owner
grain Text Yes Fixed per version One row per what
metric_refs List of metric IDs No Active metrics Measures carried
source_feeds List of feed IDs Yes Active feeds Lineage summary
refresh_target Duration / schedule Yes — Expected freshness
late_data_policy Text Yes — Treatment of late-arriving data
quality_rule_set Reference Yes Approved Checks
sensitivity_classification Enumeration Yes Per section 9.3 Sensitivity
access_policy_ref Reference Yes Valid in Domain 10 Consumer access policy
secondary_use_classes List of enumerations Yes QI_AUDIT_OPERATIONS (quality improvement, clinical audit, operational analytics and statutory reporting), RESEARCH, AI_DEVELOPMENT (AI development and validation); derived from the purposes the access policy allows Secondary-use classes of DEC-ANL-007, shown in the catalogue
settings_version Reference Yes Approved by the owner, not by the proposer Version of the product settings in force: refresh target, freshness threshold, reconciliation tolerance, suspension threshold, late-arriving data policy
status Enumeration Yes Proposed, In Development, Certified, Suspended, Deprecated, Retired Lifecycle

Entity DE-ANL-007: Data Product Snapshot

Attribute Data Type Required Constraints Description
snapshot_id Identifier Yes Unique Snapshot key
product_id, product_version Reference Yes — Product
cutoff_time, refresh_watermark Timestamps (UTC) Yes Watermark ≤ cutoff Freshness metadata. The watermark is the latest source event time fully processed, shown as "As at [time]"; the cutoff is shown beside it. Staleness is measured from the watermark
terminology_version Text Yes — Code set versions used
definition_versions List Yes — Metric versions used
dq_score, dq_status Numeric, enumeration Yes Pass, Warning, Fail Quality
reconciliation_status Enumeration Yes Pass, Warning, Fail, Not reconciled Reconciliation
restates Reference No Prior snapshot Set for restatements
published Boolean Yes False when withheld Publication state

Entity DE-ANL-014: Metric Definition Version

Attribute Data Type Required Constraints Description
metric_id, version_no Identifier, integer Yes Unique pair Version key
purpose Text Yes — Why the metric exists
grain Text Yes — Level of computation
numerator_logic, denominator_logic, exclusion_logic Structured logic Yes (denominator for ratios) References valid products and value sets Calculation
time_basis Enumeration Yes Event, recorded, effective or posting time Time dimension used
facility_scope Enumeration / list Yes — Scope
source_products List Yes Certified at activation Inputs
terminology_versions List Where coded Published by Domain 10 Code sets
stratifications, missing_data_treatment Text / list No / Yes — Breakdown and handling
refresh_target Duration Yes — Freshness expectation
effective_from, effective_to Dates Yes / No No overlap within metric Validity
measure_type Enumeration Yes From the measure type list (CFG-ANL-019): Clinical quality indicator, Pathway measure, Operational, Financial, Management Sets the approval route (DEC-ANL-006) and the fields required
approval_route Reference Yes Route set for the measure type (CFG-ANL-019) Who must approve before the version becomes Approved
status Enumeration Yes Draft, In Review, Approved, Active, Superseded, Retired Lifecycle (section 4.3). For a pathway measure, the Domain 9 state Published is shown and held here as Active
author, approver, approved_at, change_reason References, timestamp, text Yes when approved author ≠ approver Governance evidence. For a pathway measure there are two approvals: the data steward's approval and the clinical content owner's sign-off, neither by the author

Pathway measure type. A version of the measure type Pathway measure is authored on the metric definition registry (UI-ANL-010) but its record of reference is the Domain 9 measure definition (DE-EBP-026), mastered there (DEC-EBP-004; OV-12). The registry writes the draft and every state change to the Domain 9 record through IF-EBP-011 and keeps the version here for computation and lineage only; the two never differ. A pathway measure version has these attributes in addition to those above:

Attribute Data Type Required Constraints Description
pathway_ref Reference Yes A Domain 9 pathway; the versions it applies to are held by the cohort Pathway measured
pathway_measure_type Enumeration Yes Process adherence, Completion, Time-to-action, Exception rate, Clinical outcome, Length of stay, Readmission, Complication, Resource utilization (list held by Domain 9, CFG-EBP-026) Kind of pathway measure; process-adherence and clinical-outcome types are never combined into one score
cohort_ref Reference Yes A cohort definition version (below) Population measured
unit_counted Enumeration Yes Per pathway instance, Per patient What numerator and denominator count. Default Per pathway instance for process measures, length of stay and resource utilization; Per patient for clinical outcome, readmission and complication, which follow the patient across linked encounters
measurement_period, observation_window Durations Yes Positive Time basis; a result whose window is not complete is provisional
mapping_version Reference Yes A published Domain 9 mapping version Binds the coded concepts of the logic
expected_outcome_refs List of references No Expected outcomes declared by the pathway Links the measure to the outcomes it evidences
content_owner_signoff_by, signoff_at Reference, timestamp When approved ≠ author Clinical sign-off by the clinical content owner

Cohort definition (second record type). The registry holds cohort definitions as a second record type beside metric definitions, used by pathway measures. Its record of reference is the Domain 9 cohort definition (DE-EBP-027), written in the same way. Attributes: cohort_id and version; name; pathway_ref and pathway version range; population logic (for example patients with an activated instance of the version range, or patients evaluated as potentially eligible); inclusion and exclusion logic over coded concepts; mapping_version; care setting and facility scope; effective_from and effective_to; status (as above); author, data steward approver and clinical content owner sign-off, neither by the author.

Entity DE-ANL-018: Extract Request

Attribute Data Type Required Constraints Description
request_id, version Identifier, integer Yes Unique pair Request key. A scope change makes a new version; the earlier version and its approval stay on record
requester User reference Yes Identified user Who asks
purpose_class Enumeration Yes, first Quality improvement, audit, operations and statutory reporting; Research; AI development and validation (DEC-ANL-007) Sets the conditions and fields that follow
purpose Text Yes — Why
legal_basis Coded value Yes Permitted for the class Under the jurisdiction profile
pia_ref Document reference Yes — Privacy impact assessment, recorded before any extract starts
legitimate_interest_ref Document reference Quality improvement — Documented legitimate-interest assessment
ethics_approval_ref, ethics_expiry Document reference, date Research; AI development Not expired Ethics committee approval
consent_basis Enumeration and reference Research; AI development Explicit consent, Committee-approved waiver A waiver allows De-identified only
ai_use_case_ref Reference AI development Use case of DE-ANL-021 The use case the data serves
data_product_refs List of references Yes Certified; secondary-use class allows the purpose class Sources
cohort_definition, data_elements Reference or structured criteria; list Yes An approved cohort definition or criteria kept with the request; elements of the chosen products, permitted for type Scope
dataset_type Enumeration Yes De-identified, Limited; De-identified only for AI development and for research under a waiver Type. Pseudonymisation is a treatment of the profile
limited_reason Text When Limited — Why direct identifiers are not removed
deid_profile_ref Reference Yes Approved profile version; proposed by the system, confirmed or changed by the privacy officer Profile to apply
keep_pseudonyms_across_refreshes Boolean When approved Default No Linkage option of the approval
recipient, storage_location References Yes Approved location of CFG-ANL-026; Hospital-controlled for AI development Destination
expiry_date Date Yes Within policy maximum Validity
status Enumeration Yes Per section 4.3 Lifecycle
product_approvals List: data product owner, product, decision, reason, time Yes before the privacy decision Approver ≠ requester One per data product used
approver, decision, conditions, decision_reason, decided_at Mixed When decided approver ≠ requester; reason required for every decision, return and revocation Privacy officer decision
conditions_accepted_at Timestamp Before release By the requester, with the no-re-identification undertaking Acceptance
risk_result_ref Reference When prepared — Re-identification risk results
disposal_attestation, disposal_due Record, date After Expired or Revoked, where data left the platform Due 14 days after the state was reached Disposal evidence; shown as overdue after the due date

Entity DE-ANL-021: AI Use Case

Attribute Data Type Required Constraints Description
use_case_id, version Identifier, integer Yes Unique pair Use-case key. A material change (purpose, category, outputs, data read, risk class, hosting, host workflow or facilities) makes a new version; the current Approved version keeps serving until the new one is approved, and is then Retired
name, purpose Text Yes — What the AI does and for whom
category Enumeration Yes From the approved categories (CFG-ANL-023) Kind of assistance
risk_class Enumeration Yes Non-clinical, Clinical support. A machine decision that affects care without a person is not a class: it is prohibited (BR-ANL-017) Sets the assessments and approvals required; Clinical support cannot be approved while DEC-ANL-001 permits non-clinical use only
users List of role references Yes Valid roles Who may invoke it
host_workflow Reference to a screen and owning domain Yes — Where the draft review component is embedded
human_reviewer_role Role reference Yes Valid role The role a person must hold to accept the output
outputs List of enumerations Yes Draft text, Suggested codes, Classification, Forecast, Data quality suggestion Input to the prohibited-action check
data_scope Structured Yes Data classes and approved versioned sources; whether patient data is read What it reads; effective access is the intersection of this scope and the user's authorization
purposes_of_use List of codes Yes Permitted for the use case Why it reads data
failure_behaviour Text Yes Names the non-AI path What the user does when AI is unavailable
timeout Duration Yes Positive, approved (CFG-ANL-013) Request timeout
output_schema_ref Reference Yes — Output validation schema
source_references_required Boolean Yes — Output without source references is withheld when true
hosting Enumeration Yes Hospital-controlled (default), External service Where the model runs (DEC-ANL-008)
external_hosting_assessment Assessment record: reviewer, decision, date, provider, no-training and no-retention terms, evidence reference When hosting is External service Recorded by the security reviewer of AI governance; refused for a host workflow on a critical path, that is a host workflow of a Tier 1 or Tier 2 critical flow The "explicit approval" of DEC-ANL-008
facilities List of facility references Yes Within enterprise limits (CFG-ANL-014) Where it is enabled; changed as a use-case change
owner Person and role reference Yes An active person; by default the product owner of the host workflow (ACT-ANL-017) Accountable owner
assessments List: type (privacy review, security threat model; for Clinical support also clinical safety assessment and medical-device or software regulation assessment), reviewer, decision, date, evidence reference Yes before approval Reviewer ≠ proposer; evidence may be Confidential Assessments of BR-ANL-018
hazard_ref Reference to a hazard and its version For Clinical support An entry of the Domain 3 hazard register (DE-CLI-027); only the reference is held Clinical safety link
clinical_governance_approval Approver, decision, date For Clinical support A clinical governance approver acting for the Clinical Governance Committee Clinical approval
prohibited_action_check List of results Yes (system) The fixed list of BR-ANL-017; not configurable Result of the check on save
review_date, last_review Date, review record Yes Review date in the future at approval Periodic review
proposer, approver, approved_at References, timestamp When approved approver ≠ proposer Governance evidence
status Enumeration Yes Proposed, Under Assessment, Approved, Suspended, Rejected, Retired (section 4.3) Lifecycle
suspension Who (person, or monitoring with the measure), reason, time When Suspended — Shown as "Suspended by [name] · [reason]" or "Suspended by monitoring · [measure]"
reported_issues List of references No Reports from the draft review component and AI incidents escalated through clinical safety (section 11.2) Problems reported against the use case

Entity DE-ANL-022: Model Version

Attribute Data Type Required Constraints Description
artefact_id, version Identifier, text Yes Unique pair Version key
artefact_type Enumeration Yes Model, Prompt/Template, Retrieval Corpus, Evaluation Dataset, Release What is versioned
use_case_id Reference Yes Approved use case for deployment Intended use
dependencies List of artefact versions No Exist Composition of a release
origin, owner Text, role reference Yes — Provenance and accountability
evaluation_refs List Yes for approval Required tests present Evidence
monitoring_thresholds Structured Yes for deployment Approved Drift, bias, hallucination, failure limits
status Enumeration Yes Registered, Under Evaluation, Approved, Rejected, Deployed, Suspended, Retired Lifecycle
approver, approved_at Reference, timestamp When approved approver ≠ developer Governance evidence

Entity DE-ANL-023: AI Interaction Log

Attribute Data Type Required Constraints Description
interaction_id Identifier Yes Unique Interaction key
correlation_id Identifier Yes Shared with host workflow Trace
user_id, workload_id References Yes — Who and what
use_case_id, purpose_of_use Reference, code Yes — Why
patient_scope Reference(s) Where applicable — Whose data
model_version, prompt_version, corpus_version References Yes Deployed versions What produced the output
data_references List Yes Record references, not copies, where possible What was retrieved
tool_calls List No Allowlisted tools APIs called
output_ref Reference Yes — Stored output or hash
disposition Enumeration Yes Accepted, Edited and accepted, Accepted · not committed, Rejected, Expired Human decision. Accepted and Edited and accepted are set only when the owning domain returns the record reference; "Accepted · not committed" is content the user accepted whose host draft was discarded or whose commit was refused. Rejected is the user's decision; Expired is a draft closed or withdrawn with no decision, never committed. The word "Discarded" is not used
denial_reason Reason category When no output was shown Policy denial, timeout, withheld by validation, suspended, switched off Kept in the log only; the user sees the one unavailable message
resulting_record_ref Reference On acceptance Returned by owning domain Committed record
problem_report Category (fixed list of FR-ANL-AIG-003 part 6.8), description, possible safety issue, reporter, time No Made with "Report a problem" on the draft review component A problem reported against this output; listed with the use case's reported issues
timestamp Timestamp (UTC) Yes — When

The interaction log is Sensitive. The governance view of it on the AI governance console (UI-ANL-012) shows aggregates first (counts and disposition rates by use case, version, facility and period). The list of interactions shows references, versions, dispositions and problem reports, never the draft text. Opening an interaction that has a patient scope is a drill-down that needs a permission and a purpose of use and is audited. Forensic audit searches stay with the Domain 10 audit service.

7.4 Entity Relationships

  • A Source Feed Registration has many Ingestion Records; an Ingestion Record contains many Raw Records. A replay Ingestion Record references the Ingestion Record it reprocesses.
  • A Conformed Record derives from exactly one Raw Record; a Raw Record yields zero or one current Conformed Record and zero or one Quarantine Record. Corrections add Conformed Record versions; prior versions are kept.
  • A Data Product has many Snapshots. A Snapshot is built by transformation runs recorded as Lineage Records that link it to Conformed Records, and through them to Raw Records and source events.
  • A Metric Definition has one or more Metric Definition Versions with non-overlapping effective periods. A Snapshot and an Issued Report reference the specific versions used.
  • A Dashboard / Report Definition version binds to one or more Metric Definitions and is served through a Semantic Model over Certified Data Products.
  • A Data Quality Rule produces many Data Quality Results; a failing result or Reconciliation Result creates a Stewardship Item that references the affected Data Products.
  • An Extract Request uses one De-identification Profile version and produces zero or more Extract Packages (initial release and refreshes).
  • An AI Use Case has many Model Versions; an AI Interaction Log entry references one use case and the deployed versions that served it, and, on acceptance, the resulting record in the owning domain by reference only.
  • Relationships to enterprise master data: patient identity is held as a link to the Domain 1 enterprise person identifier; facility, location, practitioner, service and terminology references resolve to Domain 10 registries by identifier and version. This domain stores references and effective-dated copies of reference attributes needed for historical reproducibility; it does not become a master.
  • Referential integrity: a Conformed Record without a resolvable patient, encounter or location reference (where required) is quarantined. A Dashboard cannot reference a non-Active metric; a Snapshot cannot be published without Lineage Records.
  • Lifecycle constraints: Raw Records, Lineage Records, published Snapshots, Issued Reports, approved Metric Definition Versions and AI Interaction Log entries are immutable.
erDiagram
    SOURCE_FEED_REGISTRATION ||--o{ INGESTION_RECORD : receives
    INGESTION_RECORD ||--o{ RAW_RECORD : contains
    RAW_RECORD ||--o| CONFORMED_RECORD : "conforms to"
    RAW_RECORD ||--o| QUARANTINE_RECORD : "fails into"
    DATA_PRODUCT ||--o{ DATA_PRODUCT_SNAPSHOT : publishes
    LINEAGE_RECORD }o--o{ CONFORMED_RECORD : "reads"
    LINEAGE_RECORD }o--|| DATA_PRODUCT_SNAPSHOT : "produces"
    METRIC_DEFINITION ||--|{ METRIC_DEFINITION_VERSION : "has versions"
    DATA_PRODUCT_SNAPSHOT }o--o{ METRIC_DEFINITION_VERSION : "computed with"
    DASHBOARD_REPORT_DEFINITION }o--|{ METRIC_DEFINITION : "binds"
    SEMANTIC_MODEL }o--|{ DATA_PRODUCT : "exposes"
    DATA_QUALITY_RULE ||--o{ DATA_QUALITY_RESULT : evaluates
    DATA_PRODUCT ||--o{ RECONCILIATION_RESULT : "reconciled by"
    DATA_QUALITY_RESULT ||--o{ STEWARDSHIP_ITEM : raises
    RECONCILIATION_RESULT ||--o{ STEWARDSHIP_ITEM : raises
    EXTRACT_REQUEST }o--|| DEIDENTIFICATION_PROFILE : applies
    EXTRACT_REQUEST ||--o{ EXTRACT_PACKAGE : releases
    AI_USE_CASE ||--o{ MODEL_VERSION : "served by"
    AI_USE_CASE ||--o{ AI_INTERACTION_LOG : logs
    MODEL_VERSION ||--o{ AI_INTERACTION_LOG : produced

7.5 Data Quality Requirements

Requirement ID Quality Dimension Requirement Validation
DQ-ANL-001 Accuracy Curated metrics shall reconcile to source transaction counts and control totals for the same cutoff within the tolerance approved for the product (ANA-001). Automated reconciliation per refresh (FR-ANL-DQL-003); sampled independent recomputation in testing
DQ-ANL-002 Completeness Every ingestion run shall balance: received = accepted + quarantined + duplicates. Mandatory attributes for each conformed entity shall be present or the record quarantined (DAT-002). Run-level balance check; record-level mandatory-field rules
DQ-ANL-003 Consistency A metric shall return the same value wherever it is displayed for the same scope, period and definition version. Cross-dashboard comparison tests; all access through the semantic layer
DQ-ANL-004 Validity Codes shall be valid in the governed code system at the record's effective time; units shall be valid UCUM or approved local units; identifiers shall carry their assigning authority. Terminology, unit and identifier validation at conformance
DQ-ANL-005 Uniqueness No source event shall produce more than one current conformed record; each data product shall have one row per grain key. Deduplication by source event identifier; grain uniqueness check
DQ-ANL-006 Timeliness Each data product shall be refreshed within its declared refresh target; a product older than its freshness threshold shall be marked stale. Watermark monitoring; freshness KPI (section 12.2)
DQ-ANL-007 Temporal integrity Event, recorded, effective and ingestion time shall be stored separately; each metric definition shall state its time basis (DAT-004). Schema check; temporal query tests
DQ-ANL-008 Traceability Every published value shall have complete lineage to source events and shall carry its definition version (ANA-004, DAT-003). Lineage completeness check before publication
DQ-ANL-009 Referential integrity Patient, encounter, facility, location and practitioner references in conformed data shall resolve to Domain 1 and Domain 10 identifiers valid at the effective time. Referential validation; quarantine on failure

7.6 Data Lifecycle and Retention

  • Creation. Analytical data is created only by ingestion from registered feeds and by transformation within the platform. Governance records (definitions, rules, approvals, registers) are created by authorized users through the governed workflows.
  • Modification. Raw records, lineage records, published snapshots, issued reports, approved definition versions and AI interaction logs are immutable. Conformed data changes only by new versions driven by source corrections or controlled replay.
  • Correction. Source errors are corrected in the source domain and flow through the feed. Pipeline or mapping errors are corrected by change-controlled fixes and replay. Published values that were wrong are restated as new snapshots, marked, and notified to consumers; the original is retained.
  • Archiving. Older raw data and snapshots may be moved to lower-cost storage provided they remain retrievable for replay and reproduction within their retention period. Records move to the read-only archive tier after the online period in the retention table below.
  • Retention. Closed 17 Nov 2026 (GAP-ANL-004). Periods come from the enterprise retention baseline of Domain 6 and are configured in CFG-ANL-016. A local rule may lengthen a period, never shorten it.
Record class Retention Trigger Online
Raw landing data 90 days. A replay of an older range reads the Domain 2 domain event archive (2 years) Load 90 days
Conformed and curated data 10 years; analytical copies of health data never outlive the record they copy unless de-identified Load 2 years
Month-end snapshots and issued reports, with their definition versions 10 years Issue 2 years
Other snapshots (intraday and daily) 13 months, for year-on-year comparison Publication 13 months
Lineage, ingestion and reconciliation records As long as the data they describe Creation 2 years
Metric definitions, data product settings and pipeline versions While any retained snapshot or report references them, and at least 25 years after retirement Retirement Retirement plus 2 years
Stewardship items, extract requests and the extract register 10 years Closure 2 years
AI interaction logs of outputs that influenced care 25 years, with the record (patient's last visit) Inference 2 years
Other AI interaction logs and model monitoring logs 3 years Inference or check 2 years
Extract packages held for release Until expiry or revocation, then removed Release Not applicable

Audit events are retained by the Domain 10 audit service under the same baseline. - Disposal or deletion. Disposal follows approved retention rules, is logged with scope and approver, and removes data from raw, conformed and curated layers and from backups according to the Domain 2 backup lifecycle. Extract packages are removed at expiry or revocation and recipient disposal attestation is recorded. - Legal hold. When Domain 6 applies a legal hold to records, the corresponding analytical copies and any extract containing them are excluded from disposal until the hold is released. The platform accepts hold and release notifications from Domain 6 and records their application. - Data subject requests. Where an approved data subject request requires restriction or erasure of a person's data under applicable law (SEC-012), the analytical platform applies the decision made through the Domain 10 / Domain 6 process to its copies and records the action. Applicability is jurisdiction-specific and must be confirmed (PRS section 10.4).

7.7 Data Migration Requirements

Migration ID Source Target Data Scope Validation
MIG-ANL-001 Legacy reporting database, data warehouse or data marts, where they exist Raw and conformed layers, flagged as legacy source Historical aggregates and facts needed for trend continuity Row counts, checksums, control totals against legacy reports; source-system identifiers and provenance preserved (PRS section 16.2)
MIG-ANL-002 Legacy report and KPI definitions (documents, spreadsheets, report code) Metric definition registry Definitions of indicators that will continue Each migrated definition reviewed and approved by its owner; legacy and new values compared on an overlap period and differences explained
MIG-ANL-003 Historical transactional data migrated into source domains Analytical platform via the normal feeds or a one-time approved backfill extract Patient administration, clinical, ancillary and financial history as migrated by each domain Reconciliation of backfill counts to each source domain's migration reconciliation; no separate analytical migration path that bypasses source domains
MIG-ANL-004 Legacy baseline metrics captured in discovery (PRS section 16.1 phase 0) Metric registry and a baseline data product Pre-go-live baselines for benefit tracking Baseline values recorded with their legacy definition and marked as not comparable where definitions differ
MIG-ANL-005 Existing research extract registers, if any Active extract register Open approvals and releases still in force Privacy office confirmation of each carried-forward approval and expiry

← 6. User Interface and Interaction Requirements | Contents | Identifier index | 8. Integration and Interoperability Requirements →