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/costateixeira/smart-anc/ and changes regularly. See the Directory of published versions

Library: ANC.DT.12 Urine testing

Official URL: http://fhir.org/guides/who/anc-cds/Library/ANCDT12 Version: 0.3.0
Active as of 2024-09-10 Computable Name: ANCDT12
Other Identifiers: ANC.DT.12 (use: official, )

Conditions in which urine testing is required

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

value: ANC.DT.12

Name: ANCDT12
Title: ANC.DT.12 Urine testing
Status: active
Experimental: false
Type:

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

code: logic-library

Date: 2024-09-10 04:55:21+0000
Publisher: World Health Organization (WHO)
Description: Conditions in which urine testing is required
Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
encounterstring01In
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
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b7-de43
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b8-de20
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b8-de21
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de17
Encounter http://hl7.org/fhir/StructureDefinition/Encounter ;
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+xml
Encoded data (16892 characters)
Content: application/elm+json
Encoded data (28076 characters)