FHIR IG analytics| Package | hl7.fhir.uv.cqm |
| Resource Type | Library |
| Id | Library-moduledefinition-example.json |
| FHIR Version | R4 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
| Metadata | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Title | Module Definition Example Logic Library | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Version | 1.0.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Identifier | EXMLogic | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Identifier | urn:oid:2.16.840.1.113883.4.642.40.61.28.37 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Experimental | true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Jurisdiction | 001 from http://unstats.un.org/unsd/methods/m49/m49.htm | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Steward (Publisher) | HL7 International / Clinical Quality Information | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description | This library is used as an example module definition in the FHIR Quality Measure Implementation Guide |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type | module-definition from http://terminology.hl7.org/CodeSystem/library-type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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: Code system Diagnosis Role
Resource: Diagnosis Role Canonical URL: http://terminology.hl7.org/CodeSystem/diagnosis-role |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dependency |
Description: Value set Emergency Department Visit
Resource: Emergency Department Visit Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dependency |
Description: Value set Psychiatric/Mental Health Patient
Resource: Psychiatric/Mental Health Diagnosis Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dependency |
Description: Value set Hospital Settings
Resource: Hospital Settings Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 Race
Resource: Race Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 Payer
Resource: Payer Type Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data Requirement |
Type: Patient
Profile(s): Patient |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data Requirement |
Type: Encounter
Profile(s): Encounter Code Filter(s): Path: type ValueSet: Emergency Department Visit |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data Requirement |
Type: Condition
Profile(s): Condition Code Filter(s): Path: id |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data Requirement |
Type: Coverage
Profile(s): Coverage Code Filter(s): Path: type ValueSet: Payer Type |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Generated using version 0.5.4 of the sample-content-ig Liquid templates | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{
"resourceType": "Library",
"id": "moduledefinition-example",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-moduledefinitionlibrary"
]
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "cqi"
}
],
"url": "http://hl7.org/fhir/uv/cqm/Library/moduledefinition-example",
"identifier": [
{
"use": "official",
"system": "http://example.org/fhir/cqi/ecqm/Library/Identifier",
"value": "EXMLogic"
},
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:2.16.840.1.113883.4.642.40.61.28.37"
}
],
"version": "1.0.0",
"name": "EXMLogicModuleDefinition",
"title": "Module Definition Example Logic Library",
"status": "active",
"experimental": true,
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/library-type",
"code": "module-definition"
}
]
},
"date": "2019-09-03",
"publisher": "HL7 International / Clinical Quality Information",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/cqi"
}
]
}
],
"description": "This library is used as an example module definition in the FHIR Quality Measure Implementation Guide",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001"
}
]
}
],
"relatedArtifact": [
{
"type": "depends-on",
"display": "FHIR model information",
"resource": "http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1"
},
{
"type": "depends-on",
"display": "Library FHIRHelpers",
"resource": "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1"
},
{
"type": "depends-on",
"display": "Code system Diagnosis Role",
"resource": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
},
{
"type": "depends-on",
"display": "Value set Emergency Department Visit",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
},
{
"type": "depends-on",
"display": "Value set Psychiatric/Mental Health Patient",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299"
},
{
"type": "depends-on",
"display": "Value set Hospital Settings",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126"
},
{
"type": "depends-on",
"display": "Value set ONC Administrative Sex",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1"
},
{
"type": "depends-on",
"display": "Value set Race",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836"
},
{
"type": "depends-on",
"display": "Value set Ethnicity",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837"
},
{
"type": "depends-on",
"display": "Value set Payer",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
}
],
"parameter": [
{
"name": "Measurement Period",
"use": "in",
"min": 0,
"max": "1",
"type": "Period"
},
{
"name": "Patient",
"use": "out",
"min": 0,
"max": "1",
"type": "Patient"
},
{
"name": "Inpatient Encounter",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
},
{
"name": "Initial Population",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
},
{
"name": "Measure Population",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
},
{
"name": "Stratifier 1",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
},
{
"name": "Stratifier 2",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
},
{
"name": "Stratifier 3",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
},
{
"name": "Stratifier 4",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
},
{
"name": "SDE Ethnicity",
"use": "out",
"min": 0,
"max": "*",
"type": "Coding"
},
{
"name": "SDE Payer",
"use": "out",
"min": 0,
"max": "*",
"type": "Resource"
},
{
"name": "SDE Race",
"use": "out",
"min": 0,
"max": "*",
"type": "Coding"
},
{
"name": "SDE Sex",
"use": "out",
"min": 0,
"max": "1",
"type": "Coding"
}
],
"dataRequirement": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern",
"valueString": "Patient?_id={{context.patientId}}"
},
{
"extension": [
{
"url": "path",
"valueString": "url"
},
{
"url": "comparator",
"valueCode": "eq"
},
{
"url": "value",
"valueString": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter"
}
],
"type": "Patient",
"profile": [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern",
"valueString": "Encounter?status=finished&subject=Patient/{{context.patientId}}&type:in=http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
}
],
"type": "Encounter",
"profile": [
"http://hl7.org/fhir/StructureDefinition/Encounter"
],
"codeFilter": [
{
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
}
]
},
{
"type": "Condition",
"profile": [
"http://hl7.org/fhir/StructureDefinition/Condition"
],
"codeFilter": [
{
"path": "id"
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern",
"valueString": "Coverage?policy-holder=Patient/{{context.patientId}}&type:in=http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
}
],
"type": "Coverage",
"profile": [
"http://hl7.org/fhir/StructureDefinition/Coverage"
],
"codeFilter": [
{
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
}
]
}
]
}