Location-Aware-example
type: Bundle
node role: treeRoot
id:
  v: Location-Aware-example
type:
  v: transaction
entry:
  request:
    method:
      v: POST
    url:
      v: Location
entry:
  request:
    method:
      v: POST
    url:
      v: Measure
entry:
  request:
    method:
      v: POST
    url:
      v: Organization
entry:
  request:
    method:
      v: POST
    url:
      v: Organization
entry:
  request:
    method:
      v: POST
    url:
      v: MeasureReport
entry:
  request:
    method:
      v: POST
    url:
      v: MeasureReport
entry:
  request:
    method:
      v: POST
    url:
      v: Measure

urn:…
type: Location
id:
  v: Loc-X140008
meta:
  security:
    system:
      v: http://terminology.hl7.org/CodeSystem/v3-ActReason
    code:
      v: HTEST
text:
  status:
    v: generated
  div: Generated Narrative: Location Loc-X140008 Security Label: test health data (Details: ActReason code HTEST = 'test health data') status: Active name: CLARKE MEMORIAL HOSPITAL Building mode: Instance type: Hospital address: 701 W NORTH AVE MELROSE PARK IL 60160 USA (work) physicalType: Site Positions - Longitude Latitude * -87.841101 41.908342 managingOrganization: Bundle: type = transaction
status:
  v: active
name:
  v: CLARKE MEMORIAL HOSPITAL Building
mode:
  v: instance
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/v3-RoleCode
    code:
      v: HOSP
address:
  use:
    v: work
  type:
    v: both
  line:
    v: 701 W NORTH AVE
  city:
    v: MELROSE PARK
  district:
    v: COOK
  state:
    v: IL
  postal code:
    v: 60160
  country:
    v: USA
physical type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/location-physical-type
    code:
      v: si
position:
  longitude:
    v: -87.841101
  latitude:
    v: 41.908342
managing organization:
  link: http://hl7.org/fhir/us/davinci-deqm/Organization/X140008
  reference:
    v: Organization/X140008

urn:…
type: Measure
id:
  v: CDCPatientImpactAndHospitalCapacity
text:
  status:
    v: extensions
  div: Knowledge Artifact Metadata Name (machine-readable) CDCPatientImpactAndHospitalCapacity Title (human-readable) Patient Impact and Hospital Capacity Status Draft Experimental true Description This measure demonstrates reporting on bed availability and use at a facility location based on CDC/NHSN reporting requirements. Use Context Clinical Focus = COVID-19 Measure Developer Centers for Disease Control/National Healthcare Safety Network (CDC/NHSN): mailto:nhsn@cdc.gov Measure Steward HL7 International / Public Health Steward Contact Details http://www.hl7.org/Special/committees/pher Steward Contact Details pher@lists.hl7.org Steward Contact Details Keith W. Boone: mailto:kboone@ainq.com Documentation Description: CDC/NHSN COVID-19 Patient Impact & Hospital Capacity Module Home Page Citation: 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 Citation: 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) Citation: 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 Citation: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv Measure Metadata Version Number 1.0.1 Measure Scoring Continuous Variable Definition Ventilator : Any device used to support, assist or control respiration (inclusive of the weaning period) through the application of positive pressure to the airway when delivered via an artificial airway, specifically an oral/nasal endotracheal or tracheostomy tube. Note: Ventilation and lung expansion devices that deliver positive pressure to the airway…
extension:
  url:
    v: http://example.org/fhir/saner/StructureDefinition/ReportingPeriod
  value: Timing
    repeat:
      frequency:
        v: 1
      period:
        v: 1
      period unit:
        v: d
url:
  v: http://example.org/fhir/saner/Measure/CDCPatientImpactAndHospitalCapacity
identifier:
  system:
    v: urn:ietf:rfc:3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.42.29.3
version:
  v: 1.0.1
name:
  v: CDCPatientImpactAndHospitalCapacity
title:
  v: Patient Impact and Hospital Capacity
status:
  v: draft
experimental:
  v: true
date:
  v: 2024-05-18T21:25:01+00:00
publisher:
  v: HL7 International / Public Health
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/pher
contact:
  telecom:
    system:
      v: email
contact:
  name:
    v: Keith W. Boone
  telecom:
    system:
      v: email
description:
  v: This measure demonstrates reporting on bed availability and use at a facility location based on CDC/NHSN reporting requirements.
use context:
  code:
    system:
      v: http://terminology.hl7.org/CodeSystem/usage-context-type
    code:
      v: focus
  value: CodeableConcept
    coding: http://snomed.info/id/840539006
      system:
        v: http://snomed.info/sct
      code:
        v: 840539006
      display:
        v: COVID-19
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
    display:
      v: World
author:
  name:
    v: Centers for Disease Control/National Healthcare Safety Network (CDC/NHSN)
  telecom:
    system:
      v: email
related artifact:
  type:
    v: documentation
  label:
    v: NHSN COVID-19 Reporting
  display:
    v: CDC/NHSN COVID-19 Patient Impact & Hospital Capacity Module Home Page
  citation:
    v: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/acute-care-hospital/covid19/
related artifact:
  type:
    v: documentation
  label:
    v: How to import COVID-19 Summary Data
  display:
    v: Importing COVID-19 Patient Module Denominator data for Patient Safety Component
  citation:
    v: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/import-covid19-data-508.pdf
