@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 -------------------------------------------------------------------

<urn://example.com/ph-ereferral/fhir/Provenance/ExampleERefProvenanceSignature> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleERefProvenanceSignature"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "urn://example.com/ph-ereferral/fhir/StructureDefinition/ereferral-provenance"^^xsd:anyURI ;
       fhir:l <urn://example.com/ph-ereferral/fhir/StructureDefinition/ereferral-provenance>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Provenance ExampleERefProvenanceSignature</b></p><a name=\"ExampleERefProvenanceSignature\"> </a><a name=\"hcExampleERefProvenanceSignature\"> </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-ereferral-provenance.html\">EReferral Provenance</a></p></div><p>Provenance for <a href=\"ServiceRequest-ExampleERefServiceRequestMinimal.html\">ServiceRequest Referral to specialist</a></p><p>Summary</p><table class=\"grid\"><tr><td>Recorded</td><td>2025-03-15 09:30:00+0800</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode CREATE}\">create</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>who</b></td><td><b>On Behalf Of</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td><a href=\"PractitionerRole-ExampleERefPractitionerRoleMinimal.html\">PractitionerRole Medical practitioner</a></td><td><a href=\"Organization-ExampleERefOrganizationMinimal.html\">Organization Rural Health Unit - Barangay Health Center</a></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:target ( [
     fhir:l <urn://example.com/ph-ereferral/fhir/ServiceRequest/ExampleERefServiceRequestMinimal> ;
     fhir:reference [ fhir:v "ServiceRequest/ExampleERefServiceRequestMinimal" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2025-03-15T09:30:00+08:00"^^xsd:dateTime] ; # 
  fhir:activity [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "CREATE" ] ;
       fhir:display [ fhir:v "create" ]
     ] )
  ] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/provenance-participant-type>
         ] ;
         fhir:code [ fhir:v "author" ] ;
         fhir:display [ fhir:v "Author" ]
       ] )
     ] ;
     fhir:who [
       fhir:l <urn://example.com/ph-ereferral/fhir/PractitionerRole/ExampleERefPractitionerRoleMinimal> ;
       fhir:reference [ fhir:v "PractitionerRole/ExampleERefPractitionerRoleMinimal" ]
     ] ;
     fhir:onBehalfOf [
       fhir:l <urn://example.com/ph-ereferral/fhir/Organization/ExampleERefOrganizationMinimal> ;
       fhir:reference [ fhir:v "Organization/ExampleERefOrganizationMinimal" ]
     ]
  ] ) ; # 
  fhir:signature ( [
     fhir:type ( [
       fhir:system [
         fhir:v "urn:iso-astm:E1762-95:2013"^^xsd:anyURI ;
         fhir:l <urn:iso-astm:E1762-95:2013>
       ] ;
       fhir:code [ fhir:v "1.2.840.10065.1.12.1.5" ] ;
       fhir:display [ fhir:v "Signature" ]
     ] ) ;
     fhir:when [ fhir:v "2025-03-15T09:30:00+08:00"^^xsd:dateTime ] ;
     fhir:who [
       fhir:l <urn://example.com/ph-ereferral/fhir/PractitionerRole/ExampleERefPractitionerRoleMinimal> ;
       fhir:reference [ fhir:v "PractitionerRole/ExampleERefPractitionerRoleMinimal" ]
     ] ;
     fhir:sigFormat [ fhir:v "application/signature+xml" ] ;
     fhir:data [ fhir:v "dGVzdHNpZ25hdHVyZWJhc2U2NA=="^^xsd:base64Binary ]
  ] ) . # 

# -------------------------------------------------------------------------------------

