Clinical Practice Guidelines Example Implementation Guide - Antenatal Care Guidelines, published by HL7 International - Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/cpg-example-anc/ and changes regularly. See the Directory of published versions
Active as of 2024-11-18 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:Library ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "ANCRecommendationA2"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Library ANCRecommendationA2</b></p><a name=\"ANCRecommendationA2\"> </a><a name=\"hcANCRecommendationA2\"> </a><a name=\"ANCRecommendationA2-en-US\"> </a><h2>Related Artifacts</h2><table class=\"grid\"><tr><td>Documentation</td><td>WHO guideline for a positive pregnancy experience</td><td>https://www.who.int/reproductivehealth/publications/maternal_perinatal_health/anc-positive-pregnancy-experience/en</td></tr></table><h2>Contents</h2><p><code>text/cql</code></p><pre><code class=\"language-sql\">library ANCRecommendationA2 version '0.1.0'\n\nusing FHIR version '4.0.1'\n\ninclude FHIRHelpers version '4.0.1'\ninclude ANCCommon version '0.1.0' called Common\n\ncode "Hb": '165395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' from Common.OpenMRSEntity display 'Haemoglobin measured from haemoglobinometer (g/dl)'\ncode "Iron Intake Compliance": '165272AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' from Common.OpenMRSEntity display 'Iron intake compliance'\ncode "Iron Side Effects": '165273AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' from Common.OpenMRSEntity display 'Iron side effects' // NOTE: OpenMRS concept is just side effects from medication\n\n// TODO: How do parameters like this get configured for local/site usage\n//parameter "Anaemia Prevalence" System.Quantity default 40 '%'\n\ncontext Patient\n\n// TODO: Configuring in-line directly for now\ndefine "Anaemia Prevalence": 40 '%'\n\n/*\nIAF - Iron and Folic Acid Supplements\n\nRECOMMENDATION A.2.1: Daily oral iron and folic acid supplementation with 30 mg to\n60 mg of elemental iron and 400 μg (0.4 mg) folic acid is recommended for pregnant\nwomen to prevent maternal anaemia, puerperal sepsis, low birth weight, and preterm birth.\n(Recommended)\n\nRECOMMENDATION A.2.2: Intermittent oral iron and folic acid supplementation with 120 mg\nof elemental iron and 2800 μg (2.8 mg) of folic acid once weekly is recommended for pregnant\nwomen to improve maternal and neonatal outcomes if daily iron is not acceptable due to sideeffects,\nand in populations with an anaemia prevalence among pregnant women of less than\n20%. (Context-specific recommendation)\n\nOn every contact,\n if anaemia detected\n recommend 120 mg of elemental iron daily (Recommendation A.2.1)\n else if population anaemia prevalence >= 40%\n recommend 60 mg of elemental iron and 400 ug of folic acid, daily (Recommendation A.2.1)\n else if population anaemia prevalence < 20% or daily iron not acceptable due to side-effects\n recommend intermittent oral iron: 120 mg of oral iron, and 2.8 ug of folic acid, weekly (Recommendation A.2.2)\n else\n recommend 30 to 60 mg of elemental iron and 400 ug of folic acid, daily (Recommendation A.2.1)\n check iron-intake compliance;\n check iron-side effects;\n\nHas Anaemia\n Hb Concentration < 11 g/dL and Gestational Age < 12 weeks or Gestational Age > 28 weeks\n Hb Concentration < 10.5 g/dL and Gestational Age between 13 weeks and 27 weeks\n*/\n\ndefine "Has Anaemia":\n if Common."Gestational Age in Weeks" between 13 weeks and 27 weeks then\n "Hb Concentration" < 10.5 'g/dL'\n else\n "Hb Concentration" < 11 'g/dL'\n\ndefine "Hb Concentration":\n First(\n ["Observation": "Hb"] O\n where O.status = 'final'\n and O.effective after Common."Start of Current Pregnancy"\n sort by FHIRHelpers.ToDateTime(effective as FHIR.dateTime) descending\n ).value as Quantity\n\ndefine "Has Iron Side-Effects":\n exists (\n ["Condition": "Iron Side Effects"] C\n where C.onset on or after Common."Start of Current Pregnancy"\n and C.clinicalStatus in Common."Active Condition"\n )\n</code></pre><p><code>No Content</code> (<code>application/elm+xml</code>)</p></div>"
] ; #
fhir:url [ fhir:v "http://cqframework.org/cpg-example-anc/Library/ANCRecommendationA2"^^xsd:anyURI] ; #
fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:value [ fhir:v "ANCRecommendationA2" ]
] ) ; #
fhir:version [ fhir:v "1.0.0"] ; #
fhir:name [ fhir:v "ANCRecommendationA2"] ; #
fhir:title [ fhir:v "WHO Antenatal Care Guidelines Logic for recommendation #A2"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:experimental [ fhir:v "true"^^xsd:boolean] ; #
fhir:type [
( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "logic-library" ] ;
fhir:display [ fhir:v "Logic Library" ] ] )
] ; #
fhir:date [ fhir:v "2024-11-18T17:56:37+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "HL7 International - Clinical Decision Support WG"] ; #
fhir:contact ( [
fhir:name [ fhir:v "HL7 International - Clinical Decision Support WG" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss/index.cfm" ] ] )
] ) ; #
fhir:description [ fhir:v "Decision Support Logic for use in ANC Recommendation A2"] ; #
fhir:useContext ( [
fhir:code [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "focus" ] ] ;
fhir:value [
a fhir:CodeableConcept ;
( fhir:coding [
a sct:77386006 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "77386006" ] ;
fhir:display [ fhir:v "Pregnancy (finding)" ] ] ) ]
] ) ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ] ] )
] ) ; #
fhir:copyright [ fhir:v "© WHO 2019+."] ; #
fhir:topic ( [
fhir:text [ fhir:v "Pregnancy" ]
] ) ; #
fhir:relatedArtifact ( [
fhir:type [ fhir:v "documentation" ] ;
fhir:display [ fhir:v "WHO guideline for a positive pregnancy experience" ] ;
fhir:url [ fhir:v "https://www.who.int/reproductivehealth/publications/maternal_perinatal_health/anc-positive-pregnancy-experience/en"^^xsd:anyURI ] ;
fhir:document [
fhir:url [ fhir:v "https://www.who.int/reproductivehealth/publications/maternal_perinatal_health/anc-positive-pregnancy-experience/en"^^xsd:anyURI ] ]
] ) ; #
fhir:content ( [
fhir:contentType [ fhir:v "text/cql" ] ;
fhir:data [ fhir:v "bGlicmFyeSBBTkNSZWNvbW1lbmRhdGlvbkEyIHZlcnNpb24gJzAuMS4wJwoKdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScKCmluY2x1ZGUgRkhJUkhlbHBlcnMgdmVyc2lvbiAnNC4wLjEnCmluY2x1ZGUgQU5DQ29tbW9uIHZlcnNpb24gJzAuMS4wJyBjYWxsZWQgQ29tbW9uCgpjb2RlICJIYiI6ICcxNjUzOTVBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEnIGZyb20gQ29tbW9uLk9wZW5NUlNFbnRpdHkgZGlzcGxheSAnSGFlbW9nbG9iaW4gbWVhc3VyZWQgZnJvbSBoYWVtb2dsb2Jpbm9tZXRlciAoZy9kbCknCmNvZGUgIklyb24gSW50YWtlIENvbXBsaWFuY2UiOiAnMTY1MjcyQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBJyBmcm9tIENvbW1vbi5PcGVuTVJTRW50aXR5IGRpc3BsYXkgJ0lyb24gaW50YWtlIGNvbXBsaWFuY2U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ICBbIkNvbmRpdGlvbiI6ICJJcm9uIFNpZGUgRWZmZWN0cyJdIEMKCQkgIHdoZXJlIEMub25zZXQgb24gb3IgYWZ0ZXIgQ29tbW9uLiJTdGFydCBvZiBDdXJyZW50IFByZWduYW5jeSIKCQkJICBhbmQgQy5jbGluaWNhbFN0YXR1cyBpbiBDb21tb24uIkFjdGl2ZSBDb25kaXRpb24iCiAgKQo="^^xsd:base64Binary ]
] [
fhir:contentType [ fhir:v "application/elm+xml" ]
] ) . #
IG © 2023 HL7 International - Clinical Decision Support WG. Package cqframework.cpg-example-anc#1.0.0 based on FHIR 4.0.1. Generated 2024-11-18
Links: Table of Contents |
QA Report
| Version History | License