File tree Expand file tree Collapse file tree 5 files changed +100
-0
lines changed
infrastructure/stacks/crud_apis/fhir_operation_outcomes Expand file tree Collapse file tree 5 files changed +100
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "resourceType" : " OperationOutcome" ,
3+ "issue" : [
4+ {
5+ "severity" : " error" ,
6+ "code" : " exception" ,
7+ "details" : {
8+ "coding" : [
9+ {
10+ "system" : " https://fhir.hl7.org.uk/CodeSystem/UKCore-SpineErrorOrWarningCode" ,
11+ "version" : " 1.0.0" ,
12+ "code" : " FATAL_EXCEPTION" ,
13+ "display" : " Fatal exception"
14+ }
15+ ]
16+ },
17+ "diagnostics" : " Internal server error occurred: $context.error.message"
18+ }
19+ ]
20+ }
Original file line number Diff line number Diff line change 1+ {
2+ "resourceType" : " OperationOutcome" ,
3+ "issue" : [
4+ {
5+ "severity" : " error" ,
6+ "code" : " invalid" ,
7+ "details" : {
8+ "coding" : [
9+ {
10+ "system" : " https://fhir.hl7.org.uk/CodeSystem/UKCore-SpineErrorOrWarningCode" ,
11+ "version" : " 1.0.0" ,
12+ "code" : " INVALID_SEARCH_DATA" ,
13+ "display" : " Invalid search data"
14+ }
15+ ]
16+ },
17+ "diagnostics" : " Invalid request data provided: $context.error.message"
18+ }
19+ ]
20+ }
Original file line number Diff line number Diff line change 1+ {
2+ "resourceType" : " OperationOutcome" ,
3+ "issue" : [
4+ {
5+ "severity" : " error" ,
6+ "code" : " forbidden" ,
7+ "details" : {
8+ "coding" : [
9+ {
10+ "system" : " https://fhir.hl7.org.uk/CodeSystem/UKCore-SpineErrorOrWarningCode" ,
11+ "version" : " 1.0.0" ,
12+ "code" : " ACCESS_DENIED" ,
13+ "display" : " Access denied"
14+ }
15+ ]
16+ },
17+ "diagnostics" : " Access denied for request: $context.requestId"
18+ }
19+ ]
20+ }
Original file line number Diff line number Diff line change 1+ {
2+ "resourceType" : " OperationOutcome" ,
3+ "issue" : [
4+ {
5+ "severity" : " error" ,
6+ "code" : " throttled" ,
7+ "details" : {
8+ "coding" : [
9+ {
10+ "system" : " https://fhir.hl7.org.uk/CodeSystem/UKCore-SpineErrorOrWarningCode" ,
11+ "version" : " 1.0.0" ,
12+ "code" : " SEND_TOO_MANY_REQUESTS" ,
13+ "display" : " Send too many requests"
14+ }
15+ ]
16+ },
17+ "diagnostics" : " Rate limit exceeded. Please retry after some time."
18+ }
19+ ]
20+ }
Original file line number Diff line number Diff line change 1+ {
2+ "resourceType" : " OperationOutcome" ,
3+ "issue" : [
4+ {
5+ "severity" : " error" ,
6+ "code" : " not-supported" ,
7+ "details" : {
8+ "coding" : [
9+ {
10+ "system" : " https://fhir.hl7.org.uk/CodeSystem/UKCore-SpineErrorOrWarningCode" ,
11+ "version" : " 1.0.0" ,
12+ "code" : " UNSUPPORTED_SERVICE" ,
13+ "display" : " Unsupported service"
14+ }
15+ ]
16+ },
17+ "diagnostics" : " Unsupported service: $context.path"
18+ }
19+ ]
20+ }
You can’t perform that action at this time.
0 commit comments