Skip to content

MOD CLI 003 DOC

Domain specifications / D03-CLI / 5. Detailed Functional Requirements / 5.3 Module Specification: Clinical Notes, Forms, Templates, Flowsheets and Signatures

5.3 Module Specification: Clinical Notes, Forms, Templates, Flowsheets and Signatures

5.3.1 Module Overview

Module ID: MOD-CLI-003

Purpose:
Provide structured and narrative clinical documentation built on governed, versioned templates, with complete provenance, signature and immutable signed content that can only be amended by appending.

Business Capabilities: - CAP-CLI-003 Clinical documentation

Primary Actors: - ACT-CLI-001, ACT-CLI-002, ACT-CLI-003, ACT-CLI-005, ACT-CLI-006, ACT-CLI-012; ACT-CLI-008 (content)

Dependencies: - Domain 10 terminology, configuration lifecycle and document service; Domain 6 (consumer of signature and amendment events); MOD-CLI-001

5.3.2 Functional Area: Structured and Narrative Documentation

Functional Area ID: FA-CLI-005

Description:
Authoring of notes, forms and flowsheets from templates, including copy-forward controls.

Scope: - Included: structured notes, consultation reports, progress notes, assessments, discharge summaries, specialty templates, flowsheets, attachments by reference. - Excluded: anaesthesia and intra-operative records and ICU flowsheets (Domain 4); document storage, classification lifecycle and retention (Domains 10 and 6).

5.3.2a Functional Area: Signature and Amendment

Functional Area ID: FA-CLI-006

Description:
Provenance capture, signing, co-signing, immutability and amendment.

Scope: - Included: signature, co-signature, amendment, addendum, entered-in-error. - Excluded: record locking and legal hold (Domain 6).

5.3.3 Detailed Requirements

Requirement FR-CLI-DOC-001: Structured and Narrative Documentation with Governed Templates

Attribute Description
Requirement ID FR-CLI-DOC-001
Requirement Name Structured and narrative documentation with governed templates
Requirement Type Functional
Module Clinical Notes, Forms, Templates, Flowsheets and Signatures
Functional Area FA-CLI-005 Structured and narrative documentation
Priority Must (EHR-002, CLN-005); the 90% structured-documentation target of CLN-006 is Should
Criticality High
Requirement Status Draft
Source PRS EHR-002, CLN-005, CLN-006; contributes to SPEC-004, EHR-007, CFG-001, CFG-002, SDLC-003
Related Business Rule BR-CLI-004, BR-CLI-007
Related Workflow WF-CLI-001

1. Requirement Statement

The system shall support structured notes, consultation reports, progress notes, assessments, discharge summaries, forms and flowsheets composed of discrete governed clinical fields plus narrative, authored from versioned specialty templates bound to configurable clinical terminology, such that historical entries retain the template version they were created with and content remains readable, searchable, exportable and versioned.

2. Business Rationale

Structured documentation makes clinical content reusable for decision support, handover, coding and analytics while narrative preserves clinical nuance. Governed templates let specialties extend documentation without forking the core platform (PRS SPEC-004).

3. Actors and Permissions

Actor Permission Conditions
ACT-CLI-001, ACT-CLI-002, ACT-CLI-003, ACT-CLI-005, ACT-CLI-006 Create / Read / Update drafts Document types permitted to the role
ACT-CLI-008 Create / Update template versions Draft templates only; on UI-CLI-020
ACT-CLI-009 Approve and retire template versions Governance workflow; the approver is never the author of the version
ACT-CLI-011 Promote approved templates; roll back Change control

4. Preconditions - An approved, effective template version exists for the document type and facility.

5. Trigger - A clinician starts or continues a document; a steward creates or changes a template.

