FHIR CQL Libraries for the Calculation of TX_CURR

1.  TX_CURR LIbrary . 
     This LIbrary contains the CQL Logic for the Calculation of the TX_CURR indicator  .  This LIbrary depends on the FHIRHelpers Library for some re-usable CQL functions .



TX-CURR Library
{ "resourceType": "Library", "id": "TX-CURR", "meta": { "versionId": "1", "lastUpdated": "2021-06-07T07:55:41.103+00:00" }, "url": "http://fhir.org/plir/Library/TX-CURR", "version": "0.0.1", "name": "TX_CURR", "status": "draft", "experimental": true, "relatedArtifact": [ { "type": "depends-on", "resource": "http://hl7.org/fhir/Library/FHIRHelpers|4.0.1" }, { "type": "depends-on", "resource": "https://openconceptlab.org/orgs/CIEL/sources/CIEL" } ], "parameter": [ { "name": "Measurement Period", "use": "in", "min": 0, "max": "1", "type": "Period" }, { "name": "Patient", "use": "out", "min": 0, "max": "1", "type": "Patient" }, { "name": "Anti Retroviral Therapy Adults And Children", "use": "out", "min": 0, "max": "*", "type": "Observation" }, { "name": "initial-population", "use": "out", "min": 0, "max": "1", "type": "boolean" } ], "content": [ { "contentType": "text/cql", "data": "bGlicmFyeSBUWF9DVVJSIHZlcnNpb24gJzAuMC4xJwogIAp1c2luZyBGSElSIHZlcnNpb24gJzQuMC4xJwogIAppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4xJyBjYWxsZWQgRkhJUkhlbHBlcnMKICAKY29kZXN5c3RlbSAiQ0lFTCI6ICdodHRwczovL29wZW5jb25jZXB0bGFiLm9yZy9vcmdzL0NJRUwvc291cmNlcy9DSUVMJwogIApjb2RlICJBbnRpIFJldHJvdmlyYWwgVGhlcmFweSI6ICcxNjAxMTknIGZyb20gIkNJRUwiIGRpc3BsYXkgJ0N1cnJlbnRseSB0YWtpbmcgQVJWJwoKY29kZSAiQ29kZWQgQW5zd2VyIjogJzEwNjUnIGZyb20gIkNJRUwiIGRpc3BsYXkgJ1llcycKICAKcGFyYW1ldGVyICJNZWFzdXJlbWVudCBQZXJpb2QiIEludGVydmFsPERhdGVUaW1lPgogIApjb250ZXh0IFBhdGllbnQKICAKZGVmaW5lICJJbml0aWFsIHBvcHVsYXRpb24iOgogICAgZXhpc3RzICJBbnRpIFJldHJvdmlyYWwgVGhlcmFweSBBZHVsdHMgQW5kIENoaWxkcmVuIgogIApkZWZpbmUgIkFudGkgUmV0cm92aXJhbCBUaGVyYXB5IEFkdWx0cyBBbmQgQ2hpbGRyZW4iOgogICAgKCBbT2JzZXJ2YXRpb246ICJBbnRpIFJldHJvdmlyYWwgVGhlcmFweSJdICkgbwogICAgICAgIHdoZXJlIG8udmFsdWUuY29kaW5nWzFdPSAiQ29kZWQgQW5zd2VyIgogICAgICAgIG9yIG8udmFsdWUuY29kaW5nWzJdPSAiQ29kZWQgQW5zd2VyIgogICAgICAgIGFuZCBvLnN0YXR1cyBpbiB7J2ZpbmFsJywgJ2FtZW5kZWQnLCAnY29ycmVjdGVkJ30KICAgICAgICBhbmQgby5lZmZlY3RpdmUgaW4gZGF5IG9mICJNZWFzdXJlbWVudCBQZXJpb2QiCg" } ] }



For the Actual CQL Logic Encoded , see  CQL Logic below

2. FHIRHelpers Library . 
This is a reusable LIbrary that contains resusable CQL functions  . see https://github.com/cqframework/clinical_quality_language/tree/master/Src/java/quick/src/main/resources/org/hl7/fhir  .

