@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://gematik.de/fhir/epa-medication/Provenance/b5ad3b05-1174-415f-8f43-555160862b25> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "b5ad3b05-1174-415f-8f43-555160862b25"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance?version=1.3.0>
     ] )
  ] ; # 
  fhir:target ( [
     fhir:l <https://gematik.de/fhir/epa-medication/MedicationStatement/ab495b80-c9d2-4ed6-a076-b44b8dfae75a/_history/2> ;
     fhir:reference [ fhir:v "MedicationStatement/ab495b80-c9d2-4ed6-a076-b44b8dfae75a/_history/2" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2025-10-19T14:43:33.244Z"^^xsd:dateTime] ; # 
  fhir:activity [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-DataOperation"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-DataOperation>
       ] ;
       fhir:code [ fhir:v "UPDATE" ]
     ] )
  ] ; # 
  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:who [
       fhir:identifier [
         fhir:system [
           fhir:v "https://gematik.de/fhir/sid/epa-fhir-data-service"^^xsd:anyURI ;
           fhir:l <https://gematik.de/fhir/sid/epa-fhir-data-service>
         ] ;
         fhir:value [ fhir:v "MEDICATIONSVC" ]
       ] ;
       fhir:display [ fhir:v "ePA Medication Service" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

