Skip to content

MOD CLI 007 ORD

Domain specifications / D03-CLI / 5. Detailed Functional Requirements / 5.7 Module Specification: Clinical Order Catalogue and Order Lifecycle Coordination

5.7 Module Specification: Clinical Order Catalogue and Order Lifecycle Coordination

5.7.1 Module Overview

Module ID: MOD-CLI-007

Purpose:
Govern what can be ordered, own the state of every order as clinical intent, route orders to performing services and track them to a terminal state.

Business Capabilities: - CAP-CLI-007 Order lifecycle coordination

Primary Actors: - ACT-CLI-001, ACT-CLI-002, ACT-CLI-008, ACT-CLI-013

Dependencies: - Domain 2 (routing, HL7 v2 and FHIR adapters, event backbone), Domain 4 (worklists, fulfilment status), Domain 10 (master data, workflow, notification), Domain 5 (charge consumers)

5.7.2 Functional Area: Order Catalogue

Functional Area ID: FA-CLI-014

Description:
Definitions of orderable items.

Scope: - Included: orderable definition, required fields, defaults, routing destination rules, versions. - Excluded: tariff and price (Domain 5); ancillary test master and procedure master content (Domain 4 and Domain 10 master data), which the catalogue references.

5.7.2a Functional Area: Order Lifecycle and Duplicate Control

Functional Area ID: FA-CLI-015

Description:
Order state machine, event history, modification, replacement, cancellation and duplicate detection.

Scope: - Included: all order classes. - Excluded: internal fulfilment sub-states of ancillary services (Domain 4).

5.7.2b Functional Area: Routing and Fulfilment Tracking

Functional Area ID: FA-CLI-016

Description:
Dispatch, acknowledgement and progress tracking, stale-order escalation and order-result reconciliation on the placer side.

Scope: - Included: dispatch status, tracking, escalation, the stale-order worklist, and the status of placer-side unmatched items. - Excluded: message transport, transformation and replay tooling (Domain 2); filler-side worklists and the resolution of unmatched results and status events (Domain 4, UI-ANC-004).

5.7.3 Detailed Requirements

Requirement FR-CLI-ORD-001: Clinical Order Catalogue

Attribute Description
Requirement ID FR-CLI-ORD-001
Requirement Name Clinical order catalogue
Requirement Type Functional
Module Clinical Order Catalogue and Order Lifecycle Coordination
Functional Area FA-CLI-014 Order catalogue
Priority Must
Criticality High
Requirement Status Draft
Source PRS ORD-002 (required fields validated by order type), CLN-001; contributes to DAT-001, CFG-001, CFG-002, ACC-010
Related Business Rule BR-CLI-008
Related Workflow WF-CLI-002

1. Requirement Statement

The system shall maintain a governed, versioned and effective-dated clinical order catalogue that defines, for each orderable item, its order class, coded identity, required and optional fields, defaults, permitted urgencies, permitted ordering roles, routing destination rules, duplicate-check parameters and whether pharmacist verification applies.

2. Business Rationale

The catalogue is the single definition that makes order entry, validation, routing and duplicate checking consistent. The catalogue version is part of the order's context (REF-002 section 5.2).

3. Actors and Permissions

Actor Permission Conditions
ACT-CLI-008 Create / Update draft catalogue entries On UI-CLI-020
ACT-CLI-009 Approve; retire Governance workflow. The pharmacy lead approves entries for pharmacy services and the laboratory lead for laboratory services, as approvers within ACT-CLI-009. The approver is never the author of the version
ACT-CLI-011 Promote; roll back Change control
All ordering clinicians Read Active entries for their facility

4. Preconditions - Referenced master data (services, procedures, medications, performing departments) exists in Domain 10 master data with owners and effective dates.

5. Trigger - Catalogue change request; master-data change affecting an orderable.

