Primjer poruke odgovora (greška)

<Bundle xmlns="http://hl7.org/fhir">
<id value="14b4dc1a-b86d-4e39-879d-a81e2a17a0a5" />
<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" />
<fullUrl value="urn:uuid:a1529f76-5331-4916-a5e4-0ec2e7f9a04a" />
<MessageHeader>
<system value="http://ent.hr/fhir/CodeSystem/ehe-message-types" />
<code value="2.6" />
</eventCoding>
<endpoint value="urn:oid:1.2.3.4.5.1" />
</source>
<identifier value="1ff51c4e-1460-4514-aabb-da8878734ea3" />
<code value="ok" />
</response>
<reference value="urn:uuid:c5858386-9b4d-4baf-9177-dde2dd7fd5a9" />
</focus>
</MessageHeader>
</resource>
</entry>
<fullUrl value="urn:uuid:c5858386-9b4d-4baf-9177-dde2dd7fd5a9" />
<OperationOutcome>
<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>
<severity value="fatal" />
<code value="required" />
<system value="http://ent.hr/fhir/CodeSystem/message-error-type" />
<code value="1" />
</coding>
</details>
</issue>
</OperationOutcome>
</resource>
</entry>
<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" />
<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",
"resourceType": "MessageHeader",
"system": "http://ent.hr/fhir/CodeSystem/ehe-message-types",
"code": "2.6"
},
"source": {
"endpoint": "urn:oid:1.2.3.4.5.1"
},
"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",
"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"
}
]
}
}
]
}
}
],
"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",
"system": "http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika",
"value": "1234567"
}
},
"data": "UHJpbWVyIHBvdHBpc2EgemEgdmnFoWUgaW5mb3JtYWNpamEgcHJvxI1pdGFqIEZISVIgc3RhbmRhcmQgaSBJSEUgRFNH"
}
}