FHIR IG analytics| Package | hl7.fhir.uv.cql.r4b |
| Resource Type | Library |
| Id | Library-module-example.json |
| FHIR Version | R4B |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
| Title: | Example Logic Library - Module Definition | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Id: | module-example | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Version: | 2.0.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Url: | Example Logic Library - Module Definition | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Official |
EXMLogic |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
urn:oid:2.16.840.1.113883.4.642.40.37.28.8 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Experimental: | true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type: |
system: http://terminology.hl7.org/CodeSystem/library-type code: module-definition |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Date: | 2019-09-03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Publisher: | HL7 International / Clinical Decision Support | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description: | This library is used as an example module definition in the Using FHIR with CQL Implementation Guide |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Jurisdiction: | 001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Related Artifacts: |
Dependencies
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data Requirements: |
|
{
"resourceType": "Library",
"id": "module-example",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module"
]
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"url": "http://hl7.org/fhir/uv/cql/Library/module-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.37.28.8"
}
],
"version": "2.0.0",
"name": "EXMLogicModuleDefinition",
"title": "Example Logic Library - Module Definition",
"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 Decision Support",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/dss"
}
]
}
],
"description": "This library is used as an example module definition in the Using FHIR with CQL Implementation Guide",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001",
"display": "World"
}
]
}
],
"relatedArtifact": [
{
"type": "depends-on",
"display": "QICore model information",
"resource": "http://example.org/fhir/us/qicore/Library/QICore-ModelInfo|4.1.1"
},
{
"type": "depends-on",
"display": "Library FHIRHelpers",
"resource": "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|2.0.0"
},
{
"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}}"
}
],
"type": "Patient",
"profile": [
"http://example.org/fhir/us/qicore/StructureDefinition/qicore-patient"
],
"mustSupport": [
"extension('http://example.org/fhir/us/core/StructureDefinition/us-core-ethnicity')"
],
"_mustSupport": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/rendered-value",
"valueString": "ethnicity"
}
]
}
]
},
{
"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"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-isSelective",
"valueBoolean": true
},
{
"extension": [
{
"url": "path",
"valueString": "status"
},
{
"url": "comparator",
"valueCode": "eq"
},
{
"url": "value",
"valueString": "finished"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter"
}
],
"type": "Encounter",
"profile": [
"http://example.org/fhir/us/qicore/StructureDefinition/qicore-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://example.org/fhir/us/qicore/StructureDefinition/qicore-coverage"
],
"codeFilter": [
{
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
}
]
}
]
}