6. Functional Behaviour

  1. Each catalogue entry shall hold: identifier, name and synonyms, order class, terminology binding (for example LOINC for laboratory orderables, medication terminology for medication orderables), facility availability, required-field definition, defaults, permitted urgencies, permitted ordering roles, destination routing rule, duplicate window and equivalence group, verification requirement, patient-preparation instructions and status.
  2. Entries shall be versioned and effective-dated; a change shall create a new version and shall not alter orders placed under an earlier version.
  3. A catalogue entry shall reference, and not duplicate, the master-data item it orders; deactivation of the master-data item shall flag the entry.
  4. The system shall validate catalogue changes before approval (bindings valid, destination exists, required-field definitions well formed) and shall support promotion across environments and rollback.
  5. The catalogue shall be discoverable through an API for consumers such as Domain 9 pathway authoring.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Orderable identifier and name String Yes Unique within catalogue
Order class Code Yes Supported class
Terminology binding Coded Yes where a standard code applies Active code
Required-field definition Structured Yes Well formed Drives BR-CLI-008
Routing rule Structured Yes Destination exists and is active
Duplicate parameters Structured No Positive window
Effective period Dates Yes End not before start

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-ORD-001-01 Only one active version of an orderable per facility at a time Unambiguous definition
PR-ORD-001-02 Retiring an orderable flags order sets and favourites that reference it Controlled impact

9. Output Requirements

Output Format Recipient Description
Catalogue API; screen; export CPOE, Domain 9, governance Maintained on UI-CLI-020
Catalogue change record Audit / change log Governance

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Destination missing or inactive Registry check Block approval "Routing destination invalid"
Binding to inactive code Terminology check Block approval or flag "Code inactive"

11. State and Lifecycle Behaviour

Catalogue entry version: Draft, In Review, Approved, Active, Superseded, Retired, following the content version state model of section 4.3, with activation by the system at the effective date and rollback.

12. Audit Requirements

  • All catalogue changes with before and after values, approver and effective date.

13. Security and Privacy Requirements

  • Catalogue content is Internal. Authoring and approval are separated.

14. Acceptance Criteria

  • AC-01: Given a catalogue entry with required fields, when an order of that type is signed without one, then validation fails by order type (PRS ORD-002 acceptance).
  • AC-02: Given a catalogue change, when it is rolled back, then the prior version is active and existing orders are unchanged.
  • AC-03: Given the go-live content review, when the catalogue is exported, then every active entry shows owner approval (PRS ACC-010).

15. Dependencies and Integration

16. Open Questions / Assumptions

  • The split of stewardship between the order catalogue (this domain) and service, procedure and medication masters (Domain 10 governance, departmental owners) is assumed as stated (ASM-CLI-002).

Requirement FR-CLI-ORD-002: Order Lifecycle, Modification and Duplicate Control

Attribute Description
Requirement ID FR-CLI-ORD-002
Requirement Name Order lifecycle, modification and duplicate control
Requirement Type Functional
Module Clinical Order Catalogue and Order Lifecycle Coordination
Functional Area FA-CLI-015 Order lifecycle and duplicate control
Priority Must
Criticality Critical
Requirement Status Draft
Source PRS ORD-004, CLN-003, SAFE-004; contributes to INT-004, NFR-005
Related Business Rule BR-CLI-009, BR-CLI-010, BR-CLI-011, BR-CLI-012, BR-CLI-014
Related Workflow WF-CLI-002

1. Requirement Statement

The system shall manage every order through an explicit lifecycle that distinguishes draft/unsigned, pending verification, active, in progress, completed, cancelled and discontinued states as applicable, shall preserve the complete event history of cancellation, modification and replacement, shall detect duplicate orders including orders in flight, and shall prevent duplicate business effects from repeated submission.

2. Business Rationale

Ambiguous order state causes missed and duplicated care. Cancelled or replaced orders that still look active, and double submissions that create two orders, are known hazards (Architecture 10.1).

3. Actors and Permissions

