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://fhir.org/guides/who/anc-cds/Library/ANCDT21 Version: 0.3.0
Active as of 2024-04-09 Computable Name: ANCDT21
Other Identifiers: ANC.DT.21 (use: official)

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

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

value: ANC.DT.21

Name: ANCDT21
Title: ANC.DT.21 Syphilis diagnosis
Status: active
Experimental: false
Type:

system: LibraryType

code: logic-library

Date: 2024-04-09 18:08:09+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
encounterstring01in
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
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de98
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de107
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+xml
Encoded data (21864 characters)
Content: application/elm+json
Encoded data (36360 characters)