6. Functional Behaviour

  1. The system shall provide a template model with sections, discrete fields (coded, quantity with unit, date/time, boolean, choice, calculated), narrative blocks, repeating groups, conditional display, mandatory rules and terminology bindings.
  2. Templates shall be versioned and effective-dated, approved before activation, validated automatically before deployment (schema and terminology-binding validation) and reversible to the prior version. The system shall activate an approved version at its effective date. Rolling back shall re-activate the previous version and mark the rolled-back version Superseded. Templates, including flowsheet layouts, are authored and approved on UI-CLI-020.
  3. Each document shall record the template identifier and version; display of a historical document shall use that version.
  4. The system shall provide flowsheets: time-columned grids of repeated observations or assessments defined by template, with each cell stored as a discrete observation. Observation sets recorded on a flowsheet are validated, not signed; they follow the observation validity status of FR-CLI-OBS-001. An assessment recorded on a flowsheet is a clinical document and is signed. The flowsheet is shown on UI-CLI-005.
  5. Structured fields that correspond to record entities (diagnoses, allergies, observations, medications) shall read from and, on signing, write to those entities so that data is entered once.
  6. The system shall autosave drafts, preserve work across interruption and restore context without duplicate submission.
  7. Documents shall be searchable by patient, encounter, type, author, date and content, and exportable in a documented format with their structure, codes and version history.
  8. A clinician shall be able to attach a document or image by reference to a Domain 10 document reference with metadata (type, author, date, encounter).
  9. The system shall record, for each signed document, whether it was authored with discrete structured fields, to support the structured-documentation measure (KPI-CLI-002) by note class and service line.
  10. New specialty templates shall be deployable through configuration and controlled release without code change to the core.
  11. A procedure note for a procedure flagged "privilege required" in the Domain 10 service and procedure registry runs the privilege check for the performer at signing, with the refusal and the audited emergency override of FR-CLI-CPO-001 part 6.10 (set 17 Nov 2026).

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Document type Code Yes Permitted to the author's role Note or form class
Template version Identifier Yes (system-assigned) Approved and effective
Structured field values Per field definition Per template rule Value set, unit (UCUM), range, format Discrete content
Narrative Rich text Per template rule Length limit; no embedded active content Free text
Attachment reference Document reference No Exists in Domain 10 document service

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-DOC-001-01 Calculated fields use the formula version in the template; inputs and result are both stored Reproducible calculations
PR-DOC-001-02 Mandatory-field rules are enforced at signing, not at draft save Work in progress is never lost to validation
PR-DOC-001-03 A template change never alters existing documents Historical integrity

9. Output Requirements

Output Format Recipient Description
Draft / signed document Structured document Clinical record
Template catalogue Screen; export Informatics, governance Versions, status, owner, effective dates
ClinicalEntryCreated Event Domain 6, Domain 8 EVT-CLI-001

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Mandatory field empty at signing Template rule Block signing; list missing fields "Complete required fields before signing"
Invalid unit or out-of-range value UCUM and range check Reject or require confirmation per field rule "Value outside expected range; confirm or correct"
Template fails validation in pipeline Schema / binding check Deployment fails Reported to steward

11. State and Lifecycle Behaviour

Documents follow the clinical document state model (section 4.3). Template versions follow the content version state model of section 4.3: Draft, In Review, Approved, Active, Superseded, Retired, with rollback.

12. Audit Requirements

  • Document create, draft save (metadata), view, print, export; template create, approve, promote, rollback with approver identity.

13. Security and Privacy Requirements

  • Document types may carry default privacy labels (for example designated sensitive note classes) applied at creation.
  • Classification: Sensitive. Draft visibility is limited to the author and policy-designated roles.

14. Acceptance Criteria

  • AC-01: Given a document created with template version 1, when version 2 is activated, then the document still renders with version 1 and new documents use version 2.
  • AC-02: Given an approved template change, when it is promoted and then rolled back, then prior behaviour is restored and the audit history shows both actions.
  • AC-03: Given a signed structured note, when it is exported, then discrete fields, codes, narrative and version history are present in the documented format.
  • AC-04: Given a new specialty template, when it is deployed through configuration and controlled release, then no core code change is required and unrelated templates are unaffected.
  • AC-05: Given the agreed note classes, when the structured-documentation report is run, then it reports numerator, denominator and exclusions by service line.

