Clinical Intelligence StandardsVersion 0.2

Functional standard / Definition kinds / Constrains ClinicalDocument

clinical_document

A printable template: type, letterhead slots, body placeholders, sharing and protection.

Runtime

Moving to ready signs it. Share still checks consent. Placeholders are filled from the source record.

Elements

NameCard.TypeDescription
defaults0..1objectFields copied onto a new instance. Values given at creation win.
approval_required_for0..*codeExtra states that need an Approval to enter.
doc_type1..1codeprescription, clinical_report, consent_form, or a local type.
header_html0..1stringLetterhead HTML.
footer_html0..1stringFooter HTML.
watermark0..1stringWatermark.
body_template0..1stringHTML with {placeholders}.
shareable_with_patient1..1booleanWhether share is offered.
protected1..1booleanProtected documents are not shared.
expires_after_days0..1integerSets expires_at from the ready time.
consent_scope0..1codeConsent forms: the scope this form grants.
signers0..*codeConsent forms: patient, clinician, or witness.
require_otp1..1booleanConsent forms: the patient's signing link asks for a one-time code.
link_expiry_minutes1..1integerConsent forms: signing link lifetime, default 30.
language1..1codeBCP 47 language tag of the form, default en.

Example

{ "doc_type": "prescription", "shareable_with_patient": true, "body_template": "<p>{drugs}</p>" }