@prefix fhir: <http://hl7.org/fhir/> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://smart.who.int/icvp/StructureMap/ICVPClaimtoIPS> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ICVPClaimtoIPS"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap ICVPClaimtoIPS</b></p><a name=\"ICVPClaimtoIPS\"> </a><a name=\"hcICVPClaimtoIPS\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://smart.who.int/icvp/StructureMap/ICVPClaimtoIPS<span style=\"color: navy\">\" = \"</span>ICVPClaimtoIPS<span style=\"color: navy\">\"#xD;\n#xD;\n</span><b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ICVPMin.html\" title=\"ICVP HCERT Payload\">http://smart.who.int/icvp/StructureDefinition/ICVPMin</a><span style=\"color: navy\">\" </span><b>alias </b>ICVPPayload <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style=\"color: navy\">\" </span><b>alias </b>IPS <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ICVP.html\" title=\"ICVP\">http://smart.who.int/icvp/StructureDefinition/ICVP</a><span style=\"color: navy\">\" </span><b>alias </b>ICVPModel <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ICVPVaccineDetails.html\" title=\"ICVP - Vaccine Details\">http://smart.who.int/icvp/StructureDefinition/ICVPVaccineDetails</a><span style=\"color: navy\">\" </span><b>alias </b>ICVPVaccineDetails <b>as </b><b>target</b>#xD;\n#xD;\n<b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-ICVPLMToIPS.html\" title=\"ICVPLMToIPS\">http://smart.who.int/icvp/StructureMap/ICVPLMToIPS</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-ICVPClaimtoICVPLM.html\" title=\"ICVPClaimtoICVPLM\">http://smart.who.int/icvp/StructureMap/ICVPClaimtoICVPLM</a><span style=\"color: navy\">\"#xD;\n</span>#xD;\n<b>group </b>ICVPClaimtoIPS<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">ICVPClaim</span><span style=\"color: navy\"> : </span>ICVPPayload, <b>target</b> <span style=\"color: maroon\">IPS</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  ICVPClaim<span style=\"color: navy\"><b> -&gt; </b></span><b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/icvp/StructureDefinition/ICVP'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">model</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    ICVPClaim<span style=\"color: navy\"><b> -&gt; </b></span>model<b> then </b>ICVPClaimtoICVPLM<span style=\"color: navy\">(</span><span style=\"color: maroon\">ICVPClaim</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">model</span><span style=\"color: navy\">)</span> <i>\"rule1\"</i><span style=\"color: navy\">;</span>#xD;\n    ICVPClaim<span style=\"color: navy\"><b> -&gt; </b></span>IPS<b> then </b>ICVPLMToIPS<span style=\"color: navy\">(</span><span style=\"color: maroon\">model</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">IPS</span><span style=\"color: navy\">)</span> <i>\"rule2\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"rule3\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:url [ fhir:v "http://smart.who.int/icvp/StructureMap/ICVPClaimtoIPS"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.3.0"] ; # 
  fhir:name [ fhir:v "ICVPClaimtoIPS"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2025-10-17T14:23:37+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "WHO"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "WHO" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://who.int" ]
     ] )
  ] ) ; # 
  fhir:structure ( [
     fhir:url [
       fhir:v "http://smart.who.int/icvp/StructureDefinition/ICVPMin"^^xsd:anyURI ;
       fhir:link <http://smart.who.int/icvp/StructureDefinition/ICVPMin>
     ] ;
     fhir:mode [ fhir:v "source" ] ;
     fhir:alias [ fhir:v "ICVPPayload" ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>
     ] ;
     fhir:mode [ fhir:v "target" ] ;
     fhir:alias [ fhir:v "IPS" ]
  ] [
     fhir:url [
       fhir:v "http://smart.who.int/icvp/StructureDefinition/ICVP"^^xsd:anyURI ;
       fhir:link <http://smart.who.int/icvp/StructureDefinition/ICVP>
     ] ;
     fhir:mode [ fhir:v "target" ] ;
     fhir:alias [ fhir:v "ICVPModel" ]
  ] [
     fhir:url [
       fhir:v "http://smart.who.int/icvp/StructureDefinition/ICVPVaccineDetails"^^xsd:anyURI ;
       fhir:link <http://smart.who.int/icvp/StructureDefinition/ICVPVaccineDetails>
     ] ;
     fhir:mode [ fhir:v "target" ] ;
     fhir:alias [ fhir:v "ICVPVaccineDetails" ]
  ] ) ; # 
  fhir:import ( [
     fhir:v "http://smart.who.int/icvp/StructureMap/ICVPLMToIPS"^^xsd:anyURI ;
     fhir:link <http://smart.who.int/icvp/StructureMap/ICVPLMToIPS>
  ] [
     fhir:v "http://smart.who.int/icvp/StructureMap/ICVPClaimtoICVPLM"^^xsd:anyURI ;
     fhir:link <http://smart.who.int/icvp/StructureMap/ICVPClaimtoICVPLM>
  ] ) ; # 
  fhir:group ( [
     fhir:name [ fhir:v "ICVPClaimtoIPS" ] ;
     fhir:typeMode [ fhir:v "none" ] ;
     fhir:input ( [
       fhir:name [ fhir:v "ICVPClaim" ] ;
       fhir:type [ fhir:v "ICVPPayload" ] ;
       fhir:mode [ fhir:v "source" ]
     ] [
       fhir:name [ fhir:v "IPS" ] ;
       fhir:type [ fhir:v "Bundle" ] ;
       fhir:mode [ fhir:v "target" ]
     ] ) ;
     fhir:rule ( [
       fhir:name [ fhir:v "rule3" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "ICVPClaim" ]
       ] ) ;
       fhir:target ( [
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:variable [ fhir:v "model" ] ;
         fhir:transform [ fhir:v "create" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:string ;
             fhir:v "http://smart.who.int/icvp/StructureDefinition/ICVP"
           ]
         ] )
       ] ) ;
       fhir:rule ( [
         fhir:name [ fhir:v "rule1" ] ;
         fhir:source ( [
           fhir:context [ fhir:v "ICVPClaim" ]
         ] ) ;
         fhir:target ( [
           fhir:context [ fhir:v "model" ] ;
           fhir:contextType [ fhir:v "variable" ]
         ] ) ;
         fhir:dependent ( [
           fhir:name [ fhir:v "ICVPClaimtoICVPLM" ] ;
           fhir:variable ( [ fhir:v "ICVPClaim" ] [ fhir:v "model" ] )
         ] )
       ] [
         fhir:name [ fhir:v "rule2" ] ;
         fhir:source ( [
           fhir:context [ fhir:v "ICVPClaim" ]
         ] ) ;
         fhir:target ( [
           fhir:context [ fhir:v "IPS" ] ;
           fhir:contextType [ fhir:v "variable" ]
         ] ) ;
         fhir:dependent ( [
           fhir:name [ fhir:v "ICVPLMToIPS" ] ;
           fhir:variable ( [ fhir:v "model" ] [ fhir:v "IPS" ] )
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

