@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 -------------------------------------------------------------------

<http://smart.who.int/immunizations/ValueSet/IMMZD2DTTyphoidTy21aVS> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "IMMZD2DTTyphoidTy21aVS"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ValueSet IMMZD2DTTyphoidTy21aVS</b></p><a name=\"IMMZD2DTTyphoidTy21aVS\"> </a><a name=\"hcIMMZD2DTTyphoidTy21aVS\"> </a><p>This value set expansion contains 12 concepts.</p><table class=\"codes\"><tr><td><b>System</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Client's|20age|20is|20less|20than|206|20years-40\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Client.39sageislessthan6years-40\">Client's age is less than 6 years-40</a></td><td>Client's age is less than 6 years</td><td><div><p>Today's date − \"Date of birth\" &lt; 6 years</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Client|20is|20not|20due|20for|20Typhoid|20vaccination-48\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-ClientisnotdueforTyphoidvaccination-48\">Client is not due for Typhoid vaccination-48</a></td><td>Client is not due for Typhoid vaccination</td><td><div><p>\"Immunization recommendation status\" = \"Not due\"</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Client's|20age|20is|20more|20than|20or|20equal|20to|206|20years-40\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Client.39sageismorethanorequalto6years-40\">Client's age is more than or equal to 6 years-40</a></td><td>Client's age is more than or equal to 6 years</td><td><div><p>Today's date − \"Date of birth\" ≥ 6 years</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Primary|20series|20is|20not|20complete-93\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Primaryseriesisnotcomplete-93\">Primary series is not complete-93</a></td><td>Primary series is not complete</td><td><div><p>\"Completed the primary vaccination series\" (where \"Vaccine type\" = \"Typhoid vaccines\") ≠ TRUE</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-No|20live|20vaccine,|20other|20than|20typhoid,|20was|20administered|20in|20the|20past|204|20weeks-132\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Nolivevaccine.44otherthantyphoid.44wasadministeredinthepast4weeks-132\">No live vaccine, other than typhoid, was administered in the past 4 weeks-132</a></td><td>No live vaccine, other than typhoid, was administered in the past 4 weeks</td><td><div><p>Today's date − latest \"Date and time of vaccination\" (where \"Live vaccine\" = TRUE AND \"Vaccine type\" ≠ \"Typhoid vaccines\") ≥ 4 weeks</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Client|20is|20due|20for|20Typhoid|20vaccination-44\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-ClientisdueforTyphoidvaccination-44\">Client is due for Typhoid vaccination-44</a></td><td>Client is due for Typhoid vaccination</td><td><div><p>\"Immunization recommendation status\" = \"Due\"</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Live|20vaccine,|20other|20than|20typhoid,|20was|20administered|20in|20the|20past|204|20weeks-132\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Livevaccine.44otherthantyphoid.44wasadministeredinthepast4weeks-132\">Live vaccine, other than typhoid, was administered in the past 4 weeks-132</a></td><td>Live vaccine, other than typhoid, was administered in the past 4 weeks</td><td><div><p>Today's date − latest \"Date and time of vaccination\" (where \"Live vaccine\" = TRUE AND \"Vaccine type\" ≠ \"Typhoid vaccines\") &lt; 4 weeks</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Primary|20series|20is|20complete-93\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Primaryseriesiscomplete-93\">Primary series is complete-93</a></td><td>Primary series is complete</td><td><div><p>\"Completed the primary vaccination series\" (where \"Vaccine type\" = \"Typhoid vaccines\") = TRUE</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-The|20latest|20typhoid|20dose|20was|20administered|20less|20than|203|20years|20ago-106\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Thelatesttyphoiddosewasadministeredlessthan3yearsago-106\">The latest typhoid dose was administered less than 3 years ago-106</a></td><td>The latest typhoid dose was administered less than 3 years ago</td><td><div><p>Today's date − latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Typhoid vaccines\") &lt; 3 years</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Client|20is|20not|20due|20for|20typhoid|20booster|20dose-48\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Clientisnotduefortyphoidboosterdose-48\">Client is not due for typhoid booster dose-48</a></td><td>Client is not due for typhoid booster dose</td><td><div><p>\"Immunization recommendation status\" = \"Not due\"</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-The|20latest|20typhoid|20dose|20was|20administered|20more|20than|203|20years|20ago-106\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Thelatesttyphoiddosewasadministeredmorethan3yearsago-106\">The latest typhoid dose was administered more than 3 years ago-106</a></td><td>The latest typhoid dose was administered more than 3 years ago</td><td><div><p>Today's date − latest \"Date and time of vaccination\" (where \"Vaccine type\" = \"Typhoid vaccines\") ≥ 3 years</p>\n</div></td></tr><tr><td><a name=\"IMMZD2DTTyphoidTy21aVS-http://smart.who.int/immunizations/CodeSystem/IMMZDAK-Client|20is|20due|20for|20typhoid|20booster|20dose-44\"> </a><code>http://smart.who.int/immunizations/CodeSystem/IMMZDAK</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-IMMZDAK.html#IMMZDAK-Clientisduefortyphoidboosterdose-44\">Client is due for typhoid booster dose-44</a></td><td>Client is due for typhoid booster dose</td><td><div><p>\"Immunization recommendation status\" = \"Due\"</p>\n</div></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://smart.who.int/immunizations/ValueSet/IMMZD2DTTyphoidTy21aVS"^^xsd:anyURI ;
     fhir:l <http://smart.who.int/immunizations/ValueSet/IMMZD2DTTyphoidTy21aVS>
  ] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "IMMZD2DTTyphoidTy21aVS"] ; # 
  fhir:title [ fhir:v "IMMZD2DTTyphoidTy21a ValueSet for Decision Table"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2026-03-31T13:54:17+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 "ValueSet IMMZD2DTTyphoidTy21a for IMMZ.D2.DT.Typhoid.Ty21a.\nBusiness rule: Determine if the client is due for a typhoid vaccination according to the national immunization schedule\nTrigger: IMMZ.D2 Determine required vaccination(s) if any\nTable: Live attenuated Ty21a vaccine schedule"] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "Client's age is less than 6 years-40" ] ;
         fhir:display [ fhir:v "Client's age is less than 6 years" ]
       ] [
         fhir:code [ fhir:v "Client is not due for Typhoid vaccination-48" ] ;
         fhir:display [ fhir:v "Client is not due for Typhoid vaccination" ]
       ] [
         fhir:code [ fhir:v "Client's age is more than or equal to 6 years-40" ] ;
         fhir:display [ fhir:v "Client's age is more than or equal to 6 years" ]
       ] [
         fhir:code [ fhir:v "Primary series is not complete-93" ] ;
         fhir:display [ fhir:v "Primary series is not complete" ]
       ] [
         fhir:code [ fhir:v "No live vaccine, other than typhoid, was administered in the past 4 weeks-132" ] ;
         fhir:display [ fhir:v "No live vaccine, other than typhoid, was administered in the past 4 weeks" ]
       ] [
         fhir:code [ fhir:v "Client is due for Typhoid vaccination-44" ] ;
         fhir:display [ fhir:v "Client is due for Typhoid vaccination" ]
       ] [
         fhir:code [ fhir:v "Live vaccine, other than typhoid, was administered in the past 4 weeks-132" ] ;
         fhir:display [ fhir:v "Live vaccine, other than typhoid, was administered in the past 4 weeks" ]
       ] [
         fhir:code [ fhir:v "Primary series is complete-93" ] ;
         fhir:display [ fhir:v "Primary series is complete" ]
       ] [
         fhir:code [ fhir:v "The latest typhoid dose was administered less than 3 years ago-106" ] ;
         fhir:display [ fhir:v "The latest typhoid dose was administered less than 3 years ago" ]
       ] [
         fhir:code [ fhir:v "Client is not due for typhoid booster dose-48" ] ;
         fhir:display [ fhir:v "Client is not due for typhoid booster dose" ]
       ] [
         fhir:code [ fhir:v "The latest typhoid dose was administered more than 3 years ago-106" ] ;
         fhir:display [ fhir:v "The latest typhoid dose was administered more than 3 years ago" ]
       ] [
         fhir:code [ fhir:v "Client is due for typhoid booster dose-44" ] ;
         fhir:display [ fhir:v "Client is due for typhoid booster dose" ]
       ] )
     ] )
  ] ; # 
  fhir:expansion [
     fhir:timestamp [ fhir:v "2025-09-29T20:59:26.458Z"^^xsd:dateTime ] ;
     fhir:contains ( [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Client's age is less than 6 years-40" ] ;
       fhir:display [ fhir:v "Client's age is less than 6 years" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Client is not due for Typhoid vaccination-48" ] ;
       fhir:display [ fhir:v "Client is not due for Typhoid vaccination" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Client's age is more than or equal to 6 years-40" ] ;
       fhir:display [ fhir:v "Client's age is more than or equal to 6 years" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Primary series is not complete-93" ] ;
       fhir:display [ fhir:v "Primary series is not complete" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "No live vaccine, other than typhoid, was administered in the past 4 weeks-132" ] ;
       fhir:display [ fhir:v "No live vaccine, other than typhoid, was administered in the past 4 weeks" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Client is due for Typhoid vaccination-44" ] ;
       fhir:display [ fhir:v "Client is due for Typhoid vaccination" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Live vaccine, other than typhoid, was administered in the past 4 weeks-132" ] ;
       fhir:display [ fhir:v "Live vaccine, other than typhoid, was administered in the past 4 weeks" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Primary series is complete-93" ] ;
       fhir:display [ fhir:v "Primary series is complete" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "The latest typhoid dose was administered less than 3 years ago-106" ] ;
       fhir:display [ fhir:v "The latest typhoid dose was administered less than 3 years ago" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Client is not due for typhoid booster dose-48" ] ;
       fhir:display [ fhir:v "Client is not due for typhoid booster dose" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "The latest typhoid dose was administered more than 3 years ago-106" ] ;
       fhir:display [ fhir:v "The latest typhoid dose was administered more than 3 years ago" ]
     ] [
       fhir:system [
         fhir:v "http://smart.who.int/immunizations/CodeSystem/IMMZDAK"^^xsd:anyURI ;
         fhir:l <http://smart.who.int/immunizations/CodeSystem/IMMZDAK>
       ] ;
       fhir:code [ fhir:v "Client is due for typhoid booster dose-44" ] ;
       fhir:display [ fhir:v "Client is due for typhoid booster dose" ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

