Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## : Beispielantwort fuer die $accept-Operation - TTL Representation

Raw ttl | Download

    @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://hl7.org/fhir/Bundle/ExampleAcceptResponseBundle> a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "ExampleAcceptResponseBundle"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle_OP_Accept|2.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle_OP_Accept|2.0>
         ]
      ] ;
      fhir:Bundle.type [ fhir:value "collection"] ;
      fhir:Bundle.link [
         fhir:index 0 ;
         fhir:Bundle.link.relation [ fhir:value "self" ] ;
         fhir:Bundle.link.url [ fhir:value "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/160.000.033.491.280.78/$accept/" ]
      ] ;
      fhir:Bundle.entry [
         fhir:index 0 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e" ] ;
         fhir:Bundle.entry.resource <https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e>
      ], [
         fhir:index 1 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionBinaryWithMeta" ] ;
         fhir:Bundle.entry.resource <https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionBinaryWithMeta>
      ] .

    <https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e> a fhir:Task ;
      fhir:Resource.id [ fhir:value "d70932d1-9e1c-483c-b2d4-b7dced09b35e"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|2.0" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|2.0>
         ] ;
         fhir:Meta.tag [
           fhir:index 0 ;
           fhir:Coding.display [ fhir:value "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" ]
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" ] ;
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" ] ;
           fhir:Coding.code [ fhir:value "160" ] ;
           fhir:Coding.display [ fhir:value "Flowtype für Apothekenpflichtige Arzneimittel" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" ] ;
         fhir:Extension.valueDate [ fhir:value "2028-10-01"^^xsd:date ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" ] ;
         fhir:Extension.valueDate [ fhir:value "2028-10-01"^^xsd:date ]
      ] ;
      fhir:Task.identifier [
         fhir:index 0 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" ] ;
         fhir:Identifier.value [ fhir:value "160.000.033.491.280.78" ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" ] ;
         fhir:Identifier.value [ fhir:value "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" ]
      ] ;
      fhir:Task.status [ fhir:value "in-progress"] ;
      fhir:Task.intent [ fhir:value "order"] ;
      fhir:Task.for [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
           fhir:Identifier.value [ fhir:value "X123456789" ]
         ]
      ] ;
      fhir:Task.authoredOn [ fhir:value "2028-10-01T15:29:00+00:00"^^xsd:dateTime] ;
      fhir:Task.lastModified [ fhir:value "2028-10-01T16:44:00.434+00:00"^^xsd:dateTime] ;
      fhir:Task.performerType [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType" ] ;
           fhir:Coding.code [ fhir:value "urn:oid:1.2.276.0.76.4.54" ] ;
           fhir:Coding.display [ fhir:value "Öffentliche Apotheke" ]
         ]
      ] ;
      fhir:Task.input [
         fhir:index 0 ;
         fhir:Task.input.type [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType" ] ;
             fhir:Coding.code [ fhir:value "1" ] ;
             fhir:Coding.display [ fhir:value "Health Care Provider Prescription" ]
           ]
         ] ;
         fhir:Task.input.valueReference [
           fhir:link <http://hl7.org/fhir/Binary/PrescriptionBinary> ;
           fhir:Reference.reference [ fhir:value "Binary/PrescriptionBinary" ]
         ]
      ] .

    <http://hl7.org/fhir/Binary/PrescriptionBinary> a fhir:Binary .

    <https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionBinaryWithMeta> a fhir:Binary ;
      fhir:Resource.id [ fhir:value "PrescriptionBinaryWithMeta"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary>
         ]
      ] ;
      fhir:Binary.contentType [ fhir:value "application/pkcs7-mime"] ;
      fhir:Binary.data [ fhir:value "dGhpcyBibG9iIGlzIHNuaXBwZWQ="^^xsd:base64Binary] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/Bundle/ExampleAcceptResponseBundle.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Bundle/ExampleAcceptResponseBundle.ttl> .