EXMLogic
type: Library
node role: treeRoot
resource.id:
  value: EXMLogic
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception generating Narrative: Unable to Parse HTML - node 'DateTime' has unexpected content '=' (last text = ' context Patient define "Initial Population" : "Inpatient Encounter" Encounter define "Measure Population" : "Initial Population" define function "Measure Observation" (Encounter "Encounter" ) : duration in minutes of "Related ED Visit"(Encounter).period define "Stratifier 1" : "Inpatient Encounter" Encounter where not (PrincipalDiagnosis(Encounter).code in "Psychiatric/Mental Health Patient") define "Stratifier 2" : "Inpatient Encounter" Encounter where PrincipalDiagnosis(Encounter).code in "Psychiatric/Mental Health Patient" define "Stratifier 3" : "Inpatient Encounter" Encounter where PrincipalDiagnosis(Encounter) is null define "Stratifier 4" : "Inpatient Encounter" Encounter where PrincipalDiagnosis(Encounter) is null define "Inpatient Encounter" : ["Encounter"] Encounter where LengthInDays(Encounter.period) ' at line 872 column 43
domain resource.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  extension.value code:
    value: cqi
library.url:
  value: http://hl7.org/fhir/uv/cqm/Library/EXMLogic
library.identifier:
  index: 0
  identifier.use:
    value: official
  identifier.system:
    value: http://example.org/fhir/cqi/ecqm/Library/Identifier
  identifier.value:
    value: EXMLogic
library.identifier:
  index: 1
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.113883.4.642.40.61.28.20
library.version:
  value: 2.0.0
library.name:
  value: EXMLogic
library.title:
  value: Example Logic Library
library.status:
  value: active
library.experimental:
  value: true
library.type:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
library.date:
  value: 2019-09-03
library.publisher:
  value: HL7 International / Clinical Quality Information
library.contact:
  index: 0
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://www.hl7.org/Special/committees/cqi
library.description:
  value: This library is used as an example in the FHIR Quality Measure Implementation Guide
library.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://unstats.un.org/unsd/methods/m49/m49.htm
    coding.code:
      value: 001
library.approval date:
  value: 2019-08-03
library.last review date:
  value: 2019-08-03
library.topic:
  index: 0
  codeable concept.text:
    value: FHIR
library.topic:
  index: 1
  codeable concept.text:
    value: CQL
library.related artifact:
  index: 0
  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 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: 2
  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: 3
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Psychiatric/Mental Health Patient
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299
library.related artifact:
  index: 4
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Hospital Settings
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126
library.related artifact:
  index: 5
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Chronic Liver Disease Legacy Example
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cqm/ValueSet/chronic-liver-disease-legacy-example
    link: http://hl7.org/fhir/uv/cqm/ValueSet/chronic-liver-disease-legacy-example
library.related artifact:
  index: 6
  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: 7
  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.related artifact:
  index: 8
  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: 9
  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: 0
  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: 2
  parameter definition.name:
    value: Inpatient Encounter
  parameter definition.use:
    value: out

value: 0

value: *

value: Encounter

index: 3
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: 4
parameter definition.name:
  value: Measure Population
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

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

index: 6
parameter definition.name:
  value: Stratifier 2
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 7
parameter definition.name:
  value: Stratifier 3
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 8
parameter definition.name:
  value: Stratifier 4
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 9
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

index: 10
parameter definition.name:
  value: SDE Payer
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Resource

index: 11
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

index: 12
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

index: 0
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter

index: 1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  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: 2
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: id

index: 3
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: id

index: 4
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  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: 5
data requirement.type:
  value: Coverage
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Coverage
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Coverage
data requirement.code filter:
  index: 0
  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: 0
attachment.content type:
  value: text/cql

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

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