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.21 Syphilis diagnosis

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

If the woman tests positive for syphilis, provide counselling and treatment as needed

Title: ANC.DT.21 Syphilis diagnosis
Id: ANCDT21
Version: 0.3.0
Url: ANC.DT.21 Syphilis diagnosis
Official

ANC.DT.21

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:

If the woman tests positive for syphilis, provide counselling and treatment as needed

Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
Should Conduct syphilis counselling and further testingboolean01Out
Should Conduct syphilis counselling and further testing 2boolean01Out
Should Conduct syphilis counselling and further testing 3boolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library ANCDT21

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

/*
("Population prevalence of syphilis in pregnant women" ≥ 5%)
  AND ("Syphilis test type" = "Rapid syphilis test (RST)")
  AND (Syphilis test result" = "Syphilis positive")
*/
define "Should Conduct syphilis counselling and further testing":
  Config."Population prevalence of syphilis in pregnant women" >= 5 '%'
    and ContactData."Syphilis test type" in Cx."Syphilis test type - Rapid syphilis test (RST) Choices"
    and ContactData."Syphilis test result" in Cx."Syphilis test result - Positive Choices"

/*
("Population prevalence of syphilis in pregnant women" ≥ 5%)
  AND ("Syphilis test type" = "Rapid plasma reagin (RPR) test")
  AND (Syphilis test result" = "Syphilis positive")
*/
define "Should Conduct syphilis counselling and further testing 2":
  Config."Population prevalence of syphilis in pregnant women" >= 5 '%'
    and ContactData."Syphilis test type" in Cx."Syphilis test type - Rapidd plasma reagin (RPR) test Choices"
    and ContactData."Syphilis test result" in Cx."Syphilis test result - Positive Choices"

/*
("Population prevalence of syphilis in pregnant women" < 5%)
  AND ("Syphilis test result" = "Syphilis positive")
*/
define "Should Conduct syphilis counselling and further testing 3":
  Config."Population prevalence of syphilis in pregnant women" < 5 '%'
    and ContactData."Syphilis test result" in Cx."Syphilis test result - Positive Choices"
Content: application/elm+json
Encoded data (38176 characters)