Actor Permission Conditions
Ordering clinicians Modify, cancel, hold, discontinue Privileges for the order class; reason mandatory
ACT-CLI-003 Verify, return Medication orders
ACT-CLI-013 Update fulfilment status Scoped service identity; own orders only
ACT-CLI-002 Hold dose or order where policy allows Reason mandatory
ACT-CLI-002 (registered nurse), ACT-CLI-003 Transcribe downtime orders After restoration, on UI-CLI-018

4. Preconditions - The order exists; the requested transition is valid from its current state.

5. Trigger - Sign, verify, return, accept, reject, progress update, hold, release, modify, replace, cancel, discontinue, complete.

6. Functional Behaviour

  1. The system shall implement the order transitions of section 4.3 and reject any other transition with a reason.
  2. Every transition shall append an order event (type, actor, time, reason, previous and new state, correlation identifier); the event history shall be viewable on the order.
  3. Modification shall create a new order version, or a replacement order linked by "replaces/replaced by", according to the catalogue rule for the order class; the superseded version or order shall remain retrievable and shall never be displayed as active.
  4. Cancellation and discontinuation shall require a reason and shall send a cancellation or discontinuation request to the receiver; where the receiver reports the work already started or performed, the system shall show the conflict to the clinician.
  5. Duplicate detection shall run at order selection and signing against active, pending and in-flight orders for the same orderable or equivalence group within the duplicate window, including unsigned drafts in the current session, and shall require confirmation with reason to proceed.
  6. Each submission shall carry an idempotency key; a repeated submission with the same key shall return the original outcome without creating a second order or event.
  7. State changes shall use version checks so that concurrent changes are not resolved by last-write-wins.
  8. Each committed transition shall be published as a domain event through a transactional outbox.
  9. When an encounter is discharged or cancelled, the system shall list remaining non-terminal orders for review and apply the configured rule per order class (auto-discontinue with reason, or require clinician action).
  10. Orders written on downtime forms shall be transcribed after restoration by a registered nurse or a pharmacist, with the downtime form number, original prescriber and original time (WF-CLI-008). A transcribed order marked as already performed shall not be sent again to the performing service. A transcribed order shall require co-signature by the original prescriber within 24 hours.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Order identifier and version Identifier Yes Current version Target
Transition Code Yes Valid from current state
Reason Code + text Yes for cancel, discontinue, hold, duplicate override, return Governed list
Effective time Date/time No (defaults to now) Not before order start For discontinue and hold
Idempotency key String Yes

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-ORD-002-01 Completed, Cancelled and Discontinued are terminal; correction after a terminal state is by a new order Stable history
PR-ORD-002-02 Out-of-order fulfilment events are applied by event time and sequence; an event that implies an invalid transition is held for reconciliation Controlled outcome for disordered delivery
PR-ORD-002-03 Duplicate detection for peri-procedural one-time medication and intentional combinations uses rule-specific logic (PRS 11.2 duplicate therapy) Fewer low-value duplicate warnings

9. Output Requirements

Output Format Recipient Description
Order state and history Screen; API Clinicians; Domain 4; Domain 9
OrderPlaced / OrderCancelled / OrderDiscontinued / OrderCompleted Events Domains 4, 5, 8, 9 EVT-CLI-012, EVT-CLI-014 to EVT-CLI-016. Acceptance is not republished here: Domain 4 publishes it as FulfilmentOrderAccepted (EVT-ANC-001)

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Invalid transition State model Reject "Order cannot be cancelled in its current state" (state-specific)
Stale version Version check Reject; reload "Order was changed by another user"
Duplicate order Duplicate rule Warn; require reason or abandon Shows existing order with status and time
Receiver reports already performed on cancel Receiver response Keep In Progress or Completed; notify "Cancellation not possible; work already performed"

11. State and Lifecycle Behaviour

Owns the order state model of section 4.3 for all order classes.

12. Audit Requirements

  • Every transition and every rejected transition attempt; duplicate overrides with reason.