related artifact:
  type:
    v: documentation
  label:
    v: Table of Instructions
  display:
    v: Instructions for Completion of the COVID-19 Patient Impact and Hospital Capacity Module Form (CDC 57.130)
  citation:
    v: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/57.130-toi-508.pdf
related artifact:
  type:
    v: documentation
  label:
    v: CSV File Template
  display:
    v: CDC/NHSN COVID-19 Reporting CSV File Template
  citation:
    v: https://web.archive.org/web/20200501215043/https://www.cdc.gov/nhsn/pdfs/covid19/covid19-test-csv-import.csv
library:
  v: http://example.org/fhir/saner/StructureDefinition/NHSNMeasureLibrary
  link: http://example.org/fhir/saner/StructureDefinition/NHSNMeasureLibrary
scoring:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/measure-scoring
    code:
      v: continuous-variable
definition:
  v: Ventilator : Any device used to support, assist or control respiration (inclusive of the weaning period) through the application of positive pressure to the airway when delivered via an artificial airway, specifically an oral/nasal endotracheal or tracheostomy tube. Note: Ventilation and lung expansion devices that deliver positive pressure to the airway (for example: CPAP, BiPAP, bi-level, IPPB and PEEP) via non-invasive means (for example: nasal prongs, nasal mask, full face mask, total mask, etc.) are not considered ventilators unless positive pressure is delivered via an artificial airway (oral/nasal endotracheal or tracheostomy tube). Beds : Baby beds in mom's room count as 1 bed, even if there are multiple baby beds Follow-up in progress if staffed is less than licensed. Total includes all beds, even if with surge beds it exceeds licensed beds. ICU beds : Include NICU (from CDC Webinar 31-Mar-2020) (outstanding question on burn unit)
group:
  extension:
    extension:
      url:
        v: scoring
      value: CodeableConcept
    extension:
      url:
        v: subject
      value: CodeableConcept
        coding: http://snomed.info/id/91537007
    extension:
      url:
        v: type
      value: CodeableConcept
    extension:
      url:
        v: improvementNotation
      value: CodeableConcept
    extension:
      url:
        v: rateAggregation
      value: string
        v: count
    url:
      v: http://example.org/fhir/saner/StructureDefinition/MeasureGroupAttributes
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
      code:
        v: Beds
      display:
        v: Beds
    text:
      v: Hospital Bed Reporting
  population:
    code:
      text:
        v: Total number of all Inpatient and outpatient beds, including all staffed,ICU, licensed, and overflow (surge) beds used for inpatients or outpatients
    description:
      v: Enter the total number of all hospital beds, including inpatient and outpatient beds. All staffed, licensed, and overflow and surge/expansion beds used for inpatients or outpatients. This includes ICU beds.
    criteria:
      description:
        v: A bed in any location
      name:
        v: numTotBeds
      language:
        v: text/fhirpath
      expression:
        v: Device.where(type in %ValueSet-BedDeviceTypes and location.physicalType in %ValueSet-BedLocationTypes)
  population:
    code:
      text:
        v: Inpatient beds, including all staffed, licensed, and overflow (surge) beds used for inpatients
    description:
      v: Required. Enter the total number of all inpatient beds, including all staffed, licensed, and overflow and surge/expansion beds created for inpatient care. This includes intensive care unit (ICU) beds.
    criteria:
      description:
        v: A Bed where the location is an inpatient location.
      name:
        v: numbeds
      language:
        v: text/fhirpath
      expression:
        v: %numTotBeds.where(location.type in %ValueSet-InpatientLocations)
  population:
    code:
      text:
        v: Total number of staffed inpatient beds that are occupied

urn:…
type: Organization
id:
  v: X140008
text:
  status:
    v: generated
  div: Generated Narrative: Organization X140008 identifier: http://sanerproject.org/connectathon/hospitals/X140008 active: true type: Healthcare Provider name: CLARKE MEMORIAL HOSPITAL address: 701 W NORTH AVE MELROSE PARK IL 60160 USA (work)
identifier:
  system:
    v: http://sanerproject.org/connectathon/hospitals
  value:
    v: X140008
active:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/organization-type
    code:
      v: prov
name:
  v: CLARKE MEMORIAL HOSPITAL
address:
  use:
    v: work
  type:
    v: both
  line:
    v: 701 W NORTH AVE
  city:
    v: MELROSE PARK
  district:
    v: COOK
  state:
    v: IL
  postal code:
    v: 60160
  country:
    v: USA

urn:…
type: Organization
id:
  v: NJ-DPH
text:
  status:
    v: generated
  div: Generated Narrative: Organization NJ-DPH name: New Jersey Department of Public Health
name:
  v: New Jersey Department of Public Health

urn:…
type: MeasureReport
text:
  status:
    v: extensions
  div: Generated Narrative: MeasureReport ExampleNJ-20200404-FEMADailyHospitalCOVID19Reporting identifier: <a href="http://terminology.hl7.org/5.5.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR. This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)/urn:uuid:375c3957-9219-11ea-1863-09173f13e4c5 status: Complete type: Summary measure: FEMA Laboratory Orders and Results Daily Increase Reporting date: 2020-04-04 00:00:00-0500 reporter: New Jersey Department of Public Health period: 2020-04-04 00:00:00-0500 --> 2020-04-04 00:00:00-0500 group code: positiveIncreasePercent population code: totalOrdersIncrease count: Absent because : unsupported population code: totalTestResultsIncrease count: 7853 population code: positiveIncrease count: 4229 measureScore: 53.85 % (Details: UCUM code% = '%') group code: positivePercent population code: totalOrders count: Absent because : unsupported population code: rejected count: Absent because : unsupported population code: totalTestResults count: 75356 population code: positive count: 34124 population code: All Laboratory Reports for any Order count: Absent because : unsupported population code: Most Recent Laboratory Reports for any Order count: Absent because : unsupported measureScore: 45.28 % (Details: UCUM code% = '%')
