SMART ICVP
0.1.0 - ci-build

SMART ICVP, published by WHO. 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/WorldHealthOrganization/smart-icvp/ and changes regularly. See the Directory of published versions

: null - TTL Representation

Draft as of 2024-12-11

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

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "DVCQRtoDVCClaim"] ; # 
  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 DVCQRtoDVCClaim</b></p><a name=\"DVCQRtoDVCClaim\"> </a><a name=\"hcDVCQRtoDVCClaim\"> </a><a name=\"DVCQRtoDVCClaim-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim<span style=\"color: navy\">&quot; = &quot;</span>DVCQRtoDVCClaim<span style=\"color: navy\">&quot;\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/questionnaireresponse.html\" title=\"QuestionnaireResponse\">http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse</a><span style=\"color: navy\">&quot; </span><b>alias </b>QuestionnaireResponse <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-DVCPayload.html\" title=\"DVC HCERT Payload\">http://smart.who.int/icvp/StructureDefinition/DVCPayload</a><span style=\"color: navy\">&quot; </span><b>alias </b>DVCPayload <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-ModelDVC.html\" title=\"DVC\">http://smart.who.int/icvp/StructureDefinition/ModelDVC</a><span style=\"color: navy\">&quot; </span><b>alias </b>DVCModel <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-ModelVaccineDetails.html\" title=\"DVC - Vaccine Details\">http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails</a><span style=\"color: navy\">&quot; </span><b>alias </b>ModelVaccineDetails <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-DVCQRtoDVCLM.html\" title=\"DVCQRtoDVCLM\">http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-DVCLMtoDVCClaim.html\" title=\"DVCLMtoDVCClaim\">http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim</a><span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>DVCQRtoDVCClaim<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">qr</span><span style=\"color: navy\"> : </span>QuestionnaireResponse, <b>target</b> <span style=\"color: maroon\">DVCClaim</span><span style=\"color: navy\"> : </span>DVCPayload<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span>  qr<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/ModelDVC'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">model</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    qr<span style=\"color: navy\"><b> -&gt; </b></span>DVCClaim<b> then </b>DVCQRtoDVCLM<span style=\"color: navy\">(</span><span style=\"color: maroon\">qr</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">model</span><span style=\"color: navy\">)</span> <i>&quot;rule1aa&quot;</i><span style=\"color: navy\">;</span>\r\n    qr<span style=\"color: navy\"><b> -&gt; </b></span>DVCClaim<b> then </b>DVCLMtoDVCClaim<span style=\"color: navy\">(</span><span style=\"color: maroon\">model</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">DVCClaim</span><span style=\"color: navy\">)</span> <i>&quot;rule2&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;rule3&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  ] ; # 
  fhir:url [ fhir:v "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "DVCQRtoDVCClaim"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2024-12-11T15:44:25+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://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "QuestionnaireResponse" ]
  ] [
fhir:url [
fhir:v "http://smart.who.int/icvp/StructureDefinition/DVCPayload"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureDefinition/DVCPayload>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "DVCPayload" ]
  ] [
fhir:url [
fhir:v "http://smart.who.int/icvp/StructureDefinition/ModelDVC"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureDefinition/ModelDVC>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "DVCModel" ]
  ] [
fhir:url [
fhir:v "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "ModelVaccineDetails" ]
  ] ) ; # 
  fhir:import ( [
fhir:v "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM>
  ] [
fhir:v "http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim>
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "DVCQRtoDVCClaim" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "qr" ] ;
fhir:type [ fhir:v "QuestionnaireResponse" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "DVCClaim" ] ;
fhir:type [ fhir:v "DVCPayload" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "rule3" ] ;
      ( fhir:source [
fhir:context [ fhir:v "qr" ]       ] ) ;
      ( fhir:target [
fhir:contextType [ fhir:v "variable" ] ;
fhir:variable [ fhir:v "model" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://smart.who.int/icvp/StructureDefinition/ModelDVC" ]         ] )       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "rule1aa" ] ;
        ( fhir:source [
fhir:context [ fhir:v "qr" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "DVCClaim" ] ;
fhir:contextType [ fhir:v "variable" ]         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "DVCQRtoDVCLM" ] ;
          ( fhir:variable [ fhir:v "qr" ] [ fhir:v "model" ] )         ] )       ] [
fhir:name [ fhir:v "rule2" ] ;
        ( fhir:source [
fhir:context [ fhir:v "qr" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "DVCClaim" ] ;
fhir:contextType [ fhir:v "variable" ]         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "DVCLMtoDVCClaim" ] ;
          ( fhir:variable [ fhir:v "model" ] [ fhir:v "DVCClaim" ] )         ] )       ] )     ] )
  ] ) . #