CDC MME CQL Calculator
3.0.0 - release

This page is part of the CDC Opioid MME Calculator (v3.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: MME Calculator Tests - With Time of Day - MedicationRequest - XML Representation

Raw xml | Download



<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="example-rec-05-mme-with-timeofday-context"/>
  <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 "example-rec-05-mme-with-timeofday-context" </p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>category</b>: Community <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/2.1.0/CodeSystem-medicationrequest-category.html">MedicationRequest Category Codes</a>#community)</span></p><p><b>medication</b>: oxycodone hydrochloride 60 MG 12 HR Extended Release Oral Tablet <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/2.1.0/CodeSystem-v3-rxNorm.html">RxNorm</a>#1049593)</span></p><p><b>subject</b>: <a href="Patient-patient-mme-with-timeofday.html">Patient/patient-mme-with-timeofday</a></p><p><b>authoredOn</b>: 2020-06-26</p><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: 2020-06-25 --&gt; 2020-12-25</p><p><b>numberOfRepeatsAllowed</b>: 0</p><p><b>quantity</b>: 90 tablet</p></blockquote></div>
  </text>
  <status value="active"/>
  <intent value="order"/>
  <category>
    <coding>
      <system
              value="http://terminology.hl7.org/CodeSystem/medicationrequest-category"/>
      <code value="community"/>
    </coding>
  </category>
  <medicationCodeableConcept>
    <coding>
      <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
      <code value="1049593"/>
      <display
               value="oxycodone hydrochloride 60 MG 12 HR Extended Release Oral Tablet"/>
    </coding>
  </medicationCodeableConcept>
  <subject>
    <reference value="Patient/patient-mme-with-timeofday"/>
  </subject>
  <authoredOn value="2020-06-26">
    <extension url="http://hl7.org/fhir/StructureDefinition/cqf-expression">
      <valueExpression>
        <language value="text/cql"/>
        <expression value="Today()"/>
      </valueExpression>
    </extension>
  </authoredOn>
  <dosageInstruction>
    <timing>
      <repeat>
        <boundsPeriod>
          <start value="2020-09-28"/>
        </boundsPeriod>
        <timeOfDay value="10:00:00"/>
        <timeOfDay value="22:00:00"/>
      </repeat>
    </timing>
    <asNeededBoolean value="false"/>
    <doseAndRate>
      <doseQuantity>
        <value value="10"/>
        <unit value="mg"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="mg"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <validityPeriod>
      <extension url="http://hl7.org/fhir/StructureDefinition/cqf-expression">
        <valueExpression>
          <language value="text/cql"/>
          <expression
                      value="FHIR.Period { start: FHIR.dateTime { value: Today() }, end: FHIR.dateTime { value: Today() + 6 months } }"/>
        </valueExpression>
      </extension>
      <start value="2020-06-25"/>
      <end value="2020-12-25"/>
    </validityPeriod>
    <numberOfRepeatsAllowed value="0"/>
    <quantity>
      <value value="90"/>
      <unit value="tablet"/>
    </quantity>
    <expectedSupplyDuration>
      <value value="45"/>
      <unit value="Day"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="d"/>
    </expectedSupplyDuration>
  </dispenseRequest>
</MedicationRequest>