13. Security and Privacy Requirements

  • Transitions are authorized per role, order class and relationship; fulfilment services may update only orders routed to them.

14. Acceptance Criteria

  • AC-01: Given a cancelled or replaced order, when order lists are displayed, then it remains traceable and is not shown as active (PRS ORD-004 acceptance).
  • AC-02: Given the same order submission sent twice, when processing completes, then exactly one order exists (PRS SAFE-004 acceptance, duplicate order test).
  • AC-03: Given an active order for the same test within the duplicate window, when a second is entered, then the clinician is shown the existing order and must give a reason to proceed.
  • AC-04: Given each state and transition in the model, when workflow tests are executed including an order in flight, then valid transitions succeed and invalid ones are rejected (PRS CLN-003 acceptance).

15. Dependencies and Integration

16. Open Questions / Assumptions

  • The states On Hold and Rejected-Action Required extend the PRS CLN-003 list under its "as applicable" wording (ASM-CLI-005). They are part of the order state model in section 4.3 and map to the FHIR R4 ServiceRequest and MedicationRequest status values on-hold and active (with a rejection reason on the fulfilment task), so national exchange needs no extension.

Requirement FR-CLI-ORD-003: Order Routing, Fulfilment Tracking and Escalation

Attribute Description
Requirement ID FR-CLI-ORD-003
Requirement Name Order routing, fulfilment tracking and escalation
Requirement Type Functional
Module Clinical Order Catalogue and Order Lifecycle Coordination
Functional Area FA-CLI-016 Routing and fulfilment tracking
Priority Must
Criticality Critical
Requirement Status Draft
Source PRS ORD-005; contributes to RES-005, INT-004, INT-005, NFR-003, NFR-005
Related Business Rule BR-CLI-013, BR-CLI-014, BR-CLI-037
Related Workflow WF-CLI-002, WF-CLI-006

1. Requirement Statement

The system shall route each released order to the correct department or worklist, shall track acknowledgement, acceptance, collection, performance and completion, shall ensure that no order is silently lost, and shall escalate stale or unacknowledged orders.

2. Business Rationale

A sent message is not a fulfilled order. The ordering side must know whether the performing service has the order and must surface the ones it does not.

3. Actors and Permissions

Actor Permission Conditions
ACT-CLI-001, ACT-CLI-002 Read tracking status for their patients Care relationship
ACT-CLI-007, ACT-CLI-017 Read and act on stale-order worklist: contact the orderer, mark followed up Unit scope
Ordering clinician (ACT-CLI-001 or the clinician who signed the order) Act on own stale orders: cancel, order again, confirm still required Reason required to confirm still required
ACT-CLI-013 Send acknowledgement, acceptance, rejection, progress Scoped service identity

4. Preconditions - The order is Active (released) and has a destination from the catalogue routing rule.

5. Trigger - Order release; receipt of an acknowledgement or status event; expiry of a tracking timer.

6. Functional Behaviour

  1. The system shall resolve the destination from the catalogue routing rule using order class, facility, patient location, urgency and time, and shall publish the order through Domain 2 with the stable placer identifier.
  2. The system shall record dispatch status separately from order state: queued, sent, acknowledged (technical receipt), accepted (on the receiving worklist), rejected or failed (could not be delivered).
  3. The system shall record fulfilment milestones reported by Domain 4 (specimen collected, received, study scheduled, started, performed, preliminary result, final result) with their times and filler identifiers.
  4. Timers per urgency and destination (CFG-CLI-008) shall detect orders not acknowledged, not accepted, or not progressed within threshold; such orders shall appear on a stale-order worklist on UI-CLI-009 and trigger notification and escalation. The charge nurse or unit coordinator may record that the orderer was contacted, or mark the item followed up; neither changes the order state. The ordering clinician may cancel the order, order again, or choose "Confirm still required" with a reason. Confirming resets the stale timer once; if the order becomes stale again it returns to the worklist and cannot be confirmed a second time.
  5. The system shall maintain placer-to-filler identifier associations and shall show on the stale-order worklist orders without results beyond expected turnaround. Status events that cannot be matched to an order are resolved by Domain 4 on UI-ANC-004; this domain shows only their status on the order once matched. In stage 3, while orders go to a simulated fulfilment service, unmatched events are shown as integration exceptions on the Domain 2 integration operations console UI-ISE-001.
  6. If the destination or integration is unavailable, the order shall remain queued with a visible status, and the clinician shall be informed so that the downtime procedure can be used for urgent orders.
  7. Chargeable order events shall be published for asynchronous consumption; consumer failure shall not affect order state.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Placer order identifier Identifier Yes Exists Order tracked
