FHIR Measure Resource For Calculation of TX_PVLS

FHIR Measure Resource for the Calculation of  TX_PVLS indicator.

TX_PVLS Measure Resource
{ "resourceType": "Measure", "id": "TX-PVLS", "identifier": [ { "use": "official", "value": "TX_PVLS" } ], "version": "0.0.1", "title": "Sample TX_PVLS population selection criteria and evaluation", "status": "draft", "experimental": true, "library": [ "Library/TX-PVLS" ], "scoring": { "coding": [ { "code": "proportion" } ] }, "group": [ { "id": "population", "population": [ { "code": { "coding": [ { "code": "initial-population" } ] }, "criteria": { "language": "application/x-fhir-query", "expression": "Observation?code=https%3A%2F%2Fopenconceptlab.org%2Forgs%2FCIEL%2Fsources%2FCIEL%7C856,https%3A%2F%2Fopenconceptlab.org%2Forgs%2FCIEL%2Fsources%2FCIEL%7C1305&_include=Observation%3Apatient" } }, { "code": { "coding": [ { "code": "initial-population" } ] }, "criteria": { "language": "text/cql", "expression": "Initial Population" } }, { "code": { "coding": [ { "code": "denominator" } ] }, "criteria": { "language": "text/cql", "expression": "Denominator" } }, { "code": { "coding": [ { "code": "numerator" } ] }, "criteria": { "language": "text/cql", "expression": "Numerator" } } ] } ] }



This Measure Resource can be processed for both Generating the necessary dataset and also calculating the Indicator

  • For  generating the dataset  necesary for the Indicator, Load the above resource into the Hapi Fhir  and invoke the collect-data FHIR Operation with  GET request  like below  .

    GET: [Fhir_base_url]/Measure/TX-PVLS/$collect-data?periodStart=<date>&periodEnd=<date>