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

Activitydefinition-medicationorder-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

Activity definition to prescribe citalopram to a patient (id = "citalopramPrescription")

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

<ActivityDefinition xmlns="http://hl7.org/fhir">
  <id value="citalopramPrescription"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> 
        <b> Generated Narrative</b> 
      </p> 
      <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px
       solid #8da1b4; border-radius: 5px; line-height: 60%">
        <p style="margin-bottom: 0px">Resource &quot;citalopramPrescription&quot; </p> 
      </div> 
      <p> 
        <b> url</b> : 
        <code> http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription</code> 
      </p> 
      <p> 
        <b> identifier</b> : id: citalopramPrescription (OFFICIAL)
      </p> 
      <p> 
        <b> version</b> : 1.0.0
      </p> 
      <p> 
        <b> name</b> : CitalopramPrescription
      </p> 
      <p> 
        <b> title</b> : Citalopram Prescription
      </p> 
      <p> 
        <b> status</b> : active
      </p> 
      <p> 
        <b> experimental</b> : true
      </p> 
      <p> 
        <b> date</b> : 2015-08-15
      </p> 
      <p> 
        <b> publisher</b> : Motive Medical Intelligence
      </p> 
      <p> 
        <b> contact</b> : ph: 415-362-4007(WORK),
        <a href="mailto:info@motivemi.com">info@motivemi.com</a> 
      </p> 
      <p> 
        <b> description</b> : Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills
      </p> 
      <p> 
        <b> jurisdiction</b> : United States of America 
        <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#US)</span> 
      </p> 
      <p> 
        <b> purpose</b> : Defines a guideline supported prescription for the treatment of depressive disorders
      </p> 
      <p> 
        <b> usage</b> : This activity definition is used as part of various suicide risk order sets
      </p> 
      <p> 
        <b> copyright</b> : © Copyright 2016 Motive Medical Intelligence. All rights reserved.
      </p> 
      <p> 
        <b> approvalDate</b> : 2016-03-12
      </p> 
      <p> 
        <b> lastReviewDate</b> : 2016-08-15
      </p> 
      <p> 
        <b> effectivePeriod</b> : 2016-01-01 --&gt; 2017-12-31
      </p> 
      <p> 
        <b> topic</b> : Mental Health Treatment 
        <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> 
      </p> 
      <p> 
        <b> author</b> : Motive Medical Intelligence: ph: 415-362-4007(WORK),
        <a href="mailto:info@motivemi.com">info@motivemi.com</a> 
      </p> 
      <p> 
        <b> kind</b> : MedicationRequest
      </p> 
      <p> 
        <b> product</b> : 
        <a name="citalopramMedication"> </a> 
      </p> 
      <blockquote> 
        <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px
         solid #8da1b4; border-radius: 5px; line-height: 60%">
          <p style="margin-bottom: 0px">Resource &quot;citalopramMedication&quot; </p> 
        </div> 
        <p> 
          <b> code</b> : citalopram 
          <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (
            <a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html">RxNorm</a> #200371)
          </span> 
        </p> 
        <p> 
          <b> form</b> : Tablet dose form 
          <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (
            <a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #385055001)
          </span> 
        </p> 
        <h3> Ingredients</h3> 
        <table class="grid">
          <tr> 
            <td> -</td> 
            <td> 
              <b> Item[x]</b> 
            </td> 
            <td> 
              <b> Strength</b> 
            </td> 
          </tr> 
          <tr> 
            <td> *</td> 
            <td> 
              <a href="#citalopramSubstance">#citalopramSubstance</a> 
            </td> 
            <td> 20 mg/1 {tbl}</td> 
          </tr> 
        </table> 
      </blockquote> 
      <blockquote> 
        <p> 
          <b> dynamicValue</b> 
        </p> 
        <p> 
          <b> path</b> : dispenseRequest.numberOfRepeatsAllowed
        </p> 
      </blockquote> 
      <blockquote> 
        <p> 
          <b> dynamicValue</b> 
        </p> 
        <p> 
          <b> path</b> : dispenseRequest.quantity
        </p> 
      </blockquote> 
    </div> 
  </text> 
  <contained> 
    <Medication> 
      <id value="citalopramMedication"/> 
      <code> 
        <coding> 
          <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> 
          <code value="200371"/> 
        </coding> 
        <text value="citalopram"/> 
      </code> 
      <form> 
        <coding> 
          <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> 
        <strength> 
          <numerator> 
            <value value="20"/> 
            <unit value="mg"/> 
          </numerator> 
          <denominator> 
            <value value="1"/> 
            <unit value="{tbl}"/> 
          </denominator> 
        </strength> 
      </ingredient> 
    </Medication> 
  </contained> 
  <contained> 
    <Substance> 
      <id value="citalopramSubstance"/> 
      <code> 
        <coding> 
          <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> 
          <code value="2556"/> 
        </coding> 
        <text value="citalopram"/> 
      </code> 
    </Substance> 
  </contained> 
  <url value="http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription"/> 
  <identifier> 
    <use value="official"/> 
    <system value="http://motivemi.com"/> 
    <value value="citalopramPrescription"/> 
  </identifier> 
  <version value="1.0.0"/> 
  <name value="CitalopramPrescription"/> 
  <title value="Citalopram Prescription"/> 
  <status value="active"/> 
  <experimental value="true"/> 
  <date value="2015-08-15"/> 
  <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> 
  <description value="Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills"/> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="age"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="https://meshb.nlm.nih.gov"/> 
        <code value="D000328"/> 
        <display value="Adult"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="focus"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="87512008"/> 
        <display value="Mild major depression"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="focus"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="40379007"/> 
        <display value="Major depression, recurrent, mild"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="focus"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="225444004"/> 
        <display value="At risk for suicide (finding)"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="focus"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="306206005"/> 
        <display value="Referral to service (procedure)"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="user"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="309343006"/> 
        <display value="Physician"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="venue"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="440655000"/> 
        <display value="Outpatient environment"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <jurisdiction> 
    <coding> 
      <system value="urn:iso:std:iso:3166"/> 
      <code value="US"/> 
    </coding> 
  </jurisdiction> 
  <purpose value="Defines a guideline supported prescription for the treatment of depressive disorders"/> 
  <usage value="This activity definition is used as part of various suicide risk order sets"/> 
  <copyright value="© Copyright 2016 Motive Medical Intelligence. All rights reserved."/> 
  <approvalDate value="2016-03-12"/> 
  <lastReviewDate value="2016-08-15"/> 
  <effectivePeriod> 
    <start value="2016-01-01"/> 
    <end value="2017-12-31"/> 
  </effectivePeriod> 
  <topic> 
    <text value="Mental Health Treatment"/> 
  </topic> 
  <author> 
    <name value="Motive Medical Intelligence"/> 
    <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> 
  </author> 
  <relatedArtifact> 
    <type value="citation"/> 
    <display value="Practice Guideline for the Treatment of Patients with Major Depressive Disorder"/> 
    <url value="http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf"/> 
    <document> 
      <url value="http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf"/> 
    </document> 
  </relatedArtifact> 
  <relatedArtifact> 
    <type value="composed-of"/> 
    <resource value="#citalopramMedication"/> 
  </relatedArtifact> 
  <kind value="MedicationRequest"/> 
  <productReference> 
    <reference value="#citalopramMedication"/> 
  </productReference> 
  <dosage> 
    <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> 
    <doseAndRate> 
      <type> 
        <coding> 
          <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/> 
          <code value="ordered"/> 
          <display value="Ordered"/> 
        </coding> 
      </type> 
      <doseQuantity> 
        <value value="1"/> 
        <unit value="{tbl}"/> 
      </doseQuantity> 
    </doseAndRate> 
  </dosage> 
  <dynamicValue> 
    <path value="dispenseRequest.numberOfRepeatsAllowed"/> 
    <expression> 
      <description value="dispenseRequest.numberOfRepeatsAllowed is three (3)"/> 
      <language value="text/cql"/> 
      <expression value="3"/> 
    </expression> 
  </dynamicValue> 
  <dynamicValue> 
    <path value="dispenseRequest.quantity"/> 
    <expression> 
      <description value="dispenseRequest.quantity is thirty (30) tablets"/> 
      <language value="text/cql"/> 
      <expression value="30 '{tbl}'"/> 
    </expression> 
  </dynamicValue> 
</ActivityDefinition> 

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.