Nigeria Immunization FHIR IG
0.1.0 - ci-build Nigeria flag

Nigeria Immunization FHIR IG, published by intellisoftkenya.com. 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/IntelliSOFT-Consulting/Nigeria-Immunization-FHIR-IG/ and changes regularly. See the Directory of published versions

: Example of an Update Client History Bundle - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleUpdateClientHistoryBundle"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://nhin.example.ng/StructureDefinition/immzc1-client-update-bundle"^^xsd:anyURI ;
fhir:link <http://nhin.example.ng/StructureDefinition/immzc1-client-update-bundle>     ] )
  ] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:immunization-1"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:immunization-1> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "NEIRImmunization"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:bcg-vaccine-stock-1"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:bcg-vaccine-stock-1> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "VaccineStockObservation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:observation-1"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:observation-1> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "NEIRUpdateClientHistoryObservation"^^xsd:anyURI ]     ]
  ] ) ; # 
  fhir:signature [
    ( fhir:type [
fhir:system [ fhir:v "urn:iso-astm:E1762-95:2013"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1.2.840.10065.1.12.1.1" ] ;
fhir:display [ fhir:v "Author's Signature" ]     ] ) ;
fhir:when [ fhir:v "2025-08-07T10:00:00Z"^^xsd:dateTime ] ;
fhir:who [
fhir:reference [ fhir:v "Practitioner/practitioner-example" ]     ] ;
fhir:targetFormat [ fhir:v "application/fhir+json" ] ;
fhir:sigFormat [ fhir:v "application/signature+xml" ] ;
fhir:data [ fhir:v "dGhpcyBpcyBhIHNpZ25hdHVyZQ=="^^xsd:base64Binary ]
  ] . # 

<urn:uuid:immunization-1> a fhir:Immunization ;
  fhir:id [ fhir:v "NEIRImmunizationExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://nhin.example.ng/StructureDefinition/NEIRImmunization"^^xsd:anyURI ;
fhir:link <http://nhin.example.ng/StructureDefinition/NEIRImmunization>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Immunization_NEIRImmunizationExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Immunization NEIRImmunizationExample</b></p><a name=\"NEIRImmunizationExample\"> </a><a name=\"hcNEIRImmunizationExample\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-NEIRImmunization.html\">Immunization Profile - NEIR</a></p></div><p><b>status</b>: Completed</p><p><b>vaccineCode</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/IMMZ.F.DE6 measles}\">Measles</span></p><p><b>patient</b>: <a href=\"Patient-NEIRPatientExample.html\">John Doe  Male, DoB: 2020-06-18 ( http://moh.nigeria/identifier/nationalID-no#NEIR-12345)</a></p><p><b>occurrence</b>: 2025-07-30 10:30:00+0300</p><p><b>location</b>: <a href=\"Location/NEIRlocationExample\">Location/NEIRlocationExample</a></p><p><b>manufacturer</b>: <a href=\"Organization/biovax-manufacturer\">BioVax Ltd.</a></p><p><b>lotNumber</b>: BATCH-00123</p><p><b>expirationDate</b>: 2026-01-01</p><p><b>site</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/IMMZ.D DE23}\">Left Arm</span></p><p><b>route</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/IMMZ.D DE30}\">Intramuscular</span></p><p><b>doseQuantity</b>: 0.5 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemL = 'mL')</span></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner/NEIRPractitionerExample\">Dr. Jane Mugo</a></td></tr></table><h3>ProtocolApplieds</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>TargetDisease</b></td><td><b>DoseNumber[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://nhin.example.ng/CodeSystem/IMMZ.F.DE6 measles}\">Measles</span></td><td>1</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:vaccineCode [
    ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/IMMZ.F.DE6"^^xsd:anyURI ] ;
fhir:code [ fhir:v "measles" ] ;
fhir:display [ fhir:v "Measles" ]     ] )
  ] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/NEIRPatientExample" ]
  ] ; # 
  fhir:occurrence [
a fhir:dateTime ;
fhir:v "2025-07-30T10:30:00+03:00"^^xsd:dateTime
  ] ; # 
  fhir:location [
fhir:reference [ fhir:v "Location/NEIRlocationExample" ]
  ] ; # 
  fhir:manufacturer [
fhir:reference [ fhir:v "Organization/biovax-manufacturer" ] ;
fhir:display [ fhir:v "BioVax Ltd." ]
  ] ; # 
  fhir:lotNumber [ fhir:v "BATCH-00123"] ; # 
  fhir:expirationDate [ fhir:v "2026-01-01"^^xsd:date] ; # 
  fhir:site [
    ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/IMMZ.D"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DE23" ] ;
