{
  "resourceType": "Bundle",
  "id": "281a985c-f25b-4aae-91a6-41ad744080b0",
  "meta": {
    "lastUpdated": "2020-05-04T08:30:00Z",
    "profile": [
      "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.0.0"
    ]
  },
  "identifier": {
    "system": "http://gematik.de/fhir/Namingsystem/prescriptionID",
    "value": "1234567890"
  },
  "type": "document",
  "timestamp": "2020-06-23T08:30:00Z",
  "entry": [
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/Composition/ed52c1e3-b700-4497-ae19-b23744e29876",
      "resource": {
        "resourceType": "Composition",
        "id": "ed52c1e3-b700-4497-ae19-b23744e29876",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.0.0"
          ]
        },
        "extension": [
          {
            "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis",
            "valueCoding": {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN",
              "code": "00"
            }
          }
        ],
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Formular_Art",
              "code": "e16A"
            }
          ]
        },
        "subject": {
          "reference": "Patient/9774f67f-a238-4daf-b4e6-679deeef3811"
        },
        "date": "2020-05-04T08:00:00Z",
        "author": [
          {
            "reference": "Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3",
            "type": "Practitioner"
          },
          {
            "type": "Device",
            "identifier": {
              "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer",
              "value": "Y/400/1910/36/346"
            }
          }
        ],
        "title": "elektronische Arzneimittelverordnung",
        "custodian": {
          "reference": "Organization/cf042e44-086a-4d51-9c77-172f9a972e3b"
        },
        "section": [
          {
            "code": {
              "coding": [
                {
                  "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type",
                  "code": "Prescription"
                }
              ]
            },
            "entry": [
              {
                "reference": "MedicationRequest/e930cdee-9eb5-4b44-88b5-2a18b69f3b9a"
              }
            ]
          },
          {
            "code": {
              "coding": [
                {
                  "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type",
                  "code": "Coverage"
                }
              ]
            },
            "entry": [
              {
                "reference": "Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"
              }
            ]
          },
          {
            "code": {
              "coding": [
                {
                  "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type",
                  "code": "FOR_PractitionerRole"
                }
              ]
            },
            "entry": [
              {
                "reference": "PractitionerRole/9a4090f8-8c5a-11ea-bc55-0242ac13000"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/MedicationRequest/e930cdee-9eb5-4b44-88b5-2a18b69f3b9a",
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "e930cdee-9eb5-4b44-88b5-2a18b69f3b9a",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.0.0"
          ]
        },
        "extension": [
          {
            "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_StatusCoPayment",
            "valueCoding": {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_StatusCoPayment",
              "code": "0"
            }
          },
          {
            "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee",
            "valueBoolean": false
          },
          {
            "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG",
            "valueBoolean": false
          },
          {
            "extension": [
              {
                "url": "unfallkennzeichen",
                "valueCoding": {
                  "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Ursache_Type",
                  "code": "2"
                }
              },
              {
                "url": "unfalltag",
                "valueDate": "2020-05-01"
              },
              {
                "url": "unfallbetrieb",
                "valueString": "Dummy-Betrieb"
              }
            ],
            "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Accident"
          }
        ],
        "status": "active",
        "intent": "order",
        "medicationReference": {
          "reference": "Medication/5fe6e06c-8725-46d5-aecd-e65e041ca3de"
        },
        "subject": {
          "reference": "Patient/9774f67f-a238-4daf-b4e6-679deeef3811"
        },
        "authoredOn": "2020-02-03",
        "requester": {
          "reference": "Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"
        },
        "insurance": [
          {
            "reference": "Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a"
          }
        ],
        "dosageInstruction": [
          {
            "extension": [
              {
                "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag",
                "valueBoolean": true
              }
            ],
            "text": "1-0-1-0"
          }
        ],
        "dispenseRequest": {
          "quantity": {
            "value": 1,
            "system": "http://unitsofmeasure.org",
            "code": "{Package}"
          }
        },
        "substitution": {
          "allowedBoolean": true
        }
      }
    },
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/Medication/5fe6e06c-8725-46d5-aecd-e65e041ca3de",
      "resource": {
        "resourceType": "Medication",
        "id": "5fe6e06c-8725-46d5-aecd-e65e041ca3de",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.0.0"
          ]
        },
        "extension": [
          {
            "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category",
            "valueCoding": {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category",
              "code": "00"
            }
          },
          {
            "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine",
            "valueBoolean": false
          },
          {
            "url": "http://fhir.de/StructureDefinition/normgroesse",
            "valueCode": "N1"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://fhir.de/CodeSystem/ifa/pzn",
              "code": "06313728"
            }
          ],
          "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
        },
        "form": {
          "coding": [
            {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
              "code": "TAB"
            }
          ]
        },
        "amount": {
          "numerator": {
            "value": 12,
            "unit": "TAB",
            "system": "http://unitsofmeasure.org",
            "code": "{tbl}"
          },
          "denominator": {
            "value": 1
          }
        }
      }
    },
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/Patient/9774f67f-a238-4daf-b4e6-679deeef3811",
      "resource": {
        "resourceType": "Patient",
        "id": "9774f67f-a238-4daf-b4e6-679deeef3811",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.0.1"
          ]
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
                  "code": "GKV"
                }
              ]
            },
            "system": "http://fhir.de/NamingSystem/gkv/kvid-10",
            "value": "X234567890"
          }
        ],
        "name": [
          {
            "use": "official",
            "family": "Ludger Königsstein",
            "_family": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
                  "valueString": "Königsstein"
                }
              ]
            },
            "given": [
              "Ludger"
            ]
          }
        ],
        "birthDate": "1935-06-22",
        "address": [
          {
            "type": "both",
            "line": [
              "Musterstr. 1"
            ],
            "_line": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                    "valueString": "1"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                    "valueString": "Musterstr."
                  }
                ]
              }
            ],
            "city": "Berlin",
            "postalCode": "10623"
          }
        ]
      }
    },
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3",
      "resource": {
        "resourceType": "Practitioner",
        "id": "20597e0e-cb2a-45b3-95f0-dc3dbdb617c3",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.0.1"
          ]
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "LANR"
                }
              ]
            },
            "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
            "value": "838382202"
          }
        ],
        "name": [
          {
            "use": "official",
            "family": "Topp-Glücklich",
            "_family": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
                  "valueString": "Topp-Glücklich"
                }
              ]
            },
            "given": [
              "Hans"
            ],
            "prefix": [
              "Dr. med."
            ],
            "_prefix": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                    "valueCode": "AC"
                  }
                ]
              }
            ]
          }
        ],
        "qualification": [
          {
            "code": {
              "coding": [
                {
                  "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type",
                  "code": "00"
                }
              ]
            }
          },
          {
            "code": {
              "text": "Hausarzt"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/Organization/cf042e44-086a-4d51-9c77-172f9a972e3b",
      "resource": {
        "resourceType": "Organization",
        "id": "cf042e44-086a-4d51-9c77-172f9a972e3b",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.0.1"
          ]
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "BSNR"
                }
              ]
            },
            "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
            "value": "031234567"
          }
        ],
        "name": "Hausarztpraxis Dr. Topp-Glücklich",
        "telecom": [
          {
            "system": "phone",
            "value": "0301234567"
          }
        ],
        "address": [
          {
            "type": "both",
            "line": [
              "Musterstr. 2"
            ],
            "_line": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                    "valueString": "2"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                    "valueString": "Musterstr."
                  }
                ]
              }
            ],
            "city": "Berlin",
            "postalCode": "10623"
          }
        ]
      }
    },
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a",
      "resource": {
        "resourceType": "Coverage",
        "id": "1b1ffb6e-eb05-43d7-87eb-e7818fe9661a",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.0.1"
          ]
        },
        "extension": [
          {
            "url": "http://fhir.de/StructureDefinition/gkv/besondere-personengruppe",
            "valueCoding": {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE",
              "code": "00"
            }
          },
          {
            "url": "http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen",
            "valueCoding": {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP",
              "code": "00"
            }
          },
          {
            "url": "http://fhir.de/StructureDefinition/gkv/wop",
            "valueCoding": {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP",
              "code": "03"
            }
          },
          {
            "url": "http://fhir.de/StructureDefinition/gkv/versichertenart",
            "valueCoding": {
              "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS",
              "code": "1"
            }
          }
        ],
        "status": "active",
        "type": {
          "coding": [
            {
              "system": "http://fhir.de/CodeSystem/versicherungsart-de-basis",
              "code": "GKV"
            }
          ]
        },
        "beneficiary": {
          "reference": "Patient/9774f67f-a238-4daf-b4e6-679deeef3811"
        },
        "payor": [
          {
            "identifier": {
              "system": "http://fhir.de/NamingSystem/arge-ik/iknr",
              "value": "104212059"
            },
            "display": "AOK Rheinland/Hamburg"
          }
        ]
      }
    },
    {
      "fullUrl": "http://pvs.praxis-topp-gluecklich.local/fhir/PractitionerRole/9a4090f8-8c5a-11ea-bc55-0242ac13000",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "9a4090f8-8c5a-11ea-bc55-0242ac13000",
        "meta": {
          "profile": [
            "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.0.1"
          ]
        },
        "practitioner": {
          "reference": "Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3"
        },
        "organization": {
          "identifier": {
            "system": "http://fhir.de/NamingSystem/asv/teamnummer",
            "value": "003456789"
          }
        }
      }
    }
  ]
}