Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FHIR Measure Resource for the Calculation of  TX_CURR indicator

...


Code Block
titleTX_CURR Measure resource
{
    "resourceType": "Measure",

...


    "id": "TX-CURR",

...


    "identifier":

...

 [
        {
            "use": "official",

...


            "value": "TX_CURR"

...


        }
    ],
    "version": "0.0.1",

...


    "title": "Sample TX_CURR population selection criteria and evaluation",

...


    "status": "draft",

...


    "experimental": true,

...


    "library":

...

 [
        "Library/TX-CURR"

...


    ],

...


    "scoring":

...

 {
        "coding":

...

 [
            {
                "code": "proportion"

...


            }
        ]
    },
    "group":

...

 [
        {
            "id": "population",

...


            "population":

...

 [
                {
                    "code":

...

 {
                        "coding":

...

 [
                            {
                                "code": "initial-population"

...


                            }
                        ]
                    },
                    "criteria":

...

 {
                        "language": "application/x-fhir-query",

...


                        "expression": "Observation?code=160119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&_include=Observation:patient"

...


                    }
                },
                {
                    "code":

...

 {
                        "coding":

...

 [
                            {
                                "code": "

...

initial-population"
                            }
                        ]
                    },
                    "criteria":

...

 {
                        "language": "text/cql",

...


                        "expression": "

...

Initial population"
                    }
                }
            ]
        }
    ]
}


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

  • For  generating the dataset  necessary 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-CURR/$collect-data?periodStart=<date>&periodEnd=<date>


  •      For Generating a Measure report ,  Load the above resource into the Hapi Fhir  and  invoke the evaluate-measure FHIR Operation with  GET request  like below .

    GET: [Fhir_base_url]/Measure/TX-CURR/$evaluate-measure?periodStart=<date>&periodEnd=<date>