fhir:display [ fhir:v "Left Arm" ]     ] )
  ] ; # 
  fhir:route [
    ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/IMMZ.D"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DE30" ] ;
fhir:display [ fhir:v "Intramuscular" ]     ] )
  ] ; # 
  fhir:doseQuantity [
fhir:value [ fhir:v 0.5 ] ;
fhir:unit [ fhir:v "mL" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mL" ]
  ] ; # 
  fhir:performer ( [
fhir:actor [
fhir:reference [ fhir:v "Practitioner/NEIRPractitionerExample" ] ;
fhir:display [ fhir:v "Dr. Jane Mugo" ]     ]
  ] ) ; # 
  fhir:protocolApplied ( [
    ( fhir:targetDisease [
      ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/IMMZ.F.DE6"^^xsd:anyURI ] ;
fhir:code [ fhir:v "measles" ] ;
fhir:display [ fhir:v "Measles" ]       ] )     ] ) ;
fhir:doseNumber [
a fhir:positiveInt ;
fhir:v "1"^^xsd:positiveInteger     ]
  ] ) . # 

<urn:uuid:bcg-vaccine-stock-1> a fhir:Observation ;
  fhir:id [ fhir:v "ExampleBCGVaccineStockObservation"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://nhin.example.ng/StructureDefinition/immz-vaccine-stock-observation"^^xsd:anyURI ;
fhir:link <http://nhin.example.ng/StructureDefinition/immz-vaccine-stock-observation>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_ExampleBCGVaccineStockObservation\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation ExampleBCGVaccineStockObservation</b></p><a name=\"ExampleBCGVaccineStockObservation\"> </a><a name=\"hcExampleBCGVaccineStockObservation\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-immz-vaccine-stock-observation.html\">Vaccine Stock Observation</a></p></div><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/VaccineStockCodes IMMZ.I.DE1}\">BCG Vaccines</span></p><p><b>encounter</b>: <a href=\"Encounter-NEIREncounterExample.html\">Encounter: status = in-progress; class = home health (ActCode#HH); type = Outreach</a></p><p><b>effective</b>: 2025-08-07</p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/VaccineStockCodes opening-balance}\">Opening balance</span></p><p><b>value</b>: 100 vial<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codevial = 'vial')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/VaccineStockCodes received}\">Doses received</span></p><p><b>value</b>: 50 vial<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codevial = 'vial')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/VaccineStockCodes doses-opened}\">Doses opened</span></p><p><b>value</b>: 60 vial<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codevial = 'vial')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/VaccineStockCodes ending-balance}\">Ending balance</span></p><p><b>value</b>: 90 vial<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codevial = 'vial')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/VaccineStockCodes returned}\">Quantity returned</span></p><p><b>value</b>: 2 vial<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codevial = 'vial')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://nhin.example.ng/CodeSystem/VaccineStockCodes empty-vials}\">Empty vials returned</span></p><p><b>value</b>: 58 vial<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codevial = 'vial')</span></p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/VaccineStockCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "IMMZ.I.DE1" ] ;
fhir:display [ fhir:v "BCG Vaccines" ]     ] )
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/NEIREncounterExample" ]
  ] ; # 
  fhir:effective [
a fhir:dateTime ;
fhir:v "2025-08-07"^^xsd:date
  ] ; # 
  fhir:component ( [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/VaccineStockCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "opening-balance" ] ;
fhir:display [ fhir:v "Opening balance" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "100"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "vial" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/VaccineStockCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "received" ] ;
fhir:display [ fhir:v "Doses received" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "50"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "vial" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/VaccineStockCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "doses-opened" ] ;
fhir:display [ fhir:v "Doses opened" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "60"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "vial" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/VaccineStockCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ending-balance" ] ;
fhir:display [ fhir:v "Ending balance" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "90"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "vial" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/VaccineStockCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "returned" ] ;
fhir:display [ fhir:v "Quantity returned" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "2"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "vial" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://nhin.example.ng/CodeSystem/VaccineStockCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "empty-vials" ] ;
fhir:display [ fhir:v "Empty vials returned" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "58"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "vial" ]     ]
  ] ) . # 

