Primjer poruke odgovora (greška)

<Bundle xmlns="http://hl7.org/fhir">
    <id value="14b4dc1a-b86d-4e39-879d-a81e2a17a0a5" />
    <meta>
        <versionId value="2" />
        <lastUpdated value="2022-08-18T18:02:35.557+00:00" />
        <source value="#fc94ba4cfeeffa0e" />
    </meta>
    <type value="message" />
    <timestamp value="2022-07-14T11:15:33+02:00" />
    <entry>
        <fullUrl value="urn:uuid:a1529f76-5331-4916-a5e4-0ec2e7f9a04a" />
        <resource>
            <MessageHeader>
                <eventCoding>
                    <system value="http://ent.hr/fhir/CodeSystem/ehe-message-types" />
                    <code value="2.6" />
                </eventCoding>
                <source>
                    <endpoint value="urn:oid:1.2.3.4.5.1" />
                </source>
                <response>
                    <identifier value="1ff51c4e-1460-4514-aabb-da8878734ea3" />
                    <code value="ok" />
                </response>
                <focus>
                    <reference value="urn:uuid:c5858386-9b4d-4baf-9177-dde2dd7fd5a9" />
                </focus>
            </MessageHeader>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:c5858386-9b4d-4baf-9177-dde2dd7fd5a9" />
        <resource>
            <OperationOutcome>
                <text>
                    <status value="generated" />
                    <div xmlns="http://www.w3.org/1999/xhtml"><h1>Operation Outcome</h1><table border="0"><tr><td style="font-weight: bold;">FATAL</td><td>[]</td><td><pre/></td>
			</tr>
		</table>
	</div>
                </text>
                <issue>
                    <severity value="fatal" />
                    <code value="required" />
                    <details>
                        <coding>
                            <system value="http://ent.hr/fhir/CodeSystem/message-error-type" />
                            <code value="1" />
                        </coding>
                    </details>
                </issue>
            </OperationOutcome>
        </resource>
    </entry>
    <signature>
        <type>
            <system value="urn:iso-astm:E1762-95:2013" />
            <code value="1.2.840.10065.1.12.1.1" />
        </type>
        <when value="2022-07-14T11:15:34+02:00" />
        <who>
            <type value="Practitioner" />
            <identifier>
                <system value="http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika" />
                <value value="1234567" />
            </identifier>
        </who>
        <data value="UHJpbWVyIHBvdHBpc2EgemEgdmnFoWUgaW5mb3JtYWNpamEgcHJvxI1pdGFqIEZISVIgc3RhbmRhcmQgaSBJSEUgRFNH" />
    </signature>
</Bundle>
{
    "resourceType": "Bundle",
    "id": "14b4dc1a-b86d-4e39-879d-a81e2a17a0a5",
    "meta": {
        "versionId": "2",
        "lastUpdated": "2022-08-18T18:02:35.557+00:00",
        "source": "#fc94ba4cfeeffa0e"
    },
    "type": "message",
    "timestamp": "2022-07-14T11:15:33+02:00",
    "entry":  [
        {
            "fullUrl": "urn:uuid:a1529f76-5331-4916-a5e4-0ec2e7f9a04a",
            "resource": {
                "resourceType": "MessageHeader",
                "eventCoding": {
                    "system": "http://ent.hr/fhir/CodeSystem/ehe-message-types",
                    "code": "2.6"
                },
                "source": {
                    "endpoint": "urn:oid:1.2.3.4.5.1"
                },
                "response": {
                    "identifier": "1ff51c4e-1460-4514-aabb-da8878734ea3",
                    "code": "ok"
                },
                "focus":  [
                    {
                        "reference": "urn:uuid:c5858386-9b4d-4baf-9177-dde2dd7fd5a9"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:c5858386-9b4d-4baf-9177-dde2dd7fd5a9",
            "resource": {
                "resourceType": "OperationOutcome",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">FATAL</td><td>[]</td><td><pre/></td>\n			</tr>\n		</table>\n	</div>"
                },
                "issue":  [
                    {
                        "severity": "fatal",
                        "code": "required",
                        "details": {
                            "coding":  [
                                {
                                    "system": "http://ent.hr/fhir/CodeSystem/message-error-type",
                                    "code": "1"
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ],
    "signature": {
        "type":  [
            {
                "system": "urn:iso-astm:E1762-95:2013",
                "code": "1.2.840.10065.1.12.1.1"
            }
        ],
        "when": "2022-07-14T11:15:34+02:00",
        "who": {
            "type": "Practitioner",
            "identifier": {
                "system": "http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika",
                "value": "1234567"
            }
        },
        "data": "UHJpbWVyIHBvdHBpc2EgemEgdmnFoWUgaW5mb3JtYWNpamEgcHJvxI1pdGFqIEZISVIgc3RhbmRhcmQgaSBJSEUgRFNH"
    }
}