Generated from
smart-base/L4/skills/smart-l4/apply-decision-support.md— do not edit here.
Apply decision support
Skill id:
apply-decision-support· Package:authoring-who-smart-guidelines· TaskTask_Applyofact-on-decision-support.bpmn(Process_ActOnDecisionSupport), lanepoint-of-care-system.
Performed by a system. It computes guidance; it never acts on it. Only
the health worker’s decision, carried out by
activate-accepted-guidance, changes the
client’s record.
The operation is FHIR
PlanDefinition/$apply
as HL7 CPG-on-FHIR profiles it: a DAK’s
decision tables (L2 DMN) are published at L3 as PlanDefinitions with CQL
libraries, and $apply evaluates one for one subject. A CDS service
reached through CDS Hooks 2.0 returns
the same proposal as cards whose suggestions carry the resources.
Input and output
The contract is input.schema.json
and output.schema.json.
- In: the
planDefinitioncanonical, thesubject, and optionally theencounter, thepractitionerand thedata(a Bundle) to evaluate against when the record is not on the server. - Out: the
requestGroup(RequestGroup or RequestOrchestration), each action’s resource withstatus: draftandintent: proposal, and thecardswhen the guidance came through CDS Hooks.
Success criteria
- Nothing is written to the client’s record: every created request is a
draftproposal, held with the RequestGroup. - Every action carries the PlanDefinition action it came from, and its
documentationor carddetailsays why, so the health worker can judge it without opening anything else. - No applicable action is an empty RequestGroup, not an error, and the process ends without asking the health worker anything.
Input and output contracts
What this skill takes and gives, as a class diagram drawn from its JSON Schema contracts by the schemas viewer’s own renderer. Each box links to its definition; each type to its specification.
- input:
smart-base/L4/schemas/skills/apply-decision-support/input.schema.json - output:
smart-base/L4/schemas/skills/apply-decision-support/output.schema.json
Processes that run this skill
| process | step(s) that name it |
|---|---|
| Act on decision-support guidance | Apply the PlanDefinition |