Clinical Intelligence StandardsVersion 0.2

Functional standard / Definition kinds / Constrains Routine

routine

A reusable repeating duty.

Runtime

The schedule on the definition seeds the instance. /v1/routines/run creates tasks. It does not complete them.

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.
schedule0..1ScheduleDefault every_days, anchor, until, grace_days.

Example

{ "schedule": { "every_days": 1 }, "defaults": { "title": "Ward vitals", "assignee_role": "nurse" } }