Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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

Example Library/opioidcds-recommendation-05 (JSON)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form + also see JSON Format Specification)

Opioid CDS Recommendation 5 Logic

{
  "resourceType": "Library",
  "id": "opioidcds-recommendation-05",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>Participants</h2>\n      <table class=\"grid\">\n        <tr>\n          <td>Author</td>\n          <td>Kensaku Kawamoto, MD, PhD, MHS</td>\n        </tr>\n        <tr>\n          <td>Author</td>\n          <td>Bryn Rhodes</td>\n        </tr>\n        <tr>\n          <td>Author</td>\n          <td>Floyd Eisenberg, MD, MPH</td>\n        </tr>\n        <tr>\n          <td>Author</td>\n          <td>Robert McClure, MD, MPH</td>\n        </tr>\n      </table>\n      <h2>Related Artifacts</h2>\n      <table class=\"grid\">\n        <tr>\n          <td>Documentation</td>\n          <td>CDC guideline for prescribing opioids for chronic pain</td>\n          <td>\n            <p>\n              <code>\n                <a href=\"https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420\">https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420</a>\n              </code> (\n              <code/>)\n            </p>\n          </td>\n        </tr>\n        <tr>\n          <td>Depends On</td>\n          <td/>\n          <td>\n            <code>http://example.org/fhir/Library/opioidcds-common</code>\n          </td>\n        </tr>\n        <tr>\n          <td>Documentation</td>\n          <td>MME Conversion Tables</td>\n          <td>\n            <p>\n              <code>\n                <a href=\"https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf\">https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf</a>\n              </code> (\n              <code/>)\n            </p>\n          </td>\n        </tr>\n      </table>\n      <h2>Data Requirements</h2>\n      <table class=\"grid\">\n        <tr>\n          <td colspan=\"2\">\n            <b>Type</b>: \n            <a href=\"medicationrequest.html\">MedicationRequest</a>\n          </td>\n        </tr>\n        <tr style=\"background-color: #efefef\">\n          <td>Filter</td>\n          <td>Value</td>\n        </tr>\n        <tr>\n          <td>status</td>\n          <td>One of these codes: [not stated] active: active</td>\n        </tr>\n        <tr>\n          <td>category</td>\n          <td>One of these codes: \n            <a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-medicationrequest-category.html#medicationrequest-category-outpatient\">MedicationRequest Category Codes</a> outpatient: Outpatient\n          </td>\n        </tr>\n      </table>\n      <h2>Contents</h2>\n      <p>\n        <code>application/elm+xml</code>\n      </p>\n      <pre>\n        <code class=\"language-xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;library xmlns=&quot;urn:hl7-org:elm:r1&quot; xmlns:t=&quot;urn:hl7-org:elm-types:r1&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:fhir=&quot;http://hl7.org/fhir&quot; xmlns:qdm43=&quot;urn:healthit-gov:qdm:v4_3&quot; xmlns:qdm53=&quot;urn:healthit-gov:qdm:v5_3&quot; xmlns:a=&quot;urn:hl7-org:cql-annotations:r1&quot;&gt;\n   &lt;identifier id=&quot;OpioidCDS_STU4&quot; version=&quot;0.1.0&quot;/&gt;\n   &lt;schemaIdentifier id=&quot;urn:hl7-org:elm&quot; version=&quot;r1&quot;/&gt;\n   &lt;usings&gt;\n      &lt;def localIdentifier=&quot;System&quot; uri=&quot;urn:hl7-org:elm-types:r1&quot;/&gt;\n      &lt;def localIdentifier=&quot;FHIR&quot; uri=&quot;http://hl7.org/fhir&quot; version=&quot;3.2.0&quot;/&gt;\n   &lt;/usings&gt;\n   &lt;includes&gt;\n      &lt;def localIdentifier=&quot;MMECommon&quot; path=&quot;OpioidCDS_STU4_Common&quot; version=&quot;0.1.0&quot;/&gt;\n   &lt;/includes&gt;\n   &lt;parameters&gt;\n      &lt;def name=&quot;UserID&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;parameterTypeSpecifier name=&quot;t:String&quot; xsi:type=&quot;NamedTypeSpecifier&quot;/&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;ContextPrescriptions&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;parameterTypeSpecifier xsi:type=&quot;ListTypeSpecifier&quot;&gt;\n            &lt;elementType name=&quot;fhir:MedicationRequest&quot; xsi:type=&quot;NamedTypeSpecifier&quot;/&gt;\n         &lt;/parameterTypeSpecifier&gt;\n      &lt;/def&gt;\n   &lt;/parameters&gt;\n   &lt;statements&gt;\n      &lt;def name=&quot;Patient&quot; context=&quot;Patient&quot;&gt;\n         &lt;expression xsi:type=&quot;SingletonFrom&quot;&gt;\n            &lt;operand dataType=&quot;fhir:Patient&quot; xsi:type=&quot;Retrieve&quot;/&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Get Active Prescriptions&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;Query&quot;&gt;\n            &lt;source alias=&quot;activeRx&quot;&gt;\n               &lt;expression dataType=&quot;fhir:MedicationRequest&quot; xsi:type=&quot;Retrieve&quot;/&gt;\n            &lt;/source&gt;\n            &lt;where xsi:type=&quot;And&quot;&gt;\n               &lt;operand xsi:type=&quot;Equal&quot;&gt;\n                  &lt;operand path=&quot;value&quot; xsi:type=&quot;Property&quot;&gt;\n                     &lt;source path=&quot;status&quot; scope=&quot;activeRx&quot; xsi:type=&quot;Property&quot;/&gt;\n                  &lt;/operand&gt;\n                  &lt;operand valueType=&quot;t:String&quot; value=&quot;active&quot; xsi:type=&quot;Literal&quot;/&gt;\n               &lt;/operand&gt;\n               &lt;operand xsi:type=&quot;Equal&quot;&gt;\n                  &lt;operand path=&quot;value&quot; xsi:type=&quot;Property&quot;&gt;\n                     &lt;source path=&quot;code&quot; xsi:type=&quot;Property&quot;&gt;\n                        &lt;source xsi:type=&quot;Indexer&quot;&gt;\n                           &lt;operand xsi:type=&quot;Flatten&quot;&gt;\n                              &lt;operand xsi:type=&quot;Query&quot;&gt;\n                                 &lt;source alias=&quot;$this&quot;&gt;\n                                    &lt;expression path=&quot;category&quot; scope=&quot;activeRx&quot; xsi:type=&quot;Property&quot;/&gt;\n                                 &lt;/source&gt;\n                                 &lt;where xsi:type=&quot;Not&quot;&gt;\n                                    &lt;operand xsi:type=&quot;IsNull&quot;&gt;\n                                       &lt;operand path=&quot;coding&quot; xsi:type=&quot;Property&quot;&gt;\n                                          &lt;source name=&quot;$this&quot; xsi:type=&quot;AliasRef&quot;/&gt;\n                                       &lt;/operand&gt;\n                                    &lt;/operand&gt;\n                                 &lt;/where&gt;\n                                 &lt;return&gt;\n                                    &lt;expression path=&quot;coding&quot; xsi:type=&quot;Property&quot;&gt;\n                                       &lt;source name=&quot;$this&quot; xsi:type=&quot;AliasRef&quot;/&gt;\n                                    &lt;/expression&gt;\n                                 &lt;/return&gt;\n                              &lt;/operand&gt;\n                           &lt;/operand&gt;\n                           &lt;operand valueType=&quot;t:Integer&quot; value=&quot;0&quot; xsi:type=&quot;Literal&quot;/&gt;\n                        &lt;/source&gt;\n                     &lt;/source&gt;\n                  &lt;/operand&gt;\n                  &lt;operand valueType=&quot;t:String&quot; value=&quot;outpatient&quot; xsi:type=&quot;Literal&quot;/&gt;\n               &lt;/operand&gt;\n            &lt;/where&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Total MME&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression name=&quot;TotalMME&quot; libraryName=&quot;MMECommon&quot; xsi:type=&quot;FunctionRef&quot;&gt;\n            &lt;operand xsi:type=&quot;Union&quot;&gt;\n               &lt;operand name=&quot;ContextPrescriptions&quot; xsi:type=&quot;ParameterRef&quot;/&gt;\n               &lt;operand name=&quot;Get Active Prescriptions&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n            &lt;/operand&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Is MME 50 Or More?&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;GreaterOrEqual&quot;&gt;\n            &lt;operand name=&quot;Total MME&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n            &lt;operand value=&quot;50&quot; unit=&quot;mg/d&quot; xsi:type=&quot;Quantity&quot;/&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Get Indicator&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression valueType=&quot;t:String&quot; value=&quot;warning&quot; xsi:type=&quot;Literal&quot;/&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Get Summary&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;Concatenate&quot;&gt;\n            &lt;operand valueType=&quot;t:String&quot; value=&quot;High risk for opioid overdose - &quot; xsi:type=&quot;Literal&quot;/&gt;\n            &lt;operand xsi:type=&quot;Case&quot;&gt;\n               &lt;caseItem&gt;\n                  &lt;when xsi:type=&quot;GreaterOrEqual&quot;&gt;\n                     &lt;operand path=&quot;value&quot; xsi:type=&quot;Property&quot;&gt;\n                        &lt;source name=&quot;Total MME&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n                     &lt;/operand&gt;\n                     &lt;operand xsi:type=&quot;ToDecimal&quot;&gt;\n                        &lt;operand valueType=&quot;t:Integer&quot; value=&quot;90&quot; xsi:type=&quot;Literal&quot;/&gt;\n                     &lt;/operand&gt;\n                  &lt;/when&gt;\n                  &lt;then valueType=&quot;t:String&quot; value=&quot;taper now&quot; xsi:type=&quot;Literal&quot;/&gt;\n               &lt;/caseItem&gt;\n               &lt;else valueType=&quot;t:String&quot; value=&quot;consider tapering&quot; xsi:type=&quot;Literal&quot;/&gt;\n            &lt;/operand&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Get Detail&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;Concatenate&quot;&gt;\n            &lt;operand xsi:type=&quot;Concatenate&quot;&gt;\n               &lt;operand valueType=&quot;t:String&quot; value=&quot;Total morphine milligram equivalent (MME) is &quot; xsi:type=&quot;Literal&quot;/&gt;\n               &lt;operand xsi:type=&quot;ToString&quot;&gt;\n                  &lt;operand name=&quot;Total MME&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n               &lt;/operand&gt;\n            &lt;/operand&gt;\n            &lt;operand valueType=&quot;t:String&quot; value=&quot;. Taper to less than 50.&quot; xsi:type=&quot;Literal&quot;/&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n   &lt;/statements&gt;\n&lt;/library&gt;\n</code>\n      </pre>\n    </div>"
  },
  "identifier": [
    {
      "use": "official",
      "value": "OpioidCDS_REC_05"
    }
  ],
  "version": "0.1.0",
  "title": "Opioid CDS Logic for recommendation #5",
  "status": "active",
  "experimental": false,
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/library-type",
        "code": "logic-library",
        "display": "Logic Library"
      }
    ]
  },
  "date": "2018-03-25T13:49:09-06:00",
  "publisher": "Centers for Disease Control and Prevention (CDC)",
  "description": "Opioid Decision Support Logic for use in implementing CDC Opioid Prescribing Guidelines.",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus",
        "display": "Clinical Focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "182888003",
            "display": "Medication requested (situation)"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus",
        "display": "Clinical Focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "82423001",
            "display": "Chronic pain (finding)"
          }
        ]
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ]
    }
  ],
  "purpose": "This library works in concert with the OMTK logic library to provide decision support for Morphine Milligram Equivalence calculations and dynamic value resolution.",
  "usage": "This library is to notify the prescriber/user whether the current prescription exceeds the recommended MME.",
  "copyright": "© CDC 2016+.",
  "topic": [
    {
      "text": "Opioid Prescribing"
    }
  ],
  "author": [
    {
      "name": "Kensaku Kawamoto, MD, PhD, MHS"
    },
    {
      "name": "Bryn Rhodes"
    },
    {
      "name": "Floyd Eisenberg, MD, MPH"
    },
    {
      "name": "Robert McClure, MD, MPH"
    }
  ],
  "relatedArtifact": [
    {
      "type": "documentation",
      "display": "CDC guideline for prescribing opioids for chronic pain",
      "document": {
        "url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
      }
    },
    {
      "type": "depends-on",
      "resource": "http://example.org/fhir/Library/opioidcds-common"
    },
    {
      "type": "documentation",
      "display": "MME Conversion Tables",
      "document": {
        "url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
      }
    }
  ],
  "dataRequirement": [
    {
      "id": "medications",
      "type": "MedicationRequest",
      "codeFilter": [
        {
          "path": "status",
          "code": [
            {
              "code": "active"
            }
          ]
        },
        {
          "path": "category",
          "code": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
              "code": "outpatient"
            }
          ]
        }
      ]
    }
  ],
  "content": [
    {
      "contentType": "application/elm+xml",
      "data": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGxpYnJhcnkgeG1sbnM9InVybjpobDctb3JnOmVsbTpyMSIgeG1sbnM6dD0idXJ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gICAgIDxvcGVyYW5kIHhzaTp0eXBlPSJFcXVhbCI+CiAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIHBhdGg9InZhbHVlIiB4c2k6dHlwZT0iUHJvcGVydHkiPgogICAgICAgICAgICAgICAgICAgICA8c291cmNlIHBhdGg9InN0YXR1cyIgc2NvcGU9ImFjdGl2ZVJ4IiB4c2k6dHlwZT0iUHJvcGVydHkiLz4KICAgICAgICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAgICAgICA8b3BlcmFuZCB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iYWN0aXZlIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgICAgIDxvcGVyYW5kIHhzaTp0eXBlPSJFcXVhbCI+CiAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIHBhdGg9InZhbHVlIiB4c2k6dHlwZT0iUHJvcGVydHkiPgogICAgICAgICAgICAgICAgICAgICA8c291cmNlIHBhdGg9ImNvZGUiIHhzaTp0eXBlPSJQcm9wZXJ0eSI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxzb3VyY2UgeHNpOnR5cGU9IkluZGV4ZXIiPgogICAgICAgICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZT0iRmxhdHRlbiI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIHhzaTp0eXBlPSJRdWVyeSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzb3VyY2UgYWxpYXM9IiR0aGlzIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4cHJlc3Npb24gcGF0aD0iY2F0ZWdvcnkiIHNjb3BlPSJhY3RpdmVSeCIgeHNpOnR5cGU9IlByb3BlcnR5Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvc291cmNlPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8d2hlcmUgeHNpOnR5cGU9Ik5vdCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIHhzaTp0eXBlPSJJc051bGwiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCBwYXRoPSJjb2RpbmciIHhzaTp0eXBlPSJQcm9wZXJ0eSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzb3VyY2UgbmFtZT0iJHRoaXMiIHhzaTp0eXBlPSJBbGlhc1JlZiIvPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvb3BlcmFuZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC93aGVyZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHJldHVybj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGV4cHJlc3Npb24gcGF0aD0iY29kaW5nIiB4c2k6dHlwZT0iUHJvcGVydHkiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c291cmNlIG5hbWU9IiR0aGlzIiB4c2k6dHlwZT0iQWxpYXNSZWYiLz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9leHByZXNzaW9uPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3JldHVybj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAgICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIHZhbHVlVHlwZT0idDpJbnRlZ2VyIiB2YWx1ZT0iMCIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9z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AgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgIDxvcGVyYW5kIHZhbHVlVHlwZT0idDpTdHJpbmciIHZhbHVlPSIuIFRhcGVyIHRvIGxlc3MgdGhhbiA1MC4iIHhzaTp0eXBlPSJMaXRlcmFsIi8+CiAgICAgICAgIDwvZXhwcmVzc2lvbj4KICAgICAgPC9kZWY+CiAgIDwvc3RhdGVtZW50cz4KPC9saWJyYXJ5Pgo="
    }
  ]
}

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.