@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/tiflow-erezept/Task/f5c21409-b84b-4125-8649-5630a00906b1> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "f5c21409-b84b-4125-8649-5630a00906b1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|2.0"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task?version=2.0>
     ] ) ;
     fhir:tag ( [
       fhir:display [ fhir:v "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" ]
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task f5c21409-b84b-4125-8649-5630a00906b1</b></p><a name=\"f5c21409-b84b-4125-8649-5630a00906b1\"> </a><a name=\"hcf5c21409-b84b-4125-8649-5630a00906b1\"> </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-GEM-ERP-PR-Task.html\">Task für E-Rezept</a> version: 2.0.0-ballot.1</p><p style=\"margin-bottom: 0px\">Tag: Task in IN-PROGRESS state claimed by pharmacy via $accept operation (Details: [not stated] code null = 'Task in IN-PROGRESS state claimed by pharmacy via $accept operation')</p></div><p><b>TI Flow Type</b>: <a href=\"https://gematik.de/fhir/tiflow/2.0.0-ballot.1/CodeSystem-ti-flowtypes-codes.html#ti-flowtypes-codes-160\">CodeSystem der Flowtypes in TIFlow Anwendungen: 160</a> (Flowtype für Apothekenpflichtige Arzneimittel)</p><p><b>TI Flow AcceptDate</b>: 2028-10-01</p><p><b>TI Flow ExpiryDate</b>: 2028-10-01</p><p><b>GEM ERP EX LastMedicationDispense</b>: 2028-10-01 16:44:00+0000</p><p><b>identifier</b>: <code>https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId</code>/160.000.033.491.280.78, <code>https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode</code>/777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea</p><p><b>status</b>: In Progress</p><p><b>intent</b>: order</p><p><b>for</b>: Identifier: NamingSystemKVID/X123456789</p><p><b>authoredOn</b>: 2028-10-01 15:29:00+0000</p><p><b>lastModified</b>: 2028-10-01 16:44:00+0000</p><p><b>performerType</b>: <span title=\"Codes:{https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType urn:oid:1.2.276.0.76.4.54}\">Öffentliche Apotheke</span></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType 1}\">Health Care Provider Prescription</span></p><p><b>value</b>: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&amp;canonical=http://fhir.org/packages/de.basisprofil.r4/281a985c-f25b-4aae-91a6-41ad744080b0\">281a985c-f25b-4aae-91a6-41ad744080b0</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType 2}\">Patient Confirmation</span></p><p><b>value</b>: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&amp;canonical=http://fhir.org/packages/de.basisprofil.r4/f8c2298f-7c00-4a68-af29-8a2862d55d43\">f8c2298f-7c00-4a68-af29-8a2862d55d43</a></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType>
     ] ;
     fhir:value [
       a fhir:Coding ;
       fhir:system [
         fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType>
       ] ;
       fhir:code [ fhir:v "160" ] ;
       fhir:display [ fhir:v "Flowtype für Apothekenpflichtige Arzneimittel" ]
     ]
  ] [
     fhir:url [
       fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate>
     ] ;
     fhir:value [
       a fhir:Date ;
       fhir:v "2028-10-01"^^xsd:date
     ]
  ] [
     fhir:url [
       fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate>
     ] ;
     fhir:value [
       a fhir:Date ;
       fhir:v "2028-10-01"^^xsd:date
     ]
  ] [
     fhir:url [
       fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense>
     ] ;
     fhir:value [
       a fhir:Instant ;
       fhir:v "2028-10-01T16:44:00.434+00:00"^^xsd:dateTime
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId>
     ] ;
     fhir:value [ fhir:v "160.000.033.491.280.78" ]
  ] [
     fhir:system [
       fhir:v "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode>
     ] ;
     fhir:value [ fhir:v "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" ]
  ] ) ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:for [
     fhir:identifier [
       fhir:system [
         fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
         fhir:l <http://fhir.de/sid/gkv/kvid-10>
       ] ;
       fhir:value [ fhir:v "X123456789" ]
     ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2028-10-01T15:29:00+00:00"^^xsd:dateTime] ; # 
  fhir:lastModified [ fhir:v "2028-10-01T16:44:00.434+00:00"^^xsd:dateTime] ; # 
  fhir:performerType ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType>
       ] ;
       fhir:code [ fhir:v "urn:oid:1.2.276.0.76.4.54" ] ;
       fhir:display [ fhir:v "Öffentliche Apotheke" ]
     ] )
  ] ) ; # 
  fhir:input ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType"^^xsd:anyURI ;
           fhir:l <https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType>
         ] ;
         fhir:code [ fhir:v "1" ] ;
         fhir:display [ fhir:v "Health Care Provider Prescription" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l fhir:281a985c-f25b-4aae-91a6-41ad744080b0 ;
       fhir:reference [ fhir:v "281a985c-f25b-4aae-91a6-41ad744080b0" ]
     ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType"^^xsd:anyURI ;
           fhir:l <https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType>
         ] ;
         fhir:code [ fhir:v "2" ] ;
         fhir:display [ fhir:v "Patient Confirmation" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l fhir:f8c2298f-7c00-4a68-af29-8a2862d55d43 ;
       fhir:reference [ fhir:v "f8c2298f-7c00-4a68-af29-8a2862d55d43" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

