Release 5 Ballot

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

Opioid CDS Recommendation 8 Logic (id = "opioidcds-recommendation-08")

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

<Library xmlns="http://hl7.org/fhir">
  <id value="opioidcds-recommendation-08"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2> Participants</h2> 
      <table class="grid">
        <tr> 
          <td> Author</td> 
          <td> Kensaku Kawamoto, MD, PhD, MHS</td> 
        </tr> 
        <tr> 
          <td> Author</td> 
          <td> Bryn Rhodes</td> 
        </tr> 
        <tr> 
          <td> Author</td> 
          <td> Floyd Eisenberg, MD, MPH</td> 
        </tr> 
        <tr> 
          <td> Author</td> 
          <td> Robert McClure, MD, MPH</td> 
        </tr> 
      </table> 
      <h2> Related Artifacts</h2> 
      <table class="grid">
        <tr> 
          <td> Documentation</td> 
          <td> CDC guideline for prescribing opioids for chronic pain</td> 
          <td> 
            <p> 
              <code> 
                <a href="https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pai
                n---united-states-2016#420">https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pai
                  n---united-states-2016#420</a> 
              </code>  (
              <code/>  )
            </p> 
          </td> 
        </tr> 
        <tr> 
          <td> Depends On</td> 
          <td/>  
          <td> 
            <code> http://example.org/fhir/Library/opioidcds-common</code> 
          </td> 
        </tr> 
        <tr> 
          <td> Documentation</td> 
          <td> MME Conversion Tables</td> 
          <td> 
            <p> 
              <code> 
                <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> 
              </code>  (
              <code/>  )
            </p> 
          </td> 
        </tr> 
      </table> 
      <h2> Data Requirements</h2> 
      <table class="grid">
        <tr> 
          <td colspan="2">
            <b> Type</b> : 
            <a href="medicationrequest.html">MedicationRequest</a> 
          </td> 
        </tr> 
        <tr style="background-color: #efefef">
          <td> Filter</td> 
          <td> Value</td> 
        </tr> 
        <tr> 
          <td> medicationCodeableConcept</td> 
          <td> In ValueSet 
            <a href="http://example.org/fhir/ValueSet/naloxone">http://example.org/fhir/ValueSet/naloxone</a> 
          </td> 
        </tr> 
      </table> 
      <table class="grid">
        <tr> 
          <td colspan="2">
            <b> Type</b> : 
            <a href="medicationrequest.html">MedicationRequest</a> 
          </td> 
        </tr> 
        <tr style="background-color: #efefef">
          <td> Filter</td> 
          <td> Value</td> 
        </tr> 
        <tr> 
          <td> medicationCodeableConcept</td> 
          <td> In ValueSet 
            <a href="http://example.org/fhir/ValueSet/opioids-abused-in-ambulatory-care">http://example.org/fhir/ValueSet/opioids-abused-in-ambulatory-care</a> 
          </td> 
        </tr> 
      </table> 
      <table class="grid">
        <tr> 
          <td colspan="2">
            <b> Type</b> : 
            <a href="medicationrequest.html">MedicationRequest</a> 
          </td> 
        </tr> 
        <tr style="background-color: #efefef">
          <td> Filter</td> 
          <td> Value</td> 
        </tr> 
        <tr> 
          <td> medicationCodeableConcept</td> 
          <td> In ValueSet 
            <a href="http://example.org/fhir/ValueSet/benzodiazepines">http://example.org/fhir/ValueSet/benzodiazepines</a> 
          </td> 
        </tr> 
      </table> 
      <table class="grid">
        <tr> 
          <td colspan="2">
            <b> Type</b> : 
            <a href="condition.html">Condition</a> 
          </td> 
        </tr> 
        <tr style="background-color: #efefef">
          <td> Filter</td> 
          <td> Value</td> 
        </tr> 
        <tr> 
          <td> code</td> 
          <td> In ValueSet 
            <a href="http://example.org/fhir/ValueSet/substance-abuse">http://example.org/fhir/ValueSet/substance-abuse</a> 
          </td> 
        </tr> 
      </table> 
      <h2> Contents</h2> 
      <p> 
        <code> application/elm+xml</code> 
      </p> 
      <pre> 
        <code class="language-xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&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/20
          01/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-annotation
          s:r1&quot;&gt;
   &lt;annotation startLine=&quot;63&quot; startChar=&quot;11&quot; endLine=&quot;63&quot;
           endChar=&quot;48&quot; message=&quot;Could not resolve code path medicationCodeableConcept
           for the type of the retrieve FHIR.MedicationRequest.&quot; errorType=&quot;semantic&quot;
           errorSeverity=&quot;warning&quot; xsi:type=&quot;a:CqlToElmError&quot;/&gt;
   &lt;annotation startLine=&quot;63&quot; startChar=&quot;11&quot; endLine=&quot;63&quot;
           endChar=&quot;48&quot; message=&quot;Could not resolve membership operator for terminology
           target of the retrieve.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot;
           xsi:type=&quot;a:CqlToElmError&quot;/&gt;
   &lt;annotation startLine=&quot;81&quot; startChar=&quot;5&quot; endLine=&quot;81&quot;
           endChar=&quot;68&quot; message=&quot;Could not resolve code path medicationCodeableConcept
           for the type of the retrieve FHIR.MedicationRequest.&quot; errorType=&quot;semantic&quot;
           errorSeverity=&quot;warning&quot; xsi:type=&quot;a:CqlToElmError&quot;/&gt;
   &lt;annotation startLine=&quot;81&quot; startChar=&quot;5&quot; endLine=&quot;81&quot;
           endChar=&quot;68&quot; message=&quot;Could not resolve membership operator for terminology
           target of the retrieve.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot;
           xsi:type=&quot;a:CqlToElmError&quot;/&gt;
   &lt;annotation startLine=&quot;74&quot; startChar=&quot;11&quot; endLine=&quot;74&quot;
           endChar=&quot;55&quot; message=&quot;Could not resolve code path medicationCodeableConcept
           for the type of the retrieve FHIR.MedicationRequest.&quot; errorType=&quot;semantic&quot;
           errorSeverity=&quot;warning&quot; xsi:type=&quot;a:CqlToElmError&quot;/&gt;
   &lt;annotation startLine=&quot;74&quot; startChar=&quot;11&quot; endLine=&quot;74&quot;
           endChar=&quot;55&quot; message=&quot;Could not resolve membership operator for terminology
           target of the retrieve.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot;
           xsi:type=&quot;a:CqlToElmError&quot;/&gt;
   &lt;annotation startLine=&quot;77&quot; startChar=&quot;12&quot; endLine=&quot;77&quot;
           endChar=&quot;41&quot; message=&quot;Could not resolve membership operator for terminology
           target of the retrieve.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot;
           xsi:type=&quot;a:CqlToElmError&quot;/&gt;
   &lt;identifier id=&quot;OpioidCDS_STU4_REC_08&quot; version=&quot;0.1.0&quot;/&gt;
   &lt;schemaIdentifier id=&quot;urn:hl7-org:elm&quot; version=&quot;r1&quot;/&gt;
   &lt;usings&gt;
      &lt;def localIdentifier=&quot;System&quot; uri=&quot;urn:hl7-org:elm-types:r1&quot;/&gt;
      &lt;def localIdentifier=&quot;FHIR&quot; uri=&quot;http://hl7.org/fhir&quot; version=&quot;3.2
          .0&quot;/&gt;
   &lt;/usings&gt;
   &lt;includes&gt;
      &lt;def localIdentifier=&quot;Common&quot; path=&quot;OpioidCDS_STU4_Common&quot;
           version=&quot;0.1.0&quot;/&gt;
   &lt;/includes&gt;
   &lt;parameters&gt;
      &lt;def name=&quot;ContextPrescriptions&quot; accessLevel=&quot;Public&quot;&gt;
         &lt;parameterTypeSpecifier xsi:type=&quot;ListTypeSpecifier&quot;&gt;
            &lt;elementType name=&quot;fhir:MedicationRequest&quot; xsi:type=&quot;NamedTypeSpecifie
          r&quot;/&gt;
         &lt;/parameterTypeSpecifier&gt;
      &lt;/def&gt;
   &lt;/parameters&gt;
   &lt;valueSets&gt;
      &lt;def name=&quot;Substance Abuse&quot; id=&quot;TODO&quot; accessLevel=&quot;Public&quot;/&g
          t;
   &lt;/valueSets&gt;
   &lt;statements&gt;
      &lt;def name=&quot;Patient&quot; context=&quot;Patient&quot;&gt;
         &lt;expression xsi:type=&quot;SingletonFrom&quot;&gt;
            &lt;operand dataType=&quot;fhir:Patient&quot; xsi:type=&quot;Retrieve&quot;/&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Validate Trigger Event&quot; context=&quot;Patient&quot; accessLevel=&quot;
          Public&quot;&gt;
         &lt;expression xsi:type=&quot;Exists&quot;&gt;
            &lt;operand xsi:type=&quot;Query&quot;&gt;
               &lt;source alias=&quot;triggerScript&quot;&gt;
                  &lt;expression name=&quot;ContextPrescriptions&quot; xsi:type=&quot;ParameterRef&q
          uot;/&gt;
               &lt;/source&gt;
               &lt;where name=&quot;IsOpioidWithAmbulatoryAbusePotential&quot; libraryName=&quot;Com
          mon&quot; xsi:type=&quot;FunctionRef&quot;&gt;
                  &lt;operand name=&quot;ToCode&quot; libraryName=&quot;Common&quot; xsi:type=&quot;
          FunctionRef&quot;&gt;
                     &lt;operand xsi:type=&quot;Indexer&quot;&gt;
                        &lt;operand path=&quot;coding&quot; xsi:type=&quot;Property&quot;&gt;
                           &lt;source path=&quot;medication&quot; scope=&quot;triggerScript&quot;
           xsi:type=&quot;Property&quot;/&gt;
                        &lt;/operand&gt;
                        &lt;operand valueType=&quot;t:Integer&quot; value=&quot;0&quot;
           xsi:type=&quot;Literal&quot;/&gt;
                     &lt;/operand&gt;
                  &lt;/operand&gt;
               &lt;/where&gt;
            &lt;/operand&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Exclusion Criteria&quot; context=&quot;Patient&quot; accessLevel=&quot;Publ
          ic&quot;&gt;
         &lt;expression xsi:type=&quot;Exists&quot;&gt;
            &lt;operand dataType=&quot;fhir:MedicationRequest&quot; codeProperty=&quot;medicationCod
          eableConcept&quot; xsi:type=&quot;Retrieve&quot;&gt;
               &lt;codes name=&quot;Naloxone&quot; libraryName=&quot;Common&quot; xsi:type=&quot;Val
          ueSetRef&quot;/&gt;
            &lt;/operand&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Get Active Ambulatory Opioid Rx&quot; context=&quot;Patient&quot;
           accessLevel=&quot;Public&quot;&gt;
         &lt;expression xsi:type=&quot;Union&quot;&gt;
            &lt;operand xsi:type=&quot;Query&quot;&gt;
               &lt;source alias=&quot;Rx&quot;&gt;
                  &lt;expression dataType=&quot;fhir:MedicationRequest&quot; codeProperty=&quot;medi
          cationCodeableConcept&quot; xsi:type=&quot;Retrieve&quot;&gt;
                     &lt;codes name=&quot;Ambulatory Abuse Potential Opioids&quot; libraryName=&quot
          ;Common&quot; xsi:type=&quot;ValueSetRef&quot;/&gt;
                  &lt;/expression&gt;
               &lt;/source&gt;
               &lt;where xsi:type=&quot;And&quot;&gt;
                  &lt;operand xsi:type=&quot;Equal&quot;&gt;
                     &lt;operand path=&quot;value&quot; xsi:type=&quot;Property&quot;&gt;
                        &lt;source path=&quot;status&quot; scope=&quot;Rx&quot; xsi:type=&quot;Prope
          rty&quot;/&gt;
                     &lt;/operand&gt;
                     &lt;operand valueType=&quot;t:String&quot; value=&quot;active&quot;
           xsi:type=&quot;Literal&quot;/&gt;
                  &lt;/operand&gt;
                  &lt;operand xsi:type=&quot;Equal&quot;&gt;
                     &lt;operand path=&quot;value&quot; xsi:type=&quot;Property&quot;&gt;
                        &lt;source path=&quot;code&quot; xsi:type=&quot;Property&quot;&gt;
                           &lt;source xsi:type=&quot;Indexer&quot;&gt;
                              &lt;operand xsi:type=&quot;Flatten&quot;&gt;
                                 &lt;operand xsi:type=&quot;Query&quot;&gt;
                                    &lt;source alias=&quot;$this&quot;&gt;
                                       &lt;expression path=&quot;category&quot; scope=&quot;Rx&quot;
           xsi:type=&quot;Property&quot;/&gt;
                                    &lt;/source&gt;
                                    &lt;where xsi:type=&quot;Not&quot;&gt;
                                       &lt;operand xsi:type=&quot;IsNull&quot;&gt;
                                          &lt;operand path=&quot;coding&quot; xsi:type=&quot;Propert
          y&quot;&gt;
                                             &lt;source name=&quot;$this&quot; xsi:type=&quot;AliasR
          ef&quot;/&gt;
                                          &lt;/operand&gt;
                                       &lt;/operand&gt;
                                    &lt;/where&gt;
                                    &lt;return&gt;
                                       &lt;expression path=&quot;coding&quot; xsi:type=&quot;Propert
          y&quot;&gt;
                                          &lt;source name=&quot;$this&quot; xsi:type=&quot;AliasRef&
          quot;/&gt;
                                       &lt;/expression&gt;
                                    &lt;/return&gt;
                                 &lt;/operand&gt;
                              &lt;/operand&gt;
                              &lt;operand valueType=&quot;t:Integer&quot; value=&quot;0&quot;
           xsi:type=&quot;Literal&quot;/&gt;
                           &lt;/source&gt;
                        &lt;/source&gt;
                     &lt;/operand&gt;
                     &lt;operand valueType=&quot;t:String&quot; value=&quot;outpatient&quot;
           xsi:type=&quot;Literal&quot;/&gt;
                  &lt;/operand&gt;
               &lt;/where&gt;
            &lt;/operand&gt;
            &lt;operand name=&quot;ContextPrescriptions&quot; xsi:type=&quot;ParameterRef&quot;/&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Average MME&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot
          ;&gt;
         &lt;expression name=&quot;TotalMME&quot; libraryName=&quot;Common&quot; xsi:type=&quot;Func
          tionRef&quot;&gt;
            &lt;operand name=&quot;Get Active Ambulatory Opioid Rx&quot; xsi:type=&quot;ExpressionRe
          f&quot;/&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;MME &gt;= 50 mg/d?&quot; context=&quot;Patient&quot; accessLevel=&quot;Publ
          ic&quot;&gt;
         &lt;expression xsi:type=&quot;If&quot;&gt;
            &lt;condition asType=&quot;t:Boolean&quot; xsi:type=&quot;As&quot;&gt;
               &lt;operand xsi:type=&quot;IsNull&quot;&gt;
                  &lt;operand name=&quot;Average MME&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;
               &lt;/operand&gt;
            &lt;/condition&gt;
            &lt;then valueType=&quot;t:Boolean&quot; value=&quot;false&quot; xsi:type=&quot;Literal&
          quot;/&gt;
            &lt;else xsi:type=&quot;GreaterOrEqual&quot;&gt;
               &lt;operand name=&quot;Average MME&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;
               &lt;operand value=&quot;50&quot; unit=&quot;mg/d&quot; xsi:type=&quot;Quantity&quot;/
          &gt;
            &lt;/else&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;On Benzodiazepine&quot; context=&quot;Patient&quot; accessLevel=&quot;Publi
          c&quot;&gt;
         &lt;expression xsi:type=&quot;Exists&quot;&gt;
            &lt;operand dataType=&quot;fhir:MedicationRequest&quot; codeProperty=&quot;medicationCod
          eableConcept&quot; xsi:type=&quot;Retrieve&quot;&gt;
               &lt;codes name=&quot;Benzodiazepines&quot; libraryName=&quot;Common&quot;
           xsi:type=&quot;ValueSetRef&quot;/&gt;
            &lt;/operand&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Inclusion Criteria&quot; context=&quot;Patient&quot; accessLevel=&quot;Publ
          ic&quot;&gt;
         &lt;expression xsi:type=&quot;And&quot;&gt;
            &lt;operand xsi:type=&quot;And&quot;&gt;
               &lt;operand name=&quot;Validate Trigger Event&quot; xsi:type=&quot;ExpressionRef&quot
          ;/&gt;
               &lt;operand xsi:type=&quot;Not&quot;&gt;
                  &lt;operand name=&quot;Exclusion Criteria&quot; xsi:type=&quot;ExpressionRef&quot;
          /&gt;
               &lt;/operand&gt;
            &lt;/operand&gt;
            &lt;operand xsi:type=&quot;Or&quot;&gt;
               &lt;operand name=&quot;MME &gt;= 50 mg/d?&quot; xsi:type=&quot;ExpressionRef&quot;/&g
          t;
               &lt;operand name=&quot;On Benzodiazepine&quot; xsi:type=&quot;ExpressionRef&quot;/&gt
          ;
            &lt;/operand&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Has Substance Abuse History&quot; context=&quot;Patient&quot;
           accessLevel=&quot;Public&quot;&gt;
         &lt;expression xsi:type=&quot;Exists&quot;&gt;
            &lt;operand dataType=&quot;fhir:Condition&quot; codeProperty=&quot;code&quot;
           xsi:type=&quot;Retrieve&quot;&gt;
               &lt;codes name=&quot;Substance Abuse&quot; xsi:type=&quot;ValueSetRef&quot;/&gt;
            &lt;/operand&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Get Indicator&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&qu
          ot;&gt;
         &lt;expression valueType=&quot;t:String&quot; value=&quot;warning&quot; xsi:type=&quot;Lite
          ral&quot;/&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Get Summary&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot
          ;&gt;
         &lt;expression valueType=&quot;t:String&quot; value=&quot;Incorporate into the
           management plan strategies to mitigate risk; including considering offering naloxone when
           factors that increase risk for opioid overdose are present&quot; xsi:type=&quot;Literal&quot;/&gt;
      &lt;/def&gt;
      &lt;def name=&quot;Get Notification&quot; context=&quot;Patient&quot; accessLevel=&quot;Public
          &quot;&gt;
         &lt;expression xsi:type=&quot;Concatenate&quot;&gt;
            &lt;operand valueType=&quot;t:String&quot; value=&quot;Consider offering naloxone
           given following risk factor(s) for opioid overdose: &quot; xsi:type=&quot;Literal&quot;/&gt;
            &lt;operand xsi:type=&quot;If&quot;&gt;
               &lt;condition asType=&quot;t:Boolean&quot; xsi:type=&quot;As&quot;&gt;
                  &lt;operand name=&quot;MME &gt;= 50 mg/d?&quot; xsi:type=&quot;ExpressionRef&quot;
          /&gt;
               &lt;/condition&gt;
               &lt;then xsi:type=&quot;Concatenate&quot;&gt;
                  &lt;operand xsi:type=&quot;Concatenate&quot;&gt;
                     &lt;operand valueType=&quot;t:String&quot; value=&quot;Average MME
           (&quot; xsi:type=&quot;Literal&quot;/&gt;
                     &lt;operand xsi:type=&quot;ToString&quot;&gt;
                        &lt;operand name=&quot;Average MME&quot; xsi:type=&quot;ExpressionRef&quot;/
          &gt;
                     &lt;/operand&gt;
                  &lt;/operand&gt;
                  &lt;operand valueType=&quot;t:String&quot; value=&quot;) &gt;= 50 mg/day,
           &quot; xsi:type=&quot;Literal&quot;/&gt;
               &lt;/then&gt;
               &lt;else xsi:type=&quot;Concatenate&quot;&gt;
                  &lt;operand valueType=&quot;t:String&quot; value=&quot;&quot; xsi:type=&quot;Liter
          al&quot;/&gt;
                  &lt;operand xsi:type=&quot;If&quot;&gt;
                     &lt;condition asType=&quot;t:Boolean&quot; xsi:type=&quot;As&quot;&gt;
                        &lt;operand name=&quot;On Benzodiazepine&quot; xsi:type=&quot;ExpressionRef&
          quot;/&gt;
                     &lt;/condition&gt;
                     &lt;then valueType=&quot;t:String&quot; value=&quot;concurrent use
           of benzodiazepine, &quot; xsi:type=&quot;Literal&quot;/&gt;
                     &lt;else valueType=&quot;t:String&quot; value=&quot;&quot; xsi:type=&quot;Liter
          al&quot;/&gt;
                  &lt;/operand&gt;
               &lt;/else&gt;
            &lt;/operand&gt;
         &lt;/expression&gt;
      &lt;/def&gt;
   &lt;/statements&gt;
