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.DT.12 Urine testing

Official URL: http://smart.who.int/anc/Library/ANCDT12 Version: 0.3.0
Active as of 2025-06-25 Computable Name: ANCDT12
Other Identifiers: ANC.DT.12 (use: official, )

Conditions in which urine testing is required

Title: ANC.DT.12 Urine testing
Id: ANCDT12
Version: 0.3.0
Url: ANC.DT.12 Urine testing
Official

ANC.DT.12

Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2025-06-25 03:25:20+0000
Publisher: World Health Organization (WHO)
Description:

Conditions in which urine testing is required

Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
Should No syphilis test required boolean01Out
Should Do urine dipstick test for proteinboolean01Out
Should Conduct urine test 2boolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library ANCDT12

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

include ANCConfig called Config
include ANCConcepts called Cx
include ANCDataElements called PatientData
include ANCContactDataElements called ContactData

context Patient

/*
"Current physiological symptoms" = "Pain during urination (dysuria)"
*/
define "Should No syphilis test required ":
  ContactData."Current physiological symptoms" in Cx."Current physiological symptoms - Pain - during urination (dysuria) Choices"

/*
("Repeat systolic blood pressure" ≥ 140 mmHg)
  OR ("Repeat diastolic blood pressure" ≥ 90mmHg)
*/
define "Should Do urine dipstick test for protein":
  ContactData."Repeat systolic blood pressure" >= 140 'mm[Hg]'
    or ContactData."Repeat diastolic blood pressure" >= 90 'mm[Hg]'

/*
(("ANC contact number" = 1)
  OR ("Gestational age" ≥ 26 weeks))
  OR ("Gestational age" ≥ 34 weeks)
*/
define "Should Conduct urine test 2":
  ContactData."ANC contact number" = 1
    or ContactData."Gestational age" >= 26 'weeks'
    or ContactData."Gestational age" >= 34 'weeks'
Content: application/elm+json
Encoded data (30080 characters)