WHO SMART Guidelines - Measles Immunization
0.1.0 - ci-build

WHO SMART Guidelines - Measles Immunization, 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/WorldHealthOrganization/smart-example-immz and changes regularly. See the Directory of published versions

Library: WHOEncounterElements (Experimental)

Official URL: http://smart.who.int/base-clinical/Library/WHOEncounterElements Version: 0.1.0
Draft as of 2024-08-12 Computable Name: WHOEncounterElements

This library defines encounter-based elements used throughout WHO SMART Guidelines content

Generated Narrative: Library WHOEncounterElements

Related Artifacts

Depends OnLibrary Conceptshttp://smart.who.int/immunizations-measles/Library/WHOConcepts
Depends OnLibrary Commonhttp://smart.who.int/immunizations-measles/Library/WHOCommon
Depends OnLibrary Elementshttp://smart.who.int/immunizations-measles/Library/WHOElements

Parameters

AsOfin01date
EncounterIdin01string
Patientout01Patient
Pregnant Observationout0*Observation

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+xml, size = 9Kb )

Content not shown - (application/elm+json, size = 16Kb )