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: ReportGeneration to MeasureReport and Related Profiles - 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/reportgeneration-to-measurereport> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "reportgeneration-to-measurereport"] ;
  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 reportgeneration-to-measurereport</b></p><a name=\"reportgeneration-to-measurereport\"> </a><a name=\"hcreportgeneration-to-measurereport\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureMap/reportgeneration-to-measurereport<span style=\"color: navy\">\" = \"</span>ReportGenerationToMeasureReport<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Map ReportGeneration logical model to NgImmMeasureReport, NgImmMeasure, and NgImmPractitioner</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureDefinition/reportgeneration<span style=\"color: navy\">\" </span><b>alias </b>RG <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://nphcda.gov.ng/ig/StructureDefinition/ngimm-measurereport<span style=\"color: navy\">\" </span><b>alias </b>MR <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ngimm-measure.html\" title=\"NG-Imm Measure\">https://nphcda.gov.ng/ig/StructureDefinition/ngimm-measure</a><span style=\"color: navy\">\" </span><b>alias </b>MEASURE <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#xD;\n<b>group </b>reportGenerationToMeasureReport<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">RG</span>, <b>target</b> <span style=\"color: maroon\">MR</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  RG.reportId<span style=\"color: navy\"><b> -&gt; </b></span>MR.`identifier.value` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  RG.generationDate<span style=\"color: navy\"><b> -&gt; </b></span>MR.date = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"reportDate\"</i><span style=\"color: navy\">;</span>#xD;\n  RG.reportingStart<span style=\"color: navy\"><b> -&gt; </b></span>MR.`period.start` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"reportingPeriod\"</i><span style=\"color: navy\">;</span>#xD;\n  RG.reportingEnd<span style=\"color: navy\"><b> -&gt; </b></span>MR.`period.end` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"reportingPeriodEnd\"</i><span style=\"color: navy\">;</span>#xD;\n  RG.calculatedValue<span style=\"color: navy\"><b> -&gt; </b></span>MR.`group[0].measureScore.value` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"measureScore\"</i><span style=\"color: navy\">;</span>#xD;\n  RG.calculatedUnit<span style=\"color: navy\"><b> -&gt; </b></span>MR.`group[0].measureScore.unit` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"unit\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>reportGenerationToMeasure<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">RG</span>, <b>target</b> <span style=\"color: maroon\">MEASURE</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  RG.indicatorId<span style=\"color: navy\"><b> -&gt; </b></span>MEASURE.`identifier.value` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"indicatorCode\"</i><span style=\"color: navy\">;</span>#xD;\n  RG.indicatorName<span style=\"color: navy\"><b> -&gt; </b></span>MEASURE.name = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  RG.indicatorTitle<span style=\"color: navy\"><b> -&gt; </b></span>MEASURE.title = <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>reportGenerationToPractitioner<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">RG</span>, <b>target</b> <span style=\"color: maroon\">PRAC</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  RG.reporterId<span style=\"color: navy\"><b> -&gt; </b></span>PRAC.`identifier.value` = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  RG.reporterName<span style=\"color: navy\"><b> -&gt; </b></span>PRAC.`name[0].text` = <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></pre></div>"
  ] ;
  fhir:StructureMap.url [ fhir:value "https://nphcda.gov.ng/ig/StructureMap/reportgeneration-to-measurereport"] ;
  fhir:StructureMap.version [ fhir:value "0.9.0"] ;
  fhir:StructureMap.name [ fhir:value "ReportGenerationToMeasureReport"] ;
  fhir:StructureMap.title [ fhir:value "StructureMap: ReportGeneration to MeasureReport and Related Profiles"] ;
  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 ReportGeneration logical model to NgImmMeasureReport, NgImmMeasure, and NgImmPractitioner"] ;
  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/reportgeneration" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/reportgeneration>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "RG" ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/ngimm-measurereport" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/ngimm-measurereport>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "MR" ]
  ], [
     fhir:index 2 ;
     fhir:StructureMap.structure.url [
       fhir:value "https://nphcda.gov.ng/ig/StructureDefinition/ngimm-measure" ;
       fhir:link <https://nphcda.gov.ng/ig/StructureDefinition/ngimm-measure>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "MEASURE" ]
  ], [
     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:StructureMap.group [
     fhir:index 0 ;
     fhir:StructureMap.group.name [ fhir:value "reportGenerationToMeasureReport" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "RG" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "MR" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reportId" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "reportId" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MR" ] ;
         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 "reportDate" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "generationDate" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MR" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "date" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reportingPeriod" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "reportingStart" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MR" ] ;
         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 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reportingPeriodEnd" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "reportingEnd" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MR" ] ;
         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 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "measureScore" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "calculatedValue" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MR" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "group[0].measureScore.value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "calculatedUnit" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MR" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "group[0].measureScore.unit" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.group.name [ fhir:value "reportGenerationToMeasure" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "RG" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "MEASURE" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "indicatorCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "indicatorId" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MEASURE" ] ;
         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 "indicatorName" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "indicatorName" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MEASURE" ] ;
         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 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "indicatorTitle" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "indicatorTitle" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "MEASURE" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "title" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:StructureMap.group.name [ fhir:value "reportGenerationToPractitioner" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "RG" ] ;
       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 "reporterId" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "reporterId" ]
       ] ;
       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 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reporterName" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "RG" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "reporterName" ]
       ] ;
       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 "name[0].text" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ]
       ]
     ]
  ] .

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

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