<?xml version="1.0" encoding="UTF-8"?><Library xmlns="http://hl7.org/fhir">
  <id value="library-cms146-example"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Id: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">Library/library-cms146-example</td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Identifier: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <b>value: </b>
                  
            <span>CMS146</span>
               
          </td>
            
        </tr>
         
      </table>
         
      <p/>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Version: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">2.0.0</td>
            
        </tr>
         
      </table>
         
      <p/>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Title: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">Appropriate Testing for Children with Pharyngitis</td>
            
        </tr>
         
      </table>
         
      <p/>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Type: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-right: 25px;">
                  
            <span>
                     
              <span>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code: </b>
                           
                  <span>logic-library</span>
                        
                </span>
                     
              </span>
                  
            </span>
               
          </td>
            
        </tr>
         
      </table>
         
      <p/>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Status: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">draft</td>
            
        </tr>
         
      </table>
         
      <p/>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Description: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">Logic for CMS 146: Appropriate Testing for Children with Pharyngitis</td>
            
        </tr>
         
      </table>
         
      <p/>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Related: </b>
               
          </td>
            
        </tr>
            
        <tr style="vertical-align: top;">
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <p style="margin-bottom: 5px;">
                     
              <b>type: </b>
                     
              <span>depends-on</span>
                  
            </p>
                  
            <p style="margin-bottom: 5px;">
                     
              <b>Resource: </b>
                     
              <br/>
                     
              <span>
                        
                <span style="padding-left: 25px;">
                           
                  <b>reference: </b>
                           
                  <span>http://hl7.org/fhir/Library/library-quick-model-definition</span>
                        
                </span>
                     
              </span>
                  
            </p>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>Patient</span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>Condition</span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>category</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>diagnosis</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>clinicalStatus</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>confirmed</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>code</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>valueset: </b>
                           
                  <span>2.16.840.1.113883.3.464.1003.102.12.1011</span>
                        
                </span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>Condition</span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>category</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>diagnosis</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>clinicalStatus</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>confirmed</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>code</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>valueset: </b>
                           
                  <span>2.16.840.1.113883.3.464.1003.102.12.1012</span>
                        
                </span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>Encounter</span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>status</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>finished</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>class</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>ambulatory</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>type</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>valueset: </b>
                           
                  <span>2.16.840.1.113883.3.464.1003.101.12.1061</span>
                        
                </span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>DiagnosticReport</span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>diagnosis</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>valueset: </b>
                           
                  <span>2.16.840.1.113883.3.464.1003.198.12.1012</span>
                        
                </span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>Medication</span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>code</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>valueset: </b>
                           
                  <span>2.16.840.1.113883.3.464.1003.196.12.1001</span>
                        
                </span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>MedicationRequest</span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>status</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>active</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>medication.code</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>valueset: </b>
                           
                  <span>2.16.840.1.113883.3.464.1003.196.12.1001</span>
                        
                </span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Data Requirements: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>type: </b>
                        
                <span>MedicationStatement</span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>status</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>code:</b>
                           
                  <span>completed</span>
                        
                </span>
                     
              </p>
                     
              <p style="margin-bottom: 5px;">
                        
                <b>code filter:</b>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>path: </b>
                           
                  <span>medication.code</span>
                        
                </span>
                        
                <br/>
                        
                <span style="padding-left: 25px;">
                           
                  <b>valueset: </b>
                           
                  <span>2.16.840.1.113883.3.464.1003.196.12.1001</span>
                        
                </span>
                     
              </p>
                  
            </div>
               
          </td>
            
        </tr>
         
      </table>
         
      <table class="grid dict">
            
        <tr>
               
          <td>
                  
            <b>Content: </b>
               
          </td>
            
        </tr>
            
        <tr>
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <p style="margin-bottom: 5px;">
                     
              <b>type: </b>
                     
              <span>text/cql</span>
                  
            </p>
                  
            <p style="margin-bottom: 5px;">
                     
              <b>url: </b>
                     
              <span>library-cms146-example-content.cql</span>
                  
            </p>
               
          </td>
            
        </tr>
         
      </table>
      
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cds"/>
  </extension>
  <url value="http://hl7.org/fhir/Library/library-cms146-example"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.17.2"/>
  </identifier>
  <identifier>
    <use value="official"/>
    <value value="CMS146"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="CMS146"/>
  <title value="CMS146: Appropriate Testing for Children with Pharyngitis"/>
  <status value="draft"/>
  <type>
    <coding>
      <code value="logic-library"/>
    </coding>
  </type>
  <date value="2015-07-22"/>
  <publisher value="HL7 International / Clinical Decision Support"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/dss"/>
    </telecom>
  </contact>
  <description value="Logic for CMS 146: Appropriate Testing for Children with Pharyngitis"/>
  <useContext>
    <code>
      <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
      <code value="age"/>
    </code>
    <valueRange>
      <low>
        <value value="3"/>
        <unit value="a"/>
      </low>
      <high>
        <value value="18"/>
        <unit value="a"/>
      </high>
    </valueRange>
  </useContext>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource value="http://hl7.org/fhir/Library/library-quick-model-definition"/>
  </relatedArtifact>
  <dataRequirement>
    <type value="Patient"/>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition"/>
    <codeFilter>
      <path value="category"/>
      <code>
        <code value="diagnosis"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="clinicalStatus"/>
      <code>
        <code value="confirmed"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="code"/>
      <valueSet value="urn:oid:2.16.840.1.113883.3.464.1003.102.12.1011"/>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition"/>
    <codeFilter>
      <path value="category"/>
      <code>
        <code value="diagnosis"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="clinicalStatus"/>
      <code>
        <code value="confirmed"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="code"/>
      <valueSet value="urn:oid:2.16.840.1.113883.3.464.1003.102.12.1012"/>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Encounter"/>
    <codeFilter>
      <path value="status"/>
      <code>
        <code value="finished"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="class"/>
      <code>
        <code value="ambulatory"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="type"/>
      <valueSet value="urn:oid:2.16.840.1.113883.3.464.1003.101.12.1061"/>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="DiagnosticReport"/>
    <codeFilter>
      <path value="diagnosis"/>
      <valueSet value="urn:oid:2.16.840.1.113883.3.464.1003.198.12.1012"/>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Medication"/>
    <codeFilter>
      <path value="code"/>
      <valueSet value="urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001"/>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="MedicationRequest"/>
    <codeFilter>
      <path value="status"/>
      <code>
        <code value="active"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="medication.code"/>
      <valueSet value="urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001"/>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="MedicationStatement"/>
    <codeFilter>
      <path value="status"/>
      <code>
        <code value="completed"/>
      </code>
    </codeFilter>
    <codeFilter>
      <path value="medication.code"/>
      <valueSet value="urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001"/>
    </codeFilter>
  </dataRequirement>
  <content>
    <contentType value="text/cql"/>
    <data value="[encoded data, 5976 characters]"/>
  </content>
  <content>
    <contentType value="application/elm+xml"/>
    <data value="[encoded data, 77328 characters]"/>
  </content>
</Library>