identifier:
  system:
    v: urn:ietf:rfc:3986
status:
  v: complete
type:
  v: summary
measure:
  v: http://example.org/fhir/saner/Measure/FEMADailyHospitalCOVID19Reporting
  link: http://example.org/fhir/saner/Measure/FEMADailyHospitalCOVID19Reporting
date:
  v: 2020-04-04T00:00:00-05:00
reporter:
  link: http://hl7.org/fhir/us/davinci-deqm/Organization/NJ-DPH
  reference:
    v: Organization/NJ-DPH
  display:
    v: New Jersey Department of Public Health
period:
  start:
    v: 2020-04-04T00:00:00-05:00
  end:
    v: 2020-04-04T00:00:00-05:00
group:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
      code:
        v: positiveIncreasePercent
  population:
    count:
      extension:
        value: code
  population:
    count:
      v: 7853
  population:
    count:
      v: 4229
  measure score:
    value:
      v: 53.85
    unit:
      v: %
    system:
      v: http://unitsofmeasure.org
    code:
      v: %
group:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
      code:
        v: positivePercent
  population:
    count:
      extension:
        value: code
  population:
    count:
      extension:
        value: code
  population:
    count:
      v: 75356
  population:
    count:
      v: 34124
  population:
    code:
      text:
        v: All Laboratory Reports for any Order
    count:
      extension:
        value: code
  population:
    code:
      text:
        v: Most Recent Laboratory Reports for any Order
    count:
      extension:
        value: code
  measure score:
    value:
      v: 45.28
    unit:
      v: %
    system:
      v: http://unitsofmeasure.org
    code:
      v: %

urn:…
type: MeasureReport
id:
  v: ExampleNJ-20200404-CDCPatientImpactAndHospitalCapacity
text:
  status:
    v: extensions
  div: Generated Narrative: MeasureReport ExampleNJ-20200404-CDCPatientImpactAndHospitalCapacity identifier: <a href="http://terminology.hl7.org/5.5.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR. This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)/urn:uuid:f87d8777-876e-11ea-1639-09173f13e4c5 status: Complete type: Summary measure: Patient Impact and Hospital Capacity date: 2020-04-04 00:00:00-0500 reporter: New Jersey Department of Public Health period: 2020-04-04 00:00:00-0500 --> 2020-04-04 00:00:00-0500 group code: Beds population code: numTotBeds count: 20000 population code: numbeds count: 15000 population code: numBedsOcc count: Absent because : unsupported population code: numICUBeds count: 2500 population code: numICUBedsOcc count: Absent because : unsupported measureScore: 34 group code: Ventilators population code: numVent count: 2250 population code: numVentUse count: Absent because : unsupported measureScore: 11 group code: Encounters population code: numC19HospPats count: 4000 population code: numC19MechVentPats count: Absent because : unsupported population code: numC19HOPats count: Absent because : unsupported population code: numC19OverflowPats count: Absent because : unsupported population code: numC19OFMechVentPats count: Absent because : un…
identifier:
  system:
    v: urn:ietf:rfc:3986
status:
  v: complete
type:
  v: summary
measure:
  v: http://example.org/fhir/saner/Measure/CDCPatientImpactAndHospitalCapacity
  link: http://example.org/fhir/saner/Measure/CDCPatientImpactAndHospitalCapacity
date:
  v: 2020-04-04T00:00:00-05:00
reporter:
  link: http://hl7.org/fhir/us/davinci-deqm/Organization/NJ-DPH
  reference:
    v: Organization/NJ-DPH
  display:
    v: New Jersey Department of Public Health
period:
  start:
    v: 2020-04-04T00:00:00-05:00
  end:
    v: 2020-04-04T00:00:00-05:00
group:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
      code:
        v: Beds
  population:
    count:
      v: 20000
  population:
    count:
      v: 15000
  population:
    count:
      extension:
        value: code
  population:
    count:
      v: 2500
  population:
    count:
      extension:
        value: code
  measure score:
    value:
      v: 34
group:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
      code:
        v: Ventilators
  population:
    count:
      v: 2250
  population:
    count:
      extension:
        value: code
  measure score:
    value:
      v: 11
group:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
      code:
        v: Encounters
  population:
    count:
      v: 4000
  population:
    count:
      extension:
        value: code
  population:
    count:
      extension:
        value: code
  population:
    count:
      extension:
        value: code
  population:
    count:
      extension:
        value: code
  population:
    count:
      extension:
        value: code
  population:
    code:
      text:
        v: Patients with suspected or confirmed COVID-19 in any location.
    count:
      extension:
        value: code
  population:
    code:
      text:
        v: Ventilated COVID-19 Patients
    count:
      extension:
        value: code
  measure score:
    value:
      v: 233

urn:…
type: Measure
id:
  v: FEMADailyHospitalCOVID19Reporting
