Please note:
- This version of the UK Core is a development copy.
- This contains BREAKING CHANGES as a result of the C&TA Sprint 7 Review, and STU2 Sequence ballot reconciliation.
- This version is not yet reviewed for implementation. Other versions are available on the UK Core Version History Guide
- Please follow the guidance on the Contact Us page if you need any assistance.
- A summary of changes is available on the STU3 Sequence Change Log
UKCore-OperationOutcome-DateError-Example
An example to illustrate an error returned from an API call, due to an error in a date
Table View
OperationOutcome.id[0] | UKCore-OperationOutcome-DateError-Example |
OperationOutcome.text[0].status[0] | additional |
OperationOutcome.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate an error returned from an API call, due to an error in a date</div> |
OperationOutcome.issue[0].severity[0] | fatal |
OperationOutcome.issue[0].code[0] | structure |
OperationOutcome.issue[0].details[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/operation-outcome |
OperationOutcome.issue[0].details[0].coding[0].code[0] | MSG_DATE_FORMAT |
OperationOutcome.issue[0].details[0].coding[0].display[0] | The Date value %s is not in the correct format (Xml Date Format required) |
OperationOutcome.issue[0].diagnostics[0] | Interop.FHIRProcessors.Patient.processbirthDate line 2450 |
OperationOutcome.issue[0].expression[0] | Patient.birthDate |
Tree View
OperationOutcome |
id : UKCore-OperationOutcome-DateError-Example |
text |
status : additional |
issue |
severity : fatal |
code : structure |
details |
coding |
system : http://terminology.hl7.org/CodeSystem/operation-outcome |
code : MSG_DATE_FORMAT |
display : The Date value %s is not in the correct format (Xml Date Format required) |
diagnostics : Interop.FHIRProcessors.Patient.processbirthDate line 2450 |
expression : Patient.birthDate |
XML View
<OperationOutcome xmlns="http://hl7.org/fhir"> <id value="UKCore-OperationOutcome-DateError-Example" /> <text> <status value="additional" /> --- We have skipped the narrative for better readability of the resource --- </text> <issue> <severity value="fatal" /> <code value="structure" /> <details> <coding> <system value="http://terminology.hl7.org/CodeSystem/operation-outcome" /> <code value="MSG_DATE_FORMAT" /> <display value="The Date value %s is not in the correct format (Xml Date Format required)" /> </coding> </details> <diagnostics value="Interop.FHIRProcessors.Patient.processbirthDate line 2450" /> <expression value="Patient.birthDate" /> </issue> </OperationOutcome>
JSON View
{ "resourceType": "OperationOutcome", "id": "UKCore-OperationOutcome-DateError-Example", "text": { "status": "additional", --- We have skipped the narrative for better readability of the resource --- }, "issue": [ { "severity": "fatal", "code": "structure", "details": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/operation-outcome", "code": "MSG_DATE_FORMAT", "display": "The Date value %s is not in the correct format (Xml Date Format required)" } ] }, "diagnostics": "Interop.FHIRProcessors.Patient.processbirthDate line 2450", "expression": [ "Patient.birthDate" ] } ] }