@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 -------------------------------------------------------------------

<https://hl7.fi/fhir/finnish-base-profiles/Provenance/id-for-provenance-1> 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>"^^rdf:XMLLiteral
  ] ; # 
  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>"^^rdf:XMLLiteral
     ] ;
     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>"^^rdf:XMLLiteral
     ] ;
     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>"^^rdf:XMLLiteral
     ] ;
     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 [
         a fhir:string ;
         fhir:v "Kansaneläkelaitos"
       ]
     ] ) ;
     fhir:url [ fhir:v "https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier"^^xsd:anyURI ]
  ] ) ; # 
  fhir:target ( [
     fhir:link <https://hl7.fi/fhir/finnish-base-profiles/AuditEvent/id-for-auditevent-1> ;
     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" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

