WHO Immunization Implementation Guide
0.2.0 - ci-build

WHO Immunization Implementation Guide, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-immunizations/tree/123/merge and changes regularly. See the Directory of published versions

: IMMZ.D18.S.Hib.3 doses schedule - TTL Representation

Draft as of 2026-03-03

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:PlanDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "IMMZD18SHib3Doses"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition>     ] [
fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareableplandefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareableplandefinition>     ] [
fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishableplandefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishableplandefinition>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div [ fhir:v "<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;\">IMMZD18SHib3Doses</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-IMMZD18SHib3Doses.html\">IMMZ.D18.S.Hib.3 doses schedule</a></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.2.0</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">IMMZ.D18.S.Hib.3 doses schedule</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Status: </b></th>\n            <td style=\"padding-left: 4px;\">draft</td>\n        </tr>\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/7.0.1/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;\">2026-03-03 13:07:11+0000</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">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>IMMZ.D18.S.Hib.3 doses schedule\n3 primary doses without a booster dose (3p) schedule</p>\n</div></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Knowledge Capability: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                computable \n            </td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Related Artifacts: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                \n                <p><b>References</b></p>\n                <ul>\n                    \n                    <li><div><p>WHO recommendations for routine immunization - summary tables (January 2025)</p>\n</div><br/><a href=\"null\"/></li>\n                    \n                </ul>\n                \n                \n                \n                \n                \n                \n            </td>\n        </tr>\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-IMMZD18SHib3DosesLogic.html\">IMMZD18SHib3DosesLogic</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> Haemophilus influenzae type b (Hib) dose 1:</b> Provision of the Hib dose 1\nTrigger event: Child's birth\nTrigger pseudo: \nTrigger date: \"Date of birth\"\nCreate condition: Immunization should start from 6 weeks of age, or as early as possible thereafter.\nHib-containing vaccine is not required for healthy children aged over 5 years.\n                            \n                            <br/>\n                            \n                            \n                            <b>If:</b>\n                            \n                            <i>Applicability:</i>\n                            \n                            Haemophilus influenzae type b (Hib) dose 1\n                            \n                            <i>(Haemophilus influenzae type b (Hib) dose 1)</i>\n                            <br/>\n                            \n                            \n                            \n                            \n                            <b>Then:</b> <i>Definition:</i> <a href=\"ActivityDefinition-IMMZD2DTCR.html\">IMMZ.D2.DT.CR</a><br/>\n                            \n                            <i>Dynamic Values:</i><br/>\n                            \n                            status: <i>('active')</i>\n                            <br/>\n                            \n                            payload.contentString: <i>(Haemophilus influenzae type b (Hib) dose 1 Create)</i>\n                            <br/>\n                            \n                            category.coding: <i>(Code { system: 'http://terminology.hl7.org/CodeSystem/communication-category', code: 'alert' })</i>\n                            <br/>\n                            \n                            priority: <i>(Code { system: 'http://hl7.org/fhir/request-priority', code: 'routine' })</i>\n                            <br/>\n                            \n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            <b> Hib dose 2:</b> Provision of the Hib dose 2\nTrigger event: First Hib dose from the primary series was administered to the client within 1 year of age. Client's age is less than 5 years\nTrigger pseudo: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\" = \"Primary series\") = 1 AND \"Date and time of vaccination\" (where \"Vaccine type\"= \"Hib-containing vaccines\" and \"Dose number\" = 1) − \"Date of birth\" &lt; 1 year AND Today's date − \"Date of birth\" ≤ 5 years\nTrigger date: \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\")\nCreate condition: Hib dose 2 should be provided if the client was given the previous dose more than 4 weeks ago and the first Hib dose was received by the time the child turned 1 year old\n                            \n                            <br/>\n                            \n                            \n                            <b>If:</b>\n                            \n                            <i>Applicability:</i>\n                            \n                            Hib dose 2\n                            \n                            <i>(Hib dose 2)</i>\n                            <br/>\n                            \n                            \n                            \n                            \n                            <b>Then:</b> <i>Definition:</i> <a href=\"ActivityDefinition-IMMZD2DTCR.html\">IMMZ.D2.DT.CR</a><br/>\n                            \n                            <i>Dynamic Values:</i><br/>\n                            \n                            status: <i>('active')</i>\n                            <br/>\n                            \n                            payload.contentString: <i>(Hib dose 2 Create)</i>\n                            <br/>\n                            \n                            category.coding: <i>(Code { system: 'http://terminology.hl7.org/CodeSystem/communication-category', code: 'alert' })</i>\n                            <br/>\n                            \n                            priority: <i>(Code { system: 'http://hl7.org/fhir/request-priority', code: 'routine' })</i>\n                            <br/>\n                            \n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            <b> Hib dose 3:</b> Provision of the Hib dose 3\nTrigger event: Second Hib dose from the primary series was administered. Client's age is less than 5 years\nTrigger pseudo: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\"= \"Primary series\") = 2 AND Today's date − \"Date of birth\" ≤ 5 years\nTrigger date: Latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\")\nCreate condition: Hib dose 3 should be provided if the client was given the previous dose more than 4 weeks before and the first Hib dose was received by the time the child turned 1 year old\n                            \n                            <br/>\n                            \n                            \n                            <b>If:</b>\n                            \n                            <i>Applicability:</i>\n                            \n                            Hib dose 3\n                            \n                            <i>(Hib dose 3)</i>\n                            <br/>\n                            \n                            \n                            \n                            \n                            <b>Then:</b> <i>Definition:</i> <a href=\"ActivityDefinition-IMMZD2DTCR.html\">IMMZ.D2.DT.CR</a><br/>\n                            \n                            <i>Dynamic Values:</i><br/>\n                            \n                            status: <i>('active')</i>\n                            <br/>\n                            \n                            payload.contentString: <i>(Hib dose 3 Create)</i>\n                            <br/>\n                            \n                            category.coding: <i>(Code { system: 'http://terminology.hl7.org/CodeSystem/communication-category', code: 'alert' })</i>\n                            <br/>\n                            \n                            priority: <i>(Code { system: 'http://hl7.org/fhir/request-priority', code: 'routine' })</i>\n                            <br/>\n                            \n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n    </table>\n</div>\n</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
a fhir:Library ;
fhir:id [ fhir:v "effective-data-requirements" ] ;
    ( fhir:extension [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Doses Administered to Patient"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/**\n * @dataElement All Doses Administered to Patient\n */\ndefine \"Doses Administered to Patient\":\n  [Immunization] I\n    where I.status = 'completed'\n    and I.isSubpotent is not true"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 0         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Doses Administered to Patient"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/**\n * @dataElement All Doses Administered to Patient\n */\ndefine \"Doses Administered to Patient\":\n  Elements.\"Doses Administered to Patient\" I\n    where I.occurrence.toInterval() same day or before Today"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 1         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib Doses Administered to Patient"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@internal: Hib containing Doses Administered to Patient\n*/\ndefine \"Hib Doses Administered to Patient\":\n  Encounter.\"Doses Administered to Patient\" I\n  where\n    I.vaccineCode in Concepts.\"Hib-containing vaccines\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 2         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib Primary Series Doses Administered to Patient"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@internal: Hib containing Doses Administered to Patient that are in the Primary series\n*/\ndefine \"Hib Primary Series Doses Administered to Patient\":\n  \"Hib Doses Administered to Patient\".seriesPrimary()"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 3         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Number of Hib Primary Series Doses Administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@internal: Number of Hib Primary Series doses\n*/\ndefine \"Number of Hib Primary Series Doses Administered\":\n  Count(\"Hib Primary Series Doses Administered to Patient\")"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 4         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "One Hib primary series dose was administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@input: One Hib primary series dose was administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\"= \"Primary series\") = 1\n@code: One Hib primary series dose was administered-122\n@decision: IMMZ.D2.DT.Hib.3 doses: 3 primary doses without a booster dose (3p)\n@decision: IMMZ.D2.DT.Hib.3 doses with booster dose: 3 primary doses with a booster dose (3p+1)\n*/\ndefine \"One Hib primary series dose was administered\":\n  \"Number of Hib Primary Series Doses Administered\" = 1"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 5         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "First Hib dose from the primary series was administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@complete: First Hib dose from the primary series was administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\"= \"Primary series\") = 1\nThe primary series has been completed for delayed start\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Hib-containing vaccines\")\n*/\ndefine \"First Hib dose from the primary series was administered\":\n  Encounter.\"One Hib primary series dose was administered\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 6         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Date of First Hib Dose"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@internal: Date of First Hib Dose\n*/\ndefine \"Date of First Hib Dose\":\n  date from start of \"Hib Doses Administered to Patient\".earliest().occurrence.toInterval()"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 7         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Client's age was less than 1 year when first Hib dose was administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@input: Client's age was less than 1 year when first Hib dose was administered\n@pseudocode: \"Date and time of vaccination\" (where \"Vaccine type\"= \"Hib-containing vaccines\" and \"Dose number\" = 1) − \"Date of birth\" < 1 year\n@code: Client's age was less than 1 year when first Hib dose was administered-129\n@decision: IMMZ.D2.DT.Hib.3 doses: 3 primary doses without a booster dose (3p)\n@decision: IMMZ.D2.DT.Hib.3 doses with booster dose: 3 primary doses with a booster dose (3p+1)\n@decision: IMMZ.D2.DT.Hib.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n*/\ndefine \"Client's age was less than 1 year when first Hib dose was administered\":\n  AgeInYearsAt(\"Date of First Hib Dose\") < 1"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 8         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Current Patient Age In Weeks"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/** \n * @dataElement Patient age in weeks\n */\ndefine \"Current Patient Age In Weeks\":\n  AgeInWeeksAt(Today)"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 9         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Current Patient Age In Years"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/** \n * @dataElement Patient age in years\n */\ndefine \"Current Patient Age In Years\":\n  AgeInYearsAt(Today)"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 10         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Client's age is between 6 weeks and 5 years"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@input: Client's age is between 6 weeks and 5 years\n@pseudocode: 6 weeks ≤ Today's date − \"Date of birth\" ≤ 5 years\n@code: Client's age is between 6 weeks and 5 years-50\n@decision: IMMZ.D2.DT.Hib.3 doses: 3 primary doses without a booster dose (3p)\n@decision: IMMZ.D2.DT.Hib.3 doses with booster dose: 3 primary doses with a booster dose (3p+1)\n@decision: IMMZ.D2.DT.Hib.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n*/\ndefine \"Client's age is between 6 weeks and 5 years\":\n  6 <= Encounter.\"Current Patient Age In Weeks\"\n  and Encounter.\"Current Patient Age In Years\" <= 5"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 11         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Two Hib primary series doses were administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@input: Two Hib primary series doses were administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\" = \"Primary series\" ) = 2\n@code: Two Hib primary series doses were administered-124\n@decision: IMMZ.D2.DT.Hib.3 doses: 3 primary doses without a booster dose (3p)\n@decision: IMMZ.D2.DT.Hib.3 doses with booster dose: 3 primary doses with a booster dose (3p+1)\n@decision: IMMZ.D2.DT.Hib.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n*/\ndefine \"Two Hib primary series doses were administered\":\n  \"Number of Hib Primary Series Doses Administered\" = 2"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 12         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Second Hib dose from the primary series was administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@complete: Second Hib dose from the primary series was administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\"= \"Primary series\") = 2\n*/\ndefine \"Second Hib dose from the primary series was administered\":\n  Encounter.\"Two Hib primary series doses were administered\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 13         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 2 Expiration"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@dynamicValue: Hib dose 2 Expiration\n@pseudocode: \"Date of birth\" + 6 years\n*/\ndefine \"Hib dose 2 Expiration\":\n  Patient.birthDate + 6 years"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 14         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 2"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@output: Hib dose 2\n@description: Provision of the Hib dose 2\n@trigger: First Hib dose from the primary series was administered to the client within 1 year of age. Client's age is less than 5 years\n@pseudo: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\" = \"Primary series\") = 1 AND \"Date and time of vaccination\" (where \"Vaccine type\"= \"Hib-containing vaccines\" and \"Dose number\" = 1) − \"Date of birth\" < 1 year AND Today's date − \"Date of birth\" ≤ 5 years\n@triggerDate: \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\")\n*/\ndefine \"Hib dose 2\":\n  \"First Hib dose from the primary series was administered\"\n  and Encounter.\"Client's age was less than 1 year when first Hib dose was administered\"\n  and Encounter.\"Client's age is between 6 weeks and 5 years\"\n  and not \"Second Hib dose from the primary series was administered\"\n  and \"Hib dose 2 Expiration\" after day of Today"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 15         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Three Hib primary series doses were administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@input: Three Hib primary series doses were administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\"= \"Primary series\") = 3\n@code: Three Hib primary series doses were administered-122\n@decision: IMMZ.D2.DT.Hib.3 doses: 3 primary doses without a booster dose (3p)\n@decision: IMMZ.D2.DT.Hib.3 doses with booster dose: 3 primary doses with a booster dose (3p+1)\n*/\ndefine \"Three Hib primary series doses were administered\":\n  \"Number of Hib Primary Series Doses Administered\" = 3"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 16         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Third Hib dose from the primary series was administered. The primary series has been completed"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@complete: Third Hib dose from the primary series was administered. The primary series has been completed\n@pseudocode: \"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Hib-containing vaccines\")\n*/\ndefine \"Third Hib dose from the primary series was administered. The primary series has been completed\":\n  Encounter.\"Three Hib primary series doses were administered\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 17         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 3 Expiration"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@dynamicValue: Hib dose 3 Expiration\n@pseudocode: \"Date of birth\" + 6 years\n*/\ndefine \"Hib dose 3 Expiration\":\n  Patient.birthDate + 6 years"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 18         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 3"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@output: Hib dose 3\n@description: Provision of the Hib dose 3\n@trigger: Second Hib dose from the primary series was administered. Client's age is less than 5 years\n@pseudo: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\"= \"Primary series\") = 2 AND Today's date − \"Date of birth\" ≤ 5 years\n@triggerDate: Latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\")\n*/\ndefine \"Hib dose 3\":\n  \"Second Hib dose from the primary series was administered\"\n  and Encounter.\"Client's age is between 6 weeks and 5 years\"\n  and not \"Third Hib dose from the primary series was administered. The primary series has been completed\"\n  and \"Hib dose 3 Expiration\" after day of Today"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 19         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Date of Latest Hib Dose"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@internal: Date of Latest Hib Dose\n*/\ndefine \"Date of Latest Hib Dose\":\n  date from start of \"Hib Doses Administered to Patient\".mostRecent().occurrence.toInterval()"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 20         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 3 Due Date"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@dynamicValue: Hib dose 3 Due Date\n@pseudocode: Latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\") + 4 weeks\n*/\ndefine \"Hib dose 3 Due Date\":\n  if \"Hib dose 3\" then Encounter.\"Date of Latest Hib Dose\" + 4 weeks\n  else null"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 21         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 3 Create"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@output: Hib dose 3 Create\n@create: Hib dose 3 should be provided if the client was given the previous dose more than 4 weeks before and the first Hib dose was received by the time the child turned 1 year old\n*/\ndefine \"Hib dose 3 Create\":\n  if \"Hib dose 3\"\n  then 'Hib dose 3 should be provided if the client was given the previous dose more than 4 weeks before and the first Hib dose was received by the time the child turned 1 year old' + '\nDue Date: ' + ToString(\"Hib dose 3 Due Date\") + '\nExpiration: ' + ToString(\"Hib dose 3 Expiration\")\n  else ''"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 22         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 2 Due Date"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@dynamicValue: Hib dose 2 Due Date\n@pseudocode: \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\") + 4 weeks\n*/\ndefine \"Hib dose 2 Due Date\":\n  if \"Hib dose 2\" then Encounter.\"Date of Latest Hib Dose\" + 4 weeks\n  else null"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 23         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Hib dose 2 Create"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@output: Hib dose 2 Create\n@create: Hib dose 2 should be provided if the client was given the previous dose more than 4 weeks ago and the first Hib dose was received by the time the child turned 1 year old\n*/\ndefine \"Hib dose 2 Create\":\n  if \"Hib dose 2\"\n  then 'Hib dose 2 should be provided if the client was given the previous dose more than 4 weeks ago and the first Hib dose was received by the time the child turned 1 year old' + '\nDue Date: ' + ToString(\"Hib dose 2 Due Date\") + '\nExpiration: ' + ToString(\"Hib dose 2 Expiration\")\n  else ''"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 24         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD2DTHibEncounterElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "No Hib primary series doses were administered"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@input: No Hib primary series doses were administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\" = \"Primary series\") = 0\n@code: No Hib primary series doses were administered-123\n@decision: IMMZ.D2.DT.Hib.3 doses: 3 primary doses without a booster dose (3p)\n@decision: IMMZ.D2.DT.Hib.3 doses with booster dose: 3 primary doses with a booster dose (3p+1)\n@decision: IMMZ.D2.DT.Hib.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n*/\ndefine \"No Hib primary series doses were administered\":\n  \"Number of Hib Primary Series Doses Administered\" = 0"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 25         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Haemophilus influenzae type b (Hib) dose 1 Expiration"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@dynamicValue: Haemophilus influenzae type b (Hib) dose 1 Expiration\n@pseudocode: \"Date of birth\" + 6 years\n*/\ndefine \"Haemophilus influenzae type b (Hib) dose 1 Expiration\":\n  Patient.birthDate + 6 years"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 26         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Haemophilus influenzae type b (Hib) dose 1"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@output: Haemophilus influenzae type b (Hib) dose 1\n@description: Provision of the Hib dose 1\n@trigger: Child's birth\n@pseudo: \n@triggerDate: \"Date of birth\"\n*/\ndefine \"Haemophilus influenzae type b (Hib) dose 1\":\n  Encounter.\"No Hib primary series doses were administered\"\n  and \"Haemophilus influenzae type b (Hib) dose 1 Expiration\" after day of Today"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 27         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Haemophilus influenzae type b (Hib) dose 1 Due Date"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@dynamicValue: Haemophilus influenzae type b (Hib) dose 1 Due Date\n@pseudocode: \"Date of birth\" + 6 weeks\n*/\ndefine \"Haemophilus influenzae type b (Hib) dose 1 Due Date\":\n  if \"Haemophilus influenzae type b (Hib) dose 1\" then Patient.birthDate + 6 weeks\n  else null"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 28         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZD18SHib3DosesLogic"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Haemophilus influenzae type b (Hib) dose 1 Create"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@output: Haemophilus influenzae type b (Hib) dose 1 Create\n@create: Immunization should start from 6 weeks of age, or as early as possible thereafter.\nHib-containing vaccine is not required for healthy children aged over 5 years.\n*/\ndefine \"Haemophilus influenzae type b (Hib) dose 1 Create\":\n  if \"Haemophilus influenzae type b (Hib) dose 1\"\n  then 'Immunization should start from 6 weeks of age, or as early as possible thereafter.\nHib-containing vaccine is not required for healthy children aged over 5 years.' + '\nDue Date: ' + ToString(\"Haemophilus influenzae type b (Hib) dose 1 Due Date\") + '\nExpiration: ' + ToString(\"Haemophilus influenzae type b (Hib) dose 1 Expiration\")\n  else ''"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 29         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "IMMZCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "seriesPrimary"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/**\n * @description: Gets the doses from the primary series\n */\ndefine fluent function seriesPrimary(immunizations List<Immunization>):\n  immunizations I where\n    exists( I.protocolApplied pa where pa.series = 'Primary series' )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 30         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToString"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define function ToString(value string): value.value"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 31         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToString"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define function ToString(value ImmunizationStatus): value.value"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 32         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToBoolean"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define function ToBoolean(value boolean): value.value"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 33         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToConcept"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "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        }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 34         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToCode"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "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        }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 35         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "WHOCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "earliest"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define fluent function earliest(immunizations List<Immunization>):\n  First(\n    immunizations I\n      sort by start of occurrence.toInterval()\n  )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 36         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToDate"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define function ToDate(value date): value.value"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 37         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "WHOCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "mostRecent"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define fluent function mostRecent(immunizations List<Immunization>):\n  Last(\n    immunizations I\n      sort by start of occurrence.toInterval()\n  )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 38         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition>       ]     ] ) ;
fhir:name [ fhir:v "EffectiveDataRequirements" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/library-type>         ] ;
fhir:code [ fhir:v "module-definition" ]       ] )     ] ;
    ( fhir:relatedArtifact [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "FHIR model information" ] ;
fhir:resource [
fhir:v "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"^^xsd:anyURI ;
fhir:l <http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo?version=4.0.1>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library Encounter" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/Library/IMMZD2DTHibEncounterElements"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/IMMZD2DTHibEncounterElements>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library Common" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/Library/IMMZCommon"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/IMMZCommon>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library FHIRHelpers" ] ;
fhir:resource [
fhir:v "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"^^xsd:anyURI ;
fhir:l <http://fhir.org/guides/cqf/common/Library/FHIRHelpers?version=4.0.1>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library Encounter" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/Library/IMMZEncounterElements"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/IMMZEncounterElements>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library Elements" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/Library/IMMZElements"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/IMMZElements>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library WC" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/Library/WHOCommon"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/WHOCommon>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library FHIRHelpers" ] ;
fhir:resource [
fhir:v "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"^^xsd:anyURI ;
fhir:l <http://fhir.org/guides/cqf/common/Library/FHIRHelpers?version=4.0.1>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library Concepts" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/Library/IMMZConcepts"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/IMMZConcepts>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library WC" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/Library/WHOCommon"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/WHOCommon>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Hib-containing vaccines" ] ;
fhir:resource [
fhir:v "http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE4"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE4>       ]     ] ) ;
    ( fhir:parameter [
fhir:name [ fhir:v "Today" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "date" ]     ] [
fhir:name [ fhir:v "Hib dose 2" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] [
fhir:name [ fhir:v "Hib dose 3 Create" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "string" ]     ] [
fhir:name [ fhir:v "Hib dose 3" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] [
fhir:name [ fhir:v "Hib dose 2 Create" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "string" ]     ] [
fhir:name [ fhir:v "Haemophilus influenzae type b (Hib) dose 1 Create" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "string" ]     ] [
fhir:name [ fhir:v "Haemophilus influenzae type b (Hib) dose 1" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] ) ;
    ( fhir:dataRequirement [
fhir:type [ fhir:v "Immunization" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Immunization"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Immunization>       ] ) ;
      ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "isSubpotent" ] )     ] [
fhir:type [ fhir:v "Immunization" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Immunization"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Immunization>       ] ) ;
      ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "isSubpotent" ] [ fhir:v "occurrence" ] )     ] [
fhir:type [ fhir:v "Immunization" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Immunization"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Immunization>       ] ) ;
      ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "isSubpotent" ] [ fhir:v "occurrence" ] [ fhir:v "vaccineCode" ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient>       ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient>       ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient>       ] )     ] [
fhir:type [ fhir:v "Immunization" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Immunization"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Immunization>       ] ) ;
      ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "isSubpotent" ] [ fhir:v "occurrence" ] [ fhir:v "vaccineCode" ] )     ] [
fhir:type [ fhir:v "Immunization" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Immunization"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Immunization>       ] ) ;
      ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "isSubpotent" ] [ fhir:v "occurrence" ] [ fhir:v "vaccineCode" ] )     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:url [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability>     ] ;
fhir:value [
a fhir:Code ;
fhir:v "computable"     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements>     ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "#effective-data-requirements"^^xsd:anyURI ;
fhir:l <#effective-data-requirements>     ]
  ] ) ; # 
  fhir:url [
fhir:v "http://smart.who.int/immunizations/PlanDefinition/IMMZD18SHib3Doses"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/PlanDefinition/IMMZD18SHib3Doses>
  ] ; # 
  fhir:version [ fhir:v "0.2.0"] ; # 
  fhir:name [ fhir:v "IMMZD18SHib3Doses"] ; # 
  fhir:title [ fhir:v "IMMZ.D18.S.Hib.3 doses schedule"] ; # 
  fhir:type [
    ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/plan-definition-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/plan-definition-type>       ] ;
fhir:code [ fhir:v "eca-rule" ]     ] )
  ] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-03-03T13:07:11+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "WHO"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "WHO" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://who.int" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "IMMZ.D18.S.Hib.3 doses schedule\n3 primary doses without a booster dose (3p) schedule"] ; # 
  fhir:relatedArtifact ( [
fhir:type [ fhir:v "citation" ] ;
fhir:citation [ fhir:v "WHO recommendations for routine immunization - summary tables (January 2025)" ]
  ] ) ; # 
  fhir:library ( [
fhir:v "http://smart.who.int/immunizations/Library/IMMZD18SHib3DosesLogic"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/Library/IMMZD18SHib3DosesLogic>
  ] ) ; # 
  fhir:action ( [
fhir:title [ fhir:v "Haemophilus influenzae type b (Hib) dose 1" ] ;
fhir:description [ fhir:v "Provision of the Hib dose 1\nTrigger event: Child's birth\nTrigger pseudo: \nTrigger date: \"Date of birth\"\nCreate condition: Immunization should start from 6 weeks of age, or as early as possible thereafter.\nHib-containing vaccine is not required for healthy children aged over 5 years." ] ;
    ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:description [ fhir:v "Haemophilus influenzae type b (Hib) dose 1" ] ;
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Haemophilus influenzae type b (Hib) dose 1" ]       ]     ] ) ;
fhir:definition [
a fhir:Canonical ;
fhir:v "http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTCR"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTCR>     ] ;
    ( fhir:dynamicValue [
fhir:path [ fhir:v "status" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "'active'" ]       ]     ] [
fhir:path [ fhir:v "payload.contentString" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Haemophilus influenzae type b (Hib) dose 1 Create" ]       ]     ] [
fhir:path [ fhir:v "category.coding" ] ;
fhir:expression [
fhir:description [ fhir:v "Category of communication" ] ;
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "Code { system: 'http://terminology.hl7.org/CodeSystem/communication-category', code: 'alert' }" ]       ]     ] [
fhir:path [ fhir:v "priority" ] ;
fhir:expression [
fhir:description [ fhir:v "Alert priority" ] ;
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "Code { system: 'http://hl7.org/fhir/request-priority', code: 'routine' }" ]       ]     ] )
  ] [
fhir:title [ fhir:v "Hib dose 2" ] ;
fhir:description [ fhir:v "Provision of the Hib dose 2\nTrigger event: First Hib dose from the primary series was administered to the client within 1 year of age. Client's age is less than 5 years\nTrigger pseudo: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\" = \"Primary series\") = 1 AND \"Date and time of vaccination\" (where \"Vaccine type\"= \"Hib-containing vaccines\" and \"Dose number\" = 1) − \"Date of birth\" < 1 year AND Today's date − \"Date of birth\" ≤ 5 years\nTrigger date: \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\")\nCreate condition: Hib dose 2 should be provided if the client was given the previous dose more than 4 weeks ago and the first Hib dose was received by the time the child turned 1 year old" ] ;
    ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:description [ fhir:v "Hib dose 2" ] ;
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Hib dose 2" ]       ]     ] ) ;
fhir:definition [
a fhir:Canonical ;
fhir:v "http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTCR"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTCR>     ] ;
    ( fhir:dynamicValue [
fhir:path [ fhir:v "status" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "'active'" ]       ]     ] [
fhir:path [ fhir:v "payload.contentString" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Hib dose 2 Create" ]       ]     ] [
fhir:path [ fhir:v "category.coding" ] ;
fhir:expression [
fhir:description [ fhir:v "Category of communication" ] ;
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "Code { system: 'http://terminology.hl7.org/CodeSystem/communication-category', code: 'alert' }" ]       ]     ] [
fhir:path [ fhir:v "priority" ] ;
fhir:expression [
fhir:description [ fhir:v "Alert priority" ] ;
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "Code { system: 'http://hl7.org/fhir/request-priority', code: 'routine' }" ]       ]     ] )
  ] [
fhir:title [ fhir:v "Hib dose 3" ] ;
fhir:description [ fhir:v "Provision of the Hib dose 3\nTrigger event: Second Hib dose from the primary series was administered. Client's age is less than 5 years\nTrigger pseudo: Count of vaccines administered (where \"Vaccine type\" = \"Hib-containing vaccines\" and \"Type of dose\"= \"Primary series\") = 2 AND Today's date − \"Date of birth\" ≤ 5 years\nTrigger date: Latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Hib-containing vaccines\")\nCreate condition: Hib dose 3 should be provided if the client was given the previous dose more than 4 weeks before and the first Hib dose was received by the time the child turned 1 year old" ] ;
    ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:description [ fhir:v "Hib dose 3" ] ;
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Hib dose 3" ]       ]     ] ) ;
fhir:definition [
a fhir:Canonical ;
fhir:v "http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTCR"^^xsd:anyURI ;
fhir:l <http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTCR>     ] ;
    ( fhir:dynamicValue [
fhir:path [ fhir:v "status" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "'active'" ]       ]     ] [
fhir:path [ fhir:v "payload.contentString" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Hib dose 3 Create" ]       ]     ] [
fhir:path [ fhir:v "category.coding" ] ;
fhir:expression [
fhir:description [ fhir:v "Category of communication" ] ;
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "Code { system: 'http://terminology.hl7.org/CodeSystem/communication-category', code: 'alert' }" ]       ]     ] [
fhir:path [ fhir:v "priority" ] ;
fhir:expression [
fhir:description [ fhir:v "Alert priority" ] ;
fhir:language [ fhir:v "text/cql-expression" ] ;
fhir:expression [ fhir:v "Code { system: 'http://hl7.org/fhir/request-priority', code: 'routine' }" ]       ]     ] )
  ] ) . #