FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.deqm
Resource TypeMeasure
IdMeasure-FHIRPath-example.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/HL7/davinci-deqm/Measure-FHIRPath-example.html
URLhttp://hl7.org/fhir/uv/deqm/Measure/FHIRPath-example
Version1.0.0-ballot
Statusdraft
Date2024-05-18T21:25:01+00:00
NameFHIRPathExample
TitleExample of a Measure using FHIRPath
Realmuv
Authorityhl7
DescriptionThis measure exemplifies use of FHIRPath expressions in a FHIR Measure

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Metadata
Title Example of a Measure using FHIRPath
Version 1.0.0-ballot
Identifier urn:oid:2.16.840.1.113883.4.642.40.42.29.4
Status Draft
Experimental true
Use Context focus from http://terminology.hl7.org/CodeSystem/usage-context-type = COVID-19
Jurisdiction World
Steward (Publisher) HL7 International / Clinical Quality Information
Description

This measure exemplifies use of FHIRPath expressions in a FHIR Measure

Documentation Description: CDC/NHSN COVID-19 Patient Impact & Hospital Capacity Module Home Page
Content URL: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/acute-care-hospital/covid19/
Document: null @ https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/acute-care-hospital/covid19/
Documentation Description: Importing COVID-19 Patient Module Denominator data for Patient Safety Component
Content URL: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/import-covid19-data-508.pdf
Document: null @ https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/import-covid19-data-508.pdf
Documentation Description: Instructions for Completion of the COVID-19 Patient Impact and Hospital Capacity Module Form (CDC 57.130)
Content URL: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/57.130-toi-508.pdf
Document: null @ https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/57.130-toi-508.pdf
Documentation Description: CDC/NHSN COVID-19 Reporting CSV File Template
Content URL: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv
Document: null @ https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv
Measure Group (Rate)
Generated using version 0.5.4-cibuild of the sample-content-ig Liquid templates

Source1

{
  "resourceType": "Measure",
  "id": "FHIRPath-example",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/uv/deqm/Measure/FHIRPath-example",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.42.29.4"
    }
  ],
  "version": "1.0.0-ballot",
  "name": "FHIRPathExample",
  "title": "Example of a Measure using FHIRPath",
  "status": "draft",
  "experimental": true,
  "date": "2024-05-18T21:25:01+00:00",
  "publisher": "HL7 International / Clinical Quality Information",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cqi"
        }
      ]
    }
  ],
  "description": "This measure exemplifies use of FHIRPath expressions in a FHIR Measure",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "840539006",
            "display": "COVID-19"
          }
        ]
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "relatedArtifact": [
    {
      "type": "documentation",
      "label": "NHSN COVID-19 Reporting",
      "display": "CDC/NHSN COVID-19 Patient Impact & Hospital Capacity Module Home Page",
      "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/acute-care-hospital/covid19/",
      "document": {
        "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/acute-care-hospital/covid19/"
      }
    },
    {
      "type": "documentation",
      "label": "How to import COVID-19 Summary Data",
      "display": "Importing COVID-19 Patient Module Denominator data for Patient Safety Component",
      "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/import-covid19-data-508.pdf",
      "document": {
        "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/import-covid19-data-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)",
      "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/57.130-toi-508.pdf",
      "document": {
        "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/57.130-toi-508.pdf"
      }
    },
    {
      "type": "documentation",
      "label": "CSV File Template",
      "display": "CDC/NHSN COVID-19 Reporting CSV File Template",
      "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv",
      "document": {
        "url": "https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv"
      }
    }
  ],
  "group": [
    {
      "extension": [
        {
          "extension": [
            {
              "url": "subject",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/resource-types",
                    "code": "Device"
                  },
                  {
                    "system": "http://snomed.info/sct",
                    "code": "257463002",
                    "display": "Ventilator Outlet"
                  }
                ],
                "text": "Ventilator capacity"
              }
            },
            {
              "url": "scoring",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://example.org/fhir/",
                    "code": "capacity"
                  }
                ]
              }
            },
            {
              "url": "type",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/measure-type",
                    "code": "structure"
                  }
                ]
              }
            },
            {
              "url": "improvementNotation",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
                    "code": "decrease"
                  }
                ]
              }
            },
            {
              "url": "rateAggregation",
              "valueString": "point-in-time"
            }
          ],
          "url": "http://example.org/fhir/MeasureGroupAttributes"
        }
      ],
      "code": {
        "coding": [
          {
            "system": "http://example.org/fhir/",
            "code": "Ventilators",
            "display": "Ventilators"
          }
        ],
        "text": "Ventilator Reporting"
      },
      "population": [
        {
          "code": {
            "coding": [
              {
                "system": "http://example.org/fhir/",
                "code": "numVent",
                "display": "Mechanical Ventilators"
              },
              {
                "system": "http://terminology.hl7.org/CodeSystem/measure-population",
                "code": "denominator"
              }
            ],
            "text": "Total number of ventilators"
          },
          "description": "Count of all ventilators that can support patient care, whether or not they are presently in use.",
          "criteria": {
            "description": "Computes the total number of ventilators from the previously reported MeasureReport",
            "name": "NumVent",
            "language": "text/fhirpath",
            "expression": "iif(trace('PriorReport exists:', %PriorReport.exists()), %PriorReport.group[3].population[0].count, 0)"
          }
        },
        {
          "code": {
            "coding": [
              {
                "system": "http://example.org/fhir/",
                "code": "numVentUse",
                "display": "Mechanical Ventilators in Use"
              },
              {
                "system": "http://terminology.hl7.org/CodeSystem/measure-population",
                "code": "numerator"
              }
            ],
            "text": "Total number of ventilators in use"
          },
          "description": "Count of all ventilators in use.",
          "criteria": {
            "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.",
            "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)"
          }
        },
        {
          "code": {
            "coding": [
              {
                "system": "http://example.org/fhir/",
                "code": "numVentAvail",
                "display": "Mechanical Ventilators Available"
              },
              {
                "system": "http://example.org/fhir/",
                "code": "numerator-complement"
              }
            ],
            "text": "Total number of ventilators not presently in use."
          },
          "description": "Count of all ventilators not presently in use.",
          "criteria": {
            "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",
            "name": "NumVentAvail",
            "language": "text/fhirpath",
            "expression": "%NumVent - %NumVentUse.total.toInteger()"
          }
        }
      ]
    }
  ]
}