MOD EBP 005 PAU
Domain specifications / D09-EBP / 5. Detailed Functional Requirements / 5.5 Module Specification: Clinical Pathway Authoring and Modelling
5.5 Module Specification: Clinical Pathway Authoring and Modelling¶
5.5.1 Module Overview¶
Module ID: MOD-EBP-005
Purpose: Let authorized pathway designers define, validate, preview and scenario-test pathway definitions through configuration, without a source-code fork.
Business Capabilities: - CAP-EBP-005 Pathway authoring and modelling - CAP-EBP-006 Pathway validation and scenario testing
Primary Actors: - Pathway Designer (ACT-EBP-005), Clinical Content Owner (ACT-EBP-002)
Dependencies: - MOD-EBP-002 (guideline versions and recommendations), MOD-EBP-004 (mapping versions), MOD-EBP-006 - Domain 3 (CLI): order catalogue, order-set, documentation-template and task-type references with versions - Domain 10 (ESS): terminology service, master data (roles, care-team role types, facilities, care settings)
5.5.2 Functional Area: Pathway Model Authoring; Validation, Preview and Scenario Testing¶
Functional Area ID: FA-EBP-008, FA-EBP-009
Description: FA-EBP-008 covers the pathway model. FA-EBP-009 covers structural validation, preview and scenario test packs run in controlled authoring and test environments.
Scope: - Included: eligibility criteria and exclusions, phases, activities, milestones, expected timeframes, decision branches, order and care-task references, escalation points, expected outcomes, patient-specific parameters, evidence links, test cases. - Excluded: definition of order sets, catalogue items, documentation templates and nursing task types (Domain 3); CDS rule authoring (Domain 3).
5.5.3 Detailed Requirements¶
Requirement FR-EBP-PAU-001: Configure Pathway Definitions¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-EBP-PAU-001 |
| Requirement Name | Configure pathway definitions |
| Requirement Type | Functional |
| Module | Clinical Pathway Authoring and Modelling |
| Functional Area | FA-EBP-008 Pathway model authoring |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | PRS EBP-004; PRS section 22.4 (pathway design and configuration); PRS CFG-008 |
| Related Business Rule | BR-EBP-003, BR-EBP-004, BR-EBP-031 |
| Related Workflow | WF-EBP-003 |
1. Requirement Statement
The system shall provide a configurable authoring capability in which an authorized pathway designer defines, for a draft pathway version, the eligibility criteria, exclusions, phases, activities, milestones, expected timeframes, decision branches, orders, care tasks, escalation points and expected outcomes, with links to the supporting guideline recommendations, without changing source code.
2. Business Rationale
PRS EBP-004 requires pathway content to be configured by authorized hospital personnel. Configuration-first authoring keeps clinical content under clinical governance and avoids a code release for each content change.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Pathway Designer (ACT-EBP-005) | Create / Read / Update / Delete | Draft versions only; delete applies to drafts never submitted |
| Clinical Content Owner (ACT-EBP-002) | Read / Update | Drafts of pathways they own |
| Reviewers, approvers | Read | Versions assigned to them |
4. Preconditions - The pathway has a named clinical owner and approving body. - Authoring takes place in the controlled authoring environment (CFG-008).
5. Trigger - A designer creates a pathway or a new draft version from an existing version.
6. Functional Behaviour
- The system models a pathway version as a versioned graph of nodes and transitions grouped into phases (REF-004 section 5.10.2).
- The designer defines entry criteria: inclusion criteria and exclusions, each expressed over coded concepts (through a mapping version), encounter attributes (type, care setting, facility), patient attributes (for example age band) and observations or results with value conditions and a freshness limit.
- The designer defines activity nodes, each with: type (order or order-set proposal, medication proposal, documentation prompt, nursing or care task, diagnostic or therapeutic step, referral, follow-up, assessment, information item), reference to the versioned Domain 3 catalogue item, order set, template or task type, owning role, timing rule (offset from activation, phase start or another activity; expected duration), classification as recommended, required-by-policy or optional, and completion evidence (which owning-domain event completes it).
- The designer defines milestones with expected timeframes, decision nodes with branch conditions (evaluated from facts, or presented to the clinician), escalation points (condition, threshold, recipient role, levels) and completion criteria.
- The designer defines expected outcomes and links them to measure definitions (MOD-EBP-011).
- The designer links nodes to the guideline recommendations that support them and marks any local implementation rule with its rationale.
- The system stores the scope of the version (facilities, care settings) and the mapping version it uses.
- Creating a draft from a released version copies the model and records predecessor and change reason.
- Patient labels. For each phase and each activity and milestone node the designer enters a plain-language patient label, in Bahasa Indonesia and optionally in English, or sets the flag "not for patient display". The labels are reviewed and approved with the version. The Domain 7 patient view of the active pathway plan (FR-PEX-REL-005) shows only these labels, and never shows a phase or step that carries the flag.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Pathway title, clinical scope | Text | Yes | Non-empty | Identity |
| Clinical owner, approving body | References | Yes | Active identity; valid body | Governance metadata |
| Linked guideline version(s) | References | Yes | Existing guideline versions | Supporting evidence |
| Mapping version | Reference | Conditional | Required where criteria use coded concepts | Bindings used |
| Inclusion criteria, exclusions | Structured expressions | Yes (at least one inclusion) | Parsable; referenced concepts bound; freshness limit present for time-sensitive facts | Eligibility logic |
| Phase, node, transition definitions | Structured | Yes | Graph validation (FR-EBP-PAU-003) | Pathway model |
| Activity reference | Reference + version | Conditional | Active item in the owning domain's catalogue | Order set, catalogue item, template or task type |
| Owning role | Master-data reference | Yes per activity | Valid role type | Who is expected to act |
| Timing rule | Structured | Yes per timed activity and milestone | Non-negative offsets; units valid | Due-time calculation |
| Activity classification | Coded | Yes | Recommended / Required-by-policy / Optional; policy reference required for required-by-policy | BR-EBP-031 |
| Escalation rule | Structured | No | Recipient role valid; threshold positive | Escalation point |
| Patient label | Text per language | Conditional | Required per phase and per activity and milestone node unless "not for patient display" is set; Bahasa Indonesia required; at most 120 characters | Plain-language name shown to the patient (step 9) |
| Not for patient display | Boolean | Yes per phase and node | Default false | Leaves the phase or step out of the patient plan view |
| Change reason | Text | Conditional | Required for versions after the first | Why revised |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PAU001-1 | Activity references are stored with the referenced item's identifier and version. | Later changes to the catalogue do not silently change a released pathway. |
| PR-PAU001-2 | An activity defines a proposal to an owning domain, never the native record itself. | No order, prescription or note content is authored as an executable record in this domain. |
| PR-PAU001-3 | Required-by-policy classification needs a recorded approving policy reference. | BR-EBP-031 enforced. |
| PR-PAU001-4 | The author may declare, for the version, other pathways that are mutually exclusive or must be reviewed together, and "do not" activities that contradict this pathway, each with a reason. The declarations are reviewed and approved with the version and used by the conflict check (CFG-EBP-029). | Known incompatibilities are caught at activation and proposal (GAP-EBP-008, closed). |
| PR-PAU001-5 | Submission is refused while a phase, activity or milestone has neither a patient label nor the "not for patient display" flag. | Every released version can feed the patient plan view of FR-PEX-REL-005. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Draft pathway version | Structured definition; exportable in a documented machine-readable format | Designer, reviewers, MOD-EBP-006 | The pathway model |
| Human-readable rendering | Diagram and structured text | Reviewers, approvers | For clinical review |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Criterion references an unbound concept | Binding check | Flag as blocking finding | "Concept has no mapping in the selected mapping version." |
| Referenced order set inactive | Catalogue check via Domain 3 | Flag as blocking finding | Name the item |
| Edit attempted on non-draft version | BR-EBP-004 | Refuse | Offer new draft |
| Domain 3 catalogue unavailable | Dependency check | Save draft; mark reference "unverified" | Submission blocked until verified |
11. State and Lifecycle Behaviour
Creates and updates PathwayVersion in Draft. No effect on released versions or on patient instances.
12. Audit Requirements
Audit: pathway creation, draft version creation with predecessor and change reason, and every change to the definition with before and after values (REF-004 section 9.4: pathway authoring).
13. Security and Privacy Requirements
No patient data in definitions. Classification: Internal. Authoring permission is distinct from review, approval and publication permissions (BR-EBP-005).
14. Acceptance Criteria
- AC-01: Given an authorized designer, when they configure criteria, phases, activities, milestones, timeframes, branches, orders, care tasks, escalation points and expected outcomes, then the draft is saved and rendered without any source-code change or deployment.
- AC-02: Given an activity that references an order set, when the draft is saved, then the order-set identifier and version are stored.
- AC-03: Given an activity classified required-by-policy without a policy reference, when saved, then the save is refused.
- AC-04: Given a released version, when a designer attempts to edit it, then the edit is refused and a new draft version can be created with a change reason.
15. Dependencies and Integration
- Upstream dependencies: MOD-EBP-002, MOD-EBP-004; Domain 3 catalogue and order-set reference API (IF-EBP-009); Domain 10 master data and terminology.
- Downstream dependencies: MOD-EBP-006, MOD-EBP-007, MOD-EBP-009.
- Required events or APIs: IF-EBP-001, IF-EBP-008, IF-EBP-009.
16. Open Questions / Assumptions
- The representation of criteria and branch logic (for example CQL/ELM, PRS CDS-008, or an equivalent internal expression model) is an open decision shared with the CDS runtime decision in PRS section 28.1 (DEC-EBP-009).
- It is assumed that Domain 3 exposes versioned read access to order sets, catalogue items, templates and task types (ASM-EBP-003).
Requirement FR-EBP-PAU-002: Patient-Specific Parameters in Pathway Definitions¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-EBP-PAU-002 |
| Requirement Name | Patient-specific parameters in pathway definitions |
| Requirement Type | Functional |
| Module | Clinical Pathway Authoring and Modelling |
| Functional Area | FA-EBP-008 Pathway model authoring |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS CLN-002 (care pathways with patient-specific parameters; primary owner Domain 3 for order sets); PRS section 22.4 (patient-specific parameters and missing or stale data handled safely) |
| Related Business Rule | BR-EBP-014, BR-EBP-019 |
| Related Workflow | WF-EBP-003, WF-EBP-005 |
1. Requirement Statement
The system shall allow a pathway version to declare the patient-specific parameters it uses, such as age, weight, renal function and gestational age where relevant, with the source concept, unit, freshness limit and behaviour when the parameter is missing or stale, and shall pass the declared parameters and their data-quality status to the owning domain with any proposal that depends on them.
2. Business Rationale
PRS CLN-002 requires order sets and care pathways to support patient-specific parameters with validated missing-data behaviour. A pathway that branches or proposes orders on a stale weight or creatinine without saying so is a safety hazard.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Pathway Designer (ACT-EBP-005) | Create / Read / Update | Draft versions |
| Clinical Reviewer, Clinical Safety Reviewer | Read | During review |
4. Preconditions - The parameter's concept is bound through a published mapping version or a Domain 10 value set.
5. Trigger - A designer adds a parameter to a draft version, or references it in a criterion, branch condition or activity.
6. Functional Behaviour
- The designer declares each parameter with: name, coded concept, expected unit (UCUM), source domain, freshness limit, whether an unverified or imported value is acceptable, and the missing-or-stale behaviour (treat criterion as indeterminate; present the decision to the clinician; block the dependent proposal until the clinician supplies or confirms the value in the owning domain).
- The system validates that every criterion, branch and activity that uses a parameter has a defined missing-or-stale behaviour.
- At run time the eligibility and runtime services resolve the parameter from the owning domain with its value, unit, effective time, source and verification status (FR-EBP-ELG-002).
- Where an activity proposal depends on a parameter (for example a weight-based order-set proposal), the proposal carries the parameter reference and its data-quality status; dose or other calculations are performed and validated by the owning domain, not by this domain.
- The pathway version does not store patient values; instances store references to the facts used.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Parameter name and coded concept | Text + code | Yes | Concept bound and active | What is read |
| Expected unit | UCUM code | Conditional | Valid UCUM where quantitative | Unit expected |
| Freshness limit | Duration | Yes | Positive | Maximum age of the fact |
| Accept unverified / imported | Boolean | Yes | — | Default false (Proposed, to be validated) |
| Missing-or-stale behaviour | Coded | Yes | One of the defined behaviours | Safe handling |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PAU002-1 | A parameter with no defined missing-or-stale behaviour is a blocking validation finding. | Version cannot be submitted. |
| PR-PAU002-2 | Unit mismatch between resolved value and expected unit is treated as unusable unless a governed conversion exists in Domain 10. | No silent unit coercion. |
| PR-PAU002-3 | Clinical calculations on parameters belong to the owning domain. | This domain never computes a dose. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Parameter declarations | Part of the pathway definition | Reviewers, MOD-EBP-007, MOD-EBP-009 | Declared inputs and safe behaviour |
| Parameter context on proposals | Structured fields in IF-EBP-005 | Domain 3 | References and data-quality status |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Parameter without freshness limit | Required | Reject | "Freshness limit is required." |
| Parameter used in a branch without missing-data behaviour | PR-PAU002-1 | Blocking finding | Name the branch |
| Invalid unit | UCUM check | Reject | "Unit is not a valid UCUM code." |
11. State and Lifecycle Behaviour
Part of the draft PathwayVersion; frozen at release.
12. Audit Requirements
Audit changes to parameter declarations with before and after values as part of pathway authoring audit.
13. Security and Privacy Requirements
Definitions contain no patient data. At run time parameter values are read under the patient's authorization and consent context (section 9.4).
14. Acceptance Criteria
- AC-01: Given a pathway version using weight and renal function, when the designer declares them with freshness limits and missing-data behaviour, then validation passes for those parameters.
- AC-02: Given a branch condition on renal function with no missing-data behaviour, when the version is validated, then a blocking finding is raised.
- AC-03: Given a released pathway and a patient whose latest weight is older than the freshness limit, when a weight-dependent activity is reached, then the proposal carries the stale status and the configured behaviour applies; the system does not present a definitive recommendation based on the stale value.
- AC-04: Given clinical validation scenarios for calculations and missing data, when run in the test environment, then results match the approved expected outcomes (PRS CLN-002 acceptance).
15. Dependencies and Integration
- Upstream dependencies: MOD-EBP-004; Domain 10 terminology (UCUM, concept validation).
- Downstream dependencies: MOD-EBP-007, MOD-EBP-009; Domain 3 CPOE and CDS.
- Required events or APIs: IF-EBP-005, IF-EBP-006, IF-EBP-008.
16. Open Questions / Assumptions
- CLN-002 is primarily owned by Domain 3 (CLI) for order sets; this requirement covers the pathway part of it (Partial in section 17.1).
Requirement FR-EBP-PAU-003: Structural Validation, Preview and Scenario Testing¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-EBP-PAU-003 |
| Requirement Name | Structural validation, preview and scenario testing |
| Requirement Type | Functional |
| Module | Clinical Pathway Authoring and Modelling |
| Functional Area | FA-EBP-009 Validation, preview and scenario testing |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | PRS EBP-004 (acceptance: preview without a source-code fork; logic passes defined scenario tests); PRS CFG-008; PRS section 22.4 (configuration testable); PRS CDS-003 (simulation before activation), contributing |
| Related Business Rule | BR-EBP-009 |
| Related Workflow | WF-EBP-003 |
1. Requirement Statement
The system shall validate the structure of a draft pathway version, shall let the designer preview it, and shall run defined scenario test cases against it in a controlled test environment, recording the results as test evidence attached to the version; a version with blocking validation findings or failed scenario tests shall not be submitted for approval.
2. Business Rationale
Pathway logic that has not been exercised against representative cases can misidentify patients or propose wrong work. CFG-008 requires a pathway change to be tested against approved scenarios before promotion.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Pathway Designer (ACT-EBP-005) | Create / Read / Update | Test cases; run validation, preview and tests on drafts |
| Clinical Content Owner (ACT-EBP-002) | Read / Approve | Approve the expected results of scenario test cases ("Approve expected results" on UI-EBP-004); never the designer who wrote the case |
| Reviewers, approvers, Clinical Safety Reviewer | Read | Test evidence |
4. Preconditions - A draft pathway version exists. - The test environment holds synthetic or de-identified test data only (PRS section 17.3).
5. Trigger - The designer runs validation, opens preview, or runs the scenario test pack; validation also runs automatically at submission.
6. Functional Behaviour
- Structural validation checks: node reachability; no dead ends before completion criteria; no unsafe loops; incompatible branches; every activity has an owner and a completion-evidence rule; mandatory data dependencies are declared; terminology bindings resolve in the referenced mapping version; references to order sets, catalogue items, templates and task types are active; timing rules are consistent; every escalation rule has a recipient (REF-004 section 5.10.2).
- Findings are classified blocking or advisory; blocking findings prevent submission.
- Preview renders the pathway as a diagram and as a walk-through for a designer-supplied synthetic patient, showing criteria evaluation, branch taken, activities that would be proposed and due times. Preview creates no instance and sends no proposal to another domain.
- A scenario test case defines synthetic patient and encounter facts, including data-quality conditions, and the expected eligibility result, branch path, proposed activities and due times. Expected results are approved by the clinical content owner.
- The scenario pack covers at least positive, negative, boundary, exclusion, missing-data, stale-data and contradictory-data cases (REF-004 section 10.3.1); the required categories are configurable (CFG-EBP-008).
- The system runs the pack against the exact draft content, records pass or fail per case with actual versus expected, and stores a test-evidence record with the content hash, run time, runner and environment.
- Any change to the draft after a test run invalidates the test evidence.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Test case name and category | Text + coded | Yes | Category from configured list | Scenario identity |
| Synthetic input facts | Structured | Yes | Conform to fact schema; flagged synthetic | Patient and encounter facts |
| Expected result | Structured | Yes | Approved by content owner | Expected eligibility, path, activities, due times |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PAU003-1 | Test evidence is bound to the content hash of the version tested. | Evidence is invalid for any other content. |
| PR-PAU003-2 | Submission requires zero blocking findings, all required scenario categories present and all cases passed. | BR-EBP-009 enforced. |
| PR-PAU003-3 | Preview and scenario runs are side-effect free outside the EBP test context. | No native records, proposals or patient-level events are produced. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Validation report | List of findings with severity and location | Designer | Structural findings |
| Preview | Diagram and walk-through | Designer, reviewers | What the pathway would do |
| Test-evidence record | Structured record | MOD-EBP-006, reviewers, approvers | Per-case results, content hash, run metadata |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Unreachable node | Graph check | Blocking finding | Identify the node |
| Required scenario category missing | Pack completeness | Block submission | Name missing categories |
| Scenario fails | Actual vs expected | Record failure; block submission | Show differences |
| Real patient data supplied to a test case | Data classification check on test environment | Reject | "Test cases must use synthetic or de-identified data." |
11. State and Lifecycle Behaviour
No state change on its own; it is a gate for the Draft to In Review transition.
12. Audit Requirements
Audit: test-case creation and change, approval of expected results, validation and test runs with content hash and outcome.
13. Security and Privacy Requirements
Test environments hold no real patient data unless a controlled production validation is explicitly authorized (PRS section 17.3). Classification of test evidence: Internal.
14. Acceptance Criteria
- AC-01: Given a draft with an unreachable node, when validated, then a blocking finding identifies the node and submission is refused.
- AC-02: Given a draft and a synthetic patient, when the designer opens preview, then the walk-through shows criteria results, the path and proposed activities, and no instance or native record is created.
- AC-03: Given a scenario pack with all required categories passing, when the version is submitted, then submission succeeds and the test-evidence record is attached with the content hash.
- AC-04: Given passed test evidence, when the draft is edited, then the evidence is marked invalid and submission is blocked until the pack is re-run.
15. Dependencies and Integration
- Upstream dependencies: MOD-EBP-004; Domain 3 catalogue reference API; Domain 10 terminology.
- Downstream dependencies: MOD-EBP-006.
- Required events or APIs: IF-EBP-008, IF-EBP-009.
16. Open Questions / Assumptions
- The minimum scenario categories are taken from REF-004; the PRS requires "defined scenario tests" without listing categories (ASM-EBP-006).
← 5.4 Module Specification: Clinical Terminology and Guideline Concept Mapping | Contents | Identifier index | 5.6 Module Specification: Pathway Review, Approval, Publication and Versioning →