Beispiele

Bundle
<Bundle xmlns="http://hl7.org/fhir">
    <id value="ExampleISiKMedikationTransactionResponse" />
    <meta>
        <profile value="https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationTransactionResponse" />
    </meta>
    <type value="transaction-response" />
    <entry>
        <fullUrl value="http://my.target.fhir.server.local/MedicationStatement/ExampleISiKMedikationsInformation1" />
        <resource>
            <MedicationStatement>
                <id value="ExampleISiKMedikationsInformation1" />
                <meta>
                    <profile value="https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsInformation" />
                </meta>
                <extension url="https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKAcceptedRisk">
                    <valueString value="Erh&#246;htes Blutungsrisiko ist in diesem Fall vertretbar." />
                </extension>
                <extension url="https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKMedikationsart">
                    <valueCoding>
                        <system value="https://gematik.de/fhir/isik/CodeSystem/ISiKMedikationsartCS" />
                        <code value="akut" />
                    </valueCoding>
                </extension>
                <extension url="https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKSelbstmedikation">
                    <valueBoolean value="true" />
                </extension>
                <extension url="https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKBehandlungsziel">
                    <valueString value="Schmerztherapie postoperativ" />
                </extension>
                <status value="active" />
                <medicationReference>
                    <reference value="Medication/ExampleISiKMedikament1" />
                </medicationReference>
                <subject>
                    <reference value="Patient/PatientinMusterfrau" />
                </subject>
                <context>
                    <reference value="Encounter/Fachabteilungskontakt" />
                </context>
                <effectivePeriod>
                    <start value="2021-07-01" />
                </effectivePeriod>
                <dateAsserted value="2021-07-01" />
                <reasonReference>
                    <reference value="Condition/BehandlungsDiagnoseFreitext" />
                </reasonReference>
                <dosage>
                    <timing>
                        <repeat>
                            <when value="MORN" />
                            <when value="NOON" />
                            <when value="EVE" />
                        </repeat>
                    </timing>
                    <doseAndRate>
                        <doseQuantity>
                            <value value="1" />
                            <unit value="Brausetablette" />
                            <system value="http://unitsofmeasure.org" />
                            <code value="1" />
                        </doseQuantity>
                    </doseAndRate>
                </dosage>
            </MedicationStatement>
        </resource>
        <response>
            <status value="201" />
            <location value="http://my.fhir.server.local/MedicationStatement/ExampleISiKMedikationsInformation1" />
        </response>
    </entry>
    <entry>
        <fullUrl value="http://my.target.fhir.server.local/Medication/ExampleISiKMedikament1" />
        <resource>
            <Medication>
                <id value="ExampleISiKMedikament1" />
                <meta>
                    <profile value="https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikament" />
                </meta>
                <code>
                    <coding>
                        <system value="http://fhir.de/CodeSystem/bfarm/atc" />
                        <version value="2024" />
                        <code value="V03AB23" />
                        <display value="Acetylcystein" />
                    </coding>
                </code>
                <status value="active" />
            </Medication>
        </resource>
        <response>
            <status value="201" />
            <location value="http://my.fhir.server.local/Medication/ExampleISiKMedikament1" />
        </response>
    </entry>
</Bundle>
{
    "resourceType": "Bundle",
    "id": "ExampleISiKMedikationTransactionResponse",
    "meta": {
        "profile":  [
            "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationTransactionResponse"
        ]
    },
    "type": "transaction-response",
    "entry":  [
        {
            "fullUrl": "http://my.target.fhir.server.local/MedicationStatement/ExampleISiKMedikationsInformation1",
            "resource": {
                "resourceType": "MedicationStatement",
                "id": "ExampleISiKMedikationsInformation1",
                "meta": {
                    "profile":  [
                        "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsInformation"
                    ]
                },
                "extension":  [
                    {
                        "url": "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKAcceptedRisk",
                        "valueString": "Erhöhtes Blutungsrisiko ist in diesem Fall vertretbar."
                    },
                    {
                        "url": "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKMedikationsart",
                        "valueCoding": {
                            "code": "akut",
                            "system": "https://gematik.de/fhir/isik/CodeSystem/ISiKMedikationsartCS"
                        }
                    },
                    {
                        "url": "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKSelbstmedikation",
                        "valueBoolean": true
                    },
                    {
                        "url": "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKBehandlungsziel",
                        "valueString": "Schmerztherapie postoperativ"
                    }
                ],
                "dosage":  [
                    {
                        "doseAndRate":  [
                            {
                                "doseQuantity": {
                                    "system": "http://unitsofmeasure.org",
                                    "value": 1,
                                    "unit": "Brausetablette",
                                    "code": "1"
                                }
                            }
                        ],
                        "timing": {
                            "repeat": {
                                "when":  [
                                    "MORN",
                                    "NOON",
                                    "EVE"
                                ]
                            }
                        }
                    }
                ],
                "status": "active",
                "medicationReference": {
                    "reference": "Medication/ExampleISiKMedikament1"
                },
                "subject": {
                    "reference": "Patient/PatientinMusterfrau"
                },
                "context": {
                    "reference": "Encounter/Fachabteilungskontakt"
                },
                "effectivePeriod": {
                    "start": "2021-07-01"
                },
                "dateAsserted": "2021-07-01",
                "reasonReference":  [
                    {
                        "reference": "Condition/BehandlungsDiagnoseFreitext"
                    }
                ]
            },
            "response": {
                "status": "201",
                "location": "http://my.fhir.server.local/MedicationStatement/ExampleISiKMedikationsInformation1"
            }
        },
        {
            "fullUrl": "http://my.target.fhir.server.local/Medication/ExampleISiKMedikament1",
            "resource": {
                "resourceType": "Medication",
                "id": "ExampleISiKMedikament1",
                "meta": {
                    "profile":  [
                        "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikament"
                    ]
                },
                "code": {
                    "coding":  [
                        {
                            "system": "http://fhir.de/CodeSystem/bfarm/atc",
                            "code": "V03AB23",
                            "display": "Acetylcystein",
                            "version": "2024"
                        }
                    ]
                },
                "status": "active"
            },
            "response": {
                "status": "201",
                "location": "http://my.fhir.server.local/Medication/ExampleISiKMedikament1"
            }
        }
    ]
}