text:
  status:
    v: extensions
  div: Knowledge Artifact Metadata Name (machine-readable) FEMADailyHospitalCOVID19Reporting Title (human-readable) FEMA Laboratory Orders and Results Daily Increase Reporting Status Draft Experimental true Description This measure demonstrates reporting about Daily Laboratory Testing at a inpatient test sites capturing laboratory orders and results daily increase and cumulative counts. Use Context Clinical Focus = COVID-19 Topic Immunology laboratory test (procedure) Measure Developer HL7 Public Health Workgroup: mailto:pher@lists.hl7.org Measure Steward HL7 International / Public Health Steward Contact Details http://www.hl7.org/Special/committees/pher Steward Contact Details pher@lists.hl7.org Steward Contact Details Keith W. Boone: mailto:kboone@ainq.com Documentation Description: Trump Administration Engages America’s Hospitals in Unprecedented Data Sharing Citation: https://www.cms.gov/newsroom/press-releases/trump-administration-engages-americas-hospitals-unprecedented-data-sharing Documentation Description: Text of a Letter from the Vice President to Hospital Administrators Citation: https://www.whitehouse.gov/briefings-statements/text-letter-vice-president-hospital-administrators/ Documentation Description: Administration Requests Hospitals Report Daily on COVID-19 Testing Results, Bed and Ventilator Citation: https://www.aha.org/advisory/2020-03-30-coronavirus-update-administration-requests-hospitals-report-daily-covid-19 Documentation Description: Template for Daily Hospital COVID-19 Reporting.xlsx Citation: https://images.magnetmail.net/images/clients/AHA_MCHF/attach/2020/March/0330/Template_for_Daily_Hospital_COVID19_Reporting.xlsx Measure Metadata Version Number 1.0.1 Measure Scoring Continuous Variable Measure Type Outcome Rate Aggregation count Measure Population Criteria New Diagnostic Tests Ordered/Received Description: Enter the number of new Diagnostic Tests Ordered/Received during the reporting period. New Tests Resulted Description: Enter the number o…
extension:
  url:
    v: http://example.org/fhir/saner/StructureDefinition/ReportingPeriod
  value: Timing
    repeat:
      frequency:
        v: 1
      period:
        v: 1
      period unit:
        v: d
url:
  v: http://example.org/fhir/saner/Measure/FEMADailyHospitalCOVID19Reporting
identifier:
  system:
    v: urn:ietf:rfc:3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.42.29.5
version:
  v: 1.0.1
name:
  v: FEMADailyHospitalCOVID19Reporting
title:
  v: FEMA Laboratory Orders and Results Daily Increase Reporting
status:
  v: draft
experimental:
  v: true
date:
  v: 2024-05-18T21:25:01+00:00
publisher:
  v: HL7 International / Public Health
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/pher
contact:
  telecom:
    system:
      v: email
contact:
  name:
    v: Keith W. Boone
  telecom:
    system:
      v: email
description:
  v: This measure demonstrates reporting about Daily Laboratory Testing at a inpatient test sites capturing laboratory orders and results daily increase and cumulative counts.
use context:
  code:
    system:
      v: http://terminology.hl7.org/CodeSystem/usage-context-type
    code:
      v: focus
  value: CodeableConcept
    coding: http://snomed.info/id/840539006
      system:
        v: http://snomed.info/sct
      code:
        v: 840539006
      display:
        v: COVID-19
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
    display:
      v: World
topic:
  coding: http://snomed.info/id/252318005
    system:
      v: http://snomed.info/sct
    code:
      v: 252318005
    display:
      v: Immunology laboratory test (procedure)
author:
  name:
    v: HL7 Public Health Workgroup
  telecom:
    system:
      v: email
related artifact:
  type:
    v: documentation
  label:
    v: CMS Press Release
  display:
    v: Trump Administration Engages America’s Hospitals in Unprecedented Data Sharing
  citation:
    v: https://www.cms.gov/newsroom/press-releases/trump-administration-engages-americas-hospitals-unprecedented-data-sharing
related artifact:
  type:
    v: documentation
  label:
    v: Vice President Pence Letter to Hospital Administrators
  display:
    v: Text of a Letter from the Vice President to Hospital Administrators
  citation:
    v: https://www.whitehouse.gov/briefings-statements/text-letter-vice-president-hospital-administrators/
related artifact:
  type:
    v: documentation
  label:
    v: AHA Advisory on COVID-19 Reporting
  display:
    v: Administration Requests Hospitals Report Daily on COVID-19 Testing Results, Bed and Ventilator
  citation:
    v: https://www.aha.org/advisory/2020-03-30-coronavirus-update-administration-requests-hospitals-report-daily-covid-19
related artifact:
  type:
    v: documentation
  label:
    v: Excel Spreadsheet template for reporting to FEMA
  display:
    v: Template for Daily Hospital COVID-19 Reporting.xlsx
  citation:
    v: https://images.magnetmail.net/images/clients/AHA_MCHF/attach/2020/March/0330/Template_for_Daily_Hospital_COVID19_Reporting.xlsx
library:
  v: http://example.org/fhir/saner/StructureDefinition/FEMAMeasureLibrary
  link: http://example.org/fhir/saner/StructureDefinition/FEMAMeasureLibrary
scoring:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/measure-scoring
    code:
      v: continuous-variable
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/measure-type
    code:
      v: outcome
rate aggregation:
  v: count
