sde-example-artifact-bundle
type: Bundle
node role: treeRoot
resource.id:
  value: sde-example-artifact-bundle
resource.language:
  value: en
bundle.type:
  value: transaction
bundle.entry:
  index: -1
  bundle.entry.request:
    bundle.entry.request.method:
      value: PUT
    bundle.entry.request.url:
      value: Library/FHIRHelpers
bundle.entry:
  index: -1
  bundle.entry.request:
    bundle.entry.request.method:
      value: PUT
    bundle.entry.request.url:
      value: Library/FHIRCommon
bundle.entry:
  index: -1
  bundle.entry.request:
    bundle.entry.request.method:
      value: PUT
    bundle.entry.request.url:
      value: Library/MATGlobalCommonFunctionsFHIR4
bundle.entry:
  index: -1
  bundle.entry.request:
    bundle.entry.request.method:
      value: PUT
    bundle.entry.request.url:
      value: Library/SupplementalDataElementsFHIR4
bundle.entry:
  index: -1
  bundle.entry.request:
    bundle.entry.request.method:
      value: PUT
    bundle.entry.request.url:
      value: Library/NHSNGlycemicControlHypoglycemicInitialPopulation
bundle.entry:
  index: -1
  bundle.entry.request:
    bundle.entry.request.method:
      value: PUT
    bundle.entry.request.url:
      value: Measure/NHSNGlycemicControlHypoglycemicInitialPopulation

urn:…
type: Library
resource.id:
  value: FHIRHelpers
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception generating Narrative: unable to parse character reference ' quantity.unit.value '' (last text = ' ' at line 225 column 143
library.url:
  value: http://hl7.org/fhir/Library/FHIRHelpers
library.version:
  value: 4.0.1
library.name:
  value: FHIRHelpers
library.title:
  value: FHIR Helpers
library.status:
  value: active
library.experimental:
  value: true
library.type:
  codeable concept.coding:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
    coding.display:
      value: Logic Library
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: FHIR model information
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
library.content:
  index: -1
  attachment.content type:
    value: text/cql
library.content:
  index: -1
  attachment.content type:
    value: application/elm+xml
library.content:
  index: -1
  attachment.content type:
    value: application/elm+json

urn:…
type: Library
resource.id:
  value: FHIRCommon
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception generating Narrative: Unable to read attribute on <FHIR.dateTime> at line 647 column 56
library.url:
  value: http://fhir.org/guides/cqf/Library/FHIRCommon
library.version:
  value: 4.0.1
library.name:
  value: FHIRCommon
library.title:
  value: FHIRCommon
library.status:
  value: active
library.experimental:
  value: true
library.type:
  codeable concept.coding:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
    coding.display:
      value: Logic Library
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: FHIR model information
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library FHIRHelpers
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system LOINC
  related artifact.resource:
    value: http://loinc.org
    link: http://loinc.org
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system SNOMEDCT
  related artifact.resource:
    value: http://snomed.info/sct|http://snomed.info/sct/731000124108/version/20240901
    link: 731000124108
    link: 20240901
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system RoleCode
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/v3-RoleCode
    link: http://terminology.hl7.org/CodeSystem/v3-RoleCode
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system Diagnosis Role
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/diagnosis-role
    link: http://terminology.hl7.org/CodeSystem/diagnosis-role
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system RequestIntent
  related artifact.resource:
    value: http://hl7.org/fhir/request-intent
    link: http://hl7.org/fhir/request-intent
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system MedicationRequestCategory
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/medicationrequest-category
    link: http://terminology.hl7.org/CodeSystem/medicationrequest-category
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system ConditionClinicalStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/condition-clinical
    link: http://terminology.hl7.org/CodeSystem/condition-clinical
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system ConditionVerificationStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/condition-ver-status
    link: http://terminology.hl7.org/CodeSystem/condition-ver-status
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system AllergyIntoleranceClinicalStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
    link: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system AllergyIntoleranceVerificationStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
    link: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
library.parameter:
  index: -1
  parameter definition.name:
    value: Patient
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: 1
  parameter definition.type:
    value: Patient
library.data requirement:
  index: -1
  data requirement.type:
    value: Patient
  data requirement.profile:
    value: http://hl7.org/fhir/StructureDefinition/Patient
    index: -1
    link: http://hl7.org/fhir/StructureDefinition/Patient
library.content:
  index: -1
  attachment.content type:
    value: text/cql
library.content:
  index: -1
  attachment.content type:
    value: application/elm+xml
