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.23 Gestational diabetes mellitus (GDM) and diabetes mellitus (DM) during pregnancy diagnosis

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

If the woman's blood glucose test results are as follows, provide the necessary counselling and treatment

Title: ANC.DT.23 Gestational diabetes mellitus (GDM) and diabetes mellitus (DM) during pregnancy diagnosis
Id: ANCDT23
Version: 0.3.0
Url: ANC.DT.23 Gestational diabetes mellitus (GDM) and diabetes mellitus (DM) during pregnancy diagnosis
Official

ANC.DT.23

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's blood glucose test results are as follows, provide the necessary counselling and treatment

Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
Should Conduct REQUIRED gestational diabetes mellitus (GDM) counsellingboolean01Out
Should Conduct REQUIRED gestational diabetes mellitus (GDM) counselling 2boolean01Out
Should Conduct REQUIRED gestational diabetes mellitus (GDM) counselling 3boolean01Out
Should Conduct REQUIRED gestational diabetes mellitus (GDM) counselling 4boolean01Out
Should Conduct REQUIRED diabetes mellitus (DM) counsellingboolean01Out
Should Conduct REQUIRED diabetes mellitus (DM) counselling 2boolean01Out
Should Conduct REQUIRED diabetes mellitus (DM) counselling 3boolean01Out
Should Conduct REQUIRED diabetes mellitus (DM) counselling 4boolean01Out
Should Conduct REQUIRED diabetes mellitus (DM) counselling 5boolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library ANCDT23

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

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

context Patient

/*
92 mg/dL ≤ "Fasting plasma glucose results" < 126 mg/dL
*/
define "Should Conduct REQUIRED gestational diabetes mellitus (GDM) counselling":
  ContactData."Fasting plasma glucose" in Interval[92 'mg/dL', 126 'mg/dL')

/*
92 mg/dL ≤ "75 g OGTT – fasting glucose results" < 126 mg/dL
*/
define "Should Conduct REQUIRED gestational diabetes mellitus (GDM) counselling 2":
  ContactData."75 g oral glucose tolerance test (OGTT) - fasting glucose" in Interval[92 'mg/dL', 126 'mg/dL')

/*
180 mg/dL ≤ "75 g OGTT – 1 hour results" < 200 mg/dL
*/
define "Should Conduct REQUIRED gestational diabetes mellitus (GDM) counselling 3":
  ContactData."75 g oral glucose tolerance test (OGTT) - 1 hour" in Interval[180 'mg/dL', 200 'mg/dL')

/*
153 mg/dL ≤ "75 g OGTT – 2 hours results" < 200 mg/dL
*/
define "Should Conduct REQUIRED gestational diabetes mellitus (GDM) counselling 4":
  ContactData."75 g oral glucose tolerance test (OGTT) - 2 hours" in Interval[180 'mg/dL', 200 'mg/dL')

/*
"Fasting plasma glucose results" ≥ 126 mg/dL
*/
define "Should Conduct REQUIRED diabetes mellitus (DM) counselling":
  ContactData."Fasting plasma glucose" >= 126 'mg/dL'

/*
"75 g OGTT – fasting glucose results" ≥ 126 mg/dL
*/
define "Should Conduct REQUIRED diabetes mellitus (DM) counselling 2":
  ContactData."75 g oral glucose tolerance test (OGTT) - fasting glucose" >= 126 'mg/dL'

/*
"75 g OGTT – 1 hour results" ≥ 200 mg/dL
*/
define "Should Conduct REQUIRED diabetes mellitus (DM) counselling 3":
  ContactData."75 g oral glucose tolerance test (OGTT) - 1 hour" >= 200 'mg/dL'

/*
"75 g OGTT – 2 hours results" ≥ 200 mg/dL
*/
define "Should Conduct REQUIRED diabetes mellitus (DM) counselling 4":
  ContactData."75 g oral glucose tolerance test (OGTT) - 2 hours" >= 200 'mg/dL'

/*
"Random plasma glucose test results" ≥ 200 mg/dL
*/
define "Should Conduct REQUIRED diabetes mellitus (DM) counselling 5":
  ContactData."Random plasma glucose" >= 200 'mg/dL'
Content: application/elm+json
Encoded data (45096 characters)