FHIRHelpers Library
{ "resourceType": "Library", "id": "library-FHIRHelpers-4.0.1", "meta": { "versionId": "1", "lastUpdated": "2021-06-07T10:55:24.262+03:00", "source": "#HKUixHtz09w6bpgO" }, "extension": [ { "url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem", "valueReference": { "reference": "#cqf-tooling" } } ], "url": "http://hl7.org/fhir/Library/FHIRHelpers", "version": "4.0.1", "name": "FHIRHelpers", "status": "active", "experimental": true, "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "logic-library" } ] }, "relatedArtifact": [ { "type": "depends-on", "resource": "http://hl7.org/fhir/Library/FHIR-ModelInfo|4.0.1" } ], "content": [ { "contentType": "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YWx1ZSBWaXNpb25TdGF0dXMpOiB2YWx1ZS52YWx1ZQ0KZGVmaW5lIGZ1bmN0aW9uIFRvU3RyaW5nKHZhbHVlIFhQYXRoVXNhZ2VUeXBlKTogdmFsdWUudmFsdWUNCmRlZmluZSBmdW5jdGlvbiBUb1N0cmluZyh2YWx1ZSBiYXNlNjRCaW5hcnkpOiB2YWx1ZS52YWx1ZQ0KZGVmaW5lIGZ1bmN0aW9uIFRvQm9vbGVhbih2YWx1ZSBib29sZWFuKTogdmFsdWUudmFsdWUNCmRlZmluZSBmdW5jdGlvbiBUb0RhdGUodmFsdWUgZGF0ZSk6IHZhbHVlLnZhbHVlDQpkZWZpbmUgZnVuY3Rpb24gVG9EYXRlVGltZSh2YWx1ZSBkYXRlVGltZSk6IHZhbHVlLnZhbHVlDQpkZWZpbmUgZnVuY3Rpb24gVG9EZWNpbWFsKHZhbHVlIGRlY2ltYWwpOiB2YWx1ZS52YWx1ZQ0KZGVmaW5lIGZ1bmN0aW9uIFRvRGF0ZVRpbWUodmFsdWUgaW5zdGFudCk6IHZhbHVlLnZhbHVlDQpkZWZpbmUgZnVuY3Rpb24gVG9JbnRlZ2VyKHZhbHVlIGludGVnZXIpOiB2YWx1ZS52YWx1ZQ0KZGVmaW5lIGZ1bmN0aW9uIFRvU3RyaW5nKHZhbHVlIHN0cmluZyk6IHZhbHVlLnZhbHVlDQpkZWZpbmUgZnVuY3Rpb24gVG9UaW1lKHZhbHVlIHRpbWUpOiB2YWx1ZS52YWx1ZQ0KZGVmaW5lIGZ1bmN0aW9uIFRvU3RyaW5nKHZhbHVlIHVyaSk6IHZhbHVlLnZhbHVlDQpkZWZpbmUgZnVuY3Rpb24gVG9TdHJpbmcodmFsdWUgeGh0bWwpOiB2YWx1ZS52YWx1ZQ==" } ] }

3. CQL Logic encoded in the TX_CURR Library .



CQL logic for calculating TX-CURR indicator
library TX_CURR version '0.0.1' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers codesystem "CIEL": 'https://openconceptlab.org/orgs/CIEL/sources/CIEL' code "Anti Retroviral Therapy": '160119' from "CIEL" display 'Currently taking ARV' code "Coded Answer": '1065' from "CIEL" display 'Yes' parameter "Measurement Period" Interval<DateTime> context Patient define "Initial population": exists "Anti Retroviral Therapy Adults And Children" define "Anti Retroviral Therapy Adults And Children": ( [Observation: "Anti Retroviral Therapy"] ) o where o.value.coding[1]= "Coded Answer" or o.value.coding[2]= "Coded Answer" and o.status in {'final', 'amended', 'corrected'} and o.effective in day of "Measurement Period"