Hospice
type: Library
node role: treeRoot
id:
  v: Hospice
meta:
  profile:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm
    l: computable-library-cqfm
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Id: 64b86c11774bb523d9a1457d Url: http://ecqi.healthit.gov/ecqms/Library/Hospice Version: 6.7.000 Identifier: value: 64b86c11774bb523d9a1457d Name: Hospice Title: Hospice Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2023-08-14T15:19:26+00:00 Publisher: National Committee for Quality Assurance Description: This library contains a definition used to exclude patients who are in hospice care for any part of the measurement period. Related Artifacts: Dependencies Data Requirements: Type Profile MS Code Filter Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003 Observation code filter: path: code system: http://loinc.org code: 45755-6 display: Hospice care [Minimum Data Set] ServiceRequest code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584 Procedure code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584 Condition code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165 Content: text/cql library Hospice version '6.7.000' using QICore version '4.1.1' include FHIRHelpers version '4.3.000' called FHIRHelpers include QICoreCommon version '1.5.000' called QICoreCommon include Status version '1.6.000' called Status codesystem "LOINC": 'http://loinc.org' codesystem "SNOMEDCT": 'http://snomed.info/sct' valueset "Encounter Inpatient": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307' valueset "Hospice Care Ambulatory": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584' valueset "Hospice Encounter": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003' valueset "Hospice Diagnosis": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.…
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
    l: cqfm-softwaresystem
  value: Reference
    l: cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://ecqi.healthit.gov/ecqms/Library/Hospice
  l: Hospice
identifier:
  use:
    v: official
  system:
    v: https://madie.cms.gov/login
    l: login
  value:
    v: 64b86c11774bb523d9a1457d
version:
  v: 6.7.000
name:
  v: Hospice
title:
  v: Hospice
status:
  v: active
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2023-08-14T15:19:26+00:00
publisher:
  v: National Committee for Quality Assurance
description:
  v: This library contains a definition used to exclude patients who are in hospice care for any part of the measurement period.
related artifact:
  id:
    v: 45755-6
  display:
    v: Hospice care [Minimum Data Set]
  url:
    v: http://loinc.org
    l: loinc.org
  document:
    url:
      v: http://loinc.org
      l: loinc.org
related artifact:
  id:
    v: 428371000124100
  display:
    v: Discharge to healthcare facility for hospice care (procedure)
  url:
    v: http://snomed.info/sct
    l: sct
  document:
    url:
      v: http://snomed.info/sct
      l: sct
related artifact:
  id:
    v: 428361000124107
  display:
    v: Discharge to home for hospice care (procedure)
  url:
    v: http://snomed.info/sct
    l: sct
  document:
    url:
      v: http://snomed.info/sct
      l: sct
related artifact:
  id:
    v: 373066001
  display:
    v: Yes (qualifier value)
  url:
    v: http://snomed.info/sct
    l: sct
  document:
    url:
      v: http://snomed.info/sct
      l: sct
related artifact:
  type:
    v: depends-on
  display:
    v: QICore model information
  resource:
    v: http://hl7.org/fhir/Library/QICore-ModelInfo
    l: QICore-ModelInfo
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.3.000
    l: http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library QICoreCommon
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/QICoreCommon|1.5.000
    l: http://ecqi.healthit.gov/ecqms/Library/QICoreCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Status
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/Status|1.6.000
    l: http://ecqi.healthit.gov/ecqms/Library/Status
related artifact:
  type:
    v: depends-on
  display:
    v: Code system LOINC
  resource:
    v: http://loinc.org
    l: loinc.org
related artifact:
  type:
    v: depends-on
  display:
    v: Code system SNOMEDCT
  resource:
    v: http://snomed.info/sct
    l: sct
related artifact:
  type:
    v: depends-on
  display:
    v: Code system ObservationCategoryCodes
  resource:
    v: http://terminology.hl7.org/CodeSystem/observation-category
    l: observation-category
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Encounter Inpatient
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Hospice Care Ambulatory
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Hospice Encounter
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Hospice Diagnosis
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165
parameter:
  name:
    v: Measurement Period
  use:
    v: in
  min:
    v: 0
  max:
    v: 1

v: Period

name:
  v: Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: Has Hospice Services
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient
  l: qicore-patient

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: hospitalization
must support:
  v: hospitalization.dischargeDisposition
must support:
  v: period
must support:
  v: status
must support:
  v: status.value
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
must support:
  v: status.value
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
must support:
  v: code
must support:
  v: value
must support:
  v: effective
must support:
  v: status
must support:
  v: status.value
must support:
  v: category
code filter:
  path:
    v: code
  code: https://loinc.org/rdf/45755-6
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 45755-6
    display:
      v: Hospice care [Minimum Data Set]
code filter:
  path:
    v: value

type:
  v: ServiceRequest
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest
  l: qicore-servicerequest
must support:
  v: code
must support:
  v: authoredOn
must support:
  v: authoredOn.value
must support:
  v: status
must support:
  v: status.value
must support:
  v: intent
must support:
  v: intent.value
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure
  l: qicore-procedure
must support:
  v: code
must support:
  v: performed
must support:
  v: status
must support:
  v: status.value
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition
  l: qicore-condition
must support:
  v: code
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165

content type:
  v: text/cql

content type:
  v: application/elm+xml