MATGlobalCommonFunctions
type: Library
node role: treeRoot
resource.id:
  value: MATGlobalCommonFunctions
resource.meta:
  meta.profile:
    value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary
    index: 0
    link: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary
  meta.profile:
    value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary
    index: 1
    link: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary
  meta.profile:
    value: http://hl7.org/fhir/uv/cql/StructureDefinition/elm-json-library
    index: 2
    link: http://hl7.org/fhir/uv/cql/StructureDefinition/elm-json-library
  meta.profile:
    value: http://hl7.org/fhir/uv/cql/StructureDefinition/elm-xml-library
    index: 3
    link: http://hl7.org/fhir/uv/cql/StructureDefinition/elm-xml-library
  meta.profile:
    value: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library
    index: 4
    link: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception generating Narrative: Unable to Parse HTML - node 'DateTime' has unexpected content '=' (last text = ' default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0) context Patient define "Inpatient Encounter": [Encounter: "Encounter Inpatient"] EncounterInpatient where EncounterInpatient.status = 'finished' and "LengthInDays"(EncounterInpatient.period) ' at line 999 column 54
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/MATGlobalCommonFunctions
library.identifier:
  index: 0
  identifier.use:
    value: official
  identifier.system:
    value: http://example.org/fhir/cqi/ecqm/Library/Identifier
  identifier.value:
    value: MATGlobalCommonFunctions
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.25
library.version:
  value: 5.0.000
library.name:
  value: MATGlobalCommonFunctions
library.title:
  value: MAT Global Common Functions FHIR 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 LOINC
  related artifact.resource:
    value: http://loinc.org
    link: http://loinc.org
library.related artifact:
  index: 2
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code System SNOMEDCT
  related artifact.resource:
    value: http://snomed.info/sct
    link: http://snomed.info/sct
library.related artifact:
  index: 3
  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: 4
  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: 5
  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: 6
  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: 7
  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: 8
  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: 9
  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: 10
  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

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

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

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

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

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: 2
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: 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
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.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: 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: 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.113762.1.4.1111.143
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143

index: 3
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: 4
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition

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

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

index: 7
data requirement.type:
  value: Provenance
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Provenance
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Provenance
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: target

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

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