@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/a99c2849-de82-4a43-98f4-8d6a4caa6038> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "a99c2849-de82-4a43-98f4-8d6a4caa6038"] ; # 
  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/0fc1f006-5793-4501-81b6-fe3918fcfa2d/_history/2> ;
     fhir:reference [ fhir:v "MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d/_history/2" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2025-12-03T14:00:00.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" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