group:
  extension:
    extension:
      url:
        v: scoring
      value: CodeableConcept
    extension:
      url:
        v: subject
      value: CodeableConcept
        coding: http://snomed.info/id/252318005
    extension:
      url:
        v: type
      value: CodeableConcept
    extension:
      url:
        v: improvementNotation
      value: CodeableConcept
    extension:
      url:
        v: rateAggregation
      value: string
        v: cumulative
    url:
      v: http://example.org/fhir/saner/StructureDefinition/MeasureGroupAttributes
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
      code:
        v: positiveIncreasePercent
      display:
        v: Percent Positive among Newly Resulted Tests
    text:
      v: # of new positive test results released / # of total new tests released for previous date queried
  population:
    code:
      text:
        v: Midnight to midnight cutoff, tests ordered on previous date queried
    description:
      v: Enter the number of new Diagnostic Tests Ordered/Received during the reporting period.
    criteria:
      description:
        v: Orders initiated during %reportingPeriod
      name:
        v: totalOrdersIncrease
      language:
        v: text/fhirpath
      expression:
        v: ServiceRequest.where( authoredOn.toDate() = %reportingPeriod /* May need to change logic to support ranges for reportingPeriod */ and status in ('active', 'completed') and intent in ('order', 'orginal-order', 'reflex-order', 'filler-order', 'instance-order') )
  population:
    code:
      text:
        v: Midnight to midnight cutoff, test results released on previous date queried
    description:
      v: Enter the number of results recieved/generated during the reporting period. Do not include results where the test could not be completed because the specimen was rejected or a positive/negative result could not be established

system:
  v: http://terminology.hl7.org/CodeSystem/measure-scoring
code:
  v: continuous-variable

system:
  v: http://hl7.org/fhir/resource-types
code:
  v: Location

http://snomed.info/id/91537007
system:
  v: http://snomed.info/sct
code:
  v: 91537007
display:
  v: Hospital bed, device (physical object)

v: Hospital Beds

system:
  v: http://terminology.hl7.org/CodeSystem/measure-type
code:
  v: structure

system:
  v: http://terminology.hl7.org/CodeSystem/measure-improvement-notation
code:
  v: increase

v: numTotBeds

v: All Hospital Beds

v: initial-population

v: numbeds

v: Hospital Inpatient Beds

v: numBedsOcc

v: Hospital Inpatient Bed Occupancy

v: Enter the total number of staffed inpatient beds occupied by patients at the time the data is collected, including all staffed, licensed, and overflow and surge/expansion beds created for inpatient care. This includes ICU beds. CDC Webinar 31-Mar-2020: Baby beds in mom's room count as 1 bed, even if there are multiple baby beds Follow-up in progress if staffed is less than licensed. Total includes all beds, even if with surge beds it exceeds licensed beds.

description:
  v: An Inpatient Bed where the Bed is occupied.
name:
  v: numBedsOcc
language:
  v: text/fhirpath
expression:
  v: %numbeds.where(location.operationalStatus = %ValueSet-OccupiedBed)

code:
  coding:
    system:
      v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
    code:
      v: numICUBeds
    display:
      v: ICU Beds
  text:
    v: ICU Bed Occupancy
description:
  v: Enter the total number of staffed Intensive Care Unit (ICU) beds. CDC Webinar 31-Mar-2020: ICU beds include NICU
criteria:
  description:
    v: A Bed where the location is an inpatient ICU location.
  name:
    v: numICUBeds
  language:
    v: text/fhirpath
  expression:
    v: %numbeds.where(location.type in %ValueSet-ICULocations)

code:
  coding:
    system:
      v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
    code:
      v: numICUBedsOcc
    display:
      v: ICU Bed Occupancy
  text:
    v: Total number of staffed inpatient intensive care unit (ICU) beds
description:
  v: Enter the total number of staffed ICU beds occupied by patients at the time the data is collected. CDC Webinar 31-Mar-2020: ICU beds include NICU
criteria:
  description:
    v: An ICU Bed that is occupied.
  name:
    v: numICUBedsOcc
  language:
    v: text/fhirpath
  expression:
    v: %numICUBeds.where(location.operationalStatus = %ValueSet-OccupiedBed)

extension:
  extension:
    url:
      v: scoring
    value: CodeableConcept
  extension:
    url:
      v: subject
    value: CodeableConcept
      coding: http://snomed.info/id/706172005
      text:
        v: Ventilator
  extension:
    url:
      v: type
    value: CodeableConcept
  extension:
    url:
      v: improvementNotation
    value: CodeableConcept
  extension:
    url:
      v: rateAggregation
    value: string
      v: count
  url:
    v: http://example.org/fhir/saner/StructureDefinition/MeasureGroupAttributes
code:
  coding:
    system:
      v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
    code:
      v: Ventilators
    display:
      v: Ventilators
  text:
    v: Hospital Ventilators Reporting
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numVent
      display:
        v: Mechanical Ventilators
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/measure-population
      code:
        v: initial-population
    text:
      v: Total number of ventilators available
  description:
    v: Enter the total number of mechanical ventilators, including anesthesia machines and portable/transport ventilators available in the facility. Include BiPAP machines if the hospital uses BiPAP to deliver positive pressure ventilation via artificial airways.
  criteria:
    description:
      v: A Device that is used for ventilation and could be used (e.g., not broken, transferred, etc)
    name:
      v: numVent
    language:
      v: text/fhirpath
    expression:
      v: Device.where(type in %ValueSet-VentilatorDevices and status = active)
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numVentUse
      display:
        v: Mechanical Ventilators in Use
    text:
      v: Total number of ventilators in use
  description:
    v: Enter the total number of mechanical ventilators use at the time the data is collected, including anesthesia machines and portable/transport ventilators. Include BiPAP machines if the hospital uses BiPAP to deliver positive pressure ventilation via artificial airways.
  criteria:
    description:
      v: A ventilator that is attached to a patient.
    name:
      v: numVentUse
    language:
      v: text/fhirpath
    expression:
      v: %numVent.where(patient!={})