library.content:
  index: -1
  attachment.content type:
    value: application/elm+json

urn:…
type: Library
resource.id:
  value: MATGlobalCommonFunctionsFHIR4
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception generating Narrative: Unable to Parse HTML - node 'DateTime' has unexpected content '=' (last text = '#xD; default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)#xD; #xD; context Patient#xD; #xD; define "Inpatient Encounter":#xD; [Encounter: "Encounter Inpatient"] EncounterInpatient#xD; where EncounterInpatient.status = 'finished'#xD; and "LengthInDays"(EncounterInpatient.period) ' at line 898 column 61
library.url:
  value: http://fhir.org/guides/cqf/Library/MATGlobalCommonFunctionsFHIR4
library.version:
  value: 6.1.000
library.name:
  value: MATGlobalCommonFunctionsFHIR4
library.title:
  value: MAT Global Common Functions FHIRR4
library.status:
  value: active
library.experimental:
  value: true
library.type:
  codeable concept.coding:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
    coding.display:
      value: Logic Library
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: FHIR model information
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library FHIRHelpers
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system ConditionClinicalStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/condition-clinical
    link: http://terminology.hl7.org/CodeSystem/condition-clinical
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system AllergyIntoleranceClinicalStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
    link: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system AllergyIntoleranceVerificationStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
    link: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system Diagnosis Role
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/diagnosis-role
    link: http://terminology.hl7.org/CodeSystem/diagnosis-role
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system LOINC
  related artifact.resource:
    value: http://loinc.org
    link: http://loinc.org
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system MedicationRequestCategory
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/medicationrequest-category
    link: http://terminology.hl7.org/CodeSystem/medicationrequest-category
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system ConditionVerificationStatusCodes
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/condition-ver-status
    link: http://terminology.hl7.org/CodeSystem/condition-ver-status
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system SNOMEDCT
  related artifact.resource:
    value: http://snomed.info/sct|http://snomed.info/sct/731000124108/version/20240901
    link: 731000124108
    link: 20240901
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system RoleCode
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/v3-RoleCode
    link: http://terminology.hl7.org/CodeSystem/v3-RoleCode
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Emergency Department Visit
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Encounter Inpatient
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Observation Services
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
library.parameter:
  index: -1
  parameter definition.name:
    value: Measurement Period
  parameter definition.use:
    value: in
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: 1
  parameter definition.type:
    value: Period
library.parameter:
  index: -1
  parameter definition.name:
    value: Patient
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: 1
  parameter definition.type:
    value: Patient
library.parameter:
  index: -1
  parameter definition.name:
    value: Inpatient Encounter
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: *
  parameter definition.type:
    value: Encounter
library.data requirement:
  index: -1
  data requirement.type:
    value: Patient
  data requirement.profile:
    value: http://hl7.org/fhir/StructureDefinition/Patient
    index: -1
    link: http://hl7.org/fhir/StructureDefinition/Patient

urn:…
type: Library
resource.id:
  value: SupplementalDataElementsFHIR4
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Metadata Title SupplementalDataElementsFHIR4 Version 2.0.000 Experimental true Type Logic Library Dependency Description: FHIR model information Resource: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1 Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1 Dependency Description: Library FHIRHelpers Resource: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 Dependency Description: Value set Ethnicity Resource: Ethnicity Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837 Dependency Description: Value set ONC Administrative Sex Resource: ONC Administrative Sex Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1 Dependency Description: Value set Payer Resource: Payer Type Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591 Dependency Description: Value set Race Resource: Race Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836 Data Requirement Type: Patient Profile(s): Patient Must Support Elements: url, extension, value Data Requirement Type: Coverage Profile(s): Coverage Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Payer Type Parameters Name Use Card. Type Documentation Patient Out 0..1 Patient SDE Ethnicity Out 0..* Coding SDE Payer Out 0..* Any SDE Race Out 0..* Coding SDE Sex Out 0..1 Coding Library Content CQL Content library SupplementalDataElementsFHIR4 version '2.0.000'#xD; #xD; /*@update: @@BTR 2020-03-31 ->#xD; Incremented version to 2.0.0#xD; Updated FHIR version to 4.0.1#xD; @@@*/#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include FHIRHelpers version '4.0.1' called FHIRHelpers#xD; #xD; valueset "Ethnicity": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837' #xD; valueset "ONC Administrative Sex": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1' #xD; valueset "Payer": 'http://cts.nlm.nih.gov/fhir/Va…
library.url:
  value: http://fhir.org/guides/cqf/Library/SupplementalDataElementsFHIR4
library.version:
  value: 2.0.000
library.name:
  value: SupplementalDataElementsFHIR4
library.title:
  value: SupplementalDataElementsFHIR4
library.status:
  value: active
library.experimental:
  value: true
library.type:
  codeable concept.coding:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
    coding.display:
      value: Logic Library
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: FHIR model information
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library FHIRHelpers
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Ethnicity
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set ONC Administrative Sex
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Payer
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Race
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
library.parameter:
  index: -1
  parameter definition.name:
    value: Patient
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: 1
  parameter definition.type:
    value: Patient
library.parameter:
  index: -1
  parameter definition.name:
    value: SDE Ethnicity
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: *
  parameter definition.type:
    value: Coding
library.parameter:
  index: -1
  parameter definition.name:
    value: SDE Payer
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: *
  parameter definition.type:
    value: Any
library.parameter:
  index: -1
  parameter definition.name:
    value: SDE Race
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: *
  parameter definition.type:
    value: Coding
library.parameter:
  index: -1
  parameter definition.name:
    value: SDE Sex
  parameter definition.use:
    value: out
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: 1
  parameter definition.type:
    value: Coding
library.data requirement:
  index: -1
  data requirement.type:
    value: Patient
  data requirement.profile:
    value: http://hl7.org/fhir/StructureDefinition/Patient
    index: -1
    link: http://hl7.org/fhir/StructureDefinition/Patient
  data requirement.must support:
    value: url
    index: -1
  data requirement.must support:
    value: extension
    index: -1
  data requirement.must support:
    value: value
    index: -1
library.data requirement:
  index: -1
  data requirement.type:
    value: Coverage
  data requirement.profile:
    value: http://hl7.org/fhir/StructureDefinition/Coverage
    index: -1
    link: http://hl7.org/fhir/StructureDefinition/Coverage
  data requirement.must support:
    value: type
    index: -1
  data requirement.must support:
    value: period
    index: -1
  data requirement.code filter:
    index: -1
    data requirement.code filter.path:
      value: type
    data requirement.code filter.value set:
      value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
      link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
library.content:
  index: -1
  attachment.content type:
    value: text/cql
library.content:
  index: -1
  attachment.content type:
    value: application/elm+xml
library.content:
  index: -1
  attachment.content type:
    value: application/elm+json

urn:…
type: Library
resource.id:
  value: NHSNGlycemicControlHypoglycemicInitialPopulation
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception generating Narrative: Unable to read attribute on <FHIR.CodeableConcept> at line 1301 column 71
library.url:
  value: http://fhir.org/guides/cqf/Library/NHSNGlycemicControlHypoglycemicInitialPopulation
library.version:
  value: 0.0.002
library.name:
  value: NHSNGlycemicControlHypoglycemicInitialPopulation
library.title:
  value: NHSN Glycemic Control Hypoglycemic Initial Population
library.status:
  value: active
library.experimental:
  value: true
library.type:
  codeable concept.coding:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
    coding.display:
      value: Logic Library
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: FHIR model information
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library FHIRHelpers
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library SDE
  related artifact.resource:
    value: http://fhir.org/guides/cqf/Library/SupplementalDataElementsFHIR4|2.0.000
    link: 2.0
    link: .000
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library Global
  related artifact.resource:
    value: http://fhir.org/guides/cqf/Library/MATGlobalCommonFunctionsFHIR4|6.1.000
    link: 6.1
    link: .000
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system ActCode
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    link: http://terminology.hl7.org/CodeSystem/v3-ActCode
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system Diagnosis Role
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/diagnosis-role
    link: http://terminology.hl7.org/CodeSystem/diagnosis-role
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system Specimen Type
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/v2-0487|2.3.0
    link: 2.3
    link: .0
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system Observation Category
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/observation-category
    link: http://terminology.hl7.org/CodeSystem/observation-category
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system Condition Category
  related artifact.resource:
    value: http://terminology.hl7.org/CodeSystem/condition-category
    link: http://terminology.hl7.org/CodeSystem/condition-category
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Blood Glucose Laboratory and Point of Care Tests
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Inpatient, Emergency, and Observation Locations
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Discharge Disposition
  related artifact.resource:
    value: http://terminology.hl7.org/ValueSet/encounter-discharge-disposition
    link: http://terminology.hl7.org/ValueSet/encounter-discharge-disposition
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Antidiabetic Medications
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.58
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.58
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Emergency Department Visit
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Encounter Inpatient
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Observation Services
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
library.related artifact:
  index: -1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value set Payer
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
library.parameter:
  index: -1
  parameter definition.name:
    value: Measurement Period
  parameter definition.use:
    value: in
  parameter definition.min:
    value: 0
  parameter definition.max:
    value: 1
  parameter definition.type:
    value: Period

urn:…
type: Measure
resource.id:
  value: NHSNGlycemicControlHypoglycemicInitialPopulation
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Metadata Title NHSN Glycemic Control, Hypoglycemia Initial Population Version 0.000.01 Identifier nhsnglycemiccontrolhypoglycemicinitialpopulation Experimental true Steward (Publisher) NHSN Description All inpatient encounters (including ED/Observation visits that end within 1 hour of the start of the inpatient encounter) for patients of all ages where at least one ADD was ordered or administered during the encounter that is during the measurement period. Purpose This measure has been developed to support improvement in clinical care. Copyright This measure and specifications are subject to further revisions. This performance measure is not a clinical guideline, does not establish a standard of medical care and has not been tested for all potential applications. THE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND. Measure Scoring Cohort Measure Type Outcome Rationale The NHSN Glycemic Control, Hypoglycemia module provides a mechanism for facilities to report inpatient medication-related hypoglycemia events, and to provide analytic reports based on these data to inform glycemic control quality improvement efforts and patient safety events. The primary objective of the NHSN Glycemic Control, Hypoglycemia module is to facilitate measurement and benchmarking of medication-related hypoglycemia events within a facility. As additional data are collected by NHSN, an additional objective will be to facilitate inter-facility benchmarking and evaluate national-level trends of medication-related hypoglycemia over time. The IP dQM provides the initial population and FHIR line-level data necessary for calculating the module metrics. Measure Group (Rate) Supplemental Data Elements Supplemental Data Element ID: sde-chief-complaint Description: No description provided Logic Definition: SDE Chief Complaint Supplemental Data Element ID: sde-condition Description: No description provided Logic Definition: SDE Condition Supplemental Data Element ID: sde-con…
domain resource.contained: Library
  index: -1
  resource.id:
    value: effective-data-requirements-sde-artifact
  resource.meta:
    meta.profile:
      value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-moduledefinitionlibrary
      index: -1
      link: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-moduledefinitionlibrary
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/v3-ActCode
      coding.code:
        value: IMP
      coding.display:
        value: inpatient encounter
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/v3-ActCode
      coding.code:
        value: ACUTE
      coding.display:
        value: inpatient acute
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/v3-ActCode
      coding.code:
        value: NONAC
      coding.display:
        value: inpatient non-acute
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/v3-ActCode
      coding.code:
        value: SS
      coding.display:
        value: short stay
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/v3-ActCode
      coding.code:
        value: OBSENC
      coding.display:
        value: observation encounter
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/v3-ActCode
      coding.code:
        value: EMER
      coding.display:
        value: emergency
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/condition-category
      coding.code:
        value: encounter-diagnosis
      coding.display:
        value: Encounter Diagnosis
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/observation-category
      coding.code:
        value: laboratory
      coding.display:
        value: Laboratory
  domain resource.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/diagnosis-role
      coding.code:
        value: CC
      coding.display:
        value: Chief complaint
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: NHSNGlycemicControlHypoglycemicInitialPopulation
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Inpatient Encounter
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Inpatient Encounter": [Encounter: class in {"inpatient encounter", "inpatient acute", "inpatient non-acute", "short stay"}] Encounters where Encounters.status in {'in-progress', 'finished'} and Encounters.period overlaps "Measurement Period"
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: NHSNGlycemicControlHypoglycemicInitialPopulation
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Antidiabetic Drugs Administered or Ordered
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Antidiabetic Drugs Administered or Ordered": ([MedicationAdministration] ADDMedAdmin where GetMedicationCode(ADDMedAdmin.medication) in "Antidiabetic Medications" and ADDMedAdmin.status ~ 'completed') union ( [MedicationRequest] MedicationRequests where GetMedicationCode(MedicationRequests.medication) in "Antidiabetic Medications" )
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: NHSNGlycemicControlHypoglycemicInitialPopulation
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Initial Population
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Initial Population": "Inpatient Encounter" InpatientEncounters with "Antidiabetic Drugs Administered or Ordered" ADD such that Coalesce(start of Global."Normalize Interval"(ADD.effective), ADD.authoredOn) during "HospitalizationWithObservationOrEmergency"(InpatientEncounters) and Coalesce(start of Global."Normalize Interval"(ADD.effective), ADD.authoredOn) during "Measurement Period"
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 2
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

index: -1
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.must support:
  value: id
  index: -1

index: -1
data requirement.type:
  value: Location
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Location
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Location
data requirement.must support:
  value: id
  index: -1

index: -1
data requirement.type:
  value: Provenance
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Provenance
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Provenance
data requirement.must support:
  value: target
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: target

index: -1
attachment.content type:
  value: text/cql

index: -1
attachment.content type:
  value: application/elm+xml

index: -1
attachment.content type:
  value: application/elm+json

index: -1
parameter definition.name:
  value: Patient
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Patient

index: -1
parameter definition.name:
  value: Inpatient Encounter
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: Patient Hospital Locations
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: Antidiabetic Drugs Administered or Ordered
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Any

index: -1
parameter definition.name:
  value: Initial Population
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: SDE Chief Complaint
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: SDE Condition
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: -1
parameter definition.name:
  value: SDE Condition during Encounter
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: -1
parameter definition.name:
  value: SDE Encounter Discharge Dispositions
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: SDE Encounter Locations
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: SDE Medication Administration
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationAdministration

index: -1
parameter definition.name:
  value: SDE Medication Request
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: -1
parameter definition.name:
  value: SDE Blood Glucose Observation
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Observation

index: -1
parameter definition.name:
  value: SDE Payer
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Any

index: -1
parameter definition.name:
  value: SDE Specimen
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Specimen

index: -1
parameter definition.name:
  value: SDE Minimal Patient
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Patient

index: -1
parameter definition.name:
  value: SDE Minimal Medication Requests
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: -1
data requirement.type:
  value: Patient
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Patient
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Patient

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: class
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: class
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: IMP
    coding.display:
      value: inpatient encounter
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: ACUTE
    coding.display:
      value: inpatient acute
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: NONAC
    coding.display:
      value: inpatient non-acute
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: SS
    coding.display:
      value: short stay

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: location
  index: -1
data requirement.must support:
  value: period
  index: -1

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: class
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: class
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

index: -1
data requirement.type:
  value: Location
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Location
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Location
data requirement.must support:
  value: id
  index: -1

index: -1
data requirement.type:
  value: Medication
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Medication
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Medication
data requirement.must support:
  value: id
  index: -1

index: -1
data requirement.type:
  value: MedicationAdministration
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
data requirement.must support:
  value: medication
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: effective
  index: -1

index: -1
data requirement.type:
  value: MedicationRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
data requirement.must support:
  value: medication
  index: -1
data requirement.must support:
  value: authoredOn
  index: -1

index: -1
data requirement.type:
  value: Specimen
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Specimen
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Specimen
data requirement.must support:
  value: id
  index: -1
data requirement.must support:
  value: collection
  index: -1
data requirement.must support:
  value: collection.collected
  index: -1

index: -1
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.must support:
  value: onset
  index: -1
data requirement.must support:
  value: category
  index: -1

index: -1
data requirement.type:
  value: Observation
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Observation
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Observation
data requirement.must support:
  value: code
  index: -1
data requirement.must support:
  value: effective
  index: -1
data requirement.must support:
  value: specimen
  index: -1
data requirement.must support:
  value: specimen.collection
  index: -1
data requirement.must support:
  value: specimen.collection.collected
  index: -1
data requirement.must support:
  value: category
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38

index: -1
data requirement.type:
  value: Coverage
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Coverage
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Coverage
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

index: -1
attachment.content type:
  value: text/cql

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Medication Request
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Medication Request": [MedicationRequest] MedicationRequests with "Initial Population" InitialPopulation such that MedicationRequests.authoredOn during "HospitalizationWithObservationOrEmergency"(InitialPopulation) and MedicationRequests.authoredOn during "Measurement Period"
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 3
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Encounter Locations
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Encounter Locations": "Initial Population" InitialPopulation where exists ( InitialPopulation.location InitialPopulationLocation where (Global.GetLocation(InitialPopulationLocation.location).type in "Inpatient, Emergency, and Observation Locations" or Global.GetLocation(InitialPopulationLocation.location).physicalType in "Inpatient, Emergency, and Observation Locations") and InitialPopulationLocation.period during InitialPopulation.period )
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 4
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Minimal Medication Requests
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Minimal Medication Requests": [MedicationRequest] MedicationRequests return MedicationRequest{ id: MedicationRequests.id, medication: GetMedicationCode(MedicationRequests.medication), dosageInstruction: MedicationRequests.dosageInstruction }
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 5
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Condition during Encounter
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Condition during Encounter": [Condition] ConditionEncounterDiagnosis with ConditionEncounterDiagnosis.category Category such that Category ~ "encounter-diagnosis" and exists("Initial Population")
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 6
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Medication Administration
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Medication Administration": [MedicationAdministration] MedicationAdministrations with "Initial Population" InitialPopulation such that start of Global."Normalize Interval"(MedicationAdministrations.effective) during "HospitalizationWithObservationOrEmergency"(InitialPopulation) and start of Global."Normalize Interval"(MedicationAdministrations.effective) during "Measurement Period"
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 7
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Blood Glucose Observation
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Blood Glucose Observation": [Observation: "Blood Glucose Laboratory and Point of Care Tests"] Observations with "Initial Population" InitialPopulation such that start of Global."Normalize Interval"(Observations.effective) during InitialPopulation.period or Global."Normalize Interval"(GetSpecimen(Observations.specimen).collection.collected) during InitialPopulation.period with Observations.category category such that category ~ "laboratory"
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 8
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Condition
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Condition": [Condition] Conditions with "Initial Population" InitialPopulation such that Global."Normalize Interval"(Conditions.onset) overlaps InitialPopulation.period
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 9
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: SupplementalDataElementsFHIR4
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Payer
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Payer": [Coverage: type in "Payer"] Payer return { code: Payer.type, period: Payer.period }
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 10
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Payer
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Payer": SDE."SDE Payer" Payer with "Initial Population" InitialPopulation such that start of Payer.period before end of InitialPopulation.period
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 11
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Encounter Discharge Dispositions
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Encounter Discharge Dispositions": "Initial Population" DischargeDispositions where DischargeDispositions.hospitalization.dischargeDisposition in "Discharge Disposition"
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 12
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Minimal Patient
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: //Change on CQF ruler happened on 8/12. Check to make sure CQF-Ruler version is dated at or after define "SDE Minimal Patient": Patient{ id: Patient.id, gender: Patient.gender, birthDate: Patient.birthDate }
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 13
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Specimen
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define "SDE Specimen": [Specimen] Specimen with "Initial Population" InitialPopulation such that Global."Normalize Interval"(Specimen.collection.collected) during InitialPopulation.period
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 14
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: NHSNGlycemicControlHypoglycemicInitialPopulation
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: SDE Chief Complaint
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: //Supplement Data Elements define "SDE Chief Complaint": "Initial Population" InitialPopulation with InitialPopulation.diagnosis InitialPopulationDiagnosis such that InitialPopulationDiagnosis.use ~ "Chief Complaint"
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 15
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

value: 1.0.0

value: ModuleDefinitionLibrarySDEArtifacts

value: Module Definition Library - SDE artifacts

value: active

value: true

codeable concept.coding:
  index: -1
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/library-type
  coding.code:
    value: module-definition

value: This library is used as an example module definition in the FHIR Quality Measure Implementation Guide

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Library FHIRHelpers
related artifact.resource:
  value: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
  link: 4.0
  link: .1

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Library Global
related artifact.resource:
  value: http://fhir.org/guides/cqf/Library/MATGlobalCommonFunctionsFHIR4|6.1.000
  link: 6.1
  link: .000

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Library SDE
related artifact.resource:
  value: http://fhir.org/guides/cqf/Library/SupplementalDataElementsFHIR4|2.0.000
  link: 2.0
  link: .000

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Code system ActCode
related artifact.resource:
  value: http://terminology.hl7.org/CodeSystem/v3-ActCode
  link: http://terminology.hl7.org/CodeSystem/v3-ActCode

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Code system Condition Category
related artifact.resource:
  value: http://terminology.hl7.org/CodeSystem/condition-category
  link: http://terminology.hl7.org/CodeSystem/condition-category

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Code system Observation Category
related artifact.resource:
  value: http://terminology.hl7.org/CodeSystem/observation-category
  link: http://terminology.hl7.org/CodeSystem/observation-category

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Code system Diagnosis Role
related artifact.resource:
  value: http://terminology.hl7.org/CodeSystem/diagnosis-role
  link: http://terminology.hl7.org/CodeSystem/diagnosis-role

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Antidiabetic Medications
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.58
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.58

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Inpatient, Emergency, and Observation Locations
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Blood Glucose Laboratory and Point of Care Tests
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Payer
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

index: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Discharge Disposition
related artifact.resource:
  value: http://terminology.hl7.org/ValueSet/encounter-discharge-disposition
  link: http://terminology.hl7.org/ValueSet/encounter-discharge-disposition

index: -1
parameter definition.name:
  value: Measurement Period
parameter definition.use:
  value: in
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Period

index: -1
parameter definition.name:
  value: SDE Medication Request
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: -1
parameter definition.name:
  value: SDE Encounter Locations
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: SDE Minimal Medication Requests
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: -1
parameter definition.name:
  value: SDE Condition during Encounter
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: -1
parameter definition.name:
  value: SDE Medication Administration
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationAdministration

index: -1
parameter definition.name:
  value: SDE Blood Glucose Observation
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Observation

index: -1
parameter definition.name:
  value: SDE Condition
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: -1
parameter definition.name:
  value: SDE Payer
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Any

index: -1
parameter definition.name:
  value: Initial Population
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: SDE Encounter Discharge Dispositions
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
parameter definition.name:
  value: SDE Minimal Patient
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Patient

index: -1
parameter definition.name:
  value: SDE Specimen
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Specimen

index: -1
parameter definition.name:
  value: SDE Chief Complaint
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: class
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: class
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: IMP
    coding.display:
      value: inpatient encounter
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: ACUTE
    coding.display:
      value: inpatient acute
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: NONAC
    coding.display:
      value: inpatient non-acute
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: SS
    coding.display:
      value: short stay

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: class
  index: -1
data requirement.must support:
  value: period
  index: -1

index: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: class
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: class
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: IMP
    coding.display:
      value: inpatient encounter
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: ACUTE
    coding.display:
      value: inpatient acute
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: NONAC
    coding.display:
      value: inpatient non-acute
  data requirement.code filter.code:
    index: -1
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/v3-ActCode
    coding.code:
      value: SS
    coding.display:
      value: short stay

index: -1
data requirement.type:
  value: Medication
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Medication
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Medication
data requirement.must support:
  value: id
  index: -1

index: -1
data requirement.type:
  value: MedicationAdministration
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
data requirement.must support:
  value: medication
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: effective
  index: -1

index: -1
data requirement.type:
  value: MedicationRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
data requirement.must support:
  value: medication
  index: -1
data requirement.must support:
  value: authoredOn
  index: -1
data requirement.must support:
  value: id
  index: -1
data requirement.must support:
  value: dosageInstruction
  index: -1

index: -1
data requirement.type:
  value: Location
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Location
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Location
data requirement.must support:
  value: id
  index: -1

index: -1
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.must support:
  value: category
  index: -1
data requirement.must support:
  value: onset
  index: -1

index: -1
data requirement.type:
  value: Specimen
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Specimen
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Specimen
data requirement.must support:
  value: id
  index: -1
data requirement.must support:
  value: collection
  index: -1
data requirement.must support:
  value: collection.collected
  index: -1

index: -1
data requirement.type:
  value: Observation
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Observation
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Observation
data requirement.must support:
  value: code
  index: -1
data requirement.must support:
  value: effective
  index: -1
data requirement.must support:
  value: specimen
  index: -1
data requirement.must support:
  value: specimen.collection
  index: -1
data requirement.must support:
  value: specimen.collection.collected
  index: -1
data requirement.must support:
  value: category
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38

index: -1
data requirement.type:
  value: Coverage
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Coverage
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Coverage
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

index: -1
data requirement.type:
  value: Patient
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Patient
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Patient

index: -1
extension.url:
  value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements
extension.value canonical:
  value: #effective-data-requirements-sde-artifact

index: -1
identifier.system:
  value: https://example.org/nhsnlink
identifier.value:
  value: nhsnglycemiccontrolhypoglycemicinitialpopulation

value: 0.000.01

value: NHSNGlycemicControlHypoglycemicInitialPopulation

value: NHSN Glycemic Control, Hypoglycemia Initial Population

value: active

value: true

value: 2022-08-29T12:53:08-08:00

value: NHSN

value: All inpatient encounters (including ED/Observation visits that end within 1 hour of the start of the inpatient encounter) for patients of all ages where at least one ADD was ordered or administered during the encounter that is during the measurement period.

value: This measure has been developed to support improvement in clinical care.

value: This measure and specifications are subject to further revisions. This performance measure is not a clinical guideline, does not establish a standard of medical care and has not been tested for all potential applications. THE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.

value: http://fhir.org/guides/cqf/Library/NHSNGlycemicControlHypoglycemicInitialPopulation
index: -1
link: http://fhir.org/guides/cqf/Library/NHSNGlycemicControlHypoglycemicInitialPopulation

codeable concept.coding:
  index: -1
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-scoring
  coding.code:
    value: cohort
  coding.display:
    value: Cohort

index: -1
codeable concept.coding:
  index: -1
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-type
  coding.code:
    value: outcome
  coding.display:
    value: Outcome

value: The NHSN Glycemic Control, Hypoglycemia module provides a mechanism for facilities to report inpatient medication-related hypoglycemia events, and to provide analytic reports based on these data to inform glycemic control quality improvement efforts and patient safety events. The primary objective of the NHSN Glycemic Control, Hypoglycemia module is to facilitate measurement and benchmarking of medication-related hypoglycemia events within a facility. As additional data are collected by NHSN, an additional objective will be to facilitate inter-facility benchmarking and evaluate national-level trends of medication-related hypoglycemia over time. The IP dQM provides the initial population and FHIR line-level data necessary for calculating the module metrics.

value: Antidiabetic Drug Days (ADD): Aggregate number of inpatient encounter days within the facility in which at least one injectable or oral ADD was received. All patients who received ADDs during the hospitalization contribute to the initial population regardless of whether the patient experienced a hypoglycemic event.
index: -1

value: Emergency Department (ED) or Observation (OBS) encounters: ED or observation encounters that ended within an hour of the inpatient admission are included when calculating the start and stop times of the hospitalization. Only Metric 1 includes ED and OBS encounters.
index: -1

value: Hypoglycemia Day: An inpatient day with at least one documented hypoglycemia event.
index: -1

value: Hypoglycemia Event includes the following during an inpatient hospitalization: A hypoglycemic blood glucose (BG) result during the encounter and ADD administered within 24 hours prior to the start of the hypoglycemic BG result and no subsequent test for blood glucose with a result ≥80 mg/dL within five minutes of the start of the initial low blood glucose test.
index: -1

value: Inpatient Encounter: A hospitalization in any inpatient facility that meets the criteria for reporting to the NHSN Glycemic Control Hypoglycemia Module (refer to CDC Locations and Descriptions manual).
index: -1

value: Measurement Period: From the first day of each calendar month through the last day of that calendar month. Mild hypoglycemia: Blood glucose 54 mg/dL to 69 mg/dL as identified on central laboratory device (CLD) or prescription point-of-care (POC) device.
index: -1

value: Moderate hypoglycemia: Blood glucose 40 mg/dL to 53 mg/dL as identified on CLD or prescription POC device.
index: -1

value: Severe hypoglycemia Blood glucose < 40 mg/dL as identified on CLD or prescription POC device.
index: -1

index: -1
measure.group.population:
  index: -1
  element.id:
    value: initial-population-01
  measure.group.population.code:
    codeable concept.coding:
      index: -1
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: initial-population
      coding.display:
        value: Initial Population
  measure.group.population.description:
    value: All inpatient encounters, as well as ED and OBS encounters that end within 1 hour of the start of the inpatient encounter, for patients of all ages where at least one antidiabetic drug (ADD) was ordered or administered during the encounter that is during the measurement period.
  measure.group.population.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Initial Population

index: -1
element.id:
  value: sde-chief-complaint
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Chief Complaint

index: -1
element.id:
  value: sde-condition
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Condition

index: -1
element.id:
  value: sde-condition-during-encounter
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Condition during Encounter

index: -1
element.id:
  value: sde-encounter-discharge-dispositions
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Encounter Discharge Dispositions

index: -1
element.id:
  value: sde-encounter-locations
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Encounter Locations

index: -1
element.id:
  value: sde-medication-administration
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Medication Administration

index: -1
element.id:
  value: sde-medication-request
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Medication Request

index: -1
element.id:
  value: sde-blood-glucose-observation
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Blood Glucose Observation

index: -1
element.id:
  value: sde-payer
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Payer

index: -1
element.id:
  value: sde-specimen
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Specimen

index: -1
element.id:
  value: sde-minimal-patient
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Minimal Patient

index: -1
element.id:
  value: sde-minimal-medication-requests
measure.supplemental data.criteria:
  expression.language:
    value: text/cql-identifier
  expression.expression:
    value: SDE Minimal Medication Requests