{ "resourceType": "Library", "id": "library-cms146-example", "text": { "status": "generated", "div": "
CMS 146 Logic
" }, "identifier": [ { "use": "official", "value": "CMS146" } ], "version": "2.0.0", "title": "Appropriate Testing for Children with Pharyngitis", "type": { "coding": [ { "code": "logic-library" } ] }, "status": "draft", "description": "Logic for CMS 146: Appropriate Testing for Children with Pharyngitis", "publicationDate": "2015-07-22", "relatedResource": [ { "type": "depends-on", "resource": { "reference": "Library/library-quick-model-definition" } } ], "dataRequirement": [ { "type": "Condition", "codeFilter": [ { "path": "code", "valueSetString": "Other Female Reproductive Conditions" } ] }, { "type": "Patient" }, { "type": "Condition", "codeFilter": [ { "path": "category", "valueCode": [ "diagnosis" ] }, { "path": "clinicalStatus", "valueCode": [ "confirmed" ] }, { "path": "code", "valueSetString": "2.16.840.1.113883.3.464.1003.102.12.1011" } ] }, { "type": "Condition", "codeFilter": [ { "path": "category", "valueCode": [ "diagnosis" ] }, { "path": "clinicalStatus", "valueCode": [ "confirmed" ] }, { "path": "code", "valueSetString": "2.16.840.1.113883.3.464.1003.102.12.1012" } ] }, { "type": "Encounter", "codeFilter": [ { "path": "status", "valueCode": [ "finished" ] }, { "path": "class", "valueCode": [ "ambulatory" ] }, { "path": "type", "valueSetString": "2.16.840.1.113883.3.464.1003.101.12.1061" } ] }, { "type": "DiagnosticReport", "codeFilter": [ { "path": "diagnosis", "valueSetString": "2.16.840.1.113883.3.464.1003.198.12.1012" } ] }, { "type": "Medication", "codeFilter": [ { "path": "code", "valueSetString": "2.16.840.1.113883.3.464.1003.196.12.1001" } ] }, { "type": "MedicationOrder", "codeFilter": [ { "path": "status", "valueCode": [ "active" ] }, { "path": "medication.code", "valueSetString": "2.16.840.1.113883.3.464.1003.196.12.1001" } ] }, { "type": "MedicationStatement", "codeFilter": [ { "path": "status", "valueCode": [ "completed" ] }, { "path": "medication.code", "valueSetString": "2.16.840.1.113883.3.464.1003.196.12.1001" } ] } ], "content": { "contentType": "text/plain", "url": "http://cqlrepository.org/CMS146.cql" } }