R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). 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/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw XML (canonical form)

Jump past Narrative

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

<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 with Details</b> </p> <p> <b> id</b> : citalopramPrescription</p> <p> <b> contained</b> : , </p> <p> <b> url</b> : <a> http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription</a> </p> <p> <b> identifier</b> : 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> : 15/08/2015</p> <p> <b> publisher</b> : Motive Medical Intelligence</p> <p> <b> contact</b> : </p> <p> <b> description</b> : Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills</p> <p> <b> useContext</b> : , , , , , , </p> <p> <b> jurisdiction</b> : United States of America <span> (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America)</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> : 12/03/2016</p> <p> <b> lastReviewDate</b> : 15/08/2016</p> <p> <b> effectivePeriod</b> : 01/01/2016 --&gt; 31/12/2017</p> <p> <b> topic</b> : Mental Health Treatment <span> (Details )</span> </p> <p> <b> contributor</b> : </p> <p> <b> relatedArtifact</b> : , </p> <p> <b> kind</b> : MedicationRequest</p> <p> <b> product</b> : id: citalopramMedication; citalopram <span> (Details : {RxNorm code '200371' = 'citalopram 20 MG Oral Tablet)</span> ; Tablet dose form <span> (Details : {SNOMED CT code '385055001' = 'Tablet', given as 'Tablet dose form'})</span> </p> <p> <b> dosage</b> : </p> <blockquote> <p> <b> dynamicValue</b> </p> <p> <b> description</b> : dispenseRequest.numberOfRepeatsAllowed is three (3)</p> <p> <b> path</b> : dispenseRequest.numberOfRepeatsAllowed</p> <p> <b> language</b> : text/cql</p> <p> <b> expression</b> : 3</p> </blockquote> <blockquote> <p> <b> dynamicValue</b> </p> <p> <b> description</b> : dispenseRequest.quantity is thirty (30) tablets</p> <p> <b> path</b> : dispenseRequest.quantity</p> <p> <b> language</b> : text/cql</p> <p> <b> expression</b> : 30 '{tbl}'</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> 
          <amount> 
            <numerator> 
              <value value="20"/> 
              <unit value="mg"/> 
            </numerator> 
            <denominator> 
              <value value="1"/> 
              <unit value="{tbl}"/> 
            </denominator> 
          </amount> 
        </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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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> 
  <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> 
    <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"/> 
  </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://hl7.org/fhir/dose-rate-type"/> 
          <code value="ordered"/> 
          <display value="Ordered"/> 
        </coding> 
      </type> 
      <doseQuantity> 
        <value value="1"/> 
        <unit value="{tbl}"/> 
      </doseQuantity> 
    </doseAndRate> 
  </dosage> 
  <dynamicValue> 
      <description value="dispenseRequest.numberOfRepeatsAllowed is three (3)"/> 
    <path value="dispenseRequest.numberOfRepeatsAllowed"/> 
      <language value="text/cql"/> 
    <expression value="3"/> 
  </dynamicValue> 
  <dynamicValue> 
      <description value="dispenseRequest.quantity is thirty (30) tablets"/> 
    <path value="dispenseRequest.quantity"/> 
      <language value="text/cql"/> 
    <expression value="30 '{tbl}'"/> 
  </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.