NPHCDA Immunization FHIR IG
0.9.0 - ci-build Nigeria flag

NPHCDA Immunization FHIR IG, published by https://nphcda.gov.ng. This guide is not an authorized publication; it is the continuous build for version 0.9.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Nigeria-FHIR-Community/NPHCDA-ImmunizationIG/ and changes regularly. See the Directory of published versions

: StructureMap: AdministerVaccine to FHIR Resources - TTL Representation

Active as of 2026-10-07

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 -------------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/adminvaccine-to-immunization> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "adminvaccine-to-immunization"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap adminvaccine-to-immunization</b></p><a name=\"adminvaccine-to-immunization\"> </a><a name=\"hcadminvaccine-to-immunization\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureMap/adminvaccine-to-immunization<span style=\"color: navy\">\" = \"</span>AdministerVaccineToFHIRResources<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Map logical AdministerVaccine to NgImmImmunization, NgImmLocation, NgImmPractitioner, and NgImmEncounter profiles</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureDefinition/administervaccine<span style=\"color: navy\">\" </span><b>alias </b>AV <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-immunization<span style=\"color: navy\">\" </span><b>alias </b>IMM <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-location<span style=\"color: navy\">\" </span><b>alias </b>LOC <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-practitioner<span style=\"color: navy\">\" </span><b>alias </b>PRAC <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ng-imm-encounter.html\" title=\"NG-Imm Encounter\">https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-encounter</a><span style=\"color: navy\">\" </span><b>alias </b>ENC <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-register-client-model.html\" title=\"NG-Imm-C5 RegisterClient\">https://nphcda.gov.ng/ig/StructureDefinition/register-client-model</a><span style=\"color: navy\">\" </span><b>alias </b>RCM <b>as </b><b>source</b>#xD;\n#xD;\n<b>group </b>RegisterClientToEncounter<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">RCM</span>, <b>target</b> <span style=\"color: maroon\">ENC</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  RCM.pregnancyStatus<span style=\"color: navy\"><b> -&gt; </b></span>ENC.`extension.valueCodeableConcept` = <span style=\"color: blue\">'https://nphcda.gov.ng/ig/StructureDefinition/NGPregnancyStatus'</span> <i>\"SetPregnancyStatus\"</i><span style=\"color: navy\">;</span>#xD;\n  RCM.hivStatus<span style=\"color: navy\"><b> -&gt; </b></span>ENC.`extension.valueCodeableConcept` = <span style=\"color: blue\">'https://nphcda.gov.ng/ig/StructureDefinition/NGHIVStatus'</span> <i>\"SetHIVStatus\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>administerVaccineToImmunization<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">AV</span>, <b>target</b> <span style=\"color: maroon\">IMM</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  AV.vaccineType<span style=\"color: navy\"><b> -&gt; </b></span>IMM.vaccineCode = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"vaccineCode\"</i><span style=\"color: navy\">;</span>#xD;\n  AV.contraindicated<span style=\"color: navy\"><b> -&gt; </b></span>IMM.doNotPerform = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  AV.contraindications<span style=\"color: navy\"><b> -&gt; </b></span>IMM.reasonCode = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  AV.vaccinationDateTime<span style=\"color: navy\"><b> -&gt; </b></span>IMM.occurrenceDateTime = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"occurrenceDateTime\"</i><span style=\"color: navy\">;</span>#xD;\n  AV.vaccineBatchNumber<span style=\"color: navy\"><b> -&gt; </b></span>IMM.lotNumber = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"lotNumber\"</i><span style=\"color: navy\">;</span>#xD;\n  AV.expirationDate<span style=\"color: navy\"><b> -&gt; </b></span>IMM.expirationDate = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  AV.siteAdministered<span style=\"color: navy\"><b> -&gt; </b></span>IMM.site = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"site\"</i><span style=\"color: navy\">;</span>#xD;\n  AV.routeOfAdministration<span style=\"color: navy\"><b> -&gt; </b></span>IMM.route = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"route\"</i><span style=\"color: navy\">;</span>#xD;\n  AV.doseQuantity<span style=\"color: navy\"><b> -&gt; </b></span>IMM.doseQuantity = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>administerVaccineToLocation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">AV</span>, <b>target</b> <span style=\"color: maroon\">LOC</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  AV.nameOfHealthFacility<span style=\"color: navy\"><b> -&gt; </b></span>LOC.name = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"locationName\"</i><span style=\"color: navy\">;</span>#xD;\n  AV.facilityType<span style=\"color: navy\"><b> -&gt; </b></span>LOC.type = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>administerVaccineToPractitioner<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">AV</span>, <b>target</b> <span style=\"color: maroon\">PRAC</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  AV.healthWorkerIdentifier<span style=\"color: navy\"><b> -&gt; </b></span>PRAC.`identifier.value` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"identifier\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>administerVaccineToEncounter<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">AV</span>, <b>target</b> <span style=\"color: maroon\">ENC</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  AV.sessionType<span style=\"color: navy\"><b> -&gt; </b></span>ENC.class = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  AV.vaccinationDateTime<span style=\"color: navy\"><b> -&gt; </b></span>ENC.`period.start` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"periodStartEnd\"</i><span style=\"color: navy\">;</span>#xD;\n  AV.vaccinationDateTime<span style=\"color: navy\"><b> -&gt; </b></span>ENC.`period.end` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"periodEnd\"</i><span style=\"color: navy\">;</span>#xD;\n  AV<span style=\"color: navy\"><b> -&gt; </b></span>ENC.status = <span style=\"color: blue\">'finished'</span> <i>\"status\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
  ] ;
  fhir:StructureMap.url [ fhir:value "https://nphcda.gov.ng/ig/StructureMap/adminvaccine-to-immunization"] ;
  fhir:StructureMap.version [ fhir:value "0.9.0"] ;
  fhir:StructureMap.name [ fhir:value "AdministerVaccineToFHIRResources"] ;
  fhir:StructureMap.title [ fhir:value "StructureMap: AdministerVaccine to FHIR Resources"] ;
  fhir:StructureMap.status [ fhir:value "active"] ;
  fhir:StructureMap.date [ fhir:value "2026-10-07T17:14:18+00:00"^^xsd:dateTime] ;
  fhir:StructureMap.publisher [ fhir:value "https://nphcda.gov.ng"] ;
  fhir:StructureMap.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "https://nphcda.gov.ng" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://nphcda.gov.ng" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "kasim.sani@nphcda.gov.ng" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "Nigeria Primary Healthcare Development Agency." ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "kasim.sani@nphcda.gov.ng" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ] ;
  fhir:StructureMap.description [ fhir:value "Map logical AdministerVaccine to NgImmImmunization, NgImmLocation, NgImmPractitioner, and NgImmEncounter profiles"] ;
  fhir:StructureMap.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "NG" ] ;
       fhir:Coding.display [ fhir:value "Nigeria" ]
     ]
  ] ;
  fhir:StructureMap.structure [
     fhir:index 0 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/administervaccine" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/administervaccine>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "AV" ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-immunization" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-immunization>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "IMM" ]
  ], [
     fhir:index 2 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-location" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-location>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "LOC" ]
  ], [
     fhir:index 3 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-practitioner" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-practitioner>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "PRAC" ]
  ], [
     fhir:index 4 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-encounter" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/ng-imm-encounter>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "ENC" ]
  ], [
     fhir:index 5 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/register-client-model" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/register-client-model>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "RCM" ]
  ] ;
  fhir:StructureMap.group [
     fhir:index 0 ;
     fhir:StructureMap.group.name [ fhir:value "RegisterClientToEncounter" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "RCM" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "ENC" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetPregnancyStatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RCM" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "pregnancyStatus" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ENC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "extension.valueCodeableConcept" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/NGPregnancyStatus" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetHIVStatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RCM" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "hivStatus" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ENC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "extension.valueCodeableConcept" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/NGHIVStatus" ]
         ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.group.name [ fhir:value "administerVaccineToImmunization" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "AV" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "IMM" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "vaccineCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "vaccineType" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "vaccineCode" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "contraindicated" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "contraindicated" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "doNotPerform" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "contraindications" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "contraindications" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reasonCode" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "occurrenceDateTime" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "vaccinationDateTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "occurrenceDateTime" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "lotNumber" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "vaccineBatchNumber" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "lotNumber" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "expirationDate" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "expirationDate" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "expirationDate" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "site" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "siteAdministered" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "site" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "route" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "routeOfAdministration" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "route" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "doseQuantity" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "doseQuantity" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "IMM" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "doseQuantity" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:StructureMap.group.name [ fhir:value "administerVaccineToLocation" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "AV" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "LOC" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "locationName" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "nameOfHealthFacility" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "LOC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "facilityType" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "facilityType" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "LOC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ]
  ], [
     fhir:index 3 ;
     fhir:StructureMap.group.name [ fhir:value "administerVaccineToPractitioner" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "AV" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "PRAC" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "healthWorkerIdentifier" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "PRAC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "identifier.value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ]
  ], [
     fhir:index 4 ;
     fhir:StructureMap.group.name [ fhir:value "administerVaccineToEncounter" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "AV" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "ENC" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "sessionType" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "sessionType" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ENC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "class" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "periodStartEnd" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "vaccinationDateTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ENC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "period.start" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "periodEnd" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "vaccinationDateTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ENC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "period.end" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "AV" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ENC" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "finished" ]
         ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/adminvaccine-to-immunization.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureMap/adminvaccine-to-immunization.ttl> .