@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 -------------------------------------------------------------------

<https://gematik.de/fhir/tiflow-xborder/Parameters/Example-EU-PermissionResponse> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Example-EU-PermissionResponse"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Response" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Response>
     ]
  ] ;
  fhir:Parameters.parameter [
     fhir:index 0 ;
     fhir:Parameters.parameter.name [ fhir:value "countryCode" ] ;
     fhir:Parameters.parameter.valueCoding [
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "BE" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Parameters.parameter.name [ fhir:value "accessCode" ] ;
     fhir:Parameters.parameter.valueIdentifier [
       fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_EU_AccessCode" ] ;
       fhir:Identifier.value [ fhir:value "ABC123" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Parameters.parameter.name [ fhir:value "validUntil" ] ;
     fhir:Parameters.parameter.valueInstant [ fhir:value "2025-10-01T13:12:32+02:00"^^xsd:dateTime ]
  ], [
     fhir:index 3 ;
     fhir:Parameters.parameter.name [ fhir:value "createdAt" ] ;
     fhir:Parameters.parameter.valueInstant [ fhir:value "2025-10-01T12:12:32+02:00"^^xsd:dateTime ]
  ] .

# - ontology header ------------------------------------------------------------

<https://gematik.de/fhir/tiflow-xborder/Parameters/Example-EU-PermissionResponse.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