15. Dependencies and Integration

  • Upstream dependencies: Domain 10 terminology, configuration lifecycle, document service.
  • Downstream dependencies: Domain 6 (chart completion, legal record), Domain 8, MOD-CLI-001.
  • Required events or APIs: EVT-CLI-001; IF-CLI-001.

16. Open Questions / Assumptions

  • Whether templates are expressed as openEHR-style archetypes and templates or equivalent domain schemas follows DEC-CLI-003.
  • The "agreed note classes" for the 90% measure must be approved before the target is used (PRS section 27).

Requirement FR-CLI-DOC-002: Provenance, Signature, Immutability and Amendment

Attribute Description
Requirement ID FR-CLI-DOC-002
Requirement Name Provenance, signature, immutability and amendment
Requirement Type Functional
Module Clinical Notes, Forms, Templates, Flowsheets and Signatures
Functional Area FA-CLI-006 Signature and amendment
Priority Must
Criticality Critical
Requirement Status Draft
Source PRS EHR-003, EHR-004; contributes to SEC-019, SEC-020, HIM-001, DAT-004
Related Business Rule BR-CLI-002, BR-CLI-003, BR-CLI-035, BR-CLI-038
Related Workflow WF-CLI-001, WF-CLI-008

1. Requirement Statement

The system shall capture author, role, encounter, timestamps, status, source, amendment history and signature for every clinical entry, shall make signed clinical documentation immutable, and shall record corrections only as appended amendments with reason, author and time, with the original and every amendment retrievable.

2. Business Rationale

The clinical record is a legal and clinical account of care. Its value depends on knowing who recorded what and when, and on the assurance that signed content has not been altered (REF-002 boundary principle).

3. Actors and Permissions

Actor Permission Conditions
Author (any clinical role) Save without signing; sign own entries Authenticated; re-authentication where policy requires
Supervising clinician Approve (co-sign) Assigned supervisor or policy-designated role
Author or policy-authorized clinician Create amendment / addendum Reason mandatory for amendment
Author, or HIM role under policy Mark entered in error Reason mandatory; done on UI-CLI-003 for every clinical entry (OV-118)
HIM manager Reverse an entered-in-error marking Reason mandatory; started on UI-HIM-006 and sent to this domain as a command (OV-118)
Any user Delete signed content Never permitted

4. Preconditions - For signing: the entry is in Draft or Saved (not signed) and passes mandatory-field validation. - For amendment: the entry is Signed or Amended. A Domain 6 chart lock never blocks an amendment; under a legal hold the amendment is routed to HIM for approval.

5. Trigger - Save, sign, co-sign, amend, add addendum or mark entered in error.

6. Functional Behaviour

  1. The system shall record on every entry: author identity and role at the time of authorship, encounter, event (effective) time, recorded time, status, source (direct entry, device, import, downtime transcription, AI draft) and, where signed, signer, signing time and signature meaning (author, co-signer, witness).
  2. On signature the system shall fix the content, compute an integrity value over the signed content, and reject any subsequent update or delete request at the service and persistence boundary.
  3. An amendment shall be a new version containing the corrected content, a mandatory reason, author and time, linked to the version it amends; an addendum shall be an appended linked entry that does not replace displayed content.
  4. Chart views shall show the current version by default with a visible "amended" indicator and one-step access to the original and all intermediate versions.
  5. Marking an entry entered in error shall retain the entry, show it struck through with the reason, and notify consumers of the change.
  6. Late entries and downtime transcriptions shall carry the original event time, the transcription time, the original author and the transcriber. An entry whose event time is earlier than its recording time by more than the late-entry threshold (CFG-CLI-023, default 24 hours) is shown "Late entry · observed [time]".
  7. The system shall publish ClinicalEntrySigned and ClinicalEntryAmended events containing entry identifier, version, patient, encounter, type, author and times.
  8. A provenance record shall link each clinical assertion to its author, any validator or co-signer, device, source entity and transformation activity.
  9. The author may save an entry without signing it. A saved entry is shown as "Saved (not signed)": it is visible to the care team, is not signed and can be edited or signed by its author. A Draft is visible to its author only.
  10. An entry authored by a supervised role shall be shown as "Awaiting co-signature" until the supervisor signs or returns it. Which roles and entry types need co-signature, and the time allowed, are set by the co-signature policy (CFG-CLI-002); co-signature is never requested by hand.
  11. A Draft older than the ageing limit (CFG-CLI-003) shall be listed in the author's pending work with a reminder to the author. Drafts never go to Domain 6 deficiency lists. A "Saved (not signed)" entry older than the limit becomes a Domain 6 deficiency (unsigned document).

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Entry identifier and version Identifier Yes Version matches current (optimistic concurrency) Target entry
Action Code Yes save, sign, co-sign, amend, addendum, entered-in-error
Reason Code + text Yes for amend and entered-in-error Governed list
Re-authentication factor Credential Per policy Valid for the signer Signature assurance
Event time (late or downtime entry) Date/time Yes for late entries Not in the future; within encounter unless justified Original time of care

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-DOC-002-01 Any write to signed content other than append operations is rejected Immutability
PR-DOC-002-02 Version check on sign and amend; stale version is rejected No last-write-wins on clinical content
PR-DOC-002-03 Signing commits the entry and the outbound event in one transaction No signed entry without an event, and no event without a signed entry

