STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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-example.xml

Raw XML (canonical form)

Low Suicide Risk Order Set (id = "example")

<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Low Suicide Risk Order Set...</div>
  </text>
  <!--   The referral request here is only partially specified, additional information will be
   provided from context, see the action definition below   -->
  <contained>
    <ActivityDefinition>
      <id value="referralToMentalHealthCare"/>
      <status value="draft"/>
      <description value="refer to primary care mental-health integrated care program for evaluation and treatment
       of mental health conditions now"/>
      <category value="referral"/>
      <code>
        <coding>
          <!--   Error: Connection to http://localhost:960 refused   -->
          <!--  <system value="http://snomed.info/sct"/>  -->
          <code value="306206005"/>
        </coding>
      </code>
      <timingTiming>
        <event>
          <extension url="http://hl7.org/fhir/StructureDefinition/cqif-basic-cqlExpression">
            <valueString value="Now()"/>
          </extension>
        </event>
      </timingTiming>
      <participantType value="practitioner"/>
    </ActivityDefinition>
  </contained>
  <contained>
    <ActivityDefinition>
      <id value="citalopramPrescription"/>
      <status value="draft"/>
      <category value="drug"/>
      <productReference>
        <reference value="#citalopramMedication"/>
      </productReference>
      <!--   Need a DosageInstruction type
      <dosageInstruction>
        <text value="1 tablet oral 1 time daily"/>
        <timing>
          <repeat>
            <frequency value="1"/>
            <period value="1"/>
            <periodUnit value="d"/>
          </repeat>
        </timing>
        <route>
          <coding>
            <code value="26643006"/>
            <display value="Oral route (qualifier value)"/>
          </coding>
          <text value="Oral route (qualifier value)"/>
        </route>
        <doseQuantity>
          <value value="1"/>
          <unit value="{tbl}"/>
        </doseQuantity>
      </dosageInstruction>
        -->
      <!--   Need a DispenseRequest type
      <dispenseRequest>
        <numberOfRepeatsAllowed value="3"/>
        <quantity>
          <value value="30"/>
          <unit value="{tbl}"/>
        </quantity>
      </dispenseRequest>
        -->
      <dynamicValue>
        <path value="dosageInstruction.text"/>
        <expression value="'1 tablet oral 1 time daily'"/>
      </dynamicValue>
      <dynamicValue>
        <path value="dosageInstruction.timing.repeat.frequency"/>
        <expression value="1"/>
      </dynamicValue>
      <dynamicValue>
        <path value="dosageInstruction.timing.repeat.period"/>
        <expression value="1"/>
      </dynamicValue>
      <dynamicValue>
        <path value="dosageInstruction.timing.repeat.periodUnit"/>
        <expression value="'d'"/>
      </dynamicValue>
      <dynamicValue>
        <path value="dosageInstruction.route.coding"/>
        <expression value="code '26643006' from &quot;http://snomed.info/sct&quot; display 'Oral route (qualifier
         value)'"/>
      </dynamicValue>
      <dynamicValue>
        <path value="dosageInstruction.doseQuantity"/>
        <expression value="1 '{tbl}'"/>
      </dynamicValue>
      <dynamicValue>
        <path value="dispenseRequest.numberOfRepeatsAllowed"/>
        <expression value="3"/>
      </dynamicValue>
      <dynamicValue>
        <path value="dispenseRequest.quantity"/>
        <expression value="30 '{tbl}'"/>
      </dynamicValue>
    </ActivityDefinition>
  </contained>
  <contained>
    <Medication>
      <id value="citalopramMedication"/>
      <code>
        <coding>
          <!--   Error: Connection to http://localhost:960 refused   -->
          <!--  <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>  -->
          <code value="200371"/>
        </coding>
        <text value="citalopram"/>
      </code>
      <product>
        <form>
          <coding>
            <!--   Error: Connection to http://localhost:960 refused   -->
            <!--  <system value="http://snomed.info/sct"/>  -->
            <code value="385055001"/>
            <display value="Tablet dose form"/>
          </coding>
          <text value="Tablet dose form"/>
        </form>
        <ingredient>
          <itemReference>
            <reference value="#citalopramSubstance"/>
          </itemReference>
          <amount>
            <numerator>
              <value value="20"/>
              <unit value="mg"/>
            </numerator>
            <denominator>
              <value value="1"/>
              <unit value="{tbl}"/>
            </denominator>
          </amount>
        </ingredient>
      </product>
    </Medication>
  </contained>
  <contained>
    <Substance>
      <id value="citalopramSubstance"/>
      <code>
        <coding>
          <!--   Error: Connection to http://localhost:960 refused   -->
          <!--  <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>  -->
          <code value="2556"/>
        </coding>
        <text value="citalopram"/>
      </code>
    </Substance>
  </contained>
  <identifier>
    <use value="official"/>
    <value value="mmi:low-suicide-risk-order-set"/>
  </identifier>
  <version value="1.0.0"/>
  <title value="Low Suicide Risk Order Set"/>
  <status value="draft"/>
  <description value="..."/>
  <publicationDate value="2015-08-15"/>
  <coverage>
    <patientAgeGroup>
      <coding>
        <!--   Error: Connection to http://localhost:960 refused   -->
        <!--  <system value="http://snomed.info/sct"/>  -->
        <code value="133936004"/>
        <display value="Adult"/>
      </coding>
    </patientAgeGroup>
    <clinicalFocus>
      <coding>
        <!--   Error: Connection to http://localhost:960 refused   -->
        <!--  <system value="http://snomed.info/sct"/>  -->
        <code value="87512008"/>
        <display value="Mild major depression"/>
      </coding>
    </clinicalFocus>
    <clinicalFocus>
      <coding>
        <!--   Error: Connection to http://localhost:960 refused   -->
        <!--  <system value="http://snomed.info/sct"/>  -->
        <code value="40379007"/>
        <display value="Major depression, recurrent, mild"/>
      </coding>
    </clinicalFocus>
    <clinicalFocus>
      <coding>
        <!--   Error: Connection to http://localhost:960 refused   -->
        <!--  <system value="http://snomed.info/sct"/>  -->
        <code value="394687007"/>
        <display value="Low suicide risk"/>
      </coding>
    </clinicalFocus>
    <clinicalFocus>
      <coding>
        <!--   Error: Connection to http://localhost:960 refused   -->
        <!--  <system value="http://snomed.info/sct"/>  -->
        <code value="225337009"/>
        <display value="Suicide risk assessment"/>
      </coding>
    </clinicalFocus>
    <targetUser>
      <coding>
        <!--   Error: Connection to http://localhost:960 refused   -->
        <!--  <system value="http://snomed.info/sct"/>  -->
        <code value="309343006"/>
        <display value="Physician"/>
      </coding>
    </targetUser>
    <clinicalVenue>
      <coding>
        <!--   Error: Connection to http://localhost:960 refused   -->
        <!--  <system value="http://snomed.info/sct"/>  -->
        <code value="440655000"/>
        <display value="Outpatient environment"/>
      </coding>
    </clinicalVenue>
  </coverage>
  <topic>
    <text value="Suicide risk assessment"/>
  </topic>
  <contributor>
    <type value="author"/>
    <name value="Motive Medical Intelligence"/>
    <contact>
      <telecom>
        <system value="phone"/>
        <value value="415-362-4007"/>
        <use value="work"/>
      </telecom>
      <telecom>
        <system value="email"/>
        <value value="info@motivemi.com"/>
        <use value="work"/>
      </telecom>
    </contact>
  </contributor>
  <publisher value="Motive Medical Intelligence"/>
  <contact>
    <telecom>
      <system value="phone"/>
      <value value="415-362-4007"/>
      <use value="work"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="info@motivemi.com"/>
      <use value="work"/>
    </telecom>
  </contact>
  <library>
    <reference value="Library/mmi-suiciderisk-orderset-logic"/>
  </library>
  <!--   Actions   -->
  <!--   Suicide Risk Assessment and Outpatient Management   -->
  <actionDefinition>
    <title value="Suicide Risk Assessment and Outpatient Management"/>
    <!--   Consults and Referrals   -->
    <actionDefinition>
      <title value="Consults and Referrals"/>
      <groupingBehavior value="logical-group"/>
      <selectionBehavior value="any"/>
      <actionDefinition>
        <!--   Refer to outpatient mental health program for evaluation and treatment of mental health
         conditions now   -->
        <textEquivalent value="Refer to outpatient mental health program for evaluation and treatment of mental health
         conditions now"/>
        <activityDefinition>
          <reference value="#referralToMentalHealthCare"/>
        </activityDefinition>
        <dynamicValue>
          <path value="timing.event"/>
          <expression value="Now()"/>
        </dynamicValue>
        <dynamicValue>
          <path value="specialty"/>
          <expression value="Code '261QM0850X' from &quot;urn:oid:2.16.840.1.113883.11.19462&quot;"/>
        </dynamicValue>
        <dynamicValue>
          <path value="fulfillmentTime"/>
          <expression value="ReferralRequestFulfillmentTime"/>
        </dynamicValue>
        <dynamicValue>
          <path value="patient"/>
          <expression value="Patient"/>
        </dynamicValue>
        <dynamicValue>
          <path value="requester"/>
          <expression value="Practitioner"/>
        </dynamicValue>
        <dynamicValue>
          <path value="reason"/>
          <expression value="RiskAssessmentScore"/>
        </dynamicValue>
        <dynamicValue>
          <path value="supportingInformation"/>
          <expression value="RiskAssessment"/>
        </dynamicValue>
      </actionDefinition>
    </actionDefinition>
    <!--   Medications   -->
    <actionDefinition>
      <title value="Medications"/>
      <groupingBehavior value="logical-group"/>
      <selectionBehavior value="at-most-one"/>
      <actionDefinition>
        <!--   First-Line Antidepressants   -->
        <title value="First-Line Antidepressants"/>
        <documentation>
          <type value="justification"/>
          <document>
            <contentType value="text/html"/>
            <url value="http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf"/>
            <title value="Practice Guideline for the Treatment of Patients with Major Depressive Disorder"/>
          </document>
        </documentation>
        <groupingBehavior value="logical-group"/>
        <selectionBehavior value="at-most-one"/>
        <actionDefinition>
          <!--   Selective Serotonin Reuptake Inhibitors (Choose a maximum of one or document reasons
           for exception)   -->
          <title value="Selective Serotonin Reuptake Inhibitors (Choose a mazimum of one or document reasons for
           exception)"/>
          <documentation>
            <type value="justification"/>
            <document>
              <contentType value="text/html"/>
              <url value="http://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=6daeb45c-451d-b135-bf8f-2d6dff4b6b01"/>
              <title value="National Library of Medicine. DailyMed website. CITALOPRAM- citalopram hydrobromide tablet,
               film coated."/>
            </document>
          </documentation>
          <groupingBehavior value="logical-group"/>
          <selectionBehavior value="at-most-one"/>
          <actionDefinition>
            <!--   citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)   -->
            <textEquivalent value="citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)"/>
            <activityDefinition>
              <reference value="#citalopramPrescription"/>
            </activityDefinition>
            <dynamicValue>
              <path value="status"/>
              <expression value="'draft'"/>
            </dynamicValue>
            <dynamicValue>
              <path value="patient"/>
              <expression value="Patient"/>
            </dynamicValue>
            <dynamicValue>
              <path value="prescriber"/>
              <expression value="Practitioner"/>
            </dynamicValue>
            <dynamicValue>
              <path value="reasonCode"/>
              <expression value="RiskAssessmentScore"/>
            </dynamicValue>
            <dynamicValue>
              <path value="reasonReference"/>
              <expression value="RiskAssessment"/>
            </dynamicValue>
          </actionDefinition>
          <actionDefinition>
            <!--   escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)   -->
            <textEquivalent value="escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)"/>
            <!--   Follows pattern established above   -->
          </actionDefinition>
          <actionDefinition>
            <!--   fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)   -->
            <textEquivalent value="fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)"/>
            <!--   Follows pattern established above   -->
          </actionDefinition>
          <actionDefinition>
            <!--   paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)   -->
            <textEquivalent value="paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)"/>
            <!--   Follows pattern established above   -->
          </actionDefinition>
          <actionDefinition>
            <!--   sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)   -->
            <textEquivalent value="sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)"/>
            <!--   Follows pattern established above   -->
          </actionDefinition>
        </actionDefinition>
        <actionDefinition>
          <!--   Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons
           for exception)   -->
          <textEquivalent value="Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons
           for exception)"/>
          <!--   Follows pattern established above   -->
        </actionDefinition>
        <actionDefinition>
          <!--   Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons
           for exception)   -->
          <textEquivalent value="Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons
           for exception)"/>
          <!--   Follows pattern established above   -->
        </actionDefinition>
        <actionDefinition>
          <!--   Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for
           exception)   -->
          <textEquivalent value="Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for exception)"/>
          <!--   Follows pattern established above   -->
        </actionDefinition>
      </actionDefinition>
    </actionDefinition>
  </actionDefinition>
</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.