Stream: shorthand
Topic: PlanDefinition.action.definition reference
Geoff Low (Jan 15 2021 at 20:52):
Hi - I'm trying to set the definition on an PlanDefinition.action and I'm struggling to work out the correct syntax
Instance: PULSE
InstanceOf: ActivityDefinition
Title: "Pulse"
Description: "Taking Pulse"
Usage: #example
* status = #active
Instance: VitalSigns
InstanceOf: PlanDefinition
Title: "Vital Signs"
Description: "Vital Signs Assessment"
Usage: #example
* status = #active
* action[+].title = "Blood Pressure"
* action[=].action[+].title = "Systolic Blood Pressure"
* action[=].action[=].definitionUri = SYSBP
* action[=].action[+].title = "Diastolic Blood Pressure"
* action[=].action[=].definitionUri = DIABP
* action[+].title = "Pulse"
* action[=].action.title = "Pulse Rate"
* action[=].action.definitionUri = PULSE
I've tried a few different combinations but the generated URIs don't seem to map (ie don't include the ActivityDefinition- prefix). What am I missing?
Chris Moesel (Jan 15 2021 at 23:09):
Hi @Geoff Low -- unfortunately, I don't think you're missing anything. As far as I recall, assigning a uri
by an instance ID is not defined by the FHIR Shorthand spec. It would be an interesting thing to consider though!
So, I'm afraid you'll just have to do via normal string assignment, e.g.:
* action[=].action.definitionUri = "ActivityDefinition/PULSE"
Last updated: Apr 12 2022 at 19:14 UTC