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: RegisterClientModel to NgImmPatient - 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/registerclientmodel-to-ngimmpatient> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "registerclientmodel-to-ngimmpatient"] ;
  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 registerclientmodel-to-ngimmpatient</b></p><a name=\"registerclientmodel-to-ngimmpatient\"> </a><a name=\"hcregisterclientmodel-to-ngimmpatient\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureMap/registerclientmodel-to-ngimmpatient<span style=\"color: navy\">\" = \"</span>RegisterClientModelToNgImmPatient<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Map logical RegisterClientModel to NgImmPatient profile</span>#xD;\n#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<b>uses</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureDefinition-NgImmPatient<span style=\"color: navy\">\" </span><b>alias </b>Patient <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>RCMToNgImmPatient<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">rcm</span>, <b>target</b> <span style=\"color: maroon\">patient</span><span style=\"color: navy\"> : </span>Patient<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  rcm.identifier<span style=\"color: navy\"><b> -&gt; </b></span>patient.`identifier.value` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`name.given`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`name.given` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetGivenName\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`name.family`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`name.family` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetFamilyName\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.sex<span style=\"color: navy\"><b> -&gt; </b></span>patient.gender = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'https://nphcda.gov.ng/ig/ConceptMap/RCMSexToAdministrativeGender'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>\"SetGender\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.dateOfBirth<span style=\"color: navy\"><b> -&gt; </b></span>patient.birthDate = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetBirthDate\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`address.residentialAddress`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`address.line` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetAddressLine\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`address.town`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`address.city` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetCity\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`address.ward`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`address.ward` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetWard\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`address.state`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`address.state` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetState\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`contact.name.given`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`contact.name.given` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetCaregiverGiven\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`contact.name.family`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`contact.name.family` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetCaregiverFamily\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`contact.telecom.value`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`contact.telecom.value` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetCaregiverPhone\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.`contact.relationship.text`<span style=\"color: navy\"><b> -&gt; </b></span>patient.`contact.relationship.text` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SetCaregiverRelationship\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.ageInWeeks<span style=\"color: navy\"><b> -&gt; </b></span>patient.`extension.valueInteger` = <span style=\"color: blue\">'https://nphcda.gov.ng/ig/StructureDefinition/NGAgeInWeeks'</span> <i>\"SetAgeInWeeks\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.ageInMonths<span style=\"color: navy\"><b> -&gt; </b></span>patient.`extension.valueInteger` = <span style=\"color: blue\">'https://nphcda.gov.ng/ig/StructureDefinition/NGAgeInMonths'</span> <i>\"SetAgeInMonths\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.ageInYears<span style=\"color: navy\"><b> -&gt; </b></span>patient.`extension.valueInteger` = <span style=\"color: blue\">'https://nphcda.gov.ng/ig/StructureDefinition/NGAgeInYears'</span> <i>\"SetAgeInYears\"</i><span style=\"color: navy\">;</span>#xD;\n  rcm.weightAtBirth<span style=\"color: navy\"><b> -&gt; </b></span>patient.`extension.valueQuantity` = <span style=\"color: blue\">'https://nphcda.gov.ng/ig/StructureDefinition/NGBirthWeight'</span> <i>\"SetWeightAtBirth\"</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/registerclientmodel-to-ngimmpatient"] ;
  fhir:StructureMap.version [ fhir:value "0.9.0"] ;
  fhir:StructureMap.name [ fhir:value "RegisterClientModelToNgImmPatient"] ;
  fhir:StructureMap.title [ fhir:value "StructureMap: RegisterClientModel to NgImmPatient"] ;
  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 RegisterClientModel to NgImmPatient profile"] ;
  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/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:index 1 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition-NgImmPatient" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition-NgImmPatient>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Patient" ]
  ] ;
  fhir:StructureMap.group [
     fhir:index 0 ;
     fhir:StructureMap.group.name [ fhir:value "RCMToNgImmPatient" ] ;
     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 "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetIdentifier" ] ;
       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 "identifier" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         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 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetGivenName" ] ;
       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 "name.given" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "name.given" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetFamilyName" ] ;
       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 "name.family" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "name.family" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetGender" ] ;
       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 "sex" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "gender" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://nphcda.gov.ng/ig/ConceptMap/RCMSexToAdministrativeGender" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "code" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetBirthDate" ] ;
       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 "dateOfBirth" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetAddressLine" ] ;
       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 "address.residentialAddress" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "address.line" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetCity" ] ;
       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 "address.town" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "address.city" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetWard" ] ;
       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 "address.ward" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "address.ward" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetState" ] ;
       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 "address.state" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "address.state" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetCaregiverGiven" ] ;
       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 "contact.name.given" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "contact.name.given" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetCaregiverFamily" ] ;
       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 "contact.name.family" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "contact.name.family" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetCaregiverPhone" ] ;
       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 "contact.telecom.value" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "contact.telecom.value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetCaregiverRelationship" ] ;
       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 "contact.relationship.text" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "contact.relationship.text" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetAgeInWeeks" ] ;
       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 "ageInWeeks" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "extension.valueInteger" ] ;
         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/NGAgeInWeeks" ]
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetAgeInMonths" ] ;
       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 "ageInMonths" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "extension.valueInteger" ] ;
         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/NGAgeInMonths" ]
         ]
       ]
     ], [
       fhir:index 15 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetAgeInYears" ] ;
       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 "ageInYears" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "extension.valueInteger" ] ;
         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/NGAgeInYears" ]
         ]
       ]
     ], [
       fhir:index 16 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetWeightAtBirth" ] ;
       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 "weightAtBirth" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "extension.valueQuantity" ] ;
         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/NGBirthWeight" ]
         ]
       ]
     ]
  ] .

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

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