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

Library: WHOEncounterElements (Experimental)

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

Related Artifacts

Depends OnFHIR model informationhttp://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
Depends OnLibrary FHIRHelpershttps://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/FHIRHelpers|4.0.1
Depends OnLibrary Conceptshttps://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/WHOConcepts
Depends OnLibrary Commonhttps://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/WHOCommon
Depends OnLibrary Elementshttps://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/WHOElements
Depends OnCode system LOINCLogical Observation Identifiers, Names and Codes (LOINC)

Parameters

AsOfin01date
EncounterIdin01string
Patientout01Patient
Pregnant Observationout0*Observation

Data Requirements

Type: Patient (Patient)
Type: Observation (Observation)
FilterValue
codeOne of these codes: Logical Observation Identifiers, Names and Codes (LOINC) 82810-3: Pregnancy status

Contents

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 )