This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v2.0.0: STU 2) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions
Library-Terminology
Formats: XML, JSON, Turtle
Id: |
Terminology |
Url: |
http://hl7.org/fhir/us/cqfmeasures/Library/Terminology |
Version: |
1.0.0 |
Identifier: |
value: Terminology
|
Name: |
Terminology |
Title: |
Terminology Example |
Status: |
active |
Experimental: |
true |
Type: |
system: http://terminology.hl7.org/CodeSystem/library-type
code: logic-library
|
Date: |
2019-09-03 |
Publisher: |
Health Level 7 International - Clinical Quality Information Work Group |
Description: |
This library is used as an example in the FHIR Quality Measure Implementation Guide |
Jurisdiction: |
US |
Approval Date: |
2019-08-03 |
Last Review Date: |
2019-08-03 |
Related Artifacts: |
Type | Resource |
depends-on | http://hl7.org/fhir/Library/FHIR-ModelInfo|4.0.1 |
depends-on | http://hl7.org/fhir/Library/FHIRHelpers|4.0.1 |
depends-on | http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709 |
depends-on | http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307|20160929 |
|
Parameters: |
Name | Type | Min | Max | In/Out |
Measurement Period | Period | 0 | 1 | in |
Inpatient Encounter | Encounter | 0 | * | out |
Venous Foot Pumps Applied | DeviceUseStatement | 0 | * | out |
|
Data Requirements: |
Type | Profile | MS | Code Filter |
Encounter |
http://hl7.org/fhir/StructureDefinition/Encounter |
|
code filter:
path: type
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307|20160929
|
DeviceUseStatement |
http://hl7.org/fhir/StructureDefinition/DeviceUseStatement |
|
code filter:
path: code
system: http://snomed.info/sct
code: 442023007
|
|
Content: text/cql |
library Terminology version '1.0.0'
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1' called FHIRHelpers
// NOTE: Versioning is used in this example to illustrate completely how versioning is applied
// References to specific versions of code systems and value sets should be used only when necessary
codesystem "SNOMED CT:2017-09": 'http://snomed.info/sct'
version 'http://snomed.info/sct/731000124108/version/201709'
valueset "Encounter Inpatient SNOMEDCT Value Set":
'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307|20160929'
code "Venous foot pump, device (physical object)": '442023007' from "SNOMED CT:2017-09"
code "Right foot": '7769000' from "SNOMED CT:2017-09"
parameter "Measurement Period" Interval<DateTime>
define "Inpatient Encounter":
["Encounter": type in "Encounter Inpatient SNOMEDCT Value Set"] E
where E.status = 'finished'
define "Venous Foot Pumps Applied":
["DeviceUseStatement": code in "Venous foot pump, device (physical object)"] D
where D.status = 'completed'
and D.bodySite ~ ToConcept("Right foot")
|
Content: application/elm+xml |
Encoded data (7528 characters)
|
Content: application/elm+json |
Encoded data (11880 characters)
|