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/WHOEncounterElements | Version: 0.1.0 | |||
Draft as of 2024-09-18 | Computable Name: WHOEncounterElements |
Description not yet available for WHOEncounterElements.
Generated Narrative: Library WHOEncounterElements
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 | Library Elements | https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/WHOElements |
Depends On | Code system LOINC | Logical Observation Identifiers, Names and Codes (LOINC) |
AsOf | in | 0 | 1 | date |
EncounterId | in | 0 | 1 | string |
Patient | out | 0 | 1 | Patient |
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 WHOEncounterElements
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include WHOConcepts called Concepts
include WHOCommon called Common
include WHOElements called Elements
parameter AsOf Date default Today()
parameter EncounterId String
context Patient
define "Pregnant Observation":
Elements."Pregnant Observation" O
where O.encounter.references(EncounterId)
or O.effective.toInterval() starts 9 months on or before day of AsOf
Content not shown - (
application/elm+json
, size = 20Kb )