v: continuous-variable

v: Device

v: 706172005

v: Ventilator (physical object)

v: structure

v: decrease

extension:
  extension:
    url:
      v: scoring
    value: CodeableConcept
  extension:
    url:
      v: subject
    value: CodeableConcept
      coding: http://snomed.info/id/308335008
      text:
        v: Encounter
  extension:
    url:
      v: type
    value: CodeableConcept
  extension:
    url:
      v: improvementNotation
    value: CodeableConcept
  extension:
    url:
      v: rateAggregation
    value: string
      v: count
  url:
    v: http://example.org/fhir/saner/StructureDefinition/MeasureGroupAttributes
code:
  coding:
    system:
      v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
    code:
      v: Encounters
    display:
      v: Encounters
  text:
    v: Hospital COVID-19 Encounters Reporting
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19HospPats
      display:
        v: Hospitalized COVID-19 Patients
    text:
      v: Patients currently hospitalized in an inpatient care location who have suspected or confirmed COVID-19
  description:
    v: Enter the number of patients hospitalized in an inpatient bed at the time the data is collected who have suspected or confirmed COVID-19. This includes the patients with laboratory-confirmed or clinically diagnosed COVID-19. Confirmed: A patient with a laboratory confirmed COVID-19 diagnosis Suspected: A patient without a laboratory confirmed COVID-19 diagnosis who, in accordance with CDC’s Interim Public Health Guidance for Evaluating Persons Under Investigation (PUIs), has signs and symptoms compatible with COVID-19 (most patients with confirmed COVID-19 have developed fever and/or symptoms of acute respiratory illness, such as cough, shortness of breath or myalgia/fatigue).
  criteria:
    description:
      v: An COVID-19 encounter where the active location is an inpatient location
    name:
      v: numC19HospPats
    language:
      v: text/fhirpath
    expression:
      v: %numC19Pats.where(location.where(status='active' and type in %ValueSet-InpatientLocations))
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19MechVentPats
      display:
        v: Hospitalized and Ventilated COVID-19 Patients
    text:
      v: Patients currently hospitalized in an inpatient bed who have suspected or confirmed COVID-19 and are on a mechanical ventilator
  description:
    v: Enter the number of patients hospitalized in an inpatient bed who have suspected or confirmed COVID-19 and are currently on a mechanical ventilator* at the time the data is collected . This includes the patients with laboratory-confirmed or clinically diagnosed COVID-19.
  criteria:
    description:
      v: An COVID-19 encounter in an inpatient setting on a ventilator
    name:
      v: numC19OFMechVentPats
    language:
      v: text/fhirpath
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19HOPats
      display:
        v: Hospital Onset COVID-19 Patients
    text:
      v: Patients currently hospitalized in an inpatient bed with onset of suspected or confirmed COVID-19 fourteen or more days after hospital admission due to a condition other than COVID-19
  description:
    v: Enter the number of patients hospitalized in an inpatient bed at the time the data is collected with onset of suspected or confirmed COVID-19 fourteen or more days after hospitalization (admission date = hospital day 1). This includes laboratory-confirmed or clinically diagnosed COVID-19 cases.
  criteria:
    description:
      v: Encounters associated with suspected or confirmed COVID-19 with onset > 14 days after start
    name:
      v: numC19HOPats
    language:
      v: text/fhirpath
    expression:
      v: Condition.where( code in %ValueSet-SuspectedOrDiagnosedCOVID19 and encounter in %numC19HospPats and onset + 14 days > encounter.period.start).encounter
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19OverflowPats
      display:
        v: ED/Overflow COVID-19 Patients
    text:
      v: Patients with suspected or confirmed COVID-19 who are currently in the Emergency Department (ED) or any overflow location awaiting an inpatient bed
  description:
    v: Enter the number of patients with suspected or confirmed COVID-19 who are in the Emergency Department(ED) or any overflow/expansion location awaiting placement in an inpatient bed at the time the data is collected . This includes patients with laboratory-confirmed or clinically diagnosed COVID-19. Overflow locations include any physical locations created to accommodate patients include but not limited to 24-hour observation units, hallways, parking lots, or tents.
  criteria:
    description:
      v: An COVID-19 encounter where the active location is an ED or Overflow location
    name:
      v: numC19OverflowPats
    language:
      v: text/fhirpath
    expression:
      v: %numC19Pats.where(location.where(status='active' and type in %ValueSet-EDorOverflowLocations))
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19OFMechVentPats
      display:
        v: ED/Overflow and Ventilated COVID-19 Patients
    text:
      v: Patients with suspected or confirmed COVID-19 who currently are in the ED or any overflow location awaiting an inpatient bed and on a mechanical ventilator
  description:
    v: Enter the number of patients with suspected or confirmed COVID-19 who are in the ED or any overflow/expansion location on a mechanical ventilator* at the time the data is collected . This includes patients with laboratory-confirmed or clinically diagnosed COVID-19.
  criteria:
    description:
      v: An COVID-19 encounter where the active location is an ED or Overflow location
    name:
      v: numC19OFMechVentPats
    language:
      v: text/fhirpath
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19Died
      display:
        v: COVID-19 Patient Deaths
    text:
      v: Patients with suspected or confirmed COVID-19 who died in the hospital, ED or any overflow location on the date for which you are reporting.
  description:
    v: Enter the number of patients with suspected or confirmed COVID-19 who died in the hospital, ED, or any overflow location. This includes patients with laboratory-confirmed or clinically diagnosed COVID-19. Please enter the count of deaths newly occurred, at the time the data is collected instead of the cumulated number of deaths.
  criteria:
    description:
      v: All C19 Patients who have died in an encounter during the reporting period.
    name:
      v: numC19Died
    language:
      v: text/fhirpath
    expression:
      v: %numC19Pats.hospitalization.dispostion in %ValueSet-PatientDied
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19Pats
      display:
        v: All COVID-19 Confirmed or Suspected Patients
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/measure-population
      code:
        v: initial-population
    text:
      v: Patients with suspected or confirmed COVID-19 in any location.
  description:
    v: Enter the number of patients in any location at the time the data is collected who have suspected or confirmed COVID-19. This includes the patients with laboratory-confirmed or clinically diagnosed COVID-19. Confirmed: A patient with a laboratory confirmed COVID-19 diagnosis Suspected: A patient without a laboratory confirmed COVID-19 diagnosis who, in accordance with CDC’s Interim Public Health Guidance for Evaluating Persons Under Investigation (PUIs), has signs and symptoms compatible with COVID-19 (most patients with confirmed COVID-19 have developed fever and/or symptoms of acute respiratory illness, such as cough, shortness of breath or myalgia/fatigue).
  criteria:
    description:
      v: Active encounters where the encounter diagnosis is suspected or confirmed COVID-19, or a Condition of suspected or confirmed COVID-19 was created during that encounter.
    name:
      v: numC19Pats
    language:
      v: text/fhirpath
    expression:
      v: Encounter.where(clinicalStatus = 'active' and diagnosis.condition.ofType(Condition).code in %ValueSet-SuspectedOrDiagnosedCOVID19) | Encounter.where(clinicalStatus = "active" and Condition.where(code in %ValueSet-SuspectedOrDiagnosedCOVID19).encounter = $this)
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: numC19VentPats
      display:
        v: Ventilated COVID-19 Patients
    text:
      v: Patients in any location who have suspected or confirmed COVID-19 and are currently on a ventilator.

