Important: This is the release candidate of the FHIR Data Standards Wales for PSOM version 1.0.0-rc5 Implementation Guide. It is intended for trial use, and is published for early comment and feedback. Click here to give feedback.
Example exception response - Duplicate collection requests.
- Overview
- Table
- XML
- JSON
- Narrative
| Bundle |
| id : Example-DataStandardsWales-PSOM-Bundle-ExceptionResponse-2-5 |
| identifier |
| system : https://acme.com/fhir/Id/oracle-guid |
| value : 33be059f-6c4d-4b8c-97a8-edc8ef85509f |
| type : message |
| timestamp : 2023-03-14T11:15:33+00:00 |
| entry |
| fullUrl : urn:uuid:8f2ef241-09bf-435a-9e93-0445a99b942f |
| resource |
| id : 8f2ef241-09bf-435a-9e93-0445a99b942f |
| 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:b2727490-3dc1-4e45-8260-33fe743b91d2 |
| definition : https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse |
| entry |
| fullUrl : urn:uuid:b2727490-3dc1-4e45-8260-33fe743b91d2 |
| resource |
| id : b2727490-3dc1-4e45-8260-33fe743b91d2 |
| issue |
| severity : error |
| code : duplicate |
| diagnostics : The request message contains a request for a PROMs collection that is already in progress. This request cannot be processed. |
| expression : Task |
| Bundle.id[0] | Example-DataStandardsWales-PSOM-Bundle-ExceptionResponse-2-5 |
| Bundle.identifier[0].system[0] | https://acme.com/fhir/Id/oracle-guid |
| Bundle.identifier[0].value[0] | 33be059f-6c4d-4b8c-97a8-edc8ef85509f |
| Bundle.type[0] | message |
| Bundle.timestamp[0] | 2023-03-14T11:15:33+00:00 |
| Bundle.entry[0].fullUrl[0] | urn:uuid:8f2ef241-09bf-435a-9e93-0445a99b942f |
| Bundle.entry[0].resource[0].id[0] | 8f2ef241-09bf-435a-9e93-0445a99b942f |
| 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:b2727490-3dc1-4e45-8260-33fe743b91d2 |
| Bundle.entry[0].resource[0].definition[0] | https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse |
| Bundle.entry[1].fullUrl[0] | urn:uuid:b2727490-3dc1-4e45-8260-33fe743b91d2 |
| Bundle.entry[1].resource[0].id[0] | b2727490-3dc1-4e45-8260-33fe743b91d2 |
| Bundle.entry[1].resource[0].issue[0].severity[0] | error |
| Bundle.entry[1].resource[0].issue[0].code[0] | duplicate |
| Bundle.entry[1].resource[0].issue[0].diagnostics[0] | The request message contains a request for a PROMs collection that is already in progress. This request cannot be processed. |
| Bundle.entry[1].resource[0].issue[0].expression[0] | Task |
</identifier>
<MessageHeader>
<profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader" />
</meta>
</eventCoding>
</source>
</details>
</response>
<definition value="https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse" />
</MessageHeader>
</resource>
</entry>
<OperationOutcome>
<diagnostics value="The request message contains a request for a PROMs collection that is already in progress. This request cannot be processed." />
</issue>
</OperationOutcome>
</resource>
</entry>
</Bundle>
{
},
{
},
},
},
}
},
}
},
{
{
"diagnostics": "The request message contains a request for a PROMs collection that is already in progress. This request cannot be processed.",
"Task"
]
}
]
}
}
]
}
Command 'narrative' could not render: File is not a DomainResource