R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example PlanDefinition/options-example (XML)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No 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> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"><valueCode value="cds"/> </extension> 
  <name value="ThisExampleIllustratesRelationshipsBetweenActions"/> 
  <title value="This example illustrates relationships between actions."/> 
  <status value="draft"/> 
  <publisher value="HL7 International / Clinical Decision Support"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      </telecom> 
  </contact> 
  <description value="This example illustrates relationships between actions."/> 
  <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> 
        <targetId 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.