# Task aktiviert durch (Z)PVS/KIS via $activate Operation - Implementation Guide TIFlow - Verordnungen für Arzneimittel v2.0.0-ballot.2

Implementation Guide

TIFlow - Verordnungen für Arzneimittel

Version 2.0.0-ballot.2 - ballot 

* [**Table of Contents**](toc.md)
* [**FHIR-Artefakte**](artifacts.md)
* **Task aktiviert durch (Z)PVS/KIS via $activate Operation**

## Example Task: Task aktiviert durch (Z)PVS/KIS via $activate Operation

Profile: [Task für E-Rezept](StructureDefinition-GEM-ERP-PR-Task.md) version: 2.0.0-ballot.2

Tag: 

**TI Flow Type**: [CodeSystem der Flowtypes in TIFlow Anwendungen: 160](https://gematik.de/fhir/tiflow/2.0.0-ballot.2/CodeSystem-GEM-ERP-CS-FlowType.html#GEM-ERP-CS-FlowType-160) (Flowtype für Apothekenpflichtige Arzneimittel)

**TI Flow AcceptDate**: 2028-10-01

**TI Flow ExpiryDate**: 2028-10-01

**identifier**: `https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId`/160.000.033.491.280.78, `https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode`/777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea

**status**: Ready

**intent**: order

**for**: Identifier: NamingSystemKVID/X123456789

**authoredOn**: 2028-10-01 15:29:00+0000

**lastModified**: 2028-10-01 16:44:00+0000

**performerType**: Öffentliche Apotheke

> **input****type**: Health Care Provider Prescription**value**: [281a985c-f25b-4aae-91a6-41ad744080b0](https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&canonical=http://fhir.org/packages/de.basisprofil.r4/281a985c-f25b-4aae-91a6-41ad744080b0)

> **input****type**: Patient Confirmation**value**: [f8c2298f-7c00-4a68-af29-8a2862d55d43](https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&canonical=http://fhir.org/packages/de.basisprofil.r4/f8c2298f-7c00-4a68-af29-8a2862d55d43)



## Resource Content

```json
{
  "resourceType" : "Task",
  "id" : "TaskInReadyState",
  "meta" : {
    "profile" : ["https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|2.0"],
    "tag" : [{
      "display" : "Task in READY state activated by (Z)PVS/KIS via $activate operation"
    }]
  },
  "extension" : [{
    "url" : "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType",
    "valueCoding" : {
      "system" : "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType",
      "code" : "160",
      "display" : "Flowtype für Apothekenpflichtige Arzneimittel"
    }
  },
  {
    "url" : "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate",
    "valueDate" : "2028-10-01"
  },
  {
    "url" : "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate",
    "valueDate" : "2028-10-01"
  }],
  "identifier" : [{
    "system" : "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
    "value" : "160.000.033.491.280.78"
  },
  {
    "system" : "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
    "value" : "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea"
  }],
  "status" : "ready",
  "intent" : "order",
  "for" : {
    "identifier" : {
      "system" : "http://fhir.de/sid/gkv/kvid-10",
      "value" : "X123456789"
    }
  },
  "authoredOn" : "2028-10-01T15:29:00+00:00",
  "lastModified" : "2028-10-01T16:44:00.434+00:00",
  "performerType" : [{
    "coding" : [{
      "system" : "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType",
      "code" : "urn:oid:1.2.276.0.76.4.54",
      "display" : "Öffentliche Apotheke"
    }]
  }],
  "input" : [{
    "type" : {
      "coding" : [{
        "system" : "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
        "code" : "1",
        "display" : "Health Care Provider Prescription"
      }]
    },
    "valueReference" : {
      "reference" : "281a985c-f25b-4aae-91a6-41ad744080b0"
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
        "code" : "2",
        "display" : "Patient Confirmation"
      }]
    },
    "valueReference" : {
      "reference" : "f8c2298f-7c00-4a68-af29-8a2862d55d43"
    }
  }]
}

```
