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/costateixeira/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://fhir.org/guides/who/anc-cds/Library/ANCDT23 Version: 0.3.0
Active as of 2024-09-10 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

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

value: ANC.DT.23

Name: ANCDT23
Title: ANC.DT.23 Gestational diabetes mellitus (GDM) and diabetes mellitus (DM) during pregnancy diagnosis
Status: active
Experimental: false
Type:

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

code: logic-library

Date: 2024-09-10 04:55:21+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
encounterstring01In
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
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de163
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de164
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de165
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de166
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de167
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+xml
Encoded data (26044 characters)
Content: application/elm+json
Encoded data (43152 characters)