0.1.0 - ci-build
HIVFHIRIG, published by intellisoftkenya. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IntelliSOFT-Consulting/HIV-FHIR-IG/ and changes regularly. See the Directory of published versions
Official URL: http://smart.who.int/hiv/Library/WHOElements | Version: 0.1.0 | |||
Draft as of 2024-09-18 | Computable Name: WHOElements |
Description not yet available for WHOElements.
Generated Narrative: Library WHOElements
Depends On | FHIR model information | http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 |
Depends On | Library FHIRHelpers | https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/FHIRHelpers|4.0.1 |
Depends On | Library Concepts | https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/WHOConcepts |
Depends On | Library Common | https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/WHOCommon |
Depends On | Code system LOINC | Logical Observation Identifiers, Names and Codes (LOINC) |
Patient | out | 0 | 1 | Patient |
Pregnancy Status Observation | out | 0 | * | Observation |
Pregnant Observation | out | 0 | * | Observation |
Type: Patient (Patient) |
Type: Observation (Observation) | |
Filter | Value |
code | One of these codes: Logical Observation Identifiers, Names and Codes (LOINC) 82810-3: Pregnancy status |
text/cql
library WHOElements
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include WHOConcepts called Concepts
include WHOCommon called Common
context Patient
define "Pregnancy Status Observation":
[Observation: Concepts."Pregnancy status"] O
where O.status in { 'final', 'amended', 'corrected' }
define "Pregnant Observation":
"Pregnancy Status Observation" O
where O.value ~ Concepts."Pregnant"
Content not shown - (
application/elm+json
, size = 17Kb )