Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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.xml

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

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Plan Definition Illustrating Related Actions (id = "options-example")

<?xml version="1.0" encoding="UTF-8"?>

<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="options-example"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">[Put rendering here]</div> 
  </text> 
  <contained> 
    <ActivityDefinition> 
      <id value="activitydefinition-medicationrequest-1"/> 
      <status value="draft"/> 
      <kind value="MedicationRequest"/> 
      <productCodeableConcept> 
        <text value="Medication 1"/> 
      </productCodeableConcept> 
    </ActivityDefinition> 
  </contained> 
  <contained> 
    <ActivityDefinition> 
      <id value="activitydefinition-medicationrequest-2"/> 
      <status value="draft"/> 
      <kind value="MedicationRequest"/> 
      <productCodeableConcept> 
        <text value="Medication 2"/> 
      </productCodeableConcept> 
    </ActivityDefinition> 
  </contained> 
  <title value="This example illustrates relationships between actions."/> 
  <status value="draft"/> 
  <action> 
    <groupingBehavior value="logical-group"/> 
    <selectionBehavior value="all"/> 
    <action id="medication-action-1">
      <title value="Administer Medication 1"/> 
      <definitionCanonical value="#activitydefinition-medicationrequest-1"/> 
    </action> 
    <action id="medication-action-2">
      <title value="Administer Medication 2"/> 
      <relatedAction> 
        <actionId value="medication-action-1"/> 
        <relationship value="after-end"/> 
        <offsetDuration> 
          <value value="1"/> 
          <unit value="h"/> 
        </offsetDuration> 
      </relatedAction> 
      <definitionCanonical value="#activitydefinition-medicationrequest-2"/> 
    </action> 
  </action> 
</PlanDefinition> 

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.