BgZ to OMOP
0.1.0 - CI build Netherlands flag

BgZ to OMOP - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: null - TTL Representation

Draft as of 2024-04-04

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 "person-transform"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://hl7.nl/fhir/bgz-to-omop/StructureMap/person-transform<span style=\"color: navy\">&quot; = &quot;</span>Transform from a FHIR Patient to an OMOP Person<span style=\"color: navy\">&quot;\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"https://simplifier.net/resolve?scope=nictiz.fhir.nl.stu3.zib2017@2.2.18&amp;canonical=http://fhir.nl/fhir/StructureDefinition/nl-core-patient\" title=\"nl-core-patient\">http://fhir.nl/fhir/StructureDefinition/nl-core-patient</a><span style=\"color: navy\">&quot; </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-Person.html\" title=\"Person OMOP Table\">http://hl7.nl/fhir/bgz-to-omop/StructureDefinition/Person</a><span style=\"color: navy\">&quot; </span><b>as </b><b>target</b>\r\n\r\n<b>group </b>main<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">source</span><span style=\"color: navy\"> : </span>http://fhir.nl/fhir/StructureDefinition/nl-core-patient, <b>target</b> <span style=\"color: maroon\">target</span><span style=\"color: navy\"> : </span>http://hl7.nl/fhir/bgz-to-omop/StructureDefinition/Person<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span>  source.identifier[BSN]<b> as </b><span style=\"color: maroon\">BSN</span><span style=\"color: navy\"><b> -&gt; </b></span>target.person_source_value = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>&quot;BSN&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://hl7.nl/fhir/bgz-to-omop/StructureMap/person-transform"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "Transform from a FHIR Patient to an OMOP Person"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2024-04-04T15:12:40+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "OHDSINL HL7NL"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "OHDSINL" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.ohdsi-europe.org/index.php/national-nodes/netherlands" ]     ] )
  ] [
fhir:name [ fhir:v "HL7NL" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://hl7.nl" ]     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NL" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [ fhir:v "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"^^xsd:anyURI ] ;
fhir:mode [ fhir:v "source" ]
  ] [
fhir:url [ fhir:v "http://hl7.nl/fhir/bgz-to-omop/StructureDefinition/Person"^^xsd:anyURI ] ;
fhir:mode [ fhir:v "target" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "main" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "http://fhir.nl/fhir/StructureDefinition/nl-core-patient" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "http://hl7.nl/fhir/bgz-to-omop/StructureDefinition/Person" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "BSN" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "identifier[BSN]" ] ;
fhir:variable [ fhir:v "BSN" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "person_source_value" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] )
  ] ) . #