&lt;/library&gt;
</code> 
      </pre> 
    </div> 
  </text> 
  <identifier> 
    <use value="official"/> 
    <value value="OpioidCDS_REC_04"/> 
  </identifier> 
  <version value="0.1.0"/> 
  <title value="Opioid CDS Logic for recommendation #4"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <type> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/library-type"/> 
      <code value="logic-library"/> 
      <display value="Logic Library"/> 
    </coding> 
  </type> 
  <date value="2018-03-25T13:49:09-06:00"/> 
  <publisher value="Centers for Disease Control and Prevention (CDC)"/> 
  <description value="Opioid decision support logic to consider offering Naloxone when factors that increase
   risk for opioid overdose are present."/> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="focus"/> 
      <display value="Clinical Focus"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="182888003"/> 
        <display value="Medication requested (situation)"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <useContext> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> 
      <code value="focus"/> 
      <display value="Clinical Focus"/> 
    </code> 
    <valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="82423001"/> 
        <display value="Chronic pain (finding)"/> 
      </coding> 
    </valueCodeableConcept> 
  </useContext> 
  <jurisdiction> 
    <coding> 
      <system value="urn:iso:std:iso:3166"/> 
      <code value="US"/> 
      <display value="United States of America"/> 
    </coding> 
  </jurisdiction> 
  <purpose value="The purpose of this library is to determine whether increased risks for opioid overdose
   are present."/> 
  <usage value="This library is used to recommend the prescriber/user to consider offering Naloxone when
   increased risks for opioid overdose are present."/> 
  <copyright value="© CDC 2016+."/> 
  <topic> 
    <text value="Opioid Prescribing"/> 
  </topic> 
  <author> 
    <name value="Kensaku Kawamoto, MD, PhD, MHS"/> 
  </author> 
  <author> 
    <name value="Bryn Rhodes"/> 
  </author> 
  <author> 
    <name value="Floyd Eisenberg, MD, MPH"/> 
  </author> 
  <author> 
    <name value="Robert McClure, MD, MPH"/> 
  </author> 
  <relatedArtifact> 
    <type value="documentation"/> 
    <display value="CDC guideline for prescribing opioids for chronic pain"/> 
    <document> 
      <url value="https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pai
      n---united-states-2016#420"/> 
    </document> 
  </relatedArtifact> 
  <relatedArtifact> 
    <type value="depends-on"/> 
    <resource value="http://example.org/fhir/Library/opioidcds-common"/> 
  </relatedArtifact> 
  <relatedArtifact> 
    <type value="documentation"/> 
    <display value="MME Conversion Tables"/> 
    <document> 
      <url value="https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"/> 
    </document> 
  </relatedArtifact> 
  <dataRequirement> 
    <type value="MedicationRequest"/> 
    <codeFilter> 
      <path value="medicationCodeableConcept"/> 
      <valueSet value="http://example.org/fhir/ValueSet/naloxone"/> 
    </codeFilter> 
  </dataRequirement> 
  <dataRequirement> 
    <type value="MedicationRequest"/> 
    <codeFilter> 
      <path value="medicationCodeableConcept"/> 
      <valueSet value="http://example.org/fhir/ValueSet/opioids-abused-in-ambulatory-care"/> 
    </codeFilter> 
  </dataRequirement> 
  <dataRequirement> 
    <type value="MedicationRequest"/> 
    <codeFilter> 
      <path value="medicationCodeableConcept"/> 
      <valueSet value="http://example.org/fhir/ValueSet/benzodiazepines"/> 
    </codeFilter> 
  </dataRequirement> 
  <dataRequirement> 
    <type value="Condition"/> 
    <codeFilter> 
      <path value="code"/> 
      <valueSet value="http://example.org/fhir/ValueSet/substance-abuse"/> 
    </codeFilter> 
  </dataRequirement> 
  <content> 
    <contentType value="application/elm+xml"/> 
    <data value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGxpYnJhcnkgeG1sbnM9InVybjpobDctb3JnOmVsbTpyMSIg
    eG1sbnM6dD0idXJuOmhsNy1vcmc6ZWxtLXR5cGVzOnIxIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZ
    W1hLWluc3RhbmNlIiB4bWxuczp4c2Q9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczpmaGlyPSJodHRwOi
    8vaGw3Lm9yZy9maGlyIiB4bWxuczpxZG00Mz0idXJuOmhlYWx0aGl0LWdvdjpxZG06djRfMyIgeG1sbnM6cWRtNTM9InVybjpoZWF
    sdGhpdC1nb3Y6cWRtOnY1XzMiIHhtbG5zOmE9InVybjpobDctb3JnOmNxbC1h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SJGdW5jdGlvblJlZiI+CiAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIG5hbWU9IlRvQ29kZSIgbGlicmFyeU5hbW
    U9IkNvbW1vbiIgeHNpOnR5cGU9IkZ1bmN0aW9uUmVmIj4KICAgICAgICAgICAgICAgICAgICAgPG9wZXJhbmQgeHNpOnR5cGU9Ikl
    uZGV4ZXIiPgogICAgICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCBwYXRoPSJjb2RpbmciIHhzaTp0eXBlPSJQcm9wZXJ0eSI+
    CiAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzb3VyY2UgcGF0aD0ibWVkaWNhdGlvbiIgc2NvcGU9InRyaWdnZXJTY3JpcHQiI
    HhzaTp0eXBlPSJQcm9wZXJ0eSIvPgogICAgICAgICAgICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgICAgICAgIC
    AgICAgIDxvcGVyYW5kIHZhbHVlVHlwZT0idDpJbnRlZ2VyIiB2YWx1ZT0iMCIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgICA
    gICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgICAgIDwvd2hlcmU+
    CiAgICAgICAgICAgIDwvb3BlcmFuZD4KICAgICAgICAgPC9leHByZXNzaW9uPgogICAgICA8L2RlZj4KICAgICAgPGRlZiBuYW1lP
    SJFeGNsdXNpb24gQ3JpdGVyaWEiIGNvbnRleHQ9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICAgICAgICA8ZXhwcm
    Vzc2lvbiB4c2k6dHlwZT0iRXhpc3RzIj4KICAgICAgICAgICAgPG9wZXJhbmQgZGF0YVR5cGU9ImZoaXI6TWVkaWNhdGlvblJlcXV
    lc3QiIGNvZGVQcm9wZXJ0eT0ibWVkaWNhdGlvbkNvZGVhYmxlQ29uY2VwdCIgeHNpOnR5cGU9IlJldHJpZXZlIj4KICAgICAgICAg
    ICAgICAgPGNvZGVzIG5hbWU9Ik5hbG94b25lIiBsaWJyYXJ5TmFtZT0iQ29tbW9uIiB4c2k6dHlwZT0iVmFsdWVTZXRSZWYiLz4KI
    CAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICA8L2V4cHJlc3Npb24+CiAgICAgIDwvZGVmPgogICAgICA8ZGVmIG5hbWU9Ik
    dldCBBY3RpdmUgQW1idWxhdG9yeSBPcGlvaWQgUngiIGNvbnRleHQ9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICA
    gICAgICA8ZXhwcmVzc2lvbiB4c2k6dHlwZT0iVW5pb24iPgogICAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZT0iUXVlcnkiPgog
    ICAgICAgICAgICAgICA8c291cmNlIGFsaWFzPSJSeCI+CiAgICAgICAgICAgICAgICAgIDxleHByZXNzaW9uIGRhdGFUeXBlPSJma
    GlyOk1lZGljYXRpb25SZXF1ZXN0IiBjb2RlUHJvcGVydHk9Im1lZGljYXRpb25Db2RlYWJsZUNvbmNlcHQiIHhzaTp0eXBlPSJSZX
    RyaWV2ZSI+CiAgICAgICAgICAgICAgICAgICAgIDxjb2RlcyBuYW1lPSJBbWJ1bGF0b3J5IEFidXNlIFBvdGVudGlhbCBPcGlvaWR
    zIiBsaWJyYXJ5TmFtZT0iQ29tbW9uIiB4c2k6dHlwZT0iVmFsdWVTZXRSZWYiLz4KICAgICAgICAgICAgICAgICAgPC9leHByZXNz
    aW9uPgogICAgICAgICAgICAgICA8L3NvdXJjZT4KICAgICAgICAgICAgICAgPHdoZXJlIHhzaTp0eXBlPSJBbmQiPgogICAgICAgI
    CAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZT0iRXF1YWwiPgogICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCBwYXRoPSJ2YW
    x1ZSIgeHNpOnR5cGU9IlByb3BlcnR5Ij4KICAgICAgICAgICAgICAgICAgICAgICAgPHNvdXJjZSBwYXRoPSJzdGF0dXMiIHNjb3B
    lPSJSeCIgeHNpOnR5cGU9IlByb3BlcnR5Ii8+CiAgICAgICAgICAgICAgICAgICAgIDwvb3BlcmFuZD4KICAgICAgICAgICAgICAg
    ICAgICAgPG9wZXJhbmQgdmFsdWVUeXBlPSJ0OlN0cmluZyIgdmFsdWU9ImFjdGl2ZSIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgI
    CAgICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZT0iRXF1YWwiPgogICAgIC
    AgICAgICAgICAgICAgICA8b3BlcmFuZCBwYXRoPSJ2YWx1ZSIgeHNpOnR5cGU9IlByb3BlcnR5Ij4KICAgICAgICAgICAgICAgICA
    gICAgICAgPHNvdXJjZSBwYXRoPSJjb2RlIiB4c2k6dHlwZT0iUHJvcGVydHkiPgogICAgICAgICAgICAgICAgICAgICAgICAgICA8
    c291cmNlIHhzaTp0eXBlPSJJbmRleGVyIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhbmQgeHNpOnR5cGU9I
    kZsYXR0ZW4iPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZT0iUXVlcnkiPgogICAgIC
    AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c291cmNlIGFsaWFzPSIkdGhpcyI+CiAgICAgICAgICAgICAgICAgICAgICA
    gICAgICAgICAgICAgICAgIDxleHByZXNzaW9uIHBhdGg9ImNhdGVnb3J5IiBzY29wZT0iUngiIHhzaTp0eXBlPSJQcm9wZXJ0eSIv
    PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NvdXJjZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgI
    CAgICAgICAgPHdoZXJlIHhzaTp0eXBlPSJOb3QiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3Blcm
    FuZCB4c2k6dHlwZT0iSXNOdWxsIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhbmQgcGF
    0aD0iY29kaW5nIiB4c2k6dHlwZT0iUHJvcGVydHkiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
    ICA8c291cmNlIG5hbWU9IiR0aGlzIiB4c2k6dHlwZT0iQWxpYXNSZWYiLz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
    CAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgIC
    AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvd2hlcmU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
    gIDxyZXR1cm4+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxleHByZXNzaW9uIHBhdGg9ImNvZGluZyIg
    eHNpOnR5cGU9IlByb3BlcnR5Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNvdXJjZSBuYW1lP
    SIkdGhpcyIgeHNpOnR5cGU9IkFsaWFzUmVmIi8+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZXhwcm
    Vzc2lvbj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9yZXR1cm4+CiAgICAgICAgICAgICAgICAgICAgICA
    gICAgICAgICAgIDwvb3BlcmFuZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAg
    ICAgICAgICAgICAgICAgICA8b3BlcmFuZCB2YWx1ZVR5cGU9InQ6SW50ZWdlciIgdmFsdWU9IjAiIHhzaTp0eXBlPSJMaXRlcmFsI
    i8+CiAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvc291cmNlPgogICAgICAgICAgICAgICAgICAgICAgICA8L3NvdXJjZT4KIC
    AgICAgICAgICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCB2YWx1ZVR5cGU9InQ6U3R
    yaW5nIiB2YWx1ZT0ib3V0cGF0aWVudCIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgICAgICAgICAgICAgPC9vcGVyYW5kPgog
    ICAgICAgICAgICAgICA8L3doZXJlPgogICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgIDxvcGVyYW5kIG5hbWU9IkNvb
    nRleHRQcmVzY3JpcHRpb25zIiB4c2k6dHlwZT0iUGFyYW1ldGVyUmVmIi8+CiAgICAgICAgIDwvZXhwcmVzc2lvbj4KICAgICAgPC
    9kZWY+CiAgICAgIDxkZWYgbmFtZT0iQXZlcmFnZSBNTUUiIGNvbnRleHQ9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgo
    gICAgICAgICA8ZXhwcmVzc2lvbiBuYW1lPSJUb3RhbE1NRSIgbGlicmFyeU5hbWU9IkNvbW1vbiIgeHNpOnR5cGU9IkZ1bmN0aW9u
    UmVmIj4KICAgICAgICAgICAgPG9wZXJhbmQgbmFtZT0iR2V0IEFjdGl2ZSBBbWJ1bGF0b3J5IE9waW9pZCBSeCIgeHNpOnR5cGU9I
    kV4cHJlc3Npb25SZWYiLz4KICAgICAgICAgPC9leHByZXNzaW9uPgogICAgICA8L2RlZj4KICAgICAgPGRlZiBuYW1lPSJNTUUgPj
    0gNTAgbWcvZD8iIGNvbnRleHQ9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICAgICAgICA8ZXhwcmVzc2lvbiB4c2k
    6dHlwZT0iSWYiPgogICAgICAgICAgICA8Y29uZGl0aW9uIGFzVHlwZT0idDpCb29sZWFuIiB4c2k6dHlwZT0iQXMiPgogICAgICAg
    ICAgICAgICA8b3BlcmFuZCB4c2k6dHl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ZD4KICAgICAgICAgPC9
    leHByZXNzaW9uPgogICAgICA8L2RlZj4KICAgICAgPGRlZiBuYW1lPSJJbmNsdXNpb24gQ3JpdGVyaWEiIGNvbnRleHQ9IlBhdGll
    bnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICAgICAgICA8ZXhwcmVzc2lvbiB4c2k6dHlwZT0iQW5kIj4KICAgICAgICAgICAgP
    G9wZXJhbmQgeHNpOnR5cGU9IkFuZCI+CiAgICAgICAgICAgICAgIDxvcGVyYW5kIG5hbWU9IlZhbGlkYXRlIFRyaWdnZXIgRXZlbn
    QiIHhzaTp0eXBlPSJFeHByZXNzaW9uUmVmIi8+CiAgICAgICAgICAgICAgIDxvcGVyYW5kIHhzaTp0eXBlPSJOb3QiPgogICAgICA
    gICAgICAgICAgICA8b3BlcmFuZCBuYW1lPSJFeGNsdXNpb24gQ3JpdGVyaWEiIHhzaTp0eXBlPSJFeHByZXNzaW9uUmVmIi8+CiAg
    ICAgICAgICAgICAgIDwvb3BlcmFuZD4KICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZ
    T0iT3IiPgogICAgICAgICAgICAgICA8b3BlcmFuZCBuYW1lPSJNTUUgPj0gNTAgbWcvZD8iIHhzaTp0eXBlPSJFeHByZXNzaW9uUm
    VmIi8+CiAgICAgICAgICAgICAgIDxvcGVyYW5kIG5hbWU9Ik9uIEJlbnpvZGlhemVwaW5lIiB4c2k6dHlwZT0iRXhwcmVzc2lvblJ
    lZiIvPgogICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgIDwvZXhwcmVzc2lvbj4KICAgICAgPC9kZWY+CiAgICAgIDxkZWYg
    bmFtZT0iSGFzIFN1YnN0YW5jZSBBYnVzZSBIaXN0b3J5IiBjb250ZXh0PSJQYXRpZW50IiBhY2Nlc3NMZXZlbD0iUHVibGljIj4KI
    CAgICAgICAgPGV4cHJlc3Npb24geHNpOnR5cGU9IkV4aXN0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AgIDxleHBy
    ZXNzaW9uIHhzaTp0eXBlPSJDb25jYXRlbmF0ZSI+CiAgICAgICAgICAgIDxvcGVyYW5kIHZhbHVlVHlwZT0idDpTdHJpbmciIHZhb
    HVlPSJDb25zaWRlciBvZmZlcmluZyBuYWxveG9uZSBnaXZlbiBmb2xsb3dpbmcgcmlzayBmYWN0b3IocykgZm9yIG9waW9pZCBvdm
    VyZG9zZTogIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZT0iSWYiPgogICAgICAgICA
    gICAgICA8Y29uZGl0aW9uIGFzVHlwZT0idDpCb29sZWFuIiB4c2k6dHlwZT0iQXMiPgogICAgICAgICAgICAgICAgICA8b3BlcmFu
    ZCBuYW1lPSJNTUUgPj0gNTAgbWcvZD8iIHhzaTp0eXBlPSJFeHByZXNzaW9uUmVmIi8+CiAgICAgICAgICAgICAgIDwvY29uZGl0a
    W9uPgogICAgICAgICAgICAgICA8dGhlbiB4c2k6dHlwZT0iQ29uY2F0ZW5hdGUiPgogICAgICAgICAgICAgICAgICA8b3BlcmFuZC
    B4c2k6dHlwZT0iQ29uY2F0ZW5hdGUiPgogICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB
    2YWx1ZT0iQXZlcmFnZSBNTUUgKCIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgICAgICAgICAgICAgICAgPG9wZXJhbmQgeHNp
    OnR5cGU9IlRvU3RyaW5nIj4KICAgICAgICAgICAgICAgICAgICAgICAgPG9wZXJhbmQgbmFtZT0iQXZlcmFnZSBNTUUiIHhzaTp0e
    XBlPSJFeHByZXNzaW9uUmVmIi8+CiAgICAgICAgICAgICAgICAgICAgIDwvb3BlcmFuZD4KICAgICAgICAgICAgICAgICAgPC9vcG
    VyYW5kPgogICAgICAgICAgICAgICAgICA8b3BlcmFuZCB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iKSA+PSA1MCBtZy9kYXk
    sICIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgICAgICAgICAgPC90aGVuPgogICAgICAgICAgICAgICA8ZWxzZSB4c2k6dHlw
    ZT0iQ29uY2F0ZW5hdGUiPgogICAgICAgICAgICAgICAgICA8b3BlcmFuZCB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iIiB4c
    2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICAgICAgICAgICAgICA8b3BlcmFuZCB4c2k6dHlwZT0iSWYiPgogICAgICAgICAgICAgIC
    AgICAgICA8Y29uZGl0aW9uIGFzVHlwZT0idDpCb29sZWFuIiB4c2k6dHlwZT0iQXMiPgogICAgICAgICAgICAgICAgICAgICAgICA
    8b3BlcmFuZCBuYW1lPSJPbiBCZW56b2RpYXplcGluZSIgeHNpOnR5cGU9IkV4cHJlc3Npb25SZWYiLz4KICAgICAgICAgICAgICAg
    ICAgICAgPC9jb25kaXRpb24+CiAgICAgICAgICAgICAgICAgICAgIDx0aGVuIHZhbHVlVHlwZT0idDpTdHJpbmciIHZhbHVlPSJjb
    25jdXJyZW50IHVzZSBvZiBiZW56b2RpYXplcGluZSwgIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICAgICAgICAgICAgICAgIC
    A8ZWxzZSB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICAgICAgICAgICAgICA
    8L29wZXJhbmQ+CiAgICAgICAgICAgICAgIDwvZWxzZT4KICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICA8L2V4cHJlc3Np
    b24+CiAgICAgIDwvZGVmPgogICA8L3N0YXRlbWVudHM+CjwvbGlicmFyeT4K"/> 
  </content> 
</Library> 

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.