CMS 146 Logic
<type> <coding> <code value="logic-library"/> </coding> </type> <status value="draft"/> <description value="Logic for CMS 146: Appropriate Testing for Children with Pharyngitis"/> <publicationDate value="2015-07-22"/> <relatedResource> <type value="depends-on"/> <resource> <reference value="Library/library-quick-model-definition"/> </resource> </relatedResource> <!-- TODO: Need to determine the best way to expose this information --> <!-- valueSet> <name value="Female Administrative Sex"/> <identifier value="2.16.840.1.113883.3.560.100.2"/> </valueSet --> <!-- ... other value sets as defined in the library --> <dataRequirement> <type value="Condition"/> <codeFilter> <path value="code"/> <valueSetString value="Other Female Reproductive Conditions"/> </codeFilter> </dataRequirement> <!-- ... other data requirements as defined in the library --> <dataRequirement> <type value="Patient"/> </dataRequirement> <dataRequirement> <type value="Condition"/> <codeFilter> <path value="category"/> <valueCode value="diagnosis"/> </codeFilter> <codeFilter> <path value="clinicalStatus"/> <valueCode value="confirmed"/> </codeFilter> <codeFilter> <path value="code"/> <valueSetString value="2.16.840.1.113883.3.464.1003.102.12.1011"/> </codeFilter> </dataRequirement> <dataRequirement> <type value="Condition"/> <codeFilter> <path value="category"/> <valueCode value="diagnosis"/> </codeFilter> <codeFilter> <path value="clinicalStatus"/> <valueCode value="confirmed"/> </codeFilter> <codeFilter> <path value="code"/> <valueSetString value="2.16.840.1.113883.3.464.1003.102.12.1012"/> </codeFilter> </dataRequirement> <dataRequirement> <type value="Encounter"/> <codeFilter> <path value="status"/> <valueCode value="finished"/> </codeFilter> <codeFilter> <path value="class"/> <valueCode value="ambulatory"/> </codeFilter> <codeFilter> <path value="type"/> <valueSetString value="2.16.840.1.113883.3.464.1003.101.12.1061"/> </codeFilter> </dataRequirement> <dataRequirement> <type value="DiagnosticReport"/> <codeFilter> <path value="diagnosis"/> <valueSetString value="2.16.840.1.113883.3.464.1003.198.12.1012"/> </codeFilter> </dataRequirement> <dataRequirement> <type value="Medication"/> <codeFilter> <path value="code"/> <valueSetString value="2.16.840.1.113883.3.464.1003.196.12.1001"/> </codeFilter> </dataRequirement> <dataRequirement> <type value="MedicationOrder"/> <codeFilter> <path value="status"/> <valueCode value="active"/> </codeFilter> <codeFilter> <path value="medication.code"/> <valueSetString value="2.16.840.1.113883.3.464.1003.196.12.1001"/> </codeFilter> </dataRequirement> <dataRequirement> <type value="MedicationStatement"/> <codeFilter> <path value="status"/> <valueCode value="completed"/> </codeFilter> <codeFilter> <path value="medication.code"/> <valueSetString value="2.16.840.1.113883.3.464.1003.196.12.1001"/> </codeFilter> </dataRequirement> <content> <contentType value="text/plain"/> <url value="http://cqlrepository.org/CMS146.cql"/> </content> </Library>