Finnish Base Profiles
1.0.0 - trial-use Finland flag

This page is part of the Finnish Base Profiles (v1.0.0: STU 1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: A simple provenance example - TTL Representation

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:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "id-for-provenance-1"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-information-custodian"^^xsd:anyURI ;
fhir:link <https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-information-custodian>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "additional" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Narrative: An example provenance resource instance including information custodianship and other metadata.</b></p></div>"
  ] ; # 
  fhir:contained ( [
a fhir:Organization ;
fhir:id [ fhir:v "custodianorg1" ] ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Suomen Terveystalo Oy</div>"     ] ;
    ( fhir:identifier [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:1.2.246.10.10938633.10.0" ]     ] ) ;
fhir:name [ fhir:v "Suomen Terveystalo Oy" ]
  ] [
a fhir:Organization ;
fhir:id [ fhir:v "jarjestajaorg1" ] ;
fhir:text [
fhir:status [ fhir:v "empty" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Järjestäjäorganisaatio</div>"     ] ;
fhir:name [ fhir:v "Järjestäjäorganisaatio" ]
  ] [
a fhir:Organization ;
fhir:id [ fhir:v "tuottajaorg1" ] ;
fhir:text [
fhir:status [ fhir:v "empty" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Tuottajaorganisaatio</div>"     ] ;
fhir:name [ fhir:v "Tuottajaorganisaatio" ]
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:1.2.246.537.5.40150.2009"^^xsd:anyURI ] ;
fhir:code [ fhir:v "4" ] ;
fhir:display [ fhir:v "Työterveyshuolto" ]     ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "RegisterSpecifier"^^xsd:anyURI ] ;
fhir:value [
a fhir:Identifier ;
fhir:system [ fhir:v "urn:oid:1.2.246.10"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0246246-0" ]       ]     ] [
fhir:url [ fhir:v "RegisterSpecifierName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Kansaneläkelaitos" ]     ] ) ;
fhir:url [ fhir:v "https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier"^^xsd:anyURI ]
  ] ) ; # 
  fhir:target ( [
fhir:reference [ fhir:v "AuditEvent/id-for-auditevent-1" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2015-02-07T13:28:17.239+02:00"^^xsd:dateTime] ; # 
  fhir:agent ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "CST" ] ;
fhir:display [ fhir:v "custodian" ]       ] )     ] ;
    ( fhir:role [
      ( fhir:coding [
fhir:system [ fhir:v "urn:oid:1.2.246.537.5.40172"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2" ] ;
fhir:display [ fhir:v "Yksityinen" ]       ] [
fhir:system [ fhir:v "http://gen.kanta.fi/fikanta-cs-rolecategory"^^xsd:anyURI ] ;
fhir:code [ fhir:v "9" ] ;
fhir:display [ fhir:v "Rekisterinpitäjä" ]       ] )     ] ) ;
fhir:who [
fhir:reference [ fhir:v "#custodianorg1" ] ;
fhir:identifier [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PRN" ]           ] )         ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:1.2.246.10.10938633.10.0" ]       ]     ]
  ] [
    ( fhir:role [
      ( fhir:coding [
fhir:system [ fhir:v "http://gen.kanta.fi/fikanta-cs-rolecategory"^^xsd:anyURI ] ;
fhir:code [ fhir:v "8" ] ;
fhir:display [ fhir:v "Palvelunjärjestäjä" ]       ] )     ] ) ;
fhir:who [
fhir:reference [ fhir:v "#jarjestajaorg1" ]     ]
  ] [
    ( fhir:role [
      ( fhir:coding [
fhir:system [ fhir:v "http://gen.kanta.fi/fikanta-cs-rolecategory"^^xsd:anyURI ] ;
fhir:code [ fhir:v "11" ] ;
fhir:display [ fhir:v "Palveluntuottaja" ]       ] )     ] ) ;
fhir:who [
fhir:reference [ fhir:v "#tuottajaorg1" ]     ]
  ] ) ; # 
  fhir:entity ( [
fhir:role [ fhir:v "source" ] ;
fhir:what [
fhir:identifier [
fhir:system [ fhir:v "urn:oid:1.2.246.537.5.40150"^^xsd:anyURI ] ;
fhir:value [ fhir:v "4" ]       ] ;
fhir:display [ fhir:v "Työterveyshuolto" ]     ]
  ] [
fhir:role [ fhir:v "source" ] ;
fhir:what [
fhir:identifier [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XX" ]           ] )         ] ;
fhir:system [ fhir:v "urn:oid:1.2.246.10"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0246246-0" ]       ] ;
fhir:display [ fhir:v "Kansaneläkelaitos" ]     ]
  ] ) . #