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

: PreQualDBtoProductLM - 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 "PreQualDBtoProductLM"] ; # 
  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 PreQualDBtoProductLM</b></p><a name=\"PreQualDBtoProductLM\"> </a><a name=\"hcPreQualDBtoProductLM\"> </a><pre class=\"fml\">#xD;\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://smart.who.int/icvp/StructureMap/PreQualDBtoProductLM'</span>#xD;\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'PreQualDBtoProductLM'</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/Product<span style=\"color: navy\">\" </span><b>alias </b>Product <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>PreQualDBtoProductLM<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\">product</span><span style=\"color: navy\"> : </span>Product<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  prequal.number<b> as </b><span style=\"color: maroon\">number</span><span style=\"color: navy\"><b> -&gt; </b></span>product.number = <span style=\"color: maroon\">number</span> <i>\"set prod num\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.commercialName<b> as </b><span style=\"color: maroon\">name</span><span style=\"color: navy\"><b> -&gt; </b></span>product.name = <span style=\"color: maroon\">name</span> <i>\"set prod name\"</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>product.identifier = <b>id</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'https://extranet.who.int/prequal/vaccines/prequalified-vaccines'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">index</span><span style=\"color: navy\">)</span> <i>\"set product id\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.numDoses<b> as </b><span style=\"color: maroon\">numDoses</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    product.doseQuantity<b> as </b><span style=\"color: maroon\">dq</span><span style=\"color: navy\"><b> -&gt; </b></span>dq.value = <span style=\"color: maroon\">numDoses</span> <i>\"set number of doses\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"set num dose\"</i><span style=\"color: navy\">;</span>#xD;\n  product.unitOfUse<b> as </b><span style=\"color: maroon\">uou</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    uou.coding<b> as </b><span style=\"color: maroon\">coding</span><span style=\"color: navy\"><b> -&gt; </b></span>coding.code = <span style=\"color: blue\">'doses'</span> <i>\"set doses unit\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"set num doses\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.manufacturerReference<b> as </b><span style=\"color: maroon\">manufacturerReference</span><span style=\"color: navy\"><b> -&gt; </b></span>product.manufacturer = <span style=\"color: maroon\">manufacturerReference</span> <i>\"set manufacturer reference\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.manufacturer<b> as </b><span style=\"color: maroon\">manufacturer</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    product.manufacturer<b> as </b><span style=\"color: maroon\">man</span><span style=\"color: navy\"><b> -&gt; </b></span>man.text = <span style=\"color: maroon\">manufacturer</span> <i>\"set mnf\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"set man\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.vaxTypeCode<b> as </b><span style=\"color: maroon\">vaxTypeCode</span><span style=\"color: navy\"><b> -&gt; </b></span>product.classification = <span style=\"color: maroon\">vaxTypeCode</span> <i>\"set vaccine type as product clasification\"</i><span style=\"color: navy\">;</span>#xD;\n  prequal.presentation<b> as </b><span style=\"color: maroon\">presentation</span><span style=\"color: navy\"><b> -&gt; </b></span>product.dosageForm = <span style=\"color: maroon\">presentation</span> <i>\"set presentation\"</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/PreQualDBtoProductLM"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "PreQualDBtoProductLM"] ; # 
  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/Product"^^xsd:anyURI ;
fhir:link <http://smart.who.int/icvp/StructureDefinition/Product>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "Product" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "PreQualDBtoProductLM" ] ;
    ( fhir:input [
fhir:name [ fhir:v "prequal" ] ;
fhir:type [ fhir:v "PreQualDB" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "product" ] ;
fhir:type [ fhir:v "Product" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "set prod num" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "number" ] ;
fhir:variable [ fhir:v "number" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "number" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "number"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "set prod name" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "commercialName" ] ;
fhir:variable [ fhir:v "name" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "name" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "name"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "set product id" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "index" ] ;
fhir:variable [ fhir:v "index" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "identifier" ] ;
fhir:transform [ fhir:v "id" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:string ;
fhir:v "https://extranet.who.int/prequal/vaccines/prequalified-vaccines"           ]         ] [
fhir:value [
a fhir:id ;
fhir:v "index"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "set num dose" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "numDoses" ] ;
fhir:variable [ fhir:v "numDoses" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set number of doses" ] ;
        ( fhir:source [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "doseQuantity" ] ;
fhir:variable [ fhir:v "dq" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "dq" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "numDoses"             ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "set num doses" ] ;
      ( fhir:source [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "unitOfUse" ] ;
fhir:variable [ fhir:v "uou" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set doses unit" ] ;
        ( fhir:source [
fhir:context [ fhir:v "uou" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [
a fhir:string ;
fhir:v "doses"             ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "set manufacturer reference" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "manufacturerReference" ] ;
fhir:variable [ fhir:v "manufacturerReference" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "manufacturer" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "manufacturerReference"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "set man" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "manufacturer" ] ;
fhir:variable [ fhir:v "manufacturer" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set mnf" ] ;
        ( fhir:source [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "manufacturer" ] ;
fhir:variable [ fhir:v "man" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "man" ] ;
fhir:element [ fhir:v "text" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "manufacturer"             ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "set vaccine type as product clasification" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "vaxTypeCode" ] ;
fhir:variable [ fhir:v "vaxTypeCode" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "classification" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "vaxTypeCode"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "set presentation" ] ;
      ( fhir:source [
fhir:context [ fhir:v "prequal" ] ;
fhir:element [ fhir:v "presentation" ] ;
fhir:variable [ fhir:v "presentation" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "product" ] ;
fhir:element [ fhir:v "dosageForm" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:id ;
fhir:v "presentation"           ]         ] )       ] )     ] )
  ] ) . #