{
  "resourceType" : "Library",
  "id" : "IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary",
    "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary",
    "http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library",
    "http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n    <table class=\"grid dict\">\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">1.0.0</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"Library-IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic.html\">IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic</a></td>\n        </tr>\n        \n\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.1.0/CodeSystem-library-type.html\">http://terminology.hl7.org/CodeSystem/library-type</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>logic-library</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-31 13:54:17+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>This library defines decision support logic for the IMMZ.D2.DT.Hepatitis A.Live attenuated HAV 1 dose decision table in the Immunization CPG</p>\n</div></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\n        \n        <tr>\n            <th scope=\"row\"><b>Related Artifacts: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                \n                \n                <p><b>Dependencies</b></p>\n                <ul>\n                  \n                    <li><a href=\"Library-IMMZD2DTHepatitisAEncounterElements.html\">IMMZD2DTHepatitisAEncounterElements</a></li>\n                  \n                </ul>\n                \n                \n                \n                \n                \n            </td>\n        </tr>\n        \n\n        \n        <tr>\n          <th scope=\"row\"><b>Parameters: </b></th>\n          <td style=\"padding-left: 4px;\">\n            <table class=\"grid-dict\">\n              <tr><th><b>Name</b></th><th><b>Type</b></th><th><b>Min</b></th><th><b>Max</b></th><th><b>In/Out</b></th></tr>\n              \n                <tr><th>Today</th><th>date</th><th>0</th><th>1</th><th>In</th></tr>\n              \n                <tr><th>Patient</th><th>Patient</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Client is not due for Hepatitis A vaccination Case 1</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Client is not due for Hepatitis A vaccination Case 2</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Client is not due for Hepatitis A vaccination</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Client is not due for Hepatitis A vaccination Guidance</th><th>string</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Client is due for Hepatitis A vaccination</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Client is due for Hepatitis A vaccination Guidance</th><th>string</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Hepatitis A immunization schedule is complete</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Hepatitis A immunization schedule is complete Guidance</th><th>string</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Guidance</th><th>string</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Has Guidance</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Test Validation</th><th>Resource</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n            </table>\n          </td>\n        </tr>\n        \n\n        \n\n        \n        \n        <tr>\n          <td colspan=\"2\">\n            <table>\n              <tr><th><a id=\"cql-content\"><b>Content: </b></a> text/cql</th></tr>\n              <tr><td><pre><code class=\"language-cql\">/*\n * Library: IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic (IMMZ.D2.DT.Hepatitis A.Live attenuated HAV 1 dose)\n * Rule: Determine if the client is due for a hepatitis A vaccination according to the national immunization schedule\n * Decision Table: Live attenuated hepatitis A virus (HAV), 1 dose schedule\n * Trigger: IMMZ.D2 Determine required vaccination(s) if any\n */\nlibrary IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic\n\nusing FHIR version '4.0.1'\ninclude FHIRHelpers version '4.0.1'\n\ninclude IMMZD2DTHepatitisAEncounterElements called Encounter\n\nparameter Today Date default Today()\n\ncontext Patient\n\n\n/*\n@dynamicValue: Guidance\n*/\ndefine &quot;Guidance&quot;:\n  case \n    when &quot;Client is not due for Hepatitis A vaccination&quot; then &quot;Client is not due for Hepatitis A vaccination Guidance&quot;\n    when &quot;Client is due for Hepatitis A vaccination&quot; then &quot;Client is due for Hepatitis A vaccination Guidance&quot;\n    when &quot;Hepatitis A immunization schedule is complete&quot; then &quot;Hepatitis A immunization schedule is complete Guidance&quot; \n    else ''\n  end\n  \ndefine &quot;Has Guidance&quot;:\n  &quot;Guidance&quot; is not null and &quot;Guidance&quot; != ''\n\n/*\n@output: Client is not due for Hepatitis A vaccination Case 1\n@pseudocode: &quot;Immunization recommendation status&quot; = &quot;Not due&quot;\n*/\ndefine &quot;Client is not due for Hepatitis A vaccination Case 1&quot;:\n  Encounter.&quot;Client's age is less than 18 months&quot;\n\n/*\n@output: Client is not due for Hepatitis A vaccination Case 2\n@pseudocode: &quot;Immunization recommendation status&quot; = &quot;Not due&quot;\n*/\ndefine &quot;Client is not due for Hepatitis A vaccination Case 2&quot;:\n  Encounter.&quot;No hepatitis A primary series dose was administered&quot;\n    and Encounter.&quot;Client's age is more than or equal to 18 months&quot;\n    and Encounter.&quot;Live vaccine was administered in the last 4 weeks&quot;\n\n/*\n@output: Client is not due for Hepatitis A vaccination\n@pseudocode: &quot;Immunization recommendation status&quot; = &quot;Not due&quot;\n*/\ndefine &quot;Client is not due for Hepatitis A vaccination&quot;:\n  &quot;Client is not due for Hepatitis A vaccination Case 1&quot;\n    or &quot;Client is not due for Hepatitis A vaccination Case 2&quot;\n\n/*\n@output: Client is not due for Hepatitis A vaccination Guidance\n@guidance = Should not vaccinate client with Hepatitis A dose as client's age is less than 18 months. \nCheck for any other vaccines due and inform the caregiver of when to come back for the first dose.\n@guidance = Should not vaccinate client with Hepatitis A dose as live vaccine was administered in the last 4 weeks. \nCheck for any other vaccines due and inform the caregiver of when to come back for the first dose.\n*/\ndefine &quot;Client is not due for Hepatitis A vaccination Guidance&quot;:\n  case\n    when &quot;Client is not due for Hepatitis A vaccination Case 1&quot; then 'Should not vaccinate client with Hepatitis A dose as client\\'s age is less than 18 months. \nCheck for any other vaccines due and inform the caregiver of when to come back for the first dose.'\n    when &quot;Client is not due for Hepatitis A vaccination Case 2&quot; then 'Should not vaccinate client with Hepatitis A dose as live vaccine was administered in the last 4 weeks. \nCheck for any other vaccines due and inform the caregiver of when to come back for the first dose.'\n    else ''\n  end\n\n/*\n@output: Client is due for Hepatitis A vaccination\n@pseudocode: &quot;Immunization recommendation status&quot; = &quot;Due&quot;\n*/\ndefine &quot;Client is due for Hepatitis A vaccination&quot;:\n  Encounter.&quot;No hepatitis A primary series dose was administered&quot;\n    and Encounter.&quot;Client's age is more than or equal to 18 months&quot;\n    and Encounter.&quot;No live vaccine was administered in the last 4 weeks&quot;\n\n/*\n@output: Client is due for Hepatitis A vaccination Guidance\n@guidance: Should vaccinate client with hepatitis A dose as no Hepatitis A dose was administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. \nCheck for contraindications.\n*/\ndefine &quot;Client is due for Hepatitis A vaccination Guidance&quot;:\n  'Should vaccinate client with hepatitis A dose as no Hepatitis A dose was administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. \nCheck for contraindications.'\n\n/*\n@output: Hepatitis A immunization schedule is complete\n@pseudocode: &quot;Immunization recommendation status&quot; = &quot;Complete&quot;\n&quot;Completed the primary vaccination series&quot; = TRUE (where &quot;Vaccine type&quot; = &quot;Hepatitis A-containing vaccines&quot;)\n*/\ndefine &quot;Hepatitis A immunization schedule is complete&quot;:\n  Encounter.&quot;One hepatitis A primary series dose was administered&quot;\n\n/*\n@output: Hepatitis A immunization schedule is complete Guidance\n@guidance: Hepatitis A immunization schedule is complete. One hepatitis A primary series dose was administered. \nCheck for any other vaccines due.\n*/\ndefine &quot;Hepatitis A immunization schedule is complete Guidance&quot;:\n  'Hepatitis A immunization schedule is complete. One hepatitis A primary series dose was administered. \nCheck for any other vaccines due.'\n\n\n/*\n@test: Test expected results based on example patients\n*/\ndefine &quot;Test Validation&quot;:\n  case\n    when Patient.id = 'HepatitisA30.1' then &quot;Client is not due for Hepatitis A vaccination Case 1&quot; and &quot;Guidance&quot; = 'Should not vaccinate client with Hepatitis A dose as client\\'s age is less than 18 months. \nCheck for any other vaccines due and inform the caregiver of when to come back for the first dose.'\n    when Patient.id = 'HepatitisA31.3' then &quot;Client is not due for Hepatitis A vaccination Case 2&quot; and &quot;Guidance&quot; = 'Should not vaccinate client with Hepatitis A dose as live vaccine was administered in the last 4 weeks. \nCheck for any other vaccines due and inform the caregiver of when to come back for the first dose.'\n    when Patient.id = 'HepatitisA32.3' then &quot;Client is due for Hepatitis A vaccination&quot; and &quot;Guidance&quot; = 'Should vaccinate client with hepatitis A dose as no Hepatitis A dose was administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. \nCheck for contraindications.'\n    when Patient.id = 'HepatitisA33.1' then &quot;Hepatitis A immunization schedule is complete&quot; and &quot;Guidance&quot; = 'Hepatitis A immunization schedule is complete. One hepatitis A primary series dose was administered. \nCheck for any other vaccines due.'\n    else 'No test case set'\n  end\n</code></pre></td></tr>\n            </table>\n          </td>\n        </tr>\n        \n        \n        \n    </table>\n</div>\n</div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability",
    "valueCode" : "computable"
  }],
  "url" : "http://smart.who.int/immunizations/Library/IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic",
  "version" : "1.0.0",
  "name" : "IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic",
  "title" : "IMMZD2DTHepatitisALiveAttenuatedHAV1DoseLogic",
  "status" : "draft",
  "experimental" : false,
  "type" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/library-type",
      "code" : "logic-library"
    }]
  },
  "date" : "2026-03-31T13:54:17+00:00",
  "publisher" : "WHO",
  "contact" : [{
    "name" : "WHO",
    "telecom" : [{
      "system" : "url",
      "value" : "http://who.int"
    }]
  }],
  "description" : "This library defines decision support logic for the IMMZ.D2.DT.Hepatitis A.Live attenuated HAV 1 dose decision table in the Immunization CPG",
  "relatedArtifact" : [{
    "type" : "depends-on",
    "display" : "Library Encounter",
    "resource" : "http://smart.who.int/immunizations/Library/IMMZD2DTHepatitisAEncounterElements"
  }],
  "parameter" : [{
    "name" : "Today",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "type" : "date"
  },
  {
    "name" : "Patient",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "Patient"
  },
  {
    "name" : "Client is not due for Hepatitis A vaccination Case 1",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "boolean"
  },
  {
    "name" : "Client is not due for Hepatitis A vaccination Case 2",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "boolean"
  },
  {
    "name" : "Client is not due for Hepatitis A vaccination",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "boolean"
  },
  {
    "name" : "Client is not due for Hepatitis A vaccination Guidance",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "string"
  },
  {
    "name" : "Client is due for Hepatitis A vaccination",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "boolean"
  },
  {
    "name" : "Client is due for Hepatitis A vaccination Guidance",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "string"
  },
  {
    "name" : "Hepatitis A immunization schedule is complete",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "boolean"
  },
  {
    "name" : "Hepatitis A immunization schedule is complete Guidance",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "string"
  },
  {
    "name" : "Guidance",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "string"
  },
  {
    "name" : "Has Guidance",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "boolean"
  },
  {
    "name" : "Test Validation",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "type" : "Resource"
  }],
  "content" : [{
    "contentType" : "text/cql",
    "data" : "LyoKICogTGlicmFyeTogSU1NWkQyRFRIZXBhdGl0aXNBTGl2ZUF0dGVudWF0ZWRIQVYxRG9zZUxvZ2ljIChJTU1aLkQyLk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