Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Plandefinition-options-example.ttl

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Plan Definition Illustrating Related Actions

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:PlanDefinition;
  fhir:Resource.id [ fhir:value "options-example"], [ fhir:value "activitydefinition-medicationrequest-1"], [ fhir:value "activitydefinition-medicationrequest-2"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:PlanDefinition.title [ fhir:value "This example illustrates relationships between actions."];
  fhir:PlanDefinition.status [ fhir:value "draft"];
  fhir:PlanDefinition.experimental [ fhir:value "true"];
  fhir:PlanDefinition.action [
     fhir:index 0;
     fhir:PlanDefinition.groupingBehavior [ fhir:value "logical-group" ];
     fhir:PlanDefinition.selectionBehavior [ fhir:value "all" ];
     fhir:PlanDefinition.action [
       fhir:index 0;
       fhir:Element.id [ fhir:value "medication-action-1" ];
       fhir:PlanDefinition.title [ fhir:value "Administer Medication 1" ];
       fhir:PlanDefinition.definition [ fhir:value "#activitydefinition-medicationrequest-1" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "medication-action-2" ];
       fhir:PlanDefinition.title [ fhir:value "Administer Medication 2" ];
       fhir:PlanDefinition.relatedAction [
         fhir:index 0;
         fhir:PlanDefinition.actionId [ fhir:value "medication-action-1" ];
         fhir:PlanDefinition.relationship [ fhir:value "after-end" ];
         fhir:PlanDefinition.offset [
           fhir:Quantity.value [ fhir:value "1" ];
           fhir:Quantity.unit [ fhir:value "h" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "h" ]
         ]
       ];
       fhir:PlanDefinition.definition [ fhir:value "#activitydefinition-medicationrequest-2" ]
     ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.