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.19 Hepatitis B diagnosis

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

If the woman tests positive for hepatitis B, provide counselling and referral as needed

Title: ANC.DT.19 Hepatitis B diagnosis
Id: ANCDT19
Version: 0.3.0
Url: ANC.DT.19 Hepatitis B diagnosis
Official

ANC.DT.19

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 hepatitis B, provide counselling and referral as needed

Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
Should Provide hepatitis B counselling and immunizationboolean01Out
Should Conduct hepatitis B positive counsellingboolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library ANCDT19

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

/*
"Hepatitis B test result" = "Hepatitis B negative"
*/
define "Should Provide hepatitis B counselling and immunization":
  ContactData."Hepatitis B test result" in Cx."Hepatitis B Test Result - Negative Choices"

/*
"Hepatitis B test result" = "Hepatitis B positive"
*/
define "Should Conduct hepatitis B positive counselling":
  ContactData."Hepatitis B test result" in Cx."Hepatitis B Test Result - Positive Choices"
Content: application/elm+json
Encoded data (17812 characters)