@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 -------------------------------------------------------------------

<http://vgh-stroke-ig.fhir.tw/Provenance/stroke-provenance-example> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "stroke-provenance-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://vgh-stroke-ig.fhir.tw/StructureDefinition/StrokeProvenance" ;
       fhir:index 0 ;
       fhir:link <http://vgh-stroke-ig.fhir.tw/StructureDefinition/StrokeProvenance>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Provenance stroke-provenance-example</b></p><a name=\"stroke-provenance-example\"> </a><a name=\"hcstroke-provenance-example\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-StrokeProvenance.html\">腦中風－資料來源追溯</a></p></div><p>Provenance for: </p><ul><li><a href=\"Patient-stroke-patient-example.html\">Anonymous Patient Male, DoB: 1950-01 ( Medical record number: EX00000001 (use: official))</a></li><li><a href=\"Encounter-stroke-encounter-example.html\">Encounter: status = finished; class = inpatient encounter (ActCode#IMP); period = 2025-01-15 --&gt; 2025-01-28</a></li><li><a href=\"Condition-stroke-condition-example.html\">Condition 腦梗塞</a></li></ul><p>Summary</p><table class=\"grid\"><tr><td>Occurrence</td><td>2025-01-16 14:30:00+0800</td></tr><tr><td>Recorded</td><td>2025-02-01 10:00:00+0800</td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>who</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type enterer}\">Enterer</span></td><td>李小華</td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td><a href=\"Organization-stroke-organization-vghks.html\">高雄榮民總醫院 (Healthcare Provider) (Organization identifier: 1A0 (use: usual))</a></td></tr></table><p><b>Entities</b></p><table class=\"grid\"><tr><td><b>Role</b></td><td><b>What</b></td></tr><tr><td>Source</td><td>腦中風登錄來源紀錄（範例） (Identifier: <code>http://www.vghks.gov.tw/stroke-registry-record</code>/EX-REC-0001)</td></tr></table></div>"
  ] ;
  fhir:Provenance.target [
     fhir:index 0 ;
     fhir:link <http://vgh-stroke-ig.fhir.tw/Patient/stroke-patient-example> ;
     fhir:Reference.reference [ fhir:value "Patient/stroke-patient-example" ]
  ], [
     fhir:index 1 ;
     fhir:link <http://vgh-stroke-ig.fhir.tw/Encounter/stroke-encounter-example> ;
     fhir:Reference.reference [ fhir:value "Encounter/stroke-encounter-example" ]
  ], [
     fhir:index 2 ;
     fhir:link <http://vgh-stroke-ig.fhir.tw/Condition/stroke-condition-example> ;
     fhir:Reference.reference [ fhir:value "Condition/stroke-condition-example" ]
  ] ;
  fhir:Provenance.occurredDateTime [ fhir:value "2025-01-16T14:30:00+08:00"^^xsd:dateTime] ;
  fhir:Provenance.recorded [ fhir:value "2025-02-01T10:00:00+08:00"^^xsd:dateTime] ;
  fhir:Provenance.agent [
     fhir:index 0 ;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
         fhir:Coding.code [ fhir:value "enterer" ] ;
         fhir:Coding.display [ fhir:value "Enterer" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:Reference.display [ fhir:value "李小華" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
         fhir:Coding.code [ fhir:value "author" ] ;
         fhir:Coding.display [ fhir:value "Author" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:link <http://vgh-stroke-ig.fhir.tw/Organization/stroke-organization-vghks> ;
       fhir:Reference.reference [ fhir:value "Organization/stroke-organization-vghks" ]
     ]
  ] ;
  fhir:Provenance.entity [
     fhir:index 0 ;
     fhir:Provenance.entity.role [ fhir:value "source" ] ;
     fhir:Provenance.entity.what [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "http://www.vghks.gov.tw/stroke-registry-record" ] ;
         fhir:Identifier.value [ fhir:value "EX-REC-0001" ]
       ] ;
       fhir:Reference.display [ fhir:value "腦中風登錄來源紀錄（範例）" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://vgh-stroke-ig.fhir.tw/Provenance/stroke-provenance-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

