Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

FHIR Measure Resource for the Calculation of  TX_CURR indicator


{
    "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"
                    }
                },
                {
                    "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  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>

  • No labels