SMART Product Dataset for Prequalified Vaccines
0.1.0 - release

This page is part of the SMART Product Dataset for Prequalified Vaccines (v0.1.0: Releases Draft) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

: PreQualDBtoProductAuthorizationLM - TTL Representation

Draft as of 2025-07-01

Raw ttl | Download


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

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PreQualDBtoProductAuthorizationLM"] ; # 
  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 PreQualDBtoProductAuthorizationLM</b></p><a name=\"PreQualDBtoProductAuthorizationLM\"> </a><a name=\"hcPreQualDBtoProductAuthorizationLM\"> </a><pre class=\"fml\">#xD;\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://smart.who.int/icvp/StructureMap/PreQualDBtoProductAuthorizationLM'</span>#xD;\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'PreQualDBtoProductAuthorizationLM'</span>#xD;\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'draft'</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>http://smart.who.int/icvp/StructureDefinition/PreQualDBwithIds<span style=\"color: navy\">\" </span><b>alias </b>PreQualDB <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>http://smart.who.int/icvp/StructureDefinition/ProductAuthorization<span style=\"color: navy\">\" </span><b>alias </b>ProductAuthorization <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>PreQualDBtoProductAuthorizationLM<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">prequal</span><span style=\"color: navy\"> : </span>PreQualDB, <b>target</b> <span style=\"color: maroon\">productAuth</span><span style=\"color: navy\"> : </span>ProductAuthoization<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  productAuth.status<b> as </b><span style=\"color: maroon\">status</span><span style=\"color: navy\"><b> -&gt; </b></span>status = <span style=\"color: blue\">'active'</span><span style=\"color: navy\">;</span>#xD;\n  productAuth.type<b> as </b><span style=\"color: maroon\">type</span><span style=\"color: navy\"><b> -&gt; </b></span>type = <span style=\"color: blue\">'prequal'</span> <i>\"set prequal\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.responsibleNRAReference<b> as </b><span style=\"color: maroon\">respNRARef</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    respNRARef<b> as </b><span style=\"color: maroon\">respNRARef</span><span style=\"color: navy\"><b> -&gt; </b></span>productAuth.holder = <span style=\"color: maroon\">respNRARef</span> <i>\"set national regulatory authority holder\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"process nra\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.validityPeriod<b> as </b><span style=\"color: maroon\">validityPeriod</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    validityPeriod<b> as </b><span style=\"color: maroon\">validityPeriod</span><span style=\"color: navy\"><b> -&gt; </b></span>productAuth.validityPeriod = <span style=\"color: maroon\">validityPeriod</span> <i>\"set validity period\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"process validity period\"</i><span style=\"color: navy\">;</span>#xD;\n  productAuth.jurisdiction<b> as </b><span style=\"color: maroon\">j</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    j.coding<b> as </b><span style=\"color: maroon\">coding</span><span style=\"color: navy\"><b> -&gt; </b></span>coding.display = <span style=\"color: blue\">'WHO'</span> <i>\"set WHO\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"process juris\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.index<b> as </b><span style=\"color: maroon\">index</span><span style=\"color: navy\"><b> -&gt; </b></span>productAuth.number = <span style=\"color: maroon\">index</span> <i>\"set number/index\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.productReference<b> as </b><span style=\"color: maroon\">prodRef</span><span style=\"color: navy\"><b> -&gt; </b></span>productAuth.product = <span style=\"color: maroon\">prodRef</span> <i>\"set prod ref\"</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/PreQualDBtoProductAuthorizationLM"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "PreQualDBtoProductAuthorizationLM"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2025-07-01T08:33:29+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/PreQualDBwithIds"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureDefinition/PreQualDBwithIds>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "PreQualDB" ]
  ] [
fhir:url [
fhir:v "http://smart.who.int/icvp/StructureDefinition/ProductAuthorization"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureDefinition/ProductAuthorization>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "ProductAuthorization" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "PreQualDBtoProductAuthorizationLM" ] ;
    ( fhir:input [
fhir:name [ fhir:v "prequal" ] ;
fhir:type [ fhir:v "PreQualDB" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "productAuth" ] ;
fhir:type [ fhir:v "ProductAuthoization" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "status" ] ;
      ( fhir:source [
fhir:context [ fhir:v "productAuth" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:variable [ fhir:v "status" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:string ;
fhir:v "active"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "set prequal" ] ;
      ( fhir:source [
fhir:context [ fhir:v "productAuth" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "type" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "type" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:string ;
fhir:v "prequal"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "process nra" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "responsibleNRAReference" ] ;
fhir:variable [ fhir:v "respNRARef" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set national regulatory authority holder" ] ;
        ( fhir:source [
fhir:context [ fhir:v "respNRARef" ] ;
fhir:variable [ fhir:v "respNRARef" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "productAuth" ] ;
fhir:element [ fhir:v "holder" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "respNRARef"             ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "process validity period" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "validityPeriod" ] ;
fhir:variable [ fhir:v "validityPeriod" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set validity period" ] ;
        ( fhir:source [
fhir:context [ fhir:v "validityPeriod" ] ;
fhir:variable [ fhir:v "validityPeriod" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "productAuth" ] ;
fhir:element [ fhir:v "validityPeriod" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "validityPeriod"             ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "process juris" ] ;
      ( fhir:source [
fhir:context [ fhir:v "productAuth" ] ;
fhir:element [ fhir:v "jurisdiction" ] ;
fhir:variable [ fhir:v "j" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set WHO" ] ;
        ( fhir:source [
fhir:context [ fhir:v "j" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [
a fhir:string ;
fhir:v "WHO"             ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "set number/index" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "index" ] ;
fhir:variable [ fhir:v "index" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "productAuth" ] ;
fhir:element [ fhir:v "number" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "index"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "set prod ref" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "productReference" ] ;
fhir:variable [ fhir:v "prodRef" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "productAuth" ] ;
fhir:element [ fhir:v "product" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "prodRef"           ]         ] )       ] )     ] )
  ] ) . #