WHO SMART Guidelines - Example Workshop IG
0.1.0 - ci-build
WHO SMART Guidelines - Example Workshop IG, published by WHO. 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/brynrhodes/smart-workshop/ and changes regularly. See the Directory of published versions
Official URL: http://smart.who.int/base-clinical/Library/WHOEncounterElements | Version: 0.1.0 | |||
Draft as of 2024-12-02 | Computable Name: WHOEncounterElements |
This library defines encounter-based elements used throughout WHO SMART Guidelines content
Generated Narrative: Library WHOEncounterElements
Depends On | Library Common | http://smart.who.int/example-workshop/Library/WHOCommon |
Depends On | Library Elements | http://smart.who.int/example-workshop/Library/WHOElements |
AsOf | in | 0 | 1 | date |
EncounterId | in | 0 | 1 | string |
Patient | out | 0 | 1 | Patient |
Pregnant Observation | out | 0 | * | Observation |
text/cql
library WHOEncounterElements
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
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+xml
, size = 9Kb )
Content not shown - (
application/elm+json
, size = 15Kb )