{
"description": "This measure exemplifies use of FHIRPath expressions in a FHIR Measure",
"_filename": "example/Measure-FHIRPath-example.json",
"package_name": "hl7.fhir.uv.deqm",
"date": "2024-05-18T21:25:01+00:00",
"group": [ {
"code": {
"text": "Ventilator Reporting",
"coding": [ {
"code": "Ventilators",
"system": "http://example.org/fhir/",
"display": "Ventilators"
} ]
},
"extension": [ {
"url": "http://example.org/fhir/MeasureGroupAttributes",
"extension": [ {
"url": "subject",
"valueCodeableConcept": {
"text": "Ventilator capacity",
"coding": [ {
"code": "Device",
"system": "http://hl7.org/fhir/resource-types"
}, {
"code": "257463002",
"system": "http://snomed.info/sct",
"display": "Ventilator Outlet"
} ]
}
}, {
"url": "scoring",
"valueCodeableConcept": {
"coding": [ {
"code": "capacity",
"system": "http://example.org/fhir/"
} ]
}
}, {
"url": "type",
"valueCodeableConcept": {
"coding": [ {
"code": "structure",
"system": "http://terminology.hl7.org/CodeSystem/measure-type"
} ]
}
}, {
"url": "improvementNotation",
"valueCodeableConcept": {
"coding": [ {
"code": "decrease",
"system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"
} ]
}
}, {
"url": "rateAggregation",
"valueString": "point-in-time"
} ]
} ],
"population": [ {
"code": {
"text": "Total number of ventilators",
"coding": [ {
"code": "numVent",
"system": "http://example.org/fhir/",
"display": "Mechanical Ventilators"
}, {
"code": "denominator",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
} ]
},
"criteria": {
"name": "NumVent",
"language": "text/fhirpath",
"expression": "iif(trace('PriorReport exists:', %PriorReport.exists()), %PriorReport.group[3].population[0].count, 0)",
"description": "Computes the total number of ventilators from the previously reported MeasureReport"
},
"description": "Count of all ventilators that can support patient care, whether or not they are presently in use."
}, {
"code": {
"text": "Total number of ventilators in use",
"coding": [ {
"code": "numVentUse",
"system": "http://example.org/fhir/",
"display": "Mechanical Ventilators in Use"
}, {
"code": "numerator",
"system": "http://terminology.hl7.org/CodeSystem/measure-population"
} ]
},
"criteria": {
"name": "NumVentUse",
"language": "text/fhirpath",
"expression": "findAll('Encounter',\n including('subject'),\n with('status').equalTo('in-progress'|'finished'),\n with('date').within(%ReportingPeriod)\n).onServers(%Base)\n.select(entry.resource as Patient)\n.where(\n iif(\n whereExists('Observation',\n with('status').equalTo('registered'|'preliminary'|'final'|'amended'|'corrected'),\n with('patient').equalTo($this.id),\n with('verificationStatus').notEqualTo('refuted'|'entered-in-error'),\n with('date').within(%ReportingPeriod),\n with('code').in(%VentilatorObservations.url)\n ).onServers(%Base)\n true,\n whereExists('Procedure',\n with('status').equalTo('in-progress'|'completed'),\n with('patient').equalTo($this.id),\n with('date').within(%ReportingPeriod),\n with('code').in(%VentilatorProcedures.url)\n ).onServers(%Base)\n )\n)",
"description": "Identifies the number of ventilators in use by counting Patient with an Observation\n or Procedure resource from an appropriate value set indicating ventilator use."
},
"description": "Count of all ventilators in use."
}, {
"code": {
"text": "Total number of ventilators not presently in use.",
"coding": [ {
"code": "numVentAvail",
"system": "http://example.org/fhir/",
"display": "Mechanical Ventilators Available"
}, {
"code": "numerator-complement",
"system": "http://example.org/fhir/"
} ]
},
"criteria": {
"name": "NumVentAvail",
"language": "text/fhirpath",
"expression": "%NumVent - %NumVentUse.total.toInteger()",
"description": "Computes the number of ventilators available by substracting the number of ventilators in use\n determined by population 1 from thee total number of ventilators given in population 0"
},
"description": "Count of all ventilators not presently in use."
} ]
} ],
"publisher": "HL7 International / Clinical Quality Information",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"display": "World"
} ]
} ],
"name": "FHIRPathExample",
"useContext": [ {
"code": {
"code": "focus",
"system": "http://terminology.hl7.org/CodeSystem/usage-context-type"
},
"valueCodeableConcept": {
"coding": [ {
"code": "840539006",
"system": "http://snomed.info/sct",
"display": "COVID-19"
} ]
}
} ],
"type": null,
"experimental": "true",
"resourceType": "Measure",
"title": "Example of a Measure using FHIRPath",
"package_version": "1.0.0-ballot",
"status": "draft",
"id": "c95d8325-7b49-41a8-bc23-89e01f4a4ee4",
"kind": null,
"url": "http://hl7.org/fhir/uv/deqm/Measure/FHIRPath-example",
"identifier": [ {
"value": "urn:oid:2.16.840.1.113883.4.642.40.42.29.4",
"system": "urn:ietf:rfc:3986"
} ],
"version": "1.0.0-ballot",
"relatedArtifact": [ {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/acute-care-hospital/covid19/",
"type": "documentation",
"label": "NHSN COVID-19 Reporting",
"display": "CDC/NHSN COVID-19 Patient Impact & Hospital Capacity Module Home Page",
"document": {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/acute-care-hospital/covid19/"
}
}, {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/import-covid19-data-508.pdf",
"type": "documentation",
"label": "How to import COVID-19 Summary Data",
"display": "Importing COVID-19 Patient Module Denominator data for Patient Safety Component",
"document": {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/import-covid19-data-508.pdf"
}
}, {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/57.130-toi-508.pdf",
"type": "documentation",
"label": "Table of Instructions",
"display": "Instructions for Completion of the COVID-19 Patient Impact and Hospital Capacity Module Form (CDC 57.130)",
"document": {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/57.130-toi-508.pdf"
}
}, {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv",
"type": "documentation",
"label": "CSV File Template",
"display": "CDC/NHSN COVID-19 Reporting CSV File Template",
"document": {
"url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv"
}
} ],
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/cqi",
"system": "url"
} ]
} ]
}