9. Output Requirements

Output Format Recipient Description
Signed / amended entry Versioned record Clinical record
ClinicalEntrySigned / ClinicalEntryAmended Event Domains 6, 7, 8, 9 EVT-CLI-002, EVT-CLI-003
Version history view Screen Clinicians, HIM, auditors Original and amendments
Pending work Screen Author Drafts, "Saved (not signed)" entries and entries awaiting co-signature, on UI-CLI-001

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Update attempted on signed entry State check Reject; offer amendment "Signed entries cannot be edited. Create an amendment."
Amendment without reason Mandatory check Reject "A reason is required"
Entry under chart lock Domain 6 status Accept the amendment; Domain 6 reopens the chart and lists the post-lock change None
Entry under legal hold Domain 6 status Route the amendment to HIM for approval "Record is under legal hold; amendment sent to HIM for approval"
Re-authentication fails Credential check Do not sign; the entry stays in the state it had before signing (Draft or Saved (not signed)); nothing is lost "Signature not applied"

11. State and Lifecycle Behaviour

Implements the clinical document transitions in section 4.3. Signed, Amended and Entered in Error entries are never physically deleted by this domain; retention and disposal are governed by Domain 6.

12. Audit Requirements

  • Sign, co-sign, amend, addendum, entered-in-error and every rejected modification attempt, with user, role, time, entry version before and after, and reason.
  • Audit records are forwarded to the tamper-evident Domain 10 audit service.

13. Security and Privacy Requirements

  • Signing requires a unique human identity; service identities and AI services cannot sign (PRS SEC-001, 13.2).
  • Classification: Sensitive.

14. Acceptance Criteria

  • AC-01: Given a signed note, when any user or service attempts to modify or delete its content, then the request is rejected and audited.
  • AC-02: Given a signed note, when the author creates an amendment with a reason, then both the original and the amendment are retrievable and the chart shows the amended indicator (PRS EHR-004 acceptance).
  • AC-03: Given any clinical entry, when its provenance is displayed, then author, role, encounter, timestamps, status, source and signature are shown in the chart view and present in audit (PRS EHR-003 acceptance).
  • AC-04: Given an AI-drafted draft, when no human signs it, then it never becomes part of the signed record.
  • AC-05: Given two concurrent amendment attempts on the same version, when both are submitted, then one succeeds and the other is rejected with a prompt to review.

15. Dependencies and Integration

  • Upstream dependencies: Domain 10 identity (re-authentication), audit; Domain 6 lock and legal-hold status.
  • Downstream dependencies: Domain 6 chart completion and legal record; Domain 7; Domain 8.
  • Required events or APIs: EVT-CLI-002, EVT-CLI-003.

