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.29 HIV risk counselling

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

If the woman has risk factors for contracting HIV, provide counselling to reduce risk of contracting HIV

Id: ANCDT29
Url: ANC.DT.29 HIV risk counselling
Version: 0.3.0
Identifier:

value: ANC.DT.29

Name: ANCDT29
Title: ANC.DT.29 HIV risk counselling
Status: active
Experimental: false
Type:

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

code: logic-library

Date: 2024-09-10 13:23:00+0000
Publisher: World Health Organization (WHO)
Description: If the woman has risk factors for contracting HIV, provide counselling to reduce risk of contracting HIV
Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
encounterstring01In
PatientPatient01Out
Should Conduct counselling on HIV riskboolean01Out
Should Conduct counselling on pre-exposure prophylaxis (PrEP) for HIV preventionboolean01Out
Should Conduct counselling on HIV risk 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-b6-de146
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de45
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de156
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de48
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de55
Content: text/cql
library ANCDT29

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

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

context Patient

/*
(((((("HIV status" = "HIV negative")
  AND ("Prevalence of HIV in pregnant women in the catchment area" > 1%))
  OR (("HIV status" = "HIV negative")
  AND ("Partner HIV status (reported)" = "HIV positive")))
  OR (("HIV status" = "HIV negative")
  AND ("Partner HIV test result" = HIV positive")))
  OR (("HIV status" = "HIV negative")
  AND (Partner HIV status (confirmed)" = "HIV positive")))
  OR (("HIV status" = "HIV negative")
  AND (Current alcohol and/or other substance use" = "Injectable drugs")))
  OR (("HIV status" = "HIV negative")
  AND ("Occupation" = "Employment that puts woman at increased risk for HIV (e.g. sex worker)"))
*/
define "Should Conduct counselling on HIV risk":
  ContactData."HIV status" in Cx."HIV status - HIV negative Choices"
    and (
      Config."Prevalence of HIV in pregnant women in the catchment area" > 1 '%'
        or ContactData."Partner HIV status (reported)" in Cx."Partner HIV status (reported) - HIV Positive Choices"
        or ContactData."Partner HIV test result" in Cx."Partner HIV test result - Partner HIV positive Choices"
        or ContactData."Partner HIV status (confirmed)" in Cx."Partner HIV status (confirmed) - HIV positive Choices"
        or ContactData."Current alcohol and/or other substance use" in Cx."Current alcohol and/or other substance use - Injectable drugs Choices"
        or BaseDataElements."Patient Occupation" in Cx."Occupation - Employment that puts woman at increased risk for HIV (e.g. sex worker) Choices"
    )

/*
"Population incidence of HIV in the absence of PrEP" > 3 per 100 person-years
*/
define "Should Conduct counselling on pre-exposure prophylaxis (PrEP) for HIV prevention":
  Config."Population incidence of HIV in the absence of PrEP" > 3 '{Person-Years}'

/*
("Partner HIV status (reported)" = "Inconclusive")
  OR ("Partner HIV test conducted" = FALSE)
*/
define "Should Conduct counselling on HIV risk 2":
  ContactData."Partner HIV status (reported)" in Cx."Partner HIV status (reported) - Inconclusive Choices"
    or ContactData."Partner HIV test result" is null
Content: application/elm+xml
Encoded data (30652 characters)
Content: application/elm+json
Encoded data (51440 characters)