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
| Draft as of 2026-03-03 |
@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 "IMMZD2DTYellowfeverYellowFever"] ; # 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;\">IMMZD2DTYellowfeverYellowFever</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-IMMZD2DTYellowfeverYellowFever.html\">IMMZ.D2.DT.Yellow fever</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.D2.DT.Yellow fever</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.D2.DT.Yellow fever\nIMMZ.D2.DT.Yellow fever</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-IMMZD2DTYellowfeverYellowFeverLogic.html\">IMMZD2DTYellowfeverYellowFeverLogic</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> Determine if the client is due for Yellow fever.:</b> Determine if the client is due for Yellow fever vaccine according to the national immunization protocol.\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n Client is due for yellow fever vaccination\n \n <i>(Client is due for yellow fever vaccination)</i>\n <br/>\n \n \n \n \n <b>Then:</b> <i>Definition:</i> <a href=\"ActivityDefinition-IMMZD2DTMR.html\">IMMZD2DTMR</a><br/>\n \n <i>Dynamic Values:</i><br/>\n \n status: <i>('draft')</i>\n <br/>\n \n intent: <i>('proposal')</i>\n <br/>\n \n medication: <i>(Concept { codes: { Code { system: 'http://smart.who.int/immunizations/CodeSystem/IMMZ.Z', code: 'DE23', display: 'Yellow fever vaccines' } }, display: 'Yellow fever vaccines' })</i>\n <br/>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n \n <b> Check for Guidance for the patient regarding IMMZ.D2.DT.Yellow fever.:</b> Show Guidance for the patient regarding IMMZ.D2.DT.Yellow fever.\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n Has Guidance\n \n <i>(Has Guidance)</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>(Guidance)</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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Yellow fever Doses Administered to Patient" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: Yellow fever containing Doses Administered to Patient\n*/\ndefine \"Yellow fever Doses Administered to Patient\":\n Encounter.\"Doses Administered to Patient\" I\n where\n I.vaccineCode in Concepts.\"Yellow fever 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Yellow fever 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: Yellow fever containing Doses Administered to Patient that are in the Primary series\n*/\ndefine \"Yellow fever Primary Series Doses Administered to Patient\":\n \"Yellow fever 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Number of Yellow fever 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 Yellow fever Primary Series doses\n*/\ndefine \"Number of Yellow fever Primary Series Doses Administered\":\n Count(\"Yellow fever 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "No yellow fever 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 yellow fever primary series doses were administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Yellow fever vaccines\" and \"Type of dose\" = \"Primary series\") = 0\n@code: No yellow fever primary series doses were administered-121\n@decision: IMMZ.D2.DT.Yellow fever\n*/\ndefine \"No yellow fever primary series doses were administered\":\n \"Number of Yellow fever Primary Series Doses Administered\" = 0" ] ] [ 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Current Patient Age In Months" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/** \n * @dataElement Patient age in months\n */\ndefine \"Current Patient Age In Months\":\n AgeInMonthsAt(Today)" ] ] [ 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client's age is less than 9 months" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client's age is less than 9 months\n@pseudocode: Today's date − \"Date of birth\" < 9 months\n@code: Client's age is less than 9 months-41\n@decision: IMMZ.D2.DT.Yellow fever\n*/\ndefine \"Client's age is less than 9 months\":\n Encounter.\"Current Patient Age In Months\" < 9" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for yellow fever vaccination Case 1" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is not due for yellow fever vaccination Case 1\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for yellow fever vaccination Case 1\":\n Encounter.\"No yellow fever primary series doses were administered\"\n and Encounter.\"Client's age is less than 9 months\"" ] ] [ 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client's age is more than or equal to 9 months" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client's age is more than or equal to 9 months\n@pseudocode: Today's date − \"Date of birth\" ≥ 9 months\n@code: Client's age is more than or equal to 9 months-41\n@decision: IMMZ.D2.DT.Yellow fever\n*/\ndefine \"Client's age is more than or equal to 9 months\":\n Encounter.\"Current Patient Age In Months\" >= 9" ] ] [ 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 "IMMZElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Live Attenuated Vaccines" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n @dataElement: Live attenuated vaccines\n*/\ndefine \"Live Attenuated Vaccines\":\n \"Doses Administered to Patient\" I \n where I.vaccineCode in Concepts.\"Live Attenuated\"" ] ] [ 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Live Attenuated Vaccines" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@dataElement Live attenuated vaccines\n*/\ndefine \"Live Attenuated Vaccines\":\n Elements.\"Live Attenuated Vaccines\" 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 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Date of Latest Live Attenuated Vaccine" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@dataElement Date and time of last live attenuated vaccine\n*/\ndefine \"Date of Latest Live Attenuated Vaccine\":\n date from start of \"Live Attenuated Vaccines\".mostRecent().occurrence.toInterval()" ] ] [ 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Live vaccine was administered in the last 4 weeks" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Live vaccine was administered in the last 4 weeks\n@pseudocode: Today's date − latest \"Date and time of vaccination\" (where \"Live vaccine\" = TRUE) < 4 weeks\n*/\ndefine \"Live vaccine was administered in the last 4 weeks\":\n \"Date of Latest Live Attenuated Vaccine\" is not null \n and duration in weeks between \"Date of Latest Live Attenuated Vaccine\" and Today < 4" ] ] [ 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Live vaccine was administered in the past 4 weeks" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Live vaccine was administered in the past 4 weeks\n@pseudocode: Today's date − latest \"Date and time of vaccination\" (where \"Live vaccine\" = TRUE) < 4 weeks\n@code: Live vaccine was administered in the past 4 weeks-92\n@decision: IMMZ.D2.DT.Yellow fever\n*/\ndefine \"Live vaccine was administered in the past 4 weeks\":\n Encounter.\"Live vaccine was administered in the last 4 weeks\"" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for yellow fever vaccination Case 2" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is not due for yellow fever vaccination Case 2\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for yellow fever vaccination Case 2\":\n Encounter.\"No yellow fever primary series doses were administered\"\n and Encounter.\"Client's age is more than or equal to 9 months\"\n and Encounter.\"Live vaccine was administered in the past 4 weeks\"" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for yellow fever vaccination" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is not due for yellow fever vaccination\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for yellow fever vaccination\":\n \"Client is not due for yellow fever vaccination Case 1\"\n or \"Client is not due for yellow fever vaccination Case 2\"" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for yellow fever vaccination Guidance" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is not due for yellow fever vaccination Guidance\n@guidance = Should not vaccinate client with yellow fever dose as client's age is less than 9 months. Check for any vaccines due and inform the caregiver of when to come back for the next dose.\n@guidance = Should not vaccinate client with yellow fever dose as live vaccine was administered in the past 4 weeks. \nCheck for any vaccines due and inform the caregiver of when to come back for the first dose.\n*/\ndefine \"Client is not due for yellow fever vaccination Guidance\":\n case\n when \"Client is not due for yellow fever vaccination Case 1\" then 'Should not vaccinate client with yellow fever dose as client\\'s age is less than 9 months. Check for any vaccines due and inform the caregiver of when to come back for the next dose.'\n when \"Client is not due for yellow fever vaccination Case 2\" then 'Should not vaccinate client with yellow fever dose as live vaccine was administered in the past 4 weeks. \nCheck for any vaccines due and inform the caregiver of when to come back for the first dose.'\n else ''\n end" ] ] [ 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "No live vaccine was administered in the last 4 weeks" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: No live vaccine was administered in the last 4 weeks\n@pseudocode: Today's date − latest \"Date and time of vaccination\" (where \"Live vaccine\" = TRUE) ≥ 4 weeks\n*/\ndefine \"No live vaccine was administered in the last 4 weeks\":\n not(\"Live vaccine was administered in the last 4 weeks\")" ] ] [ 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "No live vaccine was administered in the past 4 weeks" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: No live vaccine was administered in the past 4 weeks\n@pseudocode: Today's date − latest \"Date and time of vaccination\" (where \"Live vaccine\" = TRUE) ≥ 4 weeks\n@code: No live vaccine was administered in the past 4 weeks-92\n@decision: IMMZ.D2.DT.Yellow fever\n*/\ndefine \"No live vaccine was administered in the past 4 weeks\":\n Encounter.\"No live vaccine was administered in the last 4 weeks\"" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for yellow fever vaccination" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for yellow fever vaccination\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for yellow fever vaccination\":\n Encounter.\"No yellow fever primary series doses were administered\"\n and Encounter.\"Client's age is more than or equal to 9 months\"\n and Encounter.\"No live vaccine was administered in the past 4 weeks\"" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for yellow fever vaccination Guidance" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for yellow fever vaccination Guidance\n@guidance: Should vaccinate client with yellow fever dose as no yellow fever dose was administered, client is within appropriate age range and no live vaccine was administered in the past 4 weeks. \nCheck for contraindications.\n*/\ndefine \"Client is due for yellow fever vaccination Guidance\":\n 'Should vaccinate client with yellow fever dose as no yellow fever dose was administered, client is within appropriate age range and no live vaccine was administered in the past 4 weeks. \nCheck for contraindications.'" ] ] [ 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 "IMMZD2DTYellowfeverEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "One yellow fever 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 yellow fever primary series dose was administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Yellow fever vaccines\" and \"Type of dose\" = \"Primary series\") = 1\n@code: One yellow fever primary series dose was administered-121\n@decision: IMMZ.D2.DT.Yellow fever\n*/\ndefine \"One yellow fever primary series dose was administered\":\n \"Number of Yellow fever Primary Series Doses Administered\" = 1" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Yellow fever immunization schedule is complete" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Yellow fever immunization schedule is complete\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Yellow fever vaccines\")\n*/\ndefine \"Yellow fever immunization schedule is complete\":\n Encounter.\"One yellow fever primary series dose was administered\"" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Yellow fever immunization schedule is complete Guidance" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Yellow fever immunization schedule is complete Guidance\n@guidance: Yellow fever immunization schedule is complete. One yellow fever primary series dose was administered. \nCheck for any other vaccines due.\n*/\ndefine \"Yellow fever immunization schedule is complete Guidance\":\n 'Yellow fever immunization schedule is complete. One yellow fever primary series dose was administered. \nCheck for any other vaccines due.'" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Guidance" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@dynamicValue: Guidance\n*/\ndefine \"Guidance\":\n case \n when \"Client is not due for yellow fever vaccination\" then \"Client is not due for yellow fever vaccination Guidance\"\n when \"Client is due for yellow fever vaccination\" then \"Client is due for yellow fever vaccination Guidance\"\n when \"Yellow fever immunization schedule is complete\" then \"Yellow fever immunization schedule is complete Guidance\" \n else ''\n end" ] ] [ 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 "IMMZD2DTYellowfeverYellowFeverLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Has Guidance" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Has Guidance\":\n \"Guidance\" is not null and \"Guidance\" != ''" ] ] [ 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 "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 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 "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 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 "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 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 "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 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 "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 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 "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 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 "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 33 ] ] ) ; 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/IMMZD2DTYellowfeverEncounterElements"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/Library/IMMZD2DTYellowfeverEncounterElements> ] ] [ 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 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 "Value set Yellow fever vaccines" ] ; fhir:resource [ fhir:v "http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE23"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE23> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Live Attenuated" ] ; fhir:resource [ fhir:v "http://smart.who.int/immunizations/ValueSet/IMMZ.Z.LiveAttenuated"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/ValueSet/IMMZ.Z.LiveAttenuated> ] ] ) ; ( 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 "Guidance" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 0 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "Client is due for yellow fever vaccination" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 0 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] [ fhir:name [ fhir:v "Has Guidance" ] ; 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 "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 "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 "vaccineCode" ] [ 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 "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/IMMZD2DTYellowfeverYellowFever"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/PlanDefinition/IMMZD2DTYellowfeverYellowFever> ] ; # fhir:version [ fhir:v "0.2.0"] ; # fhir:name [ fhir:v "IMMZD2DTYellowfeverYellowFever"] ; # fhir:title [ fhir:v "IMMZ.D2.DT.Yellow fever"] ; # 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.D2.DT.Yellow fever\nIMMZ.D2.DT.Yellow fever"] ; # 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/IMMZD2DTYellowfeverYellowFeverLogic"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/Library/IMMZD2DTYellowfeverYellowFeverLogic> ] ) ; # fhir:action ( [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rationale"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rationale> ] ; fhir:value [ a fhir:Markdown ; fhir:v "In endemic countries, it is recommended that yellow fever vaccine be given to children aged \n9–12 months at the same time as the measles vaccine. Preventive mass vaccination campaigns are recommended \nfor inhabitants of areas at risk of yellow fever where there is low vaccination coverage.\nVaccination should be provided to everyone aged 9 months and older in any area with reported cases.\nVaccination should also be offered if the individual is travelling to and from at-risk areas, if not contraindicated.\nAs a general rule, any live vaccine may be given either simultaneously or at an interval of 4 weeks. Oral \npoliovirus vaccine may be given at any time in relation to yellow fever vaccination. " ] ] ) ; fhir:title [ fhir:v "Determine if the client is due for Yellow fever." ] ; fhir:description [ fhir:v "Determine if the client is due for Yellow fever vaccine according to the national immunization protocol." ] ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:description [ fhir:v "Client is due for yellow fever vaccination" ] ; fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Client is due for yellow fever vaccination" ] ] ] ) ; fhir:definition [ a fhir:Canonical ; fhir:v "http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTMR"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/ActivityDefinition/IMMZD2DTMR> ] ; ( fhir:dynamicValue [ fhir:path [ fhir:v "status" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql-expression" ] ; fhir:expression [ fhir:v "'draft'" ] ] ] [ fhir:path [ fhir:v "intent" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql-expression" ] ; fhir:expression [ fhir:v "'proposal'" ] ] ] [ fhir:path [ fhir:v "medication" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql-expression" ] ; fhir:expression [ fhir:v "Concept { codes: { Code { system: 'http://smart.who.int/immunizations/CodeSystem/IMMZ.Z', code: 'DE23', display: 'Yellow fever vaccines' } }, display: 'Yellow fever vaccines' }" ] ] ] ) ] [ fhir:title [ fhir:v "Check for Guidance for the patient regarding IMMZ.D2.DT.Yellow fever." ] ; fhir:description [ fhir:v "Show Guidance for the patient regarding IMMZ.D2.DT.Yellow fever." ] ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:description [ fhir:v "Has Guidance" ] ; fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Has Guidance" ] ] ] ) ; 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 "Guidance" ] ] ] [ 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' }" ] ] ] ) ] ) . #
IG © 2023+ WHO. Package smart.who.int.immunizations#0.2.0 based on FHIR 4.0.1. Generated 2026-03-03
Links: Table of Contents |
QA Report
| Version History | License