v: continuous-variable

v: Encounter

v: 308335008

v: Patient encounter procedure (procedure)

v: structure

v: decrease

v: Enter the number of patients in any location who have suspected or confirmed COVID-19 and are currently on a mechanical ventilator* at the time the data is collected. This includes the patients with laboratory-confirmed or clinically diagnosed COVID-19.

description:
  v: A COVID-19 encounter where the patient is ventilated
name:
  v: numC19VentPats
language:
  v: text/fhirpath
expression:
  v: %numC19Pats.where(Device.where(type in %ValueSet-VentilatorDevices and status = active).patient = $this.patient)

v: totalOrdersIncrease

v: initial-population

code
v: unsupported

v: totalTestResultsIncrease

v: denominator

v: positiveIncrease

v: numerator

v: totalOrders

v: initial-population

code
v: unsupported

v: rejected

v: denominator-exclusion

code
v: unsupported

v: totalTestResults

v: denominator

v: positive

v: numerator

v: allReports

code
v: unsupported

v: latestReports

code
v: unsupported

v: numTotBeds

v: initial-population

v: numbeds

v: measure-population

v: numBedsOcc

v: measure-population

code
v: unsupported

v: numICUBeds

v: measure-population

v: numICUBedsOcc

v: measure-population

code
v: unsupported

v: numVent

v: initial-population

v: numVentUse

v: measure-population

code
v: unsupported

v: numC19HospPats

v: measure-population

v: numC19MechVentPats

v: measure-population

code
v: unsupported

v: numC19HOPats

v: measure-population

code
v: unsupported

v: numC19OverflowPats

v: measure-population

code
v: unsupported

v: numC19OFMechVentPats

v: measure-population

code
v: unsupported

v: numC19Died

v: measure-population

code
v: unsupported

v: numC19Pats

code
v: unsupported

v: numC19VentPats

code
v: unsupported

system:
  v: http://terminology.hl7.org/CodeSystem/measure-scoring
code:
  v: continuous-variable

system:
  v: http://hl7.org/fhir/resource-types
code:
  v: ServiceRequest

http://snomed.info/id/252318005
system:
  v: http://snomed.info/sct
code:
  v: 252318005
display:
  v: Immunology laboratory test (procedure)

v: COVID-19 Diagnostic Testing

system:
  v: http://terminology.hl7.org/CodeSystem/measure-type
code:
  v: outcome

system:
  v: http://terminology.hl7.org/CodeSystem/measure-improvement-notation
code:
  v: decrease

v: totalOrdersIncrease

v: New Diagnostic Tests Ordered/Received

v: initial-population

v: totalTestResultsIncrease

v: New Tests Resulted

v: denominator

description:
  v: Results recieved during reporting period
name:
  v: totalTestResultsIncrease
