Important: This is the release candidate of the FHIR Data Standards Wales for PSOM version 1.0.0-rc2 Implementation Guide. It is intended for trial use, and is published for early comment and feedback. Click here to give feedback.
Example exception response - Received message does not conform to the PSOM FHIR specifications.
- Overview
- Table
- XML
- JSON
- Narrative
Bundle |
id : Example-DataStandardsWales-PSOM-Bundle-ExceptionResponse-2-1 |
identifier |
system : https://acme.com/fhir/Id/oracle-guid |
value : 00646e1d-fb71-45bd-8be2-592044f0e62f |
type : message |
timestamp : 2023-03-14T11:15:33+00:00 |
entry |
fullUrl : urn:uuid:ccc220b0-b410-4d3c-9bf5-6bee786c7863 |
resource |
id : ccc220b0-b410-4d3c-9bf5-6bee786c7863 |
meta |
profile : https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader |
event |
system : https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent |
code : exception-response |
display : Exception response |
source |
name : Example PROMs provider |
endpoint : https://nhspsom.examplepromsprovider.com |
response |
identifier : 5015fe84-8e76-4526-89d8-44b322e8d4fb |
code : fatal-error |
details |
reference : urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc |
definition : https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse |
entry |
fullUrl : urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc |
resource |
id : 1e43f89f-88c5-4534-983c-c581779c7fdc |
issue |
severity : error |
code : invalid |
diagnostics : The request message provided is invalid JSON/XML and cannot be processed. |
Bundle.id[0] | Example-DataStandardsWales-PSOM-Bundle-ExceptionResponse-2-1 |
Bundle.identifier[0].system[0] | https://acme.com/fhir/Id/oracle-guid |
Bundle.identifier[0].value[0] | 00646e1d-fb71-45bd-8be2-592044f0e62f |
Bundle.type[0] | message |
Bundle.timestamp[0] | 2023-03-14T11:15:33+00:00 |
Bundle.entry[0].fullUrl[0] | urn:uuid:ccc220b0-b410-4d3c-9bf5-6bee786c7863 |
Bundle.entry[0].resource[0].id[0] | ccc220b0-b410-4d3c-9bf5-6bee786c7863 |
Bundle.entry[0].resource[0].meta[0].profile[0] | https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader |
Bundle.entry[0].resource[0].event[0].system[0] | https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent |
Bundle.entry[0].resource[0].event[0].code[0] | exception-response |
Bundle.entry[0].resource[0].event[0].display[0] | Exception response |
Bundle.entry[0].resource[0].source[0].name[0] | Example PROMs provider |
Bundle.entry[0].resource[0].source[0].endpoint[0] | https://nhspsom.examplepromsprovider.com |
Bundle.entry[0].resource[0].response[0].identifier[0] | 5015fe84-8e76-4526-89d8-44b322e8d4fb |
Bundle.entry[0].resource[0].response[0].code[0] | fatal-error |
Bundle.entry[0].resource[0].response[0].details[0].reference[0] | urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc |
Bundle.entry[0].resource[0].definition[0] | https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse |
Bundle.entry[1].fullUrl[0] | urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc |
Bundle.entry[1].resource[0].id[0] | 1e43f89f-88c5-4534-983c-c581779c7fdc |
Bundle.entry[1].resource[0].issue[0].severity[0] | error |
Bundle.entry[1].resource[0].issue[0].code[0] | invalid |
Bundle.entry[1].resource[0].issue[0].diagnostics[0] | The request message provided is invalid JSON/XML and cannot be processed. |
<Bundle xmlns="http://hl7.org/fhir"> <id value="Example-DataStandardsWales-PSOM-Bundle-ExceptionResponse-2-1" /> <identifier> <system value="https://acme.com/fhir/Id/oracle-guid" /> <value value="00646e1d-fb71-45bd-8be2-592044f0e62f" /> </identifier> <type value="message" /> <timestamp value="2023-03-14T11:15:33+00:00" /> <entry> <fullUrl value="urn:uuid:ccc220b0-b410-4d3c-9bf5-6bee786c7863" /> <resource> <MessageHeader> <id value="ccc220b0-b410-4d3c-9bf5-6bee786c7863" /> <meta> <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader" /> </meta> <eventCoding> <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent" /> <code value="exception-response" /> <display value="Exception response" /> </eventCoding> <source> <name value="Example PROMs provider" /> <endpoint value="https://nhspsom.examplepromsprovider.com" /> </source> <response> <identifier value="5015fe84-8e76-4526-89d8-44b322e8d4fb" /> <code value="fatal-error" /> <details> <reference value="urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc" /> </details> </response> <definition value="https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse" /> </MessageHeader> </resource> </entry> <entry> <fullUrl value="urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc" /> <resource> <OperationOutcome> <id value="1e43f89f-88c5-4534-983c-c581779c7fdc" /> <issue> <severity value="error" /> <code value="invalid" /> <diagnostics value="The request message provided is invalid JSON/XML and cannot be processed." /> </issue> </OperationOutcome> </resource> </entry> </Bundle>
{ "resourceType": "Bundle", "id": "Example-DataStandardsWales-PSOM-Bundle-ExceptionResponse-2-1", "identifier": { "system": "https://acme.com/fhir/Id/oracle-guid", "value": "00646e1d-fb71-45bd-8be2-592044f0e62f" }, "type": "message", "timestamp": "2023-03-14T11:15:33+00:00", "entry": [ { "fullUrl": "urn:uuid:ccc220b0-b410-4d3c-9bf5-6bee786c7863", "resource": { "resourceType": "MessageHeader", "id": "ccc220b0-b410-4d3c-9bf5-6bee786c7863", "meta": { "profile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader" ] }, "eventCoding": { "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent", "code": "exception-response", "display": "Exception response" }, "source": { "name": "Example PROMs provider", "endpoint": "https://nhspsom.examplepromsprovider.com" }, "response": { "identifier": "5015fe84-8e76-4526-89d8-44b322e8d4fb", "code": "fatal-error", "details": { "reference": "urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc" } }, "definition": "https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse" } }, { "fullUrl": "urn:uuid:1e43f89f-88c5-4534-983c-c581779c7fdc", "resource": { "resourceType": "OperationOutcome", "id": "1e43f89f-88c5-4534-983c-c581779c7fdc", "issue": [ { "severity": "error", "code": "invalid", "diagnostics": "The request message provided is invalid JSON/XML and cannot be processed." } ] } } ] }
Command 'narrative' could not render: File is not a DomainResource