<urn:uuid:observation-1> a fhir:Observation ;
  fhir:id [ fhir:v "ExampleNEIRUpdateClientHistoryObservation"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://nhin.example.ng/StructureDefinition/NEIRUpdateClientHistoryObservation"^^xsd:anyURI ;
fhir:link <http://nhin.example.ng/StructureDefinition/NEIRUpdateClientHistoryObservation>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_ExampleNEIRUpdateClientHistoryObservation\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation ExampleNEIRUpdateClientHistoryObservation</b></p><a name=\"ExampleNEIRUpdateClientHistoryObservation\"> </a><a name=\"hcExampleNEIRUpdateClientHistoryObservation\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-NEIRUpdateClientHistoryObservation.html\">Observations - NEIR Update Client History</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social History</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 123456}\">NEIR Update Client History Observations</span></p><p><b>subject</b>: <a href=\"Patient-NEIRPatientExample.html\">John Doe  Male, DoB: 2020-06-18 ( http://moh.nigeria/identifier/nationalID-no#NEIR-12345)</a></p><p><b>encounter</b>: <a href=\"Encounter-NEIREncounterExample.html\">Encounter: status = in-progress; class = home health (ActCode#HH); type = Outreach</a></p><p><b>effective</b>: 2025-08-07 10:00:00+0300</p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 11323-3}\">Indicates if the client has completed the primary vaccination series of a product/antigen. If the client has not yet completed their primary series, it means they may be expected to receive more doses to complete their vaccination regimen for the respective product/antigen.</span></p><p><b>value</b>: true</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 55284-4}\">HIV status</span></p><p><b>value</b>: <span title=\"Codes:{http://snomed.info/sct 86406008}\">HIV negative</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 11323-31}\"> </span></p><p><b>value</b>: Test State</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 11323-391}\"> </span></p><p><b>value</b>: Test Comment</p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "social-history" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a sct:123456 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "123456" ] ;
fhir:display [ fhir:v "NEIR Update Client History Observations" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/NEIRPatientExample" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/NEIREncounterExample" ]
  ] ; # 
  fhir:effective [
a fhir:dateTime ;
fhir:v "2025-08-07T10:00:00+03:00"^^xsd:dateTime
  ] ; # 
  fhir:component ( [
fhir:code [
      ( fhir:coding [
a loinc:11323-3 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "11323-3" ] ;
fhir:display [ fhir:v "Indicates if the client has completed the primary vaccination series of a product/antigen. If the client has not yet completed their primary series, it means they may be expected to receive more doses to complete their vaccination regimen for the respective product/antigen." ]       ] )     ] ;
fhir:value [
a fhir:boolean ;
fhir:v true     ]
  ] [
fhir:code [
      ( fhir:coding [
a loinc:55284-4 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "55284-4" ] ;
fhir:display [ fhir:v "HIV status" ]       ] )     ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
a sct:86406008 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "86406008" ] ;
fhir:display [ fhir:v "HIV negative" ]       ] )     ]
  ] [
fhir:code [
      ( fhir:coding [
a loinc:11323-31 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "11323-31" ] ;
fhir:display [ fhir:v " " ]       ] )     ] ;
fhir:value [
a fhir:string ;
fhir:v "Test State"     ]
  ] [
fhir:code [
      ( fhir:coding [
a loinc:11323-391 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "11323-391" ] ;
fhir:display [ fhir:v " " ]       ] )     ] ;
fhir:value [
a fhir:string ;
fhir:v "Test Comment"     ]
  ] ) . #