Domain specifications / D08-ANL / 4. Business Process and Workflow Requirements
4. Business Process and Workflow Requirements¶
4.1 Business Process Catalogue¶
4.2 Workflow Specification¶
Workflow WF-ANL-001: Source Feed Onboarding and Ingestion to Curated Data Product¶
Business Purpose:
Bring data from a source domain into the analytical platform in a controlled, isolated and traceable way, and publish it as a curated data product.
Trigger:
A source domain lists a report or KPI it needs (its section 12), or a new source event or change stream becomes available, or an external or legacy source must be brought in.
Preconditions: - The source domain has published a versioned event or change data capture contract in the Domain 2 catalogue; an external or legacy source that cannot publish either has an approved extract contract there. - Domain 2 has provisioned isolated ingestion capacity and transport. - A data owner and steward exist for the data domain under Domain 10 policy.
Primary Actors: - ACT-ANL-007 Data Engineer - ACT-ANL-006 Data Steward - Source domain owner (ACT-ISE-008 service owner) and Domain 2 platform owner (ACT-ISE-001) - ACT-ANL-015 Pipeline Service Identity
Main Workflow:
- The data engineer registers the feed: source domain, contract and version chosen from the Domain 2 catalogue, mechanism (event stream or change data capture; scheduled extract only for an external or legacy source that cannot publish either, with the reason), schedule or stream, expected volume, data classification, owner and purpose, and submits it for approval.
- The source domain owner and Domain 2, each through a task in their work list, confirm that the mechanism does not query a production transactional store without workload isolation and capacity controls; the registration records the control.
- The pipeline lands each message, file or batch in the raw layer unchanged, with ingestion metadata (source identifier, source event identifier, arrival time, batch identifier, checksum, parser version).
- The pipeline validates, deduplicates and normalizes the data into the conformed layer, applies effective-dated terminology, unit and identity mappings from Domain 10 and Domain 1, preserves corrections as versions, and quarantines malformed or unmapped records.
- The pipeline records reconciliation counts (received = accepted + quarantined + duplicates) and lineage for each run.
- The pipeline builds or refreshes the curated data product at its fixed grain, records cutoff time, terminology version and definition versions, and computes the data quality score.
- If the quality score and reconciliation are within approved thresholds, the product is published and a refresh event is emitted; otherwise the product keeps its last good version and is flagged (see WF-ANL-004).
Alternative Workflows: - A late-arriving or corrected source event updates the conformed layer as a new version and triggers recomputation of affected curated periods according to the late-arriving data policy. - A change to a mapping or definition triggers a controlled replay from the raw layer. The replay is requested, approved by the data product owner and run as in the Replay Request states of section 4.3. - A contract change creates a new registration version in Draft that refers to the new contract version; the current version stays Active until the new one is approved and activated. - The data engineer suspends a feed and resumes it later; the analytics platform administrator can pause all ingestion, after a confirmation with a reason, and resume it. Consumer positions are kept in both cases.
Exception Scenarios: - Source feed unavailable: ingestion pauses, the consumer offset is retained, and the affected products show a stale indicator after the freshness threshold. - Schema version not recognized: the batch is quarantined in full and the data engineer and source owner are notified. - Duplicate delivery: the duplicate is detected by source event identifier and counted, with no duplicate analytical effect.
Postconditions: - Raw evidence is retained; conformed and curated data carry lineage to it. - The curated product displays cutoff, watermark and quality status.
Business Rules: - BR-ANL-001, BR-ANL-002, BR-ANL-003, BR-ANL-006, BR-ANL-007, BR-ANL-008
Related Modules: - MOD-ANL-005, MOD-ANL-006
Related Requirements: - FR-ANL-DWH-001, FR-ANL-DWH-002, FR-ANL-DWH-003, FR-ANL-DWH-004, FR-ANL-DQL-001, FR-ANL-DQL-002, FR-ANL-DQL-003
Workflow WF-ANL-002: Metric Definition Lifecycle¶
Business Purpose:
Ensure each metric has one governed, effective-dated definition so that reports are consistent and historical reports are reproducible.
Trigger:
A new indicator is requested, or an existing definition must change (policy, terminology, source or error correction).
Preconditions: - A metric owner is assigned. - The source data products needed are certified or scheduled.
Primary Actors: - ACT-ANL-005 Metric Owner - ACT-ANL-003 / ACT-ANL-004 subject-matter analyst - Data Governance Council reviewer - ACT-ANL-007 Data Engineer
Main Workflow:
- The author drafts a definition version: name, purpose, grain, numerator, denominator, exclusions, time basis, facility scope, source data products, terminology versions, stratifications, missing-data treatment, refresh target and owner.
- The system validates that all mandatory attributes are present and that referenced data products and value sets exist.
- The author runs the draft against a test period and compares results with the current version and with a source reconciliation sample.
- The metric owner submits the version for review; the approval route set for its measure type (DEC-ANL-006; CFG-ANL-019) decides who approves, and no approver is the author. A clinical quality indicator is approved by the Data Governance Council reviewer and by a clinical governance approver; a financial measure by the council reviewer and finance; an operational or management measure by the council reviewer. A pathway measure or cohort definition is approved by the data steward and given clinical sign-off by the clinical content owner of the pathway (Domain 9), and the registry writes it to the Domain 9 record, where it is mastered (DEC-EBP-004).
- On approval the version receives an effective-from date. On that date it becomes Active and the previous version becomes Superseded with an effective-to date.
- The registry emits a publication event; dependent dashboards show the definition version in use.
Alternative Workflows: - Error correction: a corrected version is approved with a retroactive effective-from date; affected historical values are recomputed and marked as restated, and the uncorrected snapshots remain retrievable. - Retirement: the owner retires a metric; dashboards that use it are flagged before the retirement date.
Exception Scenarios: - Overlapping effective periods are rejected. - Approval by the author of the same version is rejected (separation of duties).
Postconditions: - Exactly one Active version exists for each metric at any point in time. - All prior versions remain retrievable.
Business Rules: - BR-ANL-004, BR-ANL-005, BR-ANL-009, BR-ANL-010
Related Modules: - MOD-ANL-007
Related Requirements: - FR-ANL-SEM-001, FR-ANL-SEM-002, FR-ANL-FRR-001, FR-ANL-CQI-001
Workflow WF-ANL-003: Data Quality Exception, Reconciliation Variance and Metric Incident Handling¶
Business Purpose:
Prevent decisions being made from wrong or stale metrics by detecting, exposing and resolving data quality failures, reconciliation variances and reported metric errors.
Trigger:
A quality rule fails, a reconciliation variance exceeds its threshold, a freshness threshold is breached, or a user reports a suspect value with "Report a problem with this figure" on any figure.
Preconditions: - Quality rules, thresholds and reconciliation controls are configured for the data product.
Primary Actors: - ACT-ANL-006 Data Steward - ACT-ANL-005 Metric Owner - ACT-ANL-007 Data Engineer - Source domain owner - Any dashboard or report user who reports a suspect value
Main Workflow:
- The system creates a stewardship item with the failing rule or variance, the affected records or counts, the affected data products and metrics, and severity. A user report creates an item of the type User report on the stewardship workbench with the figure, its scope, period, snapshot and definition version, and the reporter's description; the reporter is told the outcome when the item is resolved or accepted.
- The system marks the affected data products and dashboards with a visible quality or staleness warning; where severity meets the suspension rule, publication of the new refresh is withheld and the last good version stays in place with its cutoff shown.
- The item is assigned to a steward by data domain; the assignment and ageing are tracked.
- The steward diagnoses the cause: pipeline defect, mapping gap, source data error or source feed loss.
- Pipeline or mapping causes are corrected in the analytical platform and the data is replayed. Source data errors are referred to the source domain for correction in the system of record; the correction then flows back through the normal feed.
- The steward records the resolution reason; the system re-runs the rule or reconciliation and clears the warning when it passes.
- If published values were materially wrong, the metric owner issues a correction notice to the consumers of the affected products and the restated values are marked.
Alternative Workflows: - The metric owner formally accepts a known limitation; the acceptance, reason and expiry are recorded and the caveat stays visible on the product.
Exception Scenarios: - An item not assigned or not resolved within its configured ageing threshold escalates to the data owner and then to the Data Governance Council. - A defect that could have influenced a clinical or safety decision is escalated through the clinical safety escalation path (PRS section 18.1) and assessed against the hazard log.
Postconditions: - The exception is resolved or formally accepted; affected products show their true status; no analytical value was edited in place.
Business Rules: - BR-ANL-002, BR-ANL-011, BR-ANL-012, BR-ANL-013
Related Modules: - MOD-ANL-006, MOD-ANL-001, MOD-ANL-007
Related Requirements: - FR-ANL-DQL-002, FR-ANL-DQL-003, FR-ANL-OPS-004, FR-ANL-SEM-001
Workflow WF-ANL-004: Research and Quality-Improvement Extract with De-identification¶
Business Purpose:
Provide data for approved research and quality improvement while controlling privacy and re-identification risk.
Trigger:
A researcher or QI investigator submits an extract request.
Preconditions: - The requester is an identified, authorized user. - An approved de-identification profile exists for the requested data class, or the request includes one for review.
Primary Actors: - ACT-ANL-009 Researcher / QI Investigator - ACT-ANL-010 Privacy Officer / Extract Approver - ACT-ANL-016 Data Product Owner - ACT-ANL-007 Data Engineer
Main Workflow:
- The requester first chooses the purpose class of DEC-ANL-007: quality improvement, audit, operations and statutory reporting; research; or AI development and validation. The class sets what the request needs.
- The requester submits purpose, legal basis, the privacy impact assessment reference, and by class the legitimate-interest assessment (quality improvement) or the ethics committee approval with consent or a committee-approved waiver (research and AI development, which also names its AI use case); then the Certified data products, the cohort (an approved cohort definition or criteria kept with the request), data elements, period, data set type (de-identified or limited, with the reason for a limited set), recipient, storage location and expiry.
- The system checks the request for completeness by class, for data elements that are not permitted for the chosen data set type, and for an open request with the same purpose and cohort.
- The data product owner of each product used approves the use of the product, or returns the request with a reason.
- The privacy officer reviews minimum necessity, legal basis and consent constraints (policy decision from Domain 10, with the opt-out register applied), the proposed de-identification profile and the re-identification risk assessment, and approves, approves with conditions, rejects or returns the request, with a recorded reason. Neither approver is the requester.
- On approval, the requester accepts the conditions and the undertaking not to attempt re-identification. The data engineer starts preparation: the platform builds the cohort from curated data products, evaluates the policy decision and opt-out exclusions again, applies the approved de-identification profile, runs the re-identification risk checks (CFG-ANL-025) and records the results.
- If the checks pass, the package is released to the approved secure location with an expiry date; the release is audited and the lineage of the extract is recorded.
- At expiry or on revocation, access is removed and the requester's attestation of disposal is due within 14 days where the data left the platform.
Alternative Workflows: - Refresh of a released extract within its approved scope and validity reuses the approval: a new package is prepared and released, with consent and opt-out exclusions applied again; pseudonyms are kept across refreshes only where the approval allows it. - A change of scope creates a new request version in Submitted, which needs a new review; the earlier approval stays on record. - The requester withdraws the request before a decision (Withdrawn); an approver returns it for more information (Returned), and the requester submits it again.
Exception Scenarios: - A risk check fails (for example a cell below the minimum cell size): release is blocked and the request returns to Under Privacy Review with "Risk check failed · [check]". - Consent or disclosure restriction changes for records in the cohort: subsequent refreshes exclude them according to policy. - The disposal attestation is not recorded 14 days after Expired or Revoked: it shows as overdue and a work-list task reaches the privacy officer.
Postconditions: - Every released extract has a documented privacy review, risk-control result, recipient, purpose, scope and expiry.
Business Rules: - BR-ANL-014, BR-ANL-015, BR-ANL-016
Related Modules: - MOD-ANL-008
Related Requirements: - FR-ANL-RDX-001, FR-ANL-RDX-002
Workflow WF-ANL-005: AI Use-Case Approval and Model Release¶
Business Purpose:
Ensure that only assessed, approved and monitored AI use cases and model versions operate in the HIS.
Trigger:
A new AI use case is proposed, or a model, prompt, retrieval corpus or evaluation dataset changes.
Preconditions: - The AI roadmap decision (permitted use cases, governance, model hosting and prohibited actions) has been taken (PRS section 19.3). - The use case is not on the prohibited list.
Primary Actors: - ACT-ANL-013 Data Scientist / Model Developer - ACT-ANL-011 AI Governance Reviewer - ACT-ANL-017 AI Use-Case Owner - Clinical Governance Committee (for clinical AI), acting through a clinical governance approver (ACT-CLI-009)
Main Workflow:
- The proposer registers the use case with the attributes of DE-ANL-021: purpose, category, users, host workflow, data scope, intended outputs, human reviewer role, failure behaviour, hosting, owner and risk class (Non-clinical or Clinical support).
- The system checks the use case against the prohibited-action list and rejects any that would diagnose, prescribe, change orders, sign notes, administer medication or modify the legal clinical record without human sign-off.
- Reviewers record the privacy review and security threat model; for clinical AI they also record the clinical safety assessment and the applicable medical-device / software regulation assessment.
- The developer registers the model version with its prompt or template version, retrieval corpus version and evaluation dataset version, and runs the evaluation (accuracy for the task, bias and subgroup performance, hallucination, missing-data behaviour, prompt injection, data leakage).
- Reviewers approve the model version for the use case; the approval is recorded with reviewer, date and evidence references.
- The model version is deployed behind the AI gateway with its allowed data scopes; monitoring thresholds for drift, bias, hallucination and failure are set.
- Monitoring runs continuously; a breach raises an alert and, where the rule requires, suspends the model version.
Alternative Workflows: - Any change to model, prompt, corpus or evaluation dataset creates a new version that repeats steps 4 to 6. - Retirement removes the version from the gateway allowlist and keeps its record.
Exception Scenarios: - A reviewer suspends a deployed version; the dependent workflows degrade to their non-AI path. - A problem reported on an AI output, or an AI incident escalated through clinical safety (section 11.2), is added to the use case's reported issues and creates a review task for the AI governance reviewer, who decides whether to suspend.
Postconditions: - Only Approved versions for Approved use cases are callable through the gateway.
Business Rules: - BR-ANL-017, BR-ANL-018, BR-ANL-019, BR-ANL-020, BR-ANL-021
Related Modules: - MOD-ANL-009
Related Requirements: - FR-ANL-AIG-001, FR-ANL-AIG-002, FR-ANL-AIG-004, FR-ANL-AIG-005
Workflow WF-ANL-006: AI-Assisted Output with Human Review¶
Business Purpose:
Let an authorized human benefit from AI assistance while keeping the human accountable for anything that enters a record or triggers care.
Trigger:
An authorized user invokes an AI-assisted function inside an approved workflow (for example draft summarization, coding assistance, document classification, search assistance, operational forecasting or data quality support).
Preconditions: - The use case and model version are Approved and Deployed. - The user is authorized for the function and, where patient data is involved, for the patient and purpose.
Primary Actors: - ACT-ANL-012 AI-Assisted Workflow User - ACT-ANL-015 AI Service Identity
Main Workflow:
- The host workflow sends the request to the AI gateway with user identity, purpose, patient scope where applicable and the use-case identifier.
- The gateway authenticates user and workload, evaluates the policy decision from Domain 10, and issues short-lived, scoped credentials for the data the task needs.
- The AI service retrieves only approved, versioned sources within scope and generates the output with source references and an indication of uncertainty or missing data.
- The output is presented to the user in the AI slot of the host screen, labelled "AI-drafted · [use case] · model [version]", with the time it was drafted and its sources.
- The user accepts, edits and accepts, or rejects the output. Accepting inserts the content into the host's own draft, where it keeps the "AI-drafted" label.
- The host's own save or sign step commits the content through the owning domain's API under the user's identity and authorization; the owning domain records the content with its AI-assisted provenance and the user's sign-off, and returns the record reference. Only then is the disposition Accepted, or Edited and accepted.
- The gateway logs the interaction: task, data references, model and prompt version, output reference, human disposition and resulting record reference.
Alternative Workflows: - Non-patient use cases (operational forecasting, data quality support) follow the same steps without patient scope; outputs are labelled on the dashboard or queue where they appear.
Exception Scenarios: - AI service unavailable, timed out or suspended, policy denial, or output withheld by validation: the function shows "AI assistance unavailable. Continue manually." and the host workflow continues without AI. The reason category is kept in the log only. - The user reports a problem with an output ("Report a problem"): the report is logged with the interaction and listed with the use case's reported issues; the user's disposition is not changed. A report marked "Possible safety issue" also creates a clinical safety incident. - Policy decision denies access: no data is retrieved; the denial is logged. - The host item is closed, the window's patient changes or the session ends without a disposition, or the draft reaches its maximum life (CFG-ANL-024): the output expires and is not committed. - The host draft holding accepted content is discarded, or the owning domain refuses the commit: the disposition is "Accepted · not committed" and the host shows the domain's error.
Postconditions: - No AI output has become part of a record or triggered care without a recorded human sign-off.
Business Rules: - BR-ANL-017, BR-ANL-019, BR-ANL-020, BR-ANL-022
Related Modules: - MOD-ANL-009
Related Requirements: - FR-ANL-AIG-002, FR-ANL-AIG-003, FR-ANL-AIG-005
4.3 Workflow State Model¶
| Entity | Current State | Event / Condition | Next State | Responsible Actor |
|---|---|---|---|---|
| Metric Definition Version | Draft | Submitted for review with all mandatory attributes | In Review | ACT-ANL-005 |
| Metric Definition Version | In Review | Returned with comments | Draft | Reviewer |
| Metric Definition Version | In Review | Every approval of the route for its measure type recorded, none by the author | Approved | Data Governance Council reviewer, with clinical governance or finance by measure type; for a pathway measure or cohort definition the data steward (ACT-ANL-006) and the clinical content owner (ACT-EBP-002) |
| Metric Definition Version | Approved | Effective-from date reached | Active | System |
| Metric Definition Version | Active | A newer version becomes Active | Superseded | System |
| Metric Definition Version | Active / Superseded | Metric retired | Retired | ACT-ANL-005 |
| Metric Definition Version | (all) | Pathway measure or cohort definition: each state change written to the Domain 9 record; the Domain 9 state Published is this Active | Same state in both records | System |
| Period Result | Published | Recomputed after a late-data or approved correction | Restated: the figure shows "Restated · [date]"; the earlier snapshot stays retrievable (for a pathway result the earlier registered run is Superseded in Domain 9) | System |
| Ingestion Batch | Received | Schema and integrity checks pass | Landed | ACT-ANL-015 |
| Ingestion Batch | Received | Schema unknown or checksum fails | Quarantined | ACT-ANL-015 |
| Ingestion Batch | Landed | Conformance run completes and counts reconcile | Conformed | ACT-ANL-015 |
| Ingestion Batch | Quarantined | Cause corrected and controlled replay approved | Received (replay) | ACT-ANL-007 |
| Source Feed Registration | Draft | Submitted with every mandatory field; the source domain owner and the Domain 2 platform owner both approve through work-list tasks | Approved | ACT-ISE-008, ACT-ISE-001 |
| Source Feed Registration | Draft | Either approver refuses with reason | Draft (returned) | ACT-ISE-008 or ACT-ISE-001 |
| Source Feed Registration | Approved | Activated | Active | ACT-ANL-007 |
| Source Feed Registration | Active | Suspend feed, with reason | Suspended | ACT-ANL-007 |
| Source Feed Registration | Suspended | Resume feed; ingestion continues from the retained consumer position | Active | ACT-ANL-007 |
| Source Feed Registration | Active | A new version for a contract change is activated | Retired (superseded by the new version) | System |
| Source Feed Registration | Active / Suspended | Retire feed, with reason; no Certified product depends only on it | Retired | ACT-ANL-007 |
| Ingestion Platform | Running | Pause all ingestion, after confirmation with reason | Paused | ACT-ANL-014 |
| Ingestion Platform | Paused | Resume all ingestion | Running | ACT-ANL-014 |
| Replay Request | Requested | Approved by the data product owner, who is not the requester | Approved | ACT-ANL-016 |
| Replay Request | Requested | Declined with reason | Declined | ACT-ANL-016 |
| Replay Request | Requested / Approved | Cancelled by the requester before it starts | Cancelled | Requester (ACT-ANL-007 or ACT-ANL-006) |
| Replay Request | Approved | Run starts | In progress | ACT-ANL-015 |
| Replay Request | In progress | Range reprocessed and counts reconcile | Completed | ACT-ANL-015 |
| Replay Request | In progress | Run fails; prior versions stay current | Failed | ACT-ANL-015 |
| Data Product | Proposed | Owner, grain, sources and quality rules defined | In Development | ACT-ANL-007 |
| Data Product | In Development | Certification requested by the owner; quality, reconciliation and lineage evidence approved | Certified | Data Governance Council reviewer |
| Data Product | Certified | Quality or reconciliation breach meets suspension rule | Suspended | System / ACT-ANL-006 |
| Data Product | Suspended | Release product: breach resolved and rule passes | Certified | ACT-ANL-006 |
| Data Product | Certified | Replacement announced | Deprecated | ACT-ANL-016 |
| Data Product | Deprecated | Deprecation window ends | Retired | ACT-ANL-016 |
| Stewardship Item | Open | Assigned to steward | Assigned | System / ACT-ANL-006 |
| Stewardship Item | Assigned | Cause corrected and re-check passes | Resolved (shown "Resolved · re-check passed") | ACT-ANL-006 |
| Stewardship Item | Assigned | Steward proposes acceptance; a work-list task goes to the metric owner, who accepts the limitation with reason and expiry on UI-ANL-009 (OV-133), or returns it to the steward (the item stays Assigned) | Accepted (shown "Limitation accepted · until [date]") | ACT-ANL-005 |
| Stewardship Item | Open / Assigned | Ageing threshold exceeded | Escalated | System |
| Extract Request | Submitted | Completeness check for the purpose class passes; one approval task per data product owner of the products used | Under Privacy Review | System |
| Extract Request | Under Privacy Review | The data product owner approves the use of the product; the privacy officer's task opens when every product approval is recorded | Under Privacy Review | ACT-ANL-016 |
| Extract Request | Under Privacy Review | Every product approval recorded; approved by the privacy officer (with or without conditions), with reason; neither approver is the requester | Approved | ACT-ANL-010 |
| Extract Request | Under Privacy Review | Rejected with reason | Rejected | ACT-ANL-010 |
| Extract Request | Under Privacy Review | Returned for more information, with reason | Returned | ACT-ANL-016 or ACT-ANL-010 |
| Extract Request | Returned | Submitted again by the requester | Submitted | ACT-ANL-009 |
| Extract Request | Submitted / Under Privacy Review / Returned | Withdrawn by the requester before a decision | Withdrawn | ACT-ANL-009 |
| Extract Request | Approved | Requester has accepted the conditions and the no-re-identification undertaking; preparation started; de-identification and risk checks pass | Prepared | ACT-ANL-007 / System |
| Extract Request | Approved / Preparing Refresh | A risk check fails ("Risk check failed · [check]") | Under Privacy Review | System |
| Extract Request | Prepared | Package delivered to approved location | Released | System |
| Extract Request | Released | Refresh requested within the approved scope and validity | Preparing Refresh | ACT-ANL-009 / ACT-ANL-007 |
| Extract Request | Preparing Refresh | New package passes the checks, with consent and opt-out exclusions applied again | Released | System |
| Extract Request | Approved / Prepared / Released | Scope amended by the requester: a new request version is created; the current version keeps its state and approval on record | Submitted (new version) | ACT-ANL-009 |
| Extract Request | Released | Expiry date reached | Expired | System |
| Extract Request | Approved / Prepared / Released / Preparing Refresh | Approval withdrawn, after a summary of the extract and its dependants, with reason | Revoked | ACT-ANL-010 |
| Extract Request | Expired / Revoked | Disposal attestation recorded by the requester where data left the platform; due 14 days after the state was reached, then shown as overdue with a work-list task for the privacy officer | Same state, attestation recorded | ACT-ANL-009 |
| AI Use Case | (new) | Proposed with every mandatory field; the prohibited-action check passes on save | Proposed | Proposer (ACT-ANL-013 or ACT-ANL-017) |
| AI Use Case | Proposed | Submitted for assessment; one task per required assessment | Under Assessment | Proposer |
| AI Use Case | Proposed / Under Assessment | Rejected with reason | Rejected | ACT-ANL-011 |
| AI Use Case | Under Assessment | Every required assessment approved, review date set, class permitted (DEC-ANL-001), external-hosting assessment approved where chosen; for Clinical support also clinical governance approval; sign step; approver not the proposer | Approved | ACT-ANL-011; for Clinical support also a clinical governance approver for the Clinical Governance Committee |
| AI Use Case | Approved | Suspended by the AI governance reviewer, with reason, or by monitoring when a suspension rule is met; the use-case owner can only ask for it | Suspended | ACT-ANL-011 / System |
| AI Use Case | Suspended | Resume use case: cause recorded as resolved, assessments current, review date in the future; sign step | Approved | ACT-ANL-011 |
| AI Use Case | Approved | Material change: a new version is created as Proposed; the current version stays Approved and keeps serving | Approved (current); Proposed (new version) | ACT-ANL-017 |
| AI Use Case | Approved | A newer version of the same use case is approved | Retired | System |
| AI Use Case | Approved / Suspended | Retire use case, after a confirmation summary with a reason; its versions leave the allowlist, the records stay | Retired | ACT-ANL-011 |
| AI Platform | On | Turn off AI for the hospital, with reason (global switch of CFG-ANL-014) | Off | ACT-ANL-014 |
| AI Platform | Off | Turn on AI for the hospital; sign step | On | ACT-ANL-014 |
| Model Version | Registered | Evaluation started | Under Evaluation | ACT-ANL-013 |
| Model Version | Under Evaluation | Required assessments and evaluation approved | Approved | ACT-ANL-011 |
| Model Version | Under Evaluation | Evaluation or assessment fails | Rejected | ACT-ANL-011 |
| Model Version | Approved | Added to gateway allowlist | Deployed | ACT-ANL-014 |
| Model Version | Deployed | Monitoring breach or reviewer decision | Suspended | System / ACT-ANL-011 |
| Model Version | Suspended | Cause resolved and re-approved | Deployed | ACT-ANL-011 |
| Model Version | Deployed / Suspended | Withdrawn | Retired | ACT-ANL-011 |
| AI Output | Generated | Shown to authorized user with label | Presented | System |
| AI Output | Presented | Accept or Edit and accept: the content is inserted into the host's own draft, still labelled "AI-drafted" | Inserted | ACT-ANL-012 |
| AI Output | Inserted | The owning domain commits the host draft and returns the record reference; the committed text equals the draft | Accepted | Owning domain, for ACT-ANL-012 |
| AI Output | Inserted | The owning domain commits the host draft and returns the record reference; the committed text differs from the draft | Edited and Accepted | Owning domain, for ACT-ANL-012 |
| AI Output | Inserted | The host draft is discarded, or the owning domain refuses the commit | Accepted · Not Committed | System |
| AI Output | Presented | Rejected (no reason needed) | Rejected | ACT-ANL-012 |
| AI Output | Presented | No disposition when the host item is closed, the window's patient changes, the session ends, the user drafts again, the maximum life of CFG-ANL-024 is reached, or the use case or version is suspended | Expired | System |
stateDiagram-v2
direction LR
[*] --> Draft
Draft --> InReview: submit
InReview --> Draft: return
InReview --> Approved: approve (not author)
Approved --> Active: effective-from reached
Active --> Superseded: newer version active
Active --> Retired: retire
Superseded --> Retired: retire
Retired --> [*]
Metric Definition Version lifecycle.
stateDiagram-v2
direction LR
[*] --> Requested
Requested --> Approved: approve (data product owner, not requester)
Requested --> Declined: decline
Requested --> Cancelled: cancel
Approved --> Cancelled: cancel before start
Approved --> InProgress: run starts
InProgress --> Completed: reprocessed and reconciled
InProgress --> Failed: run fails
Declined --> [*]
Cancelled --> [*]
Completed --> [*]
Failed --> [*]
Replay Request lifecycle. All product lifecycle actions (propose, request certification, certify, suspend, release, deprecate, retire) and the product settings are on the data product catalogue; feed, platform and replay actions are on the feed registry and pipeline console.
stateDiagram-v2
direction LR
[*] --> Registered
Registered --> UnderEvaluation: start evaluation
UnderEvaluation --> Approved: assessments and evaluation approved
UnderEvaluation --> Rejected: fails
Approved --> Deployed: add to gateway allowlist
Deployed --> Suspended: monitoring breach / reviewer decision
Suspended --> Deployed: re-approved
Deployed --> Retired: withdraw
Suspended --> Retired: withdraw
Rejected --> [*]
Retired --> [*]
Model Version lifecycle.
stateDiagram-v2
direction LR
[*] --> Proposed
Proposed --> UnderAssessment: submit for assessment
Proposed --> Rejected: reject
UnderAssessment --> Rejected: reject
UnderAssessment --> Approved: assessments approved, sign step (not proposer)
Approved --> Suspended: reviewer / monitoring
Suspended --> Approved: resume, sign step
Approved --> Retired: retire / newer version approved
Suspended --> Retired: retire
Rejected --> [*]
Retired --> [*]
AI Use Case lifecycle. A material change makes a new use-case version in Proposed while the current version stays Approved and serves; when the new version is approved the earlier one is Retired. Suspension, resume and retirement of a use case are on the AI governance console only, by the AI governance reviewer; the platform administrator's switch that stops all AI use is on the same console, and the Domain 10 configuration screen lists CFG-ANL-014 read-only.
4.4 Business Rules Catalogue¶
| Rule ID | Business Rule | Condition | Expected System Behaviour | Configurable |
|---|---|---|---|---|
| BR-ANL-001 | No direct analytical access to production transactional stores | Any pipeline, query, report or AI job requests a connection to a production OLTP store | Connection is not permitted; data is obtained only through a registered feed (event stream or change data capture; a scheduled extract only for an external or legacy source that cannot publish either, read-only through the integration layer) with a recorded isolation and capacity control | No |
| BR-ANL-002 | No write-back to transactional records and no in-place edit of analytical values | Any component of this domain attempts to create, update or delete a record in a source domain store, or a user attempts to edit a published value | The action is not available; corrections occur by pipeline correction and replay or by the source domain correcting its record | No |
| BR-ANL-003 | Raw layer is append-only | Data is landed in the raw layer | Records are never updated or deleted outside the approved retention and disposal process; corrections arrive as new records | No |
| BR-ANL-004 | One Active definition per metric at any time | A metric definition version is approved | Effective periods must not overlap; exactly one version is Active for any date | No |
| BR-ANL-005 | Published values identify their definition version | A metric value is computed or displayed | The value carries the definition version, cutoff time and terminology version used | No |
| BR-ANL-006 | Four time dimensions are preserved | A record is ingested or transformed | Event time, recorded time, effective time and ingestion time are stored as separate attributes; each metric definition states which time basis it uses | No |
| BR-ANL-007 | Ingestion counts must reconcile | A conformance run completes | Records received = accepted + quarantined + duplicates; any difference fails the run and raises a stewardship item | No |
| BR-ANL-008 | Malformed or unmapped data is quarantined, not coerced | A record fails schema, mandatory-field, code-system, unit, identifier, referential or temporal validation | The record is quarantined with an actionable reason and excluded from curated products until resolved | Rule set: Yes |
| BR-ANL-009 | Separation of duties in definition and configuration change | A definition version, quality rule, access policy or de-identification profile is submitted for approval | The author cannot approve their own change | No |
| BR-ANL-010 | Historical reports are reproducible | A report is requested for a past period "as originally reported" | The system uses the definition version and snapshot in force at the time; restated values are available separately and marked | No |
| BR-ANL-011 | Freshness and quality status are always displayed | A dashboard, report or dataset is rendered or delivered | Cutoff time, refresh watermark and data quality status are shown; a product older than its freshness threshold is marked stale | Thresholds: Yes |
| BR-ANL-012 | Source errors are corrected at source | A discrepancy is traced to incorrect source data | A referral is raised to the source domain; the analytical platform does not patch the value | No |
| BR-ANL-013 | Suspension on material breach | A reconciliation variance or quality score breaches the configured suspension threshold for a certified product | The new refresh is not published; the last good version remains with its cutoff and a warning | Thresholds: Yes |
| BR-ANL-014 | Secondary use requires approval | An extract of patient-level data is requested for research or QI | No data is prepared or released until an authorized approver has recorded approval with purpose, scope, recipient and expiry | No |
| BR-ANL-015 | De-identification before release | An approved extract is prepared | The approved de-identification profile and re-identification risk checks are applied; a failed check blocks release | Profiles: Yes |
| BR-ANL-016 | Consent and disclosure restrictions apply to secondary use | A cohort includes records subject to a consent withdrawal or restriction that the Domain 10 policy decision applies to secondary use | Those records are excluded or handled as the policy decision directs | Policy: Yes (Domain 10) |
| BR-ANL-017 | AI prohibited actions | An AI use case or runtime request would autonomously diagnose, prescribe, change orders, sign notes, administer medication or modify the legal clinical record | The use case cannot be approved and the action is not available at runtime | No |
| BR-ANL-018 | AI requires prior assessment | An AI use case is proposed for deployment | Privacy review and security threat model are required for all; clinical safety assessment and medical-device / software regulation assessment are additionally required for clinical AI | No |
| BR-ANL-019 | Human review before commitment | AI-generated content is to become part of a clinical record or trigger care | An authorized human must review and sign off; the commit is made by the owning domain under that human's identity | No |
| BR-ANL-020 | AI output is labelled | AI-generated content is displayed or stored | It is labelled "AI-drafted" with the use case and model version until a person accepts it, including in prints and exports; once committed it shows "AI-assisted · accepted by [name] · [date time]"; the label persists with the content's provenance | No |
| BR-ANL-021 | AI artefacts are versioned and monitored | A model, prompt, retrieval corpus, evaluation dataset or release changes | A new version is registered; monitoring for drift, bias, hallucination and failure applies to every deployed version | Thresholds: Yes |
| BR-ANL-022 | AI fails closed | The AI service, gateway or policy decision is unavailable, times out or the model is suspended | The AI function is disabled; the host workflow continues without it; no core workflow is blocked | Timeouts: Yes |
| BR-ANL-023 | Financial reports account for the full transaction lifecycle | A financial measure is computed | Reversals, adjustments, refunds and claim lifecycle states are applied according to the metric definition; raw transaction rows are not naively summed | No |
| BR-ANL-024 | Scorecard targets need approved denominators | A maturity or scorecard target is used for acceptance or reporting | The denominator, exclusions, data source and measurement period must be approved in the metric registry first | No |
← 3. Domain Capability Model | Contents | Identifier index | 5. Detailed Functional Requirements →