Filler identifier Identifier Yes on acceptance Unique per filler From receiver
Status event type and time Code; date/time Yes Valid milestone; plausible time
Rejection reason Code + text Yes on rejection
Confirm-still-required reason Text Yes when confirming a stale order Non-empty; once per order

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-ORD-003-01 Duplicate status events (same event identifier) are ignored Idempotent consumption
PR-ORD-003-02 A status event for an unknown placer identifier is passed to the Domain 4 unmatched worklist (UI-ANC-004), not discarded No silent loss
PR-ORD-003-04 "Confirm still required" resets the stale timer of an order once A stale order is not confirmed repeatedly without review
PR-ORD-003-03 Escalation timers pause for orders On Hold and stop at terminal states No false escalations

9. Output Requirements

Output Format Recipient Description
Order message HL7 v2 order message or FHIR ServiceRequest / MedicationRequest per profile, via Domain 2 Domain 4 service or external system IF-CLI-003
Tracking status Screen Clinicians On order and patient views
Stale-order worklist and notifications Worklist; notification Unit and destination supervisors; ordering clinician UI-CLI-009

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
No acknowledgement within threshold Timer Stale worklist; notify; escalate "Order not yet received by [destination]"
Negative acknowledgement NACK Set dispatch status to failed; retry per Domain 2 policy; show status "Order could not be delivered"
Order rejected Rejection event Rejected-Action Required; notify ordering clinician Reason displayed

11. State and Lifecycle Behaviour

Drives Active to In Progress to Completed, and Active to Rejected-Action Required (section 4.3). Dispatch status is a separate attribute.

12. Audit Requirements

  • Dispatch, acknowledgement, acceptance, rejection, each milestone, and each escalation with times and correlation identifier.

13. Security and Privacy Requirements

  • Order messages carry the minimum data required by the receiving service profile. System-to-system channels are authenticated and encrypted by Domain 2.

14. Acceptance Criteria

  • AC-01: Given a released order, when the receiving worklist does not acknowledge within the configured time, then the order is escalated and visible on the stale-order worklist (PRS ORD-005 acceptance: no order silently lost).
  • AC-02: Given an order, when acknowledgement, acceptance, collection, performance and completion events arrive, then each is recorded with its time and visible to the ordering clinician.
  • AC-03: Given a status event with an unknown placer identifier, when processed, then it appears on the Domain 4 unmatched worklist (in stage 3, as an integration exception on UI-ISE-001) and is not shown in any chart.
  • AC-05: Given a stale order, when the ordering clinician confirms it still required with a reason, then the stale timer restarts once, and when the order becomes stale again, then it returns to the worklist without the confirm action.
  • AC-04: Given a simulated Domain 5 outage, when orders are placed, then orders complete normally and charge events are delivered after recovery.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • PRS ORD-005 is treated as primarily owned by this domain for lifecycle coordination, with Domain 4 owning worklist-side acceptance and fulfilment (section 17.1 note).
  • Thresholds per urgency are governance configuration. Defaults (CFG-CLI-008): Emergency 1 hour, Urgent 4 hours, Routine 72 hours not acted on.

← 5.6 Module Specification: CPOE and Order Sets | Contents | Identifier index | 5.8 Module Specification: Medication History and Medication Reconciliation →