MOD CLI 002 PRB
Domain specifications / D03-CLI / 5. Detailed Functional Requirements / 5.2 Module Specification: Problem List, History, Diagnoses and Allergies
5.2 Module Specification: Problem List, History, Diagnoses and Allergies¶
5.2.1 Module Overview¶
Module ID: MOD-CLI-002
Purpose:
Maintain the patient's coded clinical summary: problems, diagnoses and conditions, past procedures, family and social history, immunizations and allergies, as the trusted inputs to care and to decision support.
Business Capabilities: - CAP-CLI-002 Clinical summary data
Primary Actors: - ACT-CLI-001, ACT-CLI-002, ACT-CLI-003, ACT-CLI-005, ACT-CLI-006
Dependencies: - Domain 10 terminology service; MOD-CLI-011 (consumer); MOD-CLI-001
5.2.2 Functional Area: Problems, Diagnoses and History¶
Functional Area ID: FA-CLI-003
Description:
Coded, status-tracked problems and diagnoses and structured history.
Scope: - Included: problem list, encounter diagnoses, procedures history, family and social history, immunizations. - Excluded: administrative classification coding of the encounter (Domain 6); care plans (MOD-CLI-005).
5.2.2a Functional Area: Allergies and Intolerances¶
Functional Area ID: FA-CLI-004
Description:
The allergy and intolerance record, including explicit "no known allergies" and "unable to assess" states.
Scope: - Included: substance, reaction, severity, criticality, verification, review. - Excluded: allergy checking logic (MOD-CLI-011).
5.2.3 Detailed Requirements¶
Requirement FR-CLI-PRB-001: Coded Problems, Diagnoses, History and Immunizations¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-CLI-PRB-001 |
| Requirement Name | Coded problems, diagnoses, history and immunizations |
| Requirement Type | Functional |
| Module | Problem List, History, Diagnoses and Allergies |
| Functional Area | FA-CLI-003 Problems, diagnoses and history |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS EHR-006; contributes to RCM-008, DAT-002; PRS 22.3 |
| Related Business Rule | BR-CLI-004, BR-CLI-040 |
| Related Workflow | WF-CLI-001 |
1. Requirement Statement
The system shall record diagnoses, conditions, procedures history, family and social history and immunizations as structured entries bound to governed code sets, with clinical status, verification status and effective period, and shall reject or flag invalid or inactive codes.
2. Business Rationale
Coded, current summary data drives clinical reasoning, decision support, pathway eligibility, coding abstraction and quality measurement. Uncoded or stale lists cause semantic inconsistency and unsafe CDS (PRS 19.1).
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| ACT-CLI-001 | Create / Read / Update (status change, resolve) | Care relationship |
| ACT-CLI-002, ACT-CLI-006 | Create / Read / Update for history, immunizations and nursing or therapy problems | Within scope of practice as configured in CFG-CLI-028 (history and immunization entry types per role) |
| ACT-CLI-003 | Read | |
| Author of the entry; ACT-CLI-001 responsible for the patient | Mark entered in error | Problems, diagnoses and history items; reason required. A physician is responsible for the patient when on the responsible team assigned by Domain 1 |
4. Preconditions - Value sets for each entry type are published by Domain 10.
5. Trigger - A clinician adds, updates, resolves or marks in error a problem, diagnosis, history item or immunization.
6. Functional Behaviour
- The system shall let the clinician search the bound value set by term, synonym and code and select a concept; the coded value, the selected display term and the code-system version shall be stored.
- Problems and diagnoses shall carry clinical status (active, recurrence, remission, inactive, resolved), verification status (provisional, differential, confirmed, refuted, entered in error), onset and abatement, severity where applicable, and encounter linkage with a role (for example admitting, principal, secondary) where recorded.
- The system shall keep the clinician-recorded clinical concept separate from any administrative classification code; a classification code assigned later by Domain 6 shall not replace the clinical concept.
- Free-text entries shall be permitted where no suitable concept exists and shall be flagged as uncoded and reported for stewardship.
- Family history shall record relationship and condition; social history shall use configured structured items (for example tobacco, alcohol, occupation); immunizations shall record vaccine, date, dose number, lot where known, and source.
- Changes shall create a new version of the entry; the history of status changes shall be viewable.
- The system shall publish a clinical-entry event on create and change for consumers (CDS, pathways, HIM, analytics).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Entry type | Code | Yes | Supported type | Problem, diagnosis, procedure history, family history, social history, immunization |
| Concept | Coded | Yes (or free text flagged) | Active member of bound value set | Clinical concept |
| Clinical status | Code | Yes for problems and diagnoses | Valid status | |
| Verification status | Code | Yes for problems and diagnoses | Valid status | |
| Onset / abatement | Date or partial date | No | Abatement not before onset; not in the future | Effective period |
| Encounter diagnosis role | Code | No | Valid role | For encounter diagnoses |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PRB-001-01 | Inactive or invalid code at entry is rejected or flagged per field configuration | No silent storage of invalid codes |
| PR-PRB-001-02 | A concept that later becomes inactive remains on existing entries with its original version and is flagged for review | Historical meaning preserved |
| PR-PRB-001-03 | Probable duplicate of an active problem (same concept) prompts the user to update the existing entry | Fewer duplicate problems |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Problem and diagnosis lists | Screen; API | Clinicians; Domains 6, 9 | Current and historical entries |
| ClinicalEntryCreated / Amended events | Event | Domains 6, 8, 9; MOD-CLI-011 | EVT-CLI-001, EVT-CLI-003 |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Inactive code selected | Value-set check | Reject or flag | "This code is inactive; select a current concept" |
| Terminology service unavailable | Service health | Allow free-text entry flagged uncoded, or cached value set where available | "Terminology search unavailable; entry saved as uncoded" |
| Abatement before onset | Temporal check | Reject | "Abatement date precedes onset" |
11. State and Lifecycle Behaviour
Entries move between clinical statuses by clinician action; "entered in error" is terminal and retains the entry. Resolved problems remain in the historical list. The problem state model is in section 4.3. Entries are maintained on UI-CLI-004.
12. Audit Requirements
- Create, status change, resolve and entered-in-error with before and after values, user, time and encounter.
13. Security and Privacy Requirements
- Classification: Sensitive; diagnoses in designated sensitive categories carry privacy labels and segmentation.
- Write permission by role and scope of practice.
14. Acceptance Criteria
- AC-01: Given a bound value set, when a clinician enters a diagnosis with an inactive code, then the system rejects or flags the entry according to configuration (PRS EHR-006 acceptance).
- AC-02: Given a problem recorded with a clinical concept, when Domain 6 assigns a classification code to the encounter, then the problem list still shows the original clinical concept.
- AC-03: Given a resolved problem, when the list is filtered to active, then it is not shown, and it is shown in the historical view with its status history.
15. Dependencies and Integration
- Upstream dependencies: Domain 10 terminology service.
- Downstream dependencies: MOD-CLI-011, Domain 6 coding abstraction, Domain 9 eligibility, Domain 8.
- Required events or APIs: EVT-CLI-001, EVT-CLI-003; IF-CLI-001.
16. Open Questions / Assumptions
- SNOMED CT as primary clinical terminology depends on licensing and national policy (DEC-CLI-004).
Requirement FR-CLI-PRB-002: Allergy and Intolerance Record¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-CLI-PRB-002 |
| Requirement Name | Allergy and intolerance record |
| Requirement Type | Functional |
| Module | Problem List, History, Diagnoses and Allergies |
| Functional Area | FA-CLI-004 Allergies and intolerances |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | PRS EHR-006; PRS 11.2 (allergy and intolerance CDS category); contributes to CDS-013 |
| Related Business Rule | BR-CLI-004, BR-CLI-005, BR-CLI-026 |
| Related Workflow | WF-CLI-003, WF-CLI-004 |
1. Requirement Statement
The system shall maintain for each patient an allergy and intolerance record that captures substance, type, reaction, severity, criticality, onset, prior tolerance, verification status, source and last-reviewed time, and shall distinguish "no known allergies" and "allergy status not assessed" from an empty list.
2. Business Rationale
Allergy checking is only as safe as the allergy record. PRS 11.2 requires allergy CDS to use reaction, severity, prior tolerance and cross-reactivity context; an empty list that means "not asked" must not be read as "none".
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| ACT-CLI-001, ACT-CLI-002, ACT-CLI-003, ACT-CLI-005 | Create / Read / Update / mark reviewed | Care relationship |
| ACT-CLI-001, ACT-CLI-003 | Refute or mark entered in error | Reason required |
4. Preconditions - Substance value sets (medication, food, environmental) are published by Domain 10.
5. Trigger - Allergy assessment at admission or triage; new reaction; review at prescribing or reconciliation.
6. Functional Behaviour
- The system shall record substance (coded to the medication or substance terminology), category, type (allergy or intolerance), reaction manifestations, severity, criticality, onset, whether the substance has since been tolerated, verification status, source and recording clinician.
- The system shall require an explicit allergy status for each encounter: one or more recorded allergies, "no known allergies", or "not assessed / unable to assess" with reason.
- The allergy status and the list shall be shown in the persistent patient context zone (FR-CLI-RSP-003) with a visible indicator when the status is "not assessed" or the last review is older than the configured limit. The zone shows the allergies by substance and reaction, "No known allergies", "Not assessed" or "Unable to assess · [reason]"; a stale review shows the amber clock and "Old · [date of last review]" (CUX-50); an unconfirmed allergy shows "Unverified" (CUX-54).
- The system shall record each review (confirmed unchanged) with user and time.
- A refuted or entered-in-error allergy shall be retained, removed from the active list and excluded from CDS.
- The system shall publish AllergyChanged on every create, change, refute and review-status change.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Substance | Coded | Yes (free text permitted, flagged) | Active concept | Causative agent |
| Type | Code | Yes | allergy, intolerance | |
| Reaction | Coded list | No (prompted) | Valid concepts | Manifestations |
| Severity / criticality | Code | No (prompted) | Valid values | |
| Verification status | Code | Yes | unconfirmed, confirmed, refuted, entered in error | |
| Source | Code | Yes | patient, relative, clinician, imported | |
| No-known-allergy / not-assessed assertion | Code | Yes if no allergies recorded | Reason required for not assessed |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PRB-002-01 | "No known allergies" cannot coexist with active allergies; recording an allergy clears the assertion | Consistent status |
| PR-PRB-002-02 | A free-text (uncoded) substance is flagged; CDS reports that it cannot be checked | No false reassurance |
| PR-PRB-002-03 | Review age beyond the configured limit marks the status as stale for display and for CDS | Stale data is explicit |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Allergy list and status | Screen; API | Clinicians; MOD-CLI-011; Domains 4, 9 | Current allergies |
| AllergyChanged | Event | MOD-CLI-011, Domain 4, Domain 8 | EVT-CLI-004 |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Medication ordering with allergy status not assessed | Status check | Do not block ordering. At order signing show a non-blocking prompt to record the allergy status; CDS reports uncertainty | "Allergy status not assessed. Record allergy status" with a link to UI-CLI-004 |
| Duplicate substance | Same coded substance active | Prompt to update the existing entry | "Allergy already recorded" |
11. State and Lifecycle Behaviour
Allergy: Unconfirmed, Confirmed, Refuted, Entered in Error; with clinical status active, inactive or resolved. Every change creates a new version. Patient allergy status: Not assessed, No known allergies, Allergies recorded. The state models are in section 4.3. The patient context zone (UI-CLI-019) shows "Not assessed" until a status is recorded for the encounter.
12. Audit Requirements
- Create, change, refute, review and assertion changes with before and after values.
13. Security and Privacy Requirements
- Classification: Sensitive. Allergy status is part of the minimum necessary summary available in downtime and emergency access.
14. Acceptance Criteria
- AC-01: Given a new patient with no allergy assessment, when the chart is opened, then the patient context zone shows "not assessed" and not "no known allergies".
- AC-02: Given an allergy recorded as free text, when a medication is ordered, then CDS reports that the free-text allergy could not be checked.
- AC-03: Given an allergy is refuted with a reason, when a related medication is ordered, then no allergy alert fires and the refuted entry remains viewable in history.
15. Dependencies and Integration
- Upstream dependencies: Domain 10 terminology; FR-CLI-EHR-002 for imported allergies.
- Downstream dependencies: MOD-CLI-011, MOD-CLI-009, MOD-CLI-010, Domain 4.
- Required events or APIs: EVT-CLI-004; IF-CLI-001.
16. Open Questions / Assumptions
- The review-age limit is a governance-set configuration (CFG-CLI-004). Default: stale when the allergy status has not been reviewed during the current encounter (design rule CUX-50).
← 5.1 Module Specification: Longitudinal EHR / Clinical Record | Contents | Identifier index | 5.3 Module Specification: Clinical Notes, Forms, Templates, Flowsheets and Signatures →