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

: ANC.DT.31 Flu immunization - JSON Representation

Active as of 2025-06-24

Raw json | Download

{
  "resourceType" : "PlanDefinition",
  "id" : "ANCDT31",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n    <table class=\"grid dict\">\n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">ANCDT31</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"PlanDefinition-ANCDT31.html\">ANC.DT.31 Flu immunization</a></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.3.0</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\">\n                <b>\n                    \n                        Official\n                    \n                </b>\n            </th>\n            <td style=\"padding-left: 4px;\">\n                \n                <p style=\"margin-bottom: 5px;\">\n                    <span>ANC.DT.31</span>\n                </p>\n                \n            </td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">ANC.DT.31 Flu immunization</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/6.4.0/CodeSystem-plan-definition-type.html\">http://terminology.hl7.org/CodeSystem/plan-definition-type</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>eca-rule</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2025-06-24 13:58:48-0600</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">World Health Organization (WHO)</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>If the woman has not yet been immunized with the seasonal flu vaccine, she should be immunized</p>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Use Context: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    <tr>\n                        <th><b>code</b></th>\n                        <th><b>value</b></th>\n                    </tr>\n                    \n                        <tr>\n                            <td>task</td>\n                            <td/>\n                        </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Jurisdiction: </b></th>\n            <td style=\"padding-left: 4px;\">001</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Libraries: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td><a href=\"Library-ANCDT31.html\">ANC.DT.31 Flu immunization</a></td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Actions: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td>\n                            \n                            <b> ANC.DT.31 Flu immunization:</b> \n                            \n                            <br/>\n                            \n                            <b>When:</b>\n                            \n                            <i>Named Event:</i> ANC.B10.7. Immunizations\n                            <br/>\n                            \n                            \n                            \n                            \n                            <b>Then:</b>\n                            <table class=\"grid-dict\">\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Pregnant women should be vaccinated with trivalent inactivated influenza vaccine at any stage of pregnancy\n                                        \n                                        <br/>\n                                        \n                                        \n                                        <b>If:</b>\n                                        \n                                        <i>Applicability:</i>\n                                        \n                                        (&quot;Flu immunization history&quot; = &quot;No doses&quot;)\n  OR (&quot;Flu immunization history&quot; = &quot;Unknown&quot;)\n                                        \n                                        <i>(Should Provide seasonal flu immunization)</i>\n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                            </table>\n                            \n                        </td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n    </table>\n</div>\n</div>"
  },
  "contained" : [
    {
      "resourceType" : "Library",
      "id" : "effective-data-requirements",
      "name" : "EffectiveDataRequirements",
      "status" : "active",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "module-definition"
          }
        ]
      },
      "relatedArtifact" : [
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "http://smart.who.int/anc/Library/FHIRHelpers|4.0.1"
        },
        {
          "type" : "depends-on",
          "display" : "Library ContactData",
          "resource" : "http://smart.who.int/anc/Library/ANCContactDataElements"
        },
        {
          "type" : "depends-on",
          "display" : "Library WC",
          "resource" : "http://smart.who.int/anc/Library/WHOCommon"
        },
        {
          "type" : "depends-on",
          "display" : "Library Cx",
          "resource" : "http://smart.who.int/anc/Library/ANCConcepts"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Flu immunization history",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b6-de105"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Flu Immunization History - No Doses Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b6-de107"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Flu Immunization History - Unknown Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b6-de108"
        }
      ],
      "parameter" : [
        {
          "name" : "encounter",
          "use" : "in",
          "min" : 0,
          "max" : "1",
          "type" : "string"
        },
        {
          "name" : "Should Provide seasonal flu immunization",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "boolean"
        }
      ],
      "dataRequirement" : [
        {
          "type" : "Observation",
          "profile" : [
            🔗 "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "encounter",
            "encounter.reference"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://smart.who.int/anc/ValueSet/anc-b6-de105"
            }
          ]
        }
      ]
    }
  ],
  "extension" : [
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCContactDataElements"
        },
        {
          "url" : "name",
          "valueString" : "Flu immunization history"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n  @dataElement: ANC.B6.DE105 Flu immunization history\n  @activity: ANC.B6 Profile\n  @description: Whether or not this year's seasonal flu vaccine has been provided\n*/\ndefine \"Flu immunization history\":\n  WC.MostRecent(\n  [Observation: Cx.\"Flu immunization history\"] O\n    where O.status in { 'final', 'amended', 'corrected' }\n      and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n      and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n  ).value as FHIR.CodeableConcept"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 0
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCDT31"
        },
        {
          "url" : "name",
          "valueString" : "Should Provide seasonal flu immunization"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n(\"Flu immunization history\" = \"No doses\")\n  OR (\"Flu immunization history\" = \"Unknown\")\n*/\ndefine \"Should Provide seasonal flu immunization\":\n  ContactData.\"Flu immunization history\" in Cx.\"Flu Immunization History - No Doses Choices\"\n    or ContactData.\"Flu immunization history\" in Cx.\"Flu Immunization History - Unknown Choices\""
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 1
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToConcept"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToConcept(concept FHIR.CodeableConcept):\n    if concept is null then\n        null\n    else\n        System.Concept {\n            codes: concept.coding C return ToCode(C),\n            display: concept.text.value\n        }"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 2
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToCode"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToCode(coding FHIR.Coding):\n    if coding is null then\n        null\n    else\n        System.Code {\n          code: coding.code.value,\n          system: coding.system.value,\n          version: coding.version.value,\n          display: coding.display.value\n        }"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 3
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "WHOCommon"
        },
        {
          "url" : "name",
          "valueString" : "MostRecent"
        },
        {
          "url" : "statement",
          "valueString" : "define function MostRecent(observations List<Observation>):\n  Last(\n    observations O\n      sort by issued\n  )"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 4
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value ObservationStatus): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 5
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToBoolean"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToBoolean(value boolean): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 6
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "WHOCommon"
        },
        {
          "url" : "name",
          "valueString" : "ModifierExtension"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n@description: Returns the single WHO core modifier extension (if present) on the given resource with the specified id.\n@comment: This function uses singleton from to ensure that a run-time exception is thrown if there\nis more than one extension on the given resource with the specified url.\n*/\ndefine function ModifierExtension(domainResource DomainResource, id String):\n  singleton from ModifierExtensions(domainResource, id)"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 7
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "WHOCommon"
        },
        {
          "url" : "name",
          "valueString" : "ModifierExtensions"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n@description: Returns any WHO core modifier extensions defined on the given resource with the specified id.\n@comment: NOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function ModifierExtensions(domainResource DomainResource, id String):\n  domainResource.modifierExtension E\n\t  where E.url = ('http://fhir.org/guides/who/core/StructureDefinition/' + id)\n\t\treturn E"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 8
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value uri): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 9
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value string): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 10
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "id" : "effective-data-requirements",
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
      "valueCanonical" : "#effective-data-requirements"
    },
    {
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
      "valueReference" : {
        🔗 "reference" : "Device/cqf-tooling"
      }
    }
  ],
  "url" : "http://smart.who.int/anc/PlanDefinition/ANCDT31",
  "identifier" : [
    {
      "use" : "official",
      "value" : "ANC.DT.31"
    }
  ],
  "version" : "0.3.0",
  "name" : "ANCDT31",
  "title" : "ANC.DT.31 Flu immunization",
  "type" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/plan-definition-type",
        "code" : "eca-rule"
      }
    ]
  },
  "status" : "active",
  "experimental" : false,
  "date" : "2025-06-24T13:58:48-06:00",
  "publisher" : "World Health Organization (WHO)",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.who.int"
        }
      ]
    }
  ],
  "description" : "If the woman has not yet been immunized with the seasonal flu vaccine, she should be immunized",
  "useContext" : [
    {
      "code" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "task",
        "display" : "Workflow Task"
      },
      "valueCodeableConcept" : {
        "coding" : [
          {
            "system" : "http://smart.who.int/anc/CodeSystem/activity-codes",
            "code" : "ANC.B10.7.",
            "display" : "Immunizations"
          }
        ]
      }
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "library" : [
    🔗 "http://smart.who.int/anc/Library/ANCDT31"
  ],
  "action" : [
    {
      "title" : "ANC.DT.31 Flu immunization",
      "trigger" : [
        {
          "type" : "named-event",
          "name" : "ANC.B10.7. Immunizations"
        }
      ],
      "action" : [
        {
          "id" : "1",
          "title" : "Provide seasonal flu immunization",
          "description" : "Provide seasonal flu immunization",
          "textEquivalent" : "Pregnant women should be vaccinated with trivalent inactivated influenza vaccine at any stage of pregnancy",
          "documentation" : [
            {
              "type" : "citation",
              "label" : "Vaccines against influenza WHO position paper (2012) (10)"
            }
          ],
          "condition" : [
            {
              "kind" : "applicability",
              "expression" : {
                "description" : "(\"Flu immunization history\" = \"No doses\")\n  OR (\"Flu immunization history\" = \"Unknown\")",
                "language" : "text/cql-identifier",
                "expression" : "Should Provide seasonal flu immunization"
              }
            }
          ]
        }
      ]
    }
  ]
}