WHO Immunization Implementation Guide
0.1.0 - CI Build International flag

WHO Immunization Implementation Guide, published by World Health Organization (WHO). This guide is not an authorized publication; it is the continuous build for version 0.1.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 and changes regularly. See the Directory of published versions

: null - TTL Representation

Draft as of 2024-05-30

Raw ttl | Download


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

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

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "IMMZD1MeaslesLMToResources"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1MeaslesLMToResources<span style=\"color: navy\">&quot; = &quot;</span>IMMZD1MeaslesLMToResources<span style=\"color: navy\">&quot;\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-IMMZD1ClientHistoryMeasles.html\" title=\"IMMZ.D1 Capture Client History for Measles\">http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZD1ClientHistoryMeasles</a><span style=\"color: navy\">&quot; </span><b>alias </b>IMMZD1 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style=\"color: navy\">&quot; </span><b>alias </b>Bundle <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-IMMZD1LMToResources.html\" title=\"IMMZD1LMToResources\">http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1LMToResources</a><span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>MeaslesIMMZD1ToBundle<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">immz</span><span style=\"color: navy\"> : </span>IMMZD1, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><b> extends </b>IMMZD1ToBundle<span style=\"color: navy\"> {\r\n</span>  immz.patient<b> as </b><span style=\"color: maroon\">patient</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    immz.severelyImmunosuppressed<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span> bundle.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\">, </span> entry.resource = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obs</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      patient<span style=\"color: navy\"><b> -&gt; </b></span>obs.subject = <span style=\"color: maroon\">patient</span> <i>&quot;SetPatient&quot;</i><span style=\"color: navy\">;</span>\r\n      content<span style=\"color: navy\"><b> -&gt; </b></span>obs.code<b> as </b><span style=\"color: maroon\">code</span><b> then</b><span style=\"color: navy\"> {\r\n</span>        content<span style=\"color: navy\"><b> -&gt; </b></span>code.coding<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span>          content<span style=\"color: navy\"><b> -&gt; </b></span>coding.system = <span style=\"color: blue\">'http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1'</span> <i>&quot;SetObsSystem&quot;</i><span style=\"color: navy\">;</span>\r\n          content<span style=\"color: navy\"><b> -&gt; </b></span>coding.code = <span style=\"color: blue\">'DE92'</span> <i>&quot;SetObsCode&quot;</i><span style=\"color: navy\">;</span>\r\n        <span style=\"color: navy\">}</span> <i>&quot;SetObsCoding&quot;</i><span style=\"color: navy\">;</span>\r\n      <span style=\"color: navy\">}</span> <i>&quot;SetObsCode&quot;</i><span style=\"color: navy\">;</span>\r\n      content<span style=\"color: navy\"><b> -&gt; </b></span>obs.value = <span style=\"color: maroon\">content</span> <i>&quot;SetValue&quot;</i><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;SetSeverelyImmunosuppressedObservation&quot;</i><span style=\"color: navy\">;</span>\r\n    immz.artStartDate<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span> bundle.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\">, </span> entry.resource = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obs</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      patient<span style=\"color: navy\"><b> -&gt; </b></span>obs.subject = <span style=\"color: maroon\">patient</span> <i>&quot;SetPatient&quot;</i><span style=\"color: navy\">;</span>\r\n      content<span style=\"color: navy\"><b> -&gt; </b></span>obs.code<b> as </b><span style=\"color: maroon\">code</span><b> then</b><span style=\"color: navy\"> {\r\n</span>        content<span style=\"color: navy\"><b> -&gt; </b></span>code.coding<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span>          content<span style=\"color: navy\"><b> -&gt; </b></span>coding.system = <span style=\"color: blue\">'http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1'</span> <i>&quot;SetObsSystem&quot;</i><span style=\"color: navy\">;</span>\r\n          content<span style=\"color: navy\"><b> -&gt; </b></span>coding.code = <span style=\"color: blue\">'DE49'</span> <i>&quot;SetObsCode&quot;</i><span style=\"color: navy\">;</span>\r\n        <span style=\"color: navy\">}</span> <i>&quot;SetObsCoding&quot;</i><span style=\"color: navy\">;</span>\r\n      <span style=\"color: navy\">}</span> <i>&quot;SetObsCode&quot;</i><span style=\"color: navy\">;</span>\r\n      content<span style=\"color: navy\"><b> -&gt; </b></span>obs.value = <span style=\"color: maroon\">content</span> <i>&quot;SetValue&quot;</i><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;SetARTDateObservation&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;GetPatient&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  ] ; # 
  fhir:url [ fhir:v "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1MeaslesLMToResources"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "IMMZD1MeaslesLMToResources"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2024-05-30T21:26:16+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "World Health Organization (WHO)"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "World Health Organization (WHO)" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.who.int" ]     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZD1ClientHistoryMeasles"^^xsd:anyURI ;
fhir:link <http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZD1ClientHistoryMeasles>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "IMMZD1" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "Bundle" ]
  ] ) ; # 
  fhir:import ( [
fhir:v "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1LMToResources"^^xsd:anyURI ;
fhir:link <http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1LMToResources>
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "MeaslesIMMZD1ToBundle" ] ;
fhir:extends [ fhir:v "IMMZD1ToBundle" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "immz" ] ;
fhir:type [ fhir:v "IMMZD1" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "bundle" ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "GetPatient" ] ;
      ( fhir:source [
fhir:context [ fhir:v "immz" ] ;
fhir:element [ fhir:v "patient" ] ;
fhir:variable [ fhir:v "patient" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "SetSeverelyImmunosuppressedObservation" ] ;
        ( fhir:source [
fhir:context [ fhir:v "immz" ] ;
fhir:element [ fhir:v "severelyImmunosuppressed" ] ;
fhir:variable [ fhir:v "content" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "bundle" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "entry" ]         ] [
fhir:context [ fhir:v "entry" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "resource" ] ;
fhir:variable [ fhir:v "obs" ] ;
fhir:transform [ fhir:v "create" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "Observation" ]           ] )         ] ) ;
        ( fhir:rule [
fhir:name [ fhir:v "SetPatient" ] ;
          ( fhir:source [
fhir:context [ fhir:v "patient" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "obs" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "subject" ] ;
fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "patient" ]             ] )           ] )         ] [
fhir:name [ fhir:v "SetObsCode" ] ;
          ( fhir:source [
fhir:context [ fhir:v "content" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "obs" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "code" ]           ] ) ;
          ( fhir:rule [
fhir:name [ fhir:v "SetObsCoding" ] ;
            ( fhir:source [
fhir:context [ fhir:v "content" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "code" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]             ] ) ;
            ( fhir:rule [
fhir:name [ fhir:v "SetObsSystem" ] ;
              ( fhir:source [
fhir:context [ fhir:v "content" ]               ] ) ;
              ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
fhir:value [ fhir:v "http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1" ]                 ] )               ] )             ] [
fhir:name [ fhir:v "SetObsCode" ] ;
              ( fhir:source [
fhir:context [ fhir:v "content" ]               ] ) ;
              ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
fhir:value [ fhir:v "DE92" ]                 ] )               ] )             ] )           ] )         ] [
fhir:name [ fhir:v "SetValue" ] ;
          ( fhir:source [
fhir:context [ fhir:v "content" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "obs" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "content" ]             ] )           ] )         ] )       ] [
fhir:name [ fhir:v "SetARTDateObservation" ] ;
        ( fhir:source [
fhir:context [ fhir:v "immz" ] ;
fhir:element [ fhir:v "artStartDate" ] ;
fhir:variable [ fhir:v "content" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "bundle" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "entry" ]         ] [
fhir:context [ fhir:v "entry" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "resource" ] ;
fhir:variable [ fhir:v "obs" ] ;
fhir:transform [ fhir:v "create" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "Observation" ]           ] )         ] ) ;
        ( fhir:rule [
fhir:name [ fhir:v "SetPatient" ] ;
          ( fhir:source [
fhir:context [ fhir:v "patient" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "obs" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "subject" ] ;
fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "patient" ]             ] )           ] )         ] [
fhir:name [ fhir:v "SetObsCode" ] ;
          ( fhir:source [
fhir:context [ fhir:v "content" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "obs" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "code" ]           ] ) ;
          ( fhir:rule [
fhir:name [ fhir:v "SetObsCoding" ] ;
            ( fhir:source [
fhir:context [ fhir:v "content" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "code" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]             ] ) ;
            ( fhir:rule [
fhir:name [ fhir:v "SetObsSystem" ] ;
              ( fhir:source [
fhir:context [ fhir:v "content" ]               ] ) ;
              ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
fhir:value [ fhir:v "http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1" ]                 ] )               ] )             ] [
fhir:name [ fhir:v "SetObsCode" ] ;
              ( fhir:source [
fhir:context [ fhir:v "content" ]               ] ) ;
              ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
fhir:value [ fhir:v "DE49" ]                 ] )               ] )             ] )           ] )         ] [
fhir:name [ fhir:v "SetValue" ] ;
          ( fhir:source [
fhir:context [ fhir:v "content" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "obs" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "content" ]             ] )           ] )         ] )       ] )     ] )
  ] ) . #