language:
  v: text/fhirpath
expression:
  v: DiagnosticReport.where( issued.toDate() = %reportingPeriod /* May need to change logic to support ranges for reportingPeriod */ and status in ('final, 'amended', 'corrected', 'appended') )

code:
  coding:
    system:
      v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
    code:
      v: positiveIncrease
    display:
      v: New Positive COVID-19 Tests
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/measure-population
    code:
      v: numerator
  text:
    v: Midnight to midnight cutoff, positive test results released on previous date queried
description:
  v: Enter the number of positive test results released during the reporting period.
criteria:
  description:
    v: Result is positive with respect to COVID-19
  name:
    v: positiveIncrease
  language:
    v: text/fhirpath
  expression:
    v: DiagnosticReport.where($this in %totalTestResultsIncrease and conclusionCode in %ValueSet-ConfirmedCOVID19Diagnosis)

extension:
  extension:
    url:
      v: scoring
    value: CodeableConcept
  extension:
    url:
      v: subject
    value: CodeableConcept
      coding: http://snomed.info/id/252318005
      text:
        v: COVID-19 Cumulative Diagnostic Testing
  extension:
    url:
      v: type
    value: CodeableConcept
  extension:
    url:
      v: improvementNotation
    value: CodeableConcept
  extension:
    url:
      v: rateAggregation
    value: string
      v: cumulative
  url:
    v: http://example.org/fhir/saner/StructureDefinition/MeasureGroupAttributes
code:
  coding:
    system:
      v: http://example.org/fhir/saner/CodeSystem/MeasureGroupSystem
    code:
      v: positivePercent
    display:
      v: Cumulative Percent Positive among Resulted Tests
  text:
    v: # of total positive results to released date / # of total tests results released to date
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: totalOrders
      display:
        v: Cumulative Diagnostic Tests Ordered/Received
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/measure-population
      code:
        v: initial-population
    text:
      v: All tests ordered to date.
  description:
    v: Enter the cumulative number of tests ordered to date.
  criteria:
    description:
      v: Report all active or completed test orders for a COVID-19 test authored during the reporting period
    name:
      v: totalOrders
    language:
      v: text/fhirpath
    expression:
      v: ServiceRequest.where( authoredOn.toDate() <= %reportingPeriod /* May need to change logic to support ranges for reportingPeriod */ and status in ('active', 'completed') and code in %ValueSet-COVID19DiagnosticTest and intent in ('order', 'orginal-order', 'reflex-order', 'filler-order', 'instance-order') )
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: rejected
      display:
        v: Cumulative Specimens Rejected
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/measure-population
      code:
        v: denominator-exclusion
    text:
      v: All specimens rejected for testing to date
  description:
    v: Enter the cumulative number of specimens rejected for testing to date.
  criteria:
    description:
      v: DiagnosticReport for COVID-19 where the report is unavailable because the measurement was not started or not completed.
    name:
      v: rejected
    language:
      v: text/fhirpath
    expression:
      v: DiagnosticReport.where(status = 'cancelled' and code in %ValueSet-COVID19DiagnosticTest)
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: totalTestResults
      display:
        v: Cumulative Tests Performed
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/measure-population
      code:
        v: denominator
    text:
      v: All tests with results released to date
  description:
    v: Enter the total number tests with results released to date. Do not include tests where a positive/negative result could not be determined (e.g., because the specimen was inadequate).
  criteria:
    description:
      v: Report all active or completed test orders for a COVID-19 test authored during or prior to the end of the reporting period that have had results released.
    name:
      v: totalTestResults
    language:
      v: text/fhirpath
    expression:
      v: ServiceRequest.where( status in ('active', 'completed') and intent in ('order', 'orginal-order', 'reflex-order', 'filler-order', 'instance-order') )
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: positive
      display:
        v: Cumulative Positive COVID-19 Tests
    coding:
      system:
        v: http://terminology.hl7.org/CodeSystem/measure-population
      code:
        v: numerator
    text:
      v: All positive test results released to date
  description:
    v: Enter the total number of positive test results release to date.
  criteria:
    description:
      v: The result is positive for COVID-19
    name:
      v: positive
    language:
      v: text/fhirpath
    expression:
      v: DiagnosticReport.where($this in %totalTestResults and conclusionCode in %ValueSet-ConfirmedCOVID19Diagnosis)
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: allReports
      display:
        v: All Laboratory Reports for any Order
    text:
      v: Reports to date including corrected, amended and canceled reports
  description:
    v: This is in intermediate population used to simplify calculations
  criteria:
    description:
      v: Diagnostic Reports provided in response to totalOrders
    name:
      v: allReports
    language:
      v: text/fhirpath
    expression:
      v: DiagnosticReport.where(basedOn in %totalOrders)
population:
  code:
    coding:
      system:
        v: http://example.org/fhir/saner/CodeSystem/MeasuredValues
      code:
        v: latestReports
      display:
        v: Most Recent Laboratory Reports for any Order
    text:
      v: Latest Reports to date for each order
  description:
    v: This is in intermediate population used to simplify calculations
  criteria:
    description:
      v: Most recent diagnostic reports provided in response to totalOrders
    name:
      v: latestReports
    language:
      v: text/fhirpath
    expression:
      v: TBD

v: continuous-variable

v: ServiceRequest

v: 252318005

v: Immunology laboratory test (procedure)

v: outcome

v: decrease