16. Open Questions / Assumptions

  • Signature assurance has two levels (DEC-CLI-009, resolved 2026-11-17). Level 1, for every signature in the record: re-authentication at signing, with a content hash and an audit entry; session authentication alone is not accepted. Level 2, a certified electronic signature from a licensed certification provider: applied to documents that leave the hospital or support a JKN claim, starting with the discharge summary, then referral letters, medical certificates and death certificates; the document is sealed as a signed PDF when finalised, from the same sign dialog. An outage of the provider queues the document for signature and never blocks discharge.
  • Who may amend another author's entry is a HIM and clinical governance policy (ASM-CLI-008).

Requirement FR-CLI-DOC-003: Safe Copy-Forward

Attribute Description
Requirement ID FR-CLI-DOC-003
Requirement Name Safe copy-forward
Requirement Type Functional
Module Clinical Notes, Forms, Templates, Flowsheets and Signatures
Functional Area FA-CLI-005 Structured and narrative documentation
Priority Must
Criticality High
Requirement Status Draft
Source PRS CLN-008
Related Business Rule BR-CLI-006
Related Workflow WF-CLI-001

1. Requirement Statement

The system shall prevent unsafe copy-forward by showing the source and age of copied content, visibly flagging stale medication, allergy, diagnosis and observation content, and requiring the author to review clinically material fields before signing.

2. Business Rationale

Copying prior notes saves time but propagates outdated facts as if they were current, a recognized documentation hazard.

3. Actors and Permissions

Actor Permission Conditions
Authors (any clinical role) Create (copy-forward into own draft) Source entry readable by the author; document types where copy-forward is enabled

4. Preconditions - A prior entry of a compatible type exists for the patient.

5. Trigger - The author selects copy-forward, or pastes content copied from another entry within the application.

6. Functional Behaviour

  1. The system shall mark each copied section or field with its source entry, source author and the age of the source.
  2. For fields configured as clinically material (at minimum medications, allergies, diagnoses and observations), the system shall offer the current value from the record alongside the copied value and shall flag a copied value that differs from the current record or exceeds its staleness limit.
  3. The author shall explicitly confirm, update or remove each flagged material field; signing shall be blocked until all are addressed.
  4. After signing, the provenance of copied content shall remain available on the entry.
  5. Copy-forward shall never copy signature, author or event time from the source.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Source entry Identifier Yes Same patient; readable by author Entry copied from
Review decision per flagged field Code Yes confirm, update, remove

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-DOC-003-01 Copy across patients is blocked No cross-patient contamination
PR-DOC-003-02 Staleness is computed from the source data's effective time, not the source note's time Accurate age

9. Output Requirements

Output Format Recipient Description
Draft with copy markers Screen Author Source and age indicators
Copy provenance Entry metadata Reviewers, auditors Retained after signing

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Signing with unreviewed flagged fields Review completeness Block "Review copied medication, allergy, diagnosis and observation content"
Source belongs to another patient Patient match Reject "Content cannot be copied between patients"

11. State and Lifecycle Behaviour

No separate lifecycle; affects the Draft to Signed transition.

12. Audit Requirements

  • Copy-forward use (source entry, target entry, user) and review decisions.

13. Security and Privacy Requirements

  • The author must be authorized to read the source; privacy labels of the source propagate to the copied content.

14. Acceptance Criteria

  • AC-01: Given a note copied from a prior note, when the draft is displayed, then each copied section shows its source and age.
  • AC-02: Given copied medication, allergy, diagnosis or observation content that differs from the current record, when the draft is displayed, then the content is visibly flagged as stale (PRS CLN-008 acceptance) and signing is blocked until reviewed.
  • AC-03: Given an attempt to copy from another patient's entry, when submitted, then it is rejected.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • The list of clinically material fields and staleness limits per field are governance configuration (CFG-CLI-005).

← 5.2 Module Specification: Problem List, History, Diagnoses and Allergies | Contents | Identifier index | 5.4 Module Specification: Clinical Observations and Vital-Sign Views →