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 "IMMZD2DTPneumococcal3Doses"] ; # 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;\">IMMZD2DTPneumococcal3Doses</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-IMMZD2DTPneumococcal3Doses.html\">IMMZ.D2.DT.Pneumococcal.3 doses</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.Pneumococcal.3 doses</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.Pneumococcal.3 doses\n3 primary doses (3p+0)</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-IMMZD2DTPneumococcal3DosesLogic.html\">IMMZD2DTPneumococcal3DosesLogic</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 BCG.:</b> Determine if the client is due for BCG vaccine according to the national immunization protocol.\n3 primary doses (3p+0)\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n Client is due for pneumococcal vaccination\n \n <i>(Client is due for pneumococcal 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: 'DE13', display: 'Pneumococcal vaccines' } }, display: 'Pneumococcal vaccines' })</i>\n <br/>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n \n <b> Determine if the client is due for BCG.:</b> Determine if the client is due for BCG vaccine according to the national immunization protocol.\n3 primary doses (3p+0)\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n Client is due for pneumococcal booster dose\n \n <i>(Client is due for pneumococcal booster dose)</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: 'DE13', display: 'Pneumococcal vaccines' } }, display: 'Pneumococcal 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.Pneumococcal.3 doses.:</b> Show Guidance for the patient regarding IMMZ.D2.DT.Pneumococcal.3 doses.\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:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode> ] ; fhir:value [ a fhir:Coding ; fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE251" ] ; fhir:display [ fhir:v "At high risk for pneumococcal infection" ] ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode> ] ; fhir:value [ a fhir:Coding ; fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE204" ] ; fhir:display [ fhir:v "HIV status" ] ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode> ] ; fhir:value [ a fhir:Coding ; fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE205" ] ; fhir:display [ fhir:v "HIV-positive" ] ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode> ] ; fhir:value [ a fhir:Coding ; fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE208" ] ; fhir:display [ fhir:v "Preterm birth" ] ] ] [ ( 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 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The client's age is less than 6 weeks" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The client's age is less than 6 weeks\n@pseudocode: Today's date − \"Date of birth\" < 6 weeks\n@code: The client's age is less than 6 weeks-40\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The client's age is less than 6 weeks\":\n Encounter.\"Current Patient Age In Weeks\" < 6" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal 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 pneumococcal vaccination Case 1\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal vaccination Case 1\":\n Encounter.\"The client's age is less than 6 weeks\"" ] ] [ 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 "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 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 "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 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal Doses Administered to Patient" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: Pneumococcal containing Doses Administered to Patient\n*/\ndefine \"Pneumococcal Doses Administered to Patient\":\n Encounter.\"Doses Administered to Patient\" I\n where\n I.vaccineCode in Concepts.\"Pneumococcal vaccines\"" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal 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: Pneumococcal containing Doses Administered to Patient that are in the Primary series\n*/\ndefine \"Pneumococcal Primary Series Doses Administered to Patient\":\n \"Pneumococcal Doses Administered to Patient\".seriesPrimary()" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Number of Pneumococcal 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 Pneumococcal Primary Series doses\n*/\ndefine \"Number of Pneumococcal Primary Series Doses Administered\":\n Count(\"Pneumococcal Primary Series Doses Administered to Patient\")" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "One pneumococcal 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 pneumococcal primary series dose was administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Pneumococcal vaccines\" and \"Type of dose\" = \"Primary series\") = 1\n@code: One pneumococcal primary series dose was administered-121\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"One pneumococcal primary series dose was administered\":\n \"Number of Pneumococcal Primary Series Doses Administered\" = 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 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 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The client's age is less than or equal to 5 years" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The client's age is less than or equal to 5 years\n@pseudocode: 'Today's date − \"Date of birth\" ≤ 5 years\n@code: The client's age is less than or equal to 5 years-41\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n*/\ndefine \"The client's age is less than or equal to 5 years\":\n 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 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The client's age is less than or equal to five years" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The client's age is less than or equal to five years\n@pseudocode: Today's date − \"Date of birth\" ≤ 5 years\n@code: The client's age is less than or equal to five years-40\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The client's age is less than or equal to five years\":\n \"The client's age is less than or equal to 5 years\"" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Date of First Pneumococcal Dose" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: Date of First Pneumococcal Dose\n*/\ndefine \"Date of First Pneumococcal Dose\":\n date from start of \"Pneumococcal 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 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The first pneumococcal dose was administered within 12 months post birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The first pneumococcal dose was administered within 12 months post birth\n@pseudocode: \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\" AND \"Dose number\" = 1) − \"Date of birth\" < 12 months\n@code: The first pneumococcal dose was administered within 12 months post birth-131\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The first pneumococcal dose was administered within 12 months post birth\":\n AgeInMonthsAt(\"Date of First Pneumococcal Dose\") < 12" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Date of Latest Pneumococcal Dose" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: Date of Latest Pneumococcal Dose\n*/\ndefine \"Date of Latest Pneumococcal Dose\":\n date from start of \"Pneumococcal 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 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The latest pneumococcal dose was administered less than 4 weeks ago" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The latest pneumococcal dose was administered less than 4 weeks ago\n@pseudocode: Today's date − \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") < 4 weeks\n@code: The latest pneumococcal dose was administered less than 4 weeks ago-104\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The latest pneumococcal dose was administered less than 4 weeks ago\":\n \"Date of Latest Pneumococcal Dose\" is not null\n and duration in weeks between \"Date of Latest Pneumococcal Dose\" and Today < 4" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal 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 pneumococcal vaccination Case 2\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal vaccination Case 2\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered less than 4 weeks ago\"" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The first pneumococcal dose was administered at 12–24 months post birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The first pneumococcal dose was administered at 12–24 months post birth\n@pseudocode: 12 months ≤ \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") − \"Date of birth\" < 24 months\n@code: The first pneumococcal dose was administered at 12–24 months post birth-121\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The first pneumococcal dose was administered at 12–24 months post birth\":\n AgeInMonthsAt(\"Date of First Pneumococcal Dose\") >= 12\n and AgeInMonthsAt(\"Date of First Pneumococcal Dose\") < 24" ] ] [ 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 "IMMZElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "At high risk for pneumococcal infection Observation" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: At high risk for pneumococcal infection Observation\n*/\ndefine \"At high risk for pneumococcal infection Observation\":\n ([Observation: Concepts.\"At high risk for pneumococcal infection\"]).complete()" ] ] [ 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "At high risk for pneumococcal infection Observation" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: At high risk for pneumococcal infection Observation\n*/\ndefine \"At high risk for pneumococcal infection Observation\":\n Elements.\"At high risk for pneumococcal infection Observation\".encounterOrOnBefore(EncounterId, 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not at high risk for pneumococcal infection" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client is not at high risk for pneumococcal infection\n@pseudocode: \"At high risk for pneumococcal infection\" = FALSE\n*/\ndefine \"Client is not at high risk for pneumococcal infection\":\n exists( \"At high risk for pneumococcal infection Observation\" O where O.value = false )" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not at high risk for pneumococcal infection" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client is not at high risk for pneumococcal infection\n@pseudocode: \"At high risk for pneumococcal infection\" = FALSE\n@code: Client is not at high risk for pneumococcal infection-49\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Client is not at high risk for pneumococcal infection\":\n Encounter.\"Client is not at high risk for pneumococcal infection\"" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal vaccination Case 3" ] ] [ 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 pneumococcal vaccination Case 3\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal vaccination Case 3\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered at 12–24 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered less than 4 weeks ago\"\n and Encounter.\"Client is not at high risk for pneumococcal infection\"" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The latest pneumococcal dose was administered less than 8 weeks ago" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The latest pneumococcal dose was administered less than 8 weeks ago\n@pseudocode: Today's date − \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") < 8 weeks\n@code: The latest pneumococcal dose was administered less than 8 weeks ago-104\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The latest pneumococcal dose was administered less than 8 weeks ago\":\n \"Date of Latest Pneumococcal Dose\" is not null\n and duration in weeks between \"Date of Latest Pneumococcal Dose\" and Today < 8" ] ] [ 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 "IMMZEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is at high risk for pneumococcal infection" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client is at high risk for pneumococcal infection\n@pseudocode: \"At high risk for pneumococcal infection\" = TRUE\n*/\ndefine \"Client is at high risk for pneumococcal infection\":\n exists( \"At high risk for pneumococcal infection Observation\" O where O.value = true )" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is at high risk for pneumococcal infection" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client is at high risk for pneumococcal infection\n@pseudocode: \"At high risk for pneumococcal infection\" = TRUE\n@code: Client is at high risk for pneumococcal infection-48\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Client is at high risk for pneumococcal infection\":\n Encounter.\"Client is at high risk for pneumococcal infection\"" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal vaccination Case 4" ] ] [ 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 pneumococcal vaccination Case 4\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal vaccination Case 4\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered at 12–24 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered less than 8 weeks ago\"\n and Encounter.\"Client is at high risk for pneumococcal infection\"" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The first pneumococcal dose was administered after 24 months post birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The first pneumococcal dose was administered after 24 months post birth\n@pseudocode: \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") − \"Date of birth\" ≥ 24 months\n@code: The first pneumococcal dose was administered after 24 months post birth-109\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The first pneumococcal dose was administered after 24 months post birth\":\n AgeInMonthsAt(\"Date of First Pneumococcal Dose\") >= 24" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal vaccination Case 5" ] ] [ 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 pneumococcal vaccination Case 5\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal vaccination Case 5\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered after 24 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered less than 8 weeks ago\"\n and Encounter.\"Client is at high risk for pneumococcal infection\"" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Two pneumococcal 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 pneumococcal primary series doses were administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Pneumococcal vaccines\" and \"Type of dose\" = \"Primary series\") = 2\n@code: Two pneumococcal primary series doses were administered-121\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Two pneumococcal primary series doses were administered\":\n \"Number of Pneumococcal Primary Series Doses Administered\" = 2" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal vaccination Case 6" ] ] [ 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 pneumococcal vaccination Case 6\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal vaccination Case 6\":\n Encounter.\"Two pneumococcal primary series doses were administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered less than 4 weeks ago\"" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal 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 pneumococcal vaccination\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal vaccination\":\n \"Client is not due for pneumococcal vaccination Case 1\"\n or \"Client is not due for pneumococcal vaccination Case 2\"\n or \"Client is not due for pneumococcal vaccination Case 3\"\n or \"Client is not due for pneumococcal vaccination Case 4\"\n or \"Client is not due for pneumococcal vaccination Case 5\"\n or \"Client is not due for pneumococcal vaccination Case 6\"" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal 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 pneumococcal vaccination Guidance\n@guidance = Should not vaccinate client with first pneumococcal dose as client's age is less than 6 weeks. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.\n@guidance = Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 4 weeks ago. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.\n@guidance = Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 4 weeks ago. Check for any other vaccines due and inform the caregiver of when to come back for the next dose.\n@guidance = Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 8 weeks ago and client is at high risk for pneumococcal infection. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.\n@guidance = Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 8 weeks ago and client is at high risk for pneumococcal infection. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.\n@guidance = Should not vaccinate client with third pneumococcal dose as client's age is less than 5 years and latest pneumococcal dose was administered less than 4 weeks ago. \nCheck for any vaccines due and inform the caregiver of when to come back for the next dose\n*/\ndefine \"Client is not due for pneumococcal vaccination Guidance\":\n case\n when \"Client is not due for pneumococcal vaccination Case 1\" then 'Should not vaccinate client with first pneumococcal dose as client\\'s age is less than 6 weeks. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.'\n when \"Client is not due for pneumococcal vaccination Case 2\" then 'Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 4 weeks ago. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.'\n when \"Client is not due for pneumococcal vaccination Case 3\" then 'Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 4 weeks ago. Check for any other vaccines due and inform the caregiver of when to come back for the next dose.'\n when \"Client is not due for pneumococcal vaccination Case 4\" then 'Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 8 weeks ago and client is at high risk for pneumococcal infection. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.'\n when \"Client is not due for pneumococcal vaccination Case 5\" then 'Should not vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered less than 8 weeks ago and client is at high risk for pneumococcal infection. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.'\n when \"Client is not due for pneumococcal vaccination Case 6\" then 'Should not vaccinate client with third pneumococcal dose as client\\'s age is less than 5 years and latest pneumococcal dose was administered less than 4 weeks ago. \nCheck for any vaccines due and inform the caregiver of when to come back for the next dose'\n else ''\n end" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "No pneumococcal 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 pneumococcal primary series doses were administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Pneumococcal vaccines\" and \"Type of dose\" = \"Primary series\") = 0\n@code: No pneumococcal primary series doses were administered-121\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"No pneumococcal primary series doses were administered\":\n \"Number of Pneumococcal Primary Series Doses Administered\" = 0" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The 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: The client's age is between 6 weeks and 5 years\n@pseudocode: 6 weeks ≤ Today's date − \"Date of birth\" ≤ 5 years\n@code: The client's age is between 6 weeks and 5 years-50\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The 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 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal 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 due for pneumococcal vaccination Case 1\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal vaccination Case 1\":\n Encounter.\"No pneumococcal primary series doses were administered\"\n and Encounter.\"The client's age is between 6 weeks and 5 years\"" ] ] [ 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The latest pneumococcal dose was administered more than 4 weeks ago" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The latest pneumococcal dose was administered more than 4 weeks ago\n@pseudocode: Today's date − \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") ≥ 4 weeks\n@code: The latest pneumococcal dose was administered more than 4 weeks ago-104\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The latest pneumococcal dose was administered more than 4 weeks ago\":\n not \"The latest pneumococcal dose was administered less than 4 weeks ago\"" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal 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 due for pneumococcal vaccination Case 2\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal vaccination Case 2\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered more than 4 weeks ago\"" ] ] [ 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal vaccination Case 3" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for pneumococcal vaccination Case 3\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal vaccination Case 3\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered at 12–24 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered more than 4 weeks ago\"\n and Encounter.\"Client is not at high risk for pneumococcal infection\"" ] ] [ 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:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ; fhir:l fhir:libraryName ] ; fhir:value [ a fhir:String ; fhir:v "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The latest pneumococcal dose was administered more than 8 weeks ago" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The latest pneumococcal dose was administered more than 8 weeks ago\n@pseudocode: Today's date − \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") ≥ 8 weeks\n@code: The latest pneumococcal dose was administered more than 8 weeks ago-104\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The latest pneumococcal dose was administered more than 8 weeks ago\":\n not \"The latest pneumococcal dose was administered less than 8 weeks ago\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 39 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal vaccination Case 4" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for pneumococcal vaccination Case 4\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal vaccination Case 4\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered at 12–24 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered more than 8 weeks ago\"\n and Encounter.\"Client is at high risk for pneumococcal infection\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 40 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal vaccination Case 5" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for pneumococcal vaccination Case 5\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal vaccination Case 5\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered after 24 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered more than 8 weeks ago\"\n and Encounter.\"Client is at high risk for pneumococcal infection\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 41 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal vaccination Case 6" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for pneumococcal vaccination Case 6\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal vaccination Case 6\":\n Encounter.\"Two pneumococcal primary series doses were administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered more than 4 weeks ago\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 42 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal 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 pneumococcal vaccination\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal vaccination\":\n \"Client is due for pneumococcal vaccination Case 1\"\n or \"Client is due for pneumococcal vaccination Case 2\"\n or \"Client is due for pneumococcal vaccination Case 3\"\n or \"Client is due for pneumococcal vaccination Case 4\"\n or \"Client is due for pneumococcal vaccination Case 5\"\n or \"Client is due for pneumococcal vaccination Case 6\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 43 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal 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 pneumococcal vaccination Guidance\n@guidance = Should vaccinate client with first pneumococcal dose as no pneumococcal doses were administered and client is within the appropriate age range.\nCheck for contraindications.\n@guidance = Should vaccinate client with second pneumococcal dose as first dose was administered within 12 months post birth and latest pneumococcal dose was administered more than 4 weeks ago.\nCheck for contraindications.\n@guidance = Should vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered more than 4 weeks ago and client is not at high risk for pneumococcal infection.\nCheck for contraindications.\n@guidance = Should vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered more than 8 weeks ago and client is at high risk for pneumococcal infection.\nCheck for contraindications.\n@guidance = Should vaccinate client with second pneumococcal dose as first dose was administered 24 months post birth, latest pneumococcal dose was administered more than 8 weeks ago and client is at high risk for pneumococcal infection.\nCheck for contraindications.\n@guidance = Should vaccinate client with third pneumococcal dose as client's age is less than 5 yers and latest pneumococcal dose was administered more than 4 weeks ago.\nCheck for contraindications.\n*/\ndefine \"Client is due for pneumococcal vaccination Guidance\":\n case\n when \"Client is due for pneumococcal vaccination Case 1\" then 'Should vaccinate client with first pneumococcal dose as no pneumococcal doses were administered and client is within the appropriate age range.\nCheck for contraindications.'\n when \"Client is due for pneumococcal vaccination Case 2\" then 'Should vaccinate client with second pneumococcal dose as first dose was administered within 12 months post birth and latest pneumococcal dose was administered more than 4 weeks ago.\nCheck for contraindications.'\n when \"Client is due for pneumococcal vaccination Case 3\" then 'Should vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered more than 4 weeks ago and client is not at high risk for pneumococcal infection.\nCheck for contraindications.'\n when \"Client is due for pneumococcal vaccination Case 4\" then 'Should vaccinate client with second pneumococcal dose as the latest pneumococcal dose was administered more than 8 weeks ago and client is at high risk for pneumococcal infection.\nCheck for contraindications.'\n when \"Client is due for pneumococcal vaccination Case 5\" then 'Should vaccinate client with second pneumococcal dose as first dose was administered 24 months post birth, latest pneumococcal dose was administered more than 8 weeks ago and client is at high risk for pneumococcal infection.\nCheck for contraindications.'\n when \"Client is due for pneumococcal vaccination Case 6\" then 'Should vaccinate client with third pneumococcal dose as client\\'s age is less than 5 yers and latest pneumococcal dose was administered more than 4 weeks ago.\nCheck for contraindications.'\n else ''\n end" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 44 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal immunization schedule is complete Case 1" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Pneumococcal immunization schedule is complete Case 1\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Pneumococcal vaccines\")\n*/\ndefine \"Pneumococcal immunization schedule is complete Case 1\":\n Encounter.\"One pneumococcal primary series dose was administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered after 24 months post birth\"\n and Encounter.\"Client is not at high risk for pneumococcal infection\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 45 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The first pneumococcal dose was administered after 12 months post birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The first pneumococcal dose was administered after 12 months post birth\n@pseudocode: \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\" AND \"Dose number\" = 1) − \"Date of birth\" ≥ 12 months\n@code: The first pneumococcal dose was administered after 12 months post birth-131\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The first pneumococcal dose was administered after 12 months post birth\":\n AgeInMonthsAt(\"Date of First Pneumococcal Dose\") >= 12" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 46 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal immunization schedule is complete Case 2" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Pneumococcal immunization schedule is complete Case 2\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Pneumococcal vaccines\")\n*/\ndefine \"Pneumococcal immunization schedule is complete Case 2\":\n Encounter.\"Two pneumococcal primary series doses were administered\"\n and Encounter.\"The client's age is less than or equal to five years\"\n and Encounter.\"The first pneumococcal dose was administered after 12 months post birth\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 47 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Three pneumococcal 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 pneumococcal primary series doses were administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Pneumococcal vaccines\" and \"Type of dose\" = \"Primary series\") = 3\n@code: Three pneumococcal primary series doses were administered-121\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Three pneumococcal primary series doses were administered\":\n \"Number of Pneumococcal Primary Series Doses Administered\" = 3" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 48 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal Booster 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: Pneumococcal Booster Series Doses Administered to Patient\n*/\ndefine \"Pneumococcal Booster Series Doses Administered to Patient\":\n \"Pneumococcal Doses Administered to Patient\".seriesBooster()" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 49 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Number of Pneumococcal Booster 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 Pneumococcal Booster Series Doses Administered\n*/\ndefine \"Number of Pneumococcal Booster Series Doses Administered\":\n Count(\"Pneumococcal Booster Series Doses Administered to Patient\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 50 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "No pneumococcal booster dose was administered" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: No pneumococcal booster dose was administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Pneumococcal vaccines\" and \"Type of dose\" = \"Booster dose\") = 0\n@code: No pneumococcal booster dose was administered-119\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"No pneumococcal booster dose was administered\":\n \"Number of Pneumococcal Booster Series Doses Administered\" = 0" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 51 ] ] ) ; 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 52 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The client's age is less than 24 months" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The client's age is less than 24 months\n@pseudocode: Today's date − \"Date of birth\" < 24 months\n@code: The client's age is less than 24 months-42\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The client's age is less than 24 months\":\n Encounter.\"Current Patient Age In Months\" < 24" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 53 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The latest pneumococcal dose was administered after 12 months post birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The latest pneumococcal dose was administered after 12 months post birth\n@pseudocode: Latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") − \"Date of birth\" ≥ 12 months\n@code: The latest pneumococcal dose was administered after 12 months post birth-116\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The latest pneumococcal dose was administered after 12 months post birth\":\n AgeInMonthsAt(\"Date of Latest Pneumococcal Dose\") >= 12" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 54 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal immunization schedule is complete Case 3" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Pneumococcal immunization schedule is complete Case 3\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Pneumococcal vaccines\")\n*/\ndefine \"Pneumococcal immunization schedule is complete Case 3\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"No pneumococcal booster dose was administered\"\n and Encounter.\"The client's age is less than 24 months\"\n and Encounter.\"The latest pneumococcal dose was administered after 12 months post birth\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 55 ] ] ) ; 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 "HIV status Observation" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: HIV Status Observation\n*/\ndefine \"HIV status Observation\":\n ([Observation: Concepts.\"HIV status\"]).complete()" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 56 ] ] ) ; 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 "Client's HIV status is positive" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client's HIV status is positive\n@pseudocode: \"HIV status\" = \"HIV-positive\"\n*/\ndefine \"Client's HIV status is positive\":\n exists( (Elements.\"HIV status Observation\".encounterOrOnBefore(EncounterId, Today)) O\n where O.value ~ Concepts.\"HIV-positive\" )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 57 ] ] ) ; 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 "Client's HIV status is negative or unknown" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client's HIV status is negative or unknown\n@pseudocode: \"HIV status\" ≠ \"HIV-positive\"\n*/\ndefine \"Client's HIV status is negative or unknown\":\n not \"Client's HIV status is positive\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 58 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client's HIV status is negative or unknown" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client's HIV status is negative or unknown\n@pseudocode: \"HIV status\" ≠ \"HIV-positive\"\n@code: Client's HIV status is negative or unknown-29\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Client's HIV status is negative or unknown\":\n Encounter.\"Client's HIV status is negative or unknown\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 59 ] ] ) ; 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 "Preterm birth Observation" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: Preterm birth Observation\n*/\ndefine \"Preterm birth Observation\":\n ([Observation: Concepts.\"Preterm birth\"]).complete()" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 60 ] ] ) ; 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 "Preterm birth Observation" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@internal: Preterm birth Observation\n*/\ndefine \"Preterm birth Observation\":\n Elements.\"Preterm birth Observation\".encounterOrOnBefore(EncounterId, Today)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 61 ] ] ) ; 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 "Client was a premature infant at birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client was a premature infant at birth\n@pseudocode: \"Preterm birth\" = TRUE\n*/\ndefine \"Client was a premature infant at birth\":\n exists( \"Preterm birth Observation\" O where O.value = true )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 62 ] ] ) ; 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 "Client was not a premature infant at birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client was not a premature infant at birth\n@pseudocode: \"Preterm birth\" ≠ TRUE\n*/\ndefine \"Client was not a premature infant at birth\":\n not(\"Client was a premature infant at birth\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 63 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client did not have preterm birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client did not have preterm birth\n@pseudocode: \"Preterm birth\" ≠ TRUE\n@code: Client did not have preterm birth-22\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Client did not have preterm birth\":\n Encounter.\"Client was not a premature infant at birth\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 64 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal immunization schedule is complete Case 4" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Pneumococcal immunization schedule is complete Case 4\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Pneumococcal vaccines\")\n*/\ndefine \"Pneumococcal immunization schedule is complete Case 4\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"No pneumococcal booster dose was administered\"\n and Encounter.\"The client's age is less than 24 months\"\n and Encounter.\"Client's HIV status is negative or unknown\"\n and Encounter.\"Client did not have preterm birth\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 65 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The client's age is more than or equal to 24 months" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The client's age is more than or equal to 24 months\n@pseudocode: Today's date − \"Date of birth\" ≥ 24 months\n@code: The client's age is more than or equal to 24 months-42\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The client's age is more than or equal to 24 months\":\n Encounter.\"Current Patient Age In Months\" >= 24" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 66 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal immunization schedule is complete Case 5" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Pneumococcal immunization schedule is complete Case 5\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Pneumococcal vaccines\")\n*/\ndefine \"Pneumococcal immunization schedule is complete Case 5\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"No pneumococcal booster dose was administered\"\n and Encounter.\"The client's age is more than or equal to 24 months\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 67 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "One pneumococcal booster dose was administered" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: One pneumococcal booster dose was administered\n@pseudocode: Count of vaccines administered (where \"Vaccine type\" = \"Pneumococcal vaccines\" and \"Type of dose\" = \"Booster dose\") = 1\n@code: One pneumococcal booster dose was administered-119\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"One pneumococcal booster dose was administered\":\n \"Number of Pneumococcal Booster Series Doses Administered\" = 1" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 68 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal immunization schedule is complete Case 6" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Pneumococcal immunization schedule is complete Case 6\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n*/\ndefine \"Pneumococcal immunization schedule is complete Case 6\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"One pneumococcal booster dose was administered\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 69 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal immunization schedule is complete" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Pneumococcal immunization schedule is complete\n@pseudocode: \"Immunization recommendation status\" = \"Complete\"\n\"Completed the primary vaccination series\" = TRUE (where \"Vaccine type\" = \"Pneumococcal vaccines\")\n*/\ndefine \"Pneumococcal immunization schedule is complete\":\n \"Pneumococcal immunization schedule is complete Case 1\"\n or \"Pneumococcal immunization schedule is complete Case 2\"\n or \"Pneumococcal immunization schedule is complete Case 3\"\n or \"Pneumococcal immunization schedule is complete Case 4\"\n or \"Pneumococcal immunization schedule is complete Case 5\"\n or \"Pneumococcal immunization schedule is complete Case 6\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 70 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Pneumococcal 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: Pneumococcal immunization schedule is complete Guidance\n@guidance = Pneumococcal immunization schedule is complete. One pneumococcal dose was administered. \nCheck for any other vaccines due.\n@guidance = Pneumococcal immunization schedule is complete. Two pneumococcal pneumococcal doses were administered. \nCheck for any other vaccines due.\n@guidance = Pneumococcal immunization schedule is complete. Three pneumococcal primary serie doses were administered. \nCheck for any other vaccines due.\n@guidance = Pneumococcal immunization schedule is complete. Three pneumococcal primary series doses were administered. \nCheck for any other vaccines due.\n@guidance = Pneumococcal immunization schedule is complete. Three pneumococcal primary series doses were administered. \nCheck for any other vaccines due.\n@guidance = Pneumococcal immunization schedule is complete. Three pneumococcal primary series doses and one booster dose were administered. \nCheck for any other vaccines due.\n*/\ndefine \"Pneumococcal immunization schedule is complete Guidance\":\n case\n when \"Pneumococcal immunization schedule is complete Case 1\" then 'Pneumococcal immunization schedule is complete. One pneumococcal dose was administered. \nCheck for any other vaccines due.'\n when \"Pneumococcal immunization schedule is complete Case 2\" then 'Pneumococcal immunization schedule is complete. Two pneumococcal pneumococcal doses were administered. \nCheck for any other vaccines due.'\n when \"Pneumococcal immunization schedule is complete Case 3\" then 'Pneumococcal immunization schedule is complete. Three pneumococcal primary serie doses were administered. \nCheck for any other vaccines due.'\n when \"Pneumococcal immunization schedule is complete Case 4\" then 'Pneumococcal immunization schedule is complete. Three pneumococcal primary series doses were administered. \nCheck for any other vaccines due.'\n when \"Pneumococcal immunization schedule is complete Case 5\" then 'Pneumococcal immunization schedule is complete. Three pneumococcal primary series doses were administered. \nCheck for any other vaccines due.'\n when \"Pneumococcal immunization schedule is complete Case 6\" then 'Pneumococcal immunization schedule is complete. Three pneumococcal primary series doses and one booster dose were administered. \nCheck for any other vaccines due.'\n else ''\n end" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 71 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The latest pneumococcal dose was administered within 12 months post birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The latest pneumococcal dose was administered within 12 months post birth\n@pseudocode: Latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Pneumococcal vaccines\") − \"Date of birth\" < 12 months\n@code: The latest pneumococcal dose was administered within 12 months post birth-116\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The latest pneumococcal dose was administered within 12 months post birth\":\n AgeInMonthsAt(\"Date of Latest Pneumococcal Dose\") < 12" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 72 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client's HIV status is positive" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client's HIV status is positive\n@pseudocode: \"HIV status\" = \"HIV-positive\"\n@code: Client's HIV status is positive-29\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Client's HIV status is positive\":\n Encounter.\"Client's HIV status is positive\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 73 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal booster dose 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 pneumococcal booster dose Case 1\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal booster dose Case 1\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"No pneumococcal booster dose was administered\"\n and Encounter.\"The client's age is less than 24 months\"\n and Encounter.\"The latest pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered less than 8 weeks ago\"\n and Encounter.\"Client's HIV status is positive\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 74 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client had preterm birth" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: Client had preterm birth\n@pseudocode: \"Preterm birth\" = TRUE\n@code: Client had preterm birth-22\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"Client had preterm birth\":\n Encounter.\"Client was a premature infant at birth\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 75 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal booster dose 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 pneumococcal booster dose Case 2\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal booster dose Case 2\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"No pneumococcal booster dose was administered\"\n and Encounter.\"The client's age is less than 24 months\"\n and Encounter.\"The latest pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered less than 8 weeks ago\"\n and Encounter.\"Client had preterm birth\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 76 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal booster dose" ] ] [ 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 pneumococcal booster dose\n@pseudocode: \"Immunization recommendation status\" = \"Not due\"\n*/\ndefine \"Client is not due for pneumococcal booster dose\":\n \"Client is not due for pneumococcal booster dose Case 1\"\n or \"Client is not due for pneumococcal booster dose Case 2\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 77 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is not due for pneumococcal booster dose 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 pneumococcal booster dose Guidance\n@guidance = Should not vaccinate client with pneumococcal booster dose as latest pneumococcal dose was administered within 12 months post birth and administered less than 8 weeks ago. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.\n@guidance = Should not vaccinate client with pneumococcal booster dose as latest pneumococcal dose was administered within 12 months post birth and administered less than 8 weeks ago. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.\n*/\ndefine \"Client is not due for pneumococcal booster dose Guidance\":\n case\n when \"Client is not due for pneumococcal booster dose Case 1\" then 'Should not vaccinate client with pneumococcal booster dose as latest pneumococcal dose was administered within 12 months post birth and administered less than 8 weeks ago. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.'\n when \"Client is not due for pneumococcal booster dose Case 2\" then 'Should not vaccinate client with pneumococcal booster dose as latest pneumococcal dose was administered within 12 months post birth and administered less than 8 weeks ago. \nCheck for any other vaccines due and inform the caregiver of when to come back for the next dose.'\n else ''\n end" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 78 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal booster dose Case 1" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for pneumococcal booster dose Case 1\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal booster dose Case 1\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"No pneumococcal booster dose was administered\"\n and Encounter.\"The client's age is less than 24 months\"\n and Encounter.\"The latest pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered more than 8 weeks ago\"\n and Encounter.\"Client's HIV status is positive\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 79 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal booster dose Case 2" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for pneumococcal booster dose Case 2\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal booster dose Case 2\":\n Encounter.\"Three pneumococcal primary series doses were administered\"\n and Encounter.\"No pneumococcal booster dose was administered\"\n and Encounter.\"The client's age is less than 24 months\"\n and Encounter.\"The latest pneumococcal dose was administered within 12 months post birth\"\n and Encounter.\"The latest pneumococcal dose was administered more than 8 weeks ago\"\n and Encounter.\"Client had preterm birth\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 80 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal booster dose" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Client is due for pneumococcal booster dose\n@pseudocode: \"Immunization recommendation status\" = \"Due\"\n*/\ndefine \"Client is due for pneumococcal booster dose\":\n \"Client is due for pneumococcal booster dose Case 1\"\n or \"Client is due for pneumococcal booster dose Case 2\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 81 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Client is due for pneumococcal booster dose 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 pneumococcal booster dose Guidance\n@guidance = Should vaccinate client with pneumococcal booster dose as client is HIV positive and latest pneumococcal dose was administered within 12 months post birth and administered more than 8 weeks ago .\nCheck for contraindications.\n@guidance = Should vaccinate client with pneumococcal booster dose as client had preterm birth and latest pneumococcal dose was administered within 12 months post birth and administered more than 8 weeks ago.\nCheck for contraindications.\n*/\ndefine \"Client is due for pneumococcal booster dose Guidance\":\n case\n when \"Client is due for pneumococcal booster dose Case 1\" then 'Should vaccinate client with pneumococcal booster dose as client is HIV positive and latest pneumococcal dose was administered within 12 months post birth and administered more than 8 weeks ago .\nCheck for contraindications.'\n when \"Client is due for pneumococcal booster dose Case 2\" then 'Should vaccinate client with pneumococcal booster dose as client had preterm birth and latest pneumococcal dose was administered within 12 months post birth and administered more than 8 weeks ago.\nCheck for contraindications.'\n else ''\n end" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 82 ] ] ) ; 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 "IMMZD2DTPneumococcalEncounterElements" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "The client's age is more than 5 years" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@input: The client's age is more than 5 years\n@pseudocode: Today's date − \"Date of birth\" > 5 years\n@code: The client's age is more than 5 years-40\n@decision: IMMZ.D2.DT.Pneumococcal.2 doses with booster dose: 2 primary doses with a booster dose (2p+1)\n@decision: IMMZ.D2.DT.Pneumococcal.3 doses: 3 primary doses (3p+0)\n*/\ndefine \"The client's age is more than 5 years\":\n Encounter.\"Current Patient Age In Months\" > 5" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 83 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Clinical judgement is required. Create a clinical note." ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Clinical judgement is required. Create a clinical note.\n@pseudocode: \"Immunization recommendation status\" = \"Further evaluation needed\"\n*/\ndefine \"Clinical judgement is required. Create a clinical note.\":\n Encounter.\"The client's age is more than 5 years\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 84 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Clinical judgement is required. Create a clinical note. Guidance" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@output: Clinical judgement is required. Create a clinical note. Guidance\n@guidance: Members States should update this action according to the national immunization programme\n*/\ndefine \"Clinical judgement is required. Create a clinical note. Guidance\":\n 'Members States should update this action according to the national immunization programme'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 85 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ 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 pneumococcal vaccination\" then \"Client is not due for pneumococcal vaccination Guidance\"\n when \"Client is due for pneumococcal vaccination\" then \"Client is due for pneumococcal vaccination Guidance\"\n when \"Pneumococcal immunization schedule is complete\" then \"Pneumococcal immunization schedule is complete Guidance\"\n when \"Client is not due for pneumococcal booster dose\" then \"Client is not due for pneumococcal booster dose Guidance\"\n when \"Client is due for pneumococcal booster dose\" then \"Client is due for pneumococcal booster dose Guidance\"\n when \"Clinical judgement is required. Create a clinical note.\" then \"Clinical judgement is required. Create a clinical note. Guidance\" \n else ''\n end" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 86 ] ] ) ; 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 "IMMZD2DTPneumococcal3DosesLogic" ] ] [ 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 87 ] ] ) ; 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 88 ] ] ) ; 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 89 ] ] ) ; 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 90 ] ] ) ; 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 91 ] ] ) ; 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 92 ] ] ) ; 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 93 ] ] ) ; 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 94 ] ] ) ; 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 95 ] ] ) ; 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 "encounterOrOnBefore" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/**\n * @description: Gets observation from an encounter or on or before a date\n */\ndefine fluent function encounterOrOnBefore(observations List<Observation>, EncounterId String, beforeDate Date):\n observations O where\n (O.encounter.references(EncounterId)\n or O.effective.toInterval() starts same day or before beforeDate)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 96 ] ] ) ; 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 "references" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "/*\n@description: Returns true if the given reference is to the given resourceId\n@comment: Returns true if the `resourceId` parameter exactly equals the tail of the given reference.\nNOTE: This function assumes resources from the same source server.\n*/\ndefine fluent function references(reference FHIR.Reference, resourceId String):\n resourceId = Last(Split(reference.reference, '/'))" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 97 ] ] ) ; 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 "complete" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define fluent function complete(observations List<Observation>):\n observations O where O.status in { 'final', 'amended', 'corrected' }" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 98 ] ] ) ; 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 ObservationStatus): value.value" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 99 ] ] ) ; 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 "seriesBooster" ] ] [ 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 Booster series\n */\ndefine fluent function seriesBooster(immunizations List<Immunization>):\n immunizations I where\n exists( I.protocolApplied pa where pa.series = 'Booster dose' )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ; fhir:l fhir:displaySequence ] ; fhir:value [ a fhir:Integer ; fhir:v 100 ] ] ) ; 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/IMMZD2DTPneumococcalEncounterElements"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/Library/IMMZD2DTPneumococcalEncounterElements> ] ] [ 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 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 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 "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 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 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 "Code system IMMZD" ] ; fhir:resource [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Pneumococcal vaccines" ] ; fhir:resource [ fhir:v "http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE13"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE13> ] ] ) ; ( 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 "EncounterId" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 0 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ 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 pneumococcal 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:name [ fhir:v "Client is due for pneumococcal booster dose" ] ; 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 "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: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 "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; ( fhir:code [ fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE251" ] ; fhir:display [ fhir:v "At high risk for pneumococcal infection" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; ( fhir:code [ fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE204" ] ; fhir:display [ fhir:v "HIV status" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; ( fhir:code [ fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE208" ] ; fhir:display [ fhir:v "Preterm birth" ] ] ) ] ) ] [ 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:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; ( fhir:code [ fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE251" ] ; fhir:display [ fhir:v "At high risk for pneumococcal infection" ] ] ) ] ) ] [ 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:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; ( fhir:code [ fhir:system [ fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZ.D"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZ.D> ] ; fhir:code [ fhir:v "DE208" ] ; fhir:display [ fhir:v "Preterm birth" ] ] ) ] ) ] ) ] ) ; # 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/IMMZD2DTPneumococcal3Doses"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/PlanDefinition/IMMZD2DTPneumococcal3Doses> ] ; # fhir:version [ fhir:v "0.2.0"] ; # fhir:name [ fhir:v "IMMZD2DTPneumococcal3Doses"] ; # fhir:title [ fhir:v "IMMZ.D2.DT.Pneumococcal.3 doses"] ; # 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.Pneumococcal.3 doses\n3 primary doses (3p+0)"] ; # 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/IMMZD2DTPneumococcal3DosesLogic"^^xsd:anyURI ; fhir:l <http://smart.who.int/immunizations/Library/IMMZD2DTPneumococcal3DosesLogic> ] ) ; # 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 "For administration of pneumococcal vaccine to infants, WHO recommends a 3-dose schedule \n administered either as 2p+1 or as 3p+0, starting as early as 6 weeks of age." ] ] ) ; fhir:title [ fhir:v "Determine if the client is due for BCG." ] ; fhir:description [ fhir:v "Determine if the client is due for BCG vaccine according to the national immunization protocol.\n3 primary doses (3p+0)" ] ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:description [ fhir:v "Client is due for pneumococcal vaccination" ] ; fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Client is due for pneumococcal 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: 'DE13', display: 'Pneumococcal vaccines' } }, display: 'Pneumococcal vaccines' }" ] ] ] ) ] [ ( 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 "HIV-positive infants and preterm neonates who have received their 3 primary vaccine doses \n before 12 months of age may benefit from a booster dose in the second year of life." ] ] ) ; fhir:title [ fhir:v "Determine if the client is due for BCG." ] ; fhir:description [ fhir:v "Determine if the client is due for BCG vaccine according to the national immunization protocol.\n3 primary doses (3p+0)" ] ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:description [ fhir:v "Client is due for pneumococcal booster dose" ] ; fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Client is due for pneumococcal booster dose" ] ] ] ) ; 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: 'DE13', display: 'Pneumococcal vaccines' } }, display: 'Pneumococcal vaccines' }" ] ] ] ) ] [ fhir:title [ fhir:v "Check for Guidance for the patient regarding IMMZ.D2.DT.Pneumococcal.3 doses." ] ; fhir:description [ fhir:v "Show Guidance for the patient regarding IMMZ.D2.DT.Pneumococcal.3 doses." ] ; ( 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