WHO Antenatal Care Guideline Implementation Guide
0.3.0 - CI Build International flag

WHO Antenatal Care Guideline Implementation Guide, published by World Health Organization (WHO). This guide is not an authorized publication; it is the continuous build for version 0.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-anc/ and changes regularly. See the Directory of published versions

Library: ANC Base Data Elements

Official URL: http://smart.who.int/anc/Library/ANCBaseDataElements Version: 0.3.0
Active as of 2026-10-16 Computable Name: ANCBaseDataElements

Base data elements used throughout the ANC content, including decision support and indicator logic.

Exception parsing generated Narrative (see /tmp/liquid-12bf2c12-3d5f-4356-a209-c64d2135a989.html): Unable to Parse HTML - node 'code' has unexpected content ' ' (last text = '/* Additional required data elements that do not have a data dictionary entry */ library ANCBaseDataElements using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include ANCCommon called AC include FHIRCommon called FC include ANCBaseConcepts called BCx context Patient /* define "Pregnant": "Pregnancy" is not null or "Pregnancy status" in BCx."Pregnancy status - pregnant" define "Pregnancy status": FHIRHelpers.ToConcept( Last( [Observation: BCx."Pregnancy status"] O where O.status = 'final' sort by FHIRHelpers.ToDateTime(effective as FHIR.dateTime) ).value ) */ define "Antenatal care case": ["EpisodeOfCare": type in BCx."Antenatal care case"] define "Antenatal care contact": ["Encounter": type in BCx."Antenatal care contact"] /* @description: Most recent antenatal care case */ define "Pregnancy": First( "Antenatal care case" E sort by start of period descending ) define "First trimester": Interval[start of "Pregnancy".period, start of "Pregnancy".period + 12 weeks] define "Second trimester": Interval[start of "Pregnancy".period + 13 weeks, start of "Pregnancy".period + 24 weeks] /* @description: Third trimester (assuming GA 25+ weeks) */ define "Third trimester": Interval[start of "Pregnancy".period + 25 weeks, end of "Pregnancy".period] /* @description: The diagnosis of pregnancy listed as the chief-complaint diagnosis on the most recent antenatal care case */ define "Pregnancy condition": ["Condition": code in BCx."Pregnancy condition"] C with "Pregnancy".diagnosis Dx such that Dx.role = FC."CC" and C.id = Last(Split(Dx.condition.reference, '/')) /* @description: The patient's occupation */ define "Patient Occupation": [Patient] P return (AC.Extension(P, 'occupation')).value as CodeableConcept /* @description: The expected next contact date based on current visits and the next expected visit date Next contact date logic: 1. If GA ' at line 364 column 12