Skip to content

Commit c40dd63

Browse files
NPA-5629: OperationOutcome IOPS update
1 parent 215c563 commit c40dd63

13 files changed

+18
-15
lines changed

specification/examples/responses/GET_Consent/errors/gp-practice-not-found.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ GPPracticeNotFoundError:
1010
version: "1"
1111
code: "GP_PRACTICE_NOT_FOUND"
1212
display: "GP Practice could not be found - invalid resources cannot be retrieved"
13+
diagnostics: "GP Practice could not be found"
1314
severity: error
1415
resourceType: "OperationOutcome"

specification/examples/responses/GET_Consent/errors/invalid-identifier-system.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ ConsentInvalidIdentifierSystemError:
44
value:
55
issue:
66
- code: invalid
7-
diagnostics: "Invalid request with error - performer:identifier or patient:identifier system parameter is invalid."
87
details:
98
coding:
109
- code: "INVALID_IDENTIFIER_SYSTEM"
1110
display: "Required parameter(s) are invalid."
1211
system: "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1312
version: '1'
13+
diagnostics: "Invalid request with error - performer:identifier or patient:identifier system parameter is invalid."
1414
severity: error
1515
resourceType: "OperationOutcome"

specification/examples/responses/GET_Consent/errors/invalid-identifier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ ConsentInvalidIdentifierError:
44
value:
55
issue:
66
- code: invalid
7-
diagnostics: 'Invalid request with error - performer:identifier or patient:identifier parameter is invalid.'
87
details:
98
coding:
109
- code: "INVALID_IDENTIFIER_VALUE"
1110
display: "Required parameter(s) are invalid."
1211
system: "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1312
version: '1'
13+
diagnostics: 'Invalid request with error - performer:identifier or patient:identifier parameter is invalid.'
1414
severity: error
1515
resourceType: "OperationOutcome"
1616

specification/examples/responses/GET_Consent/errors/invalid-status-parameter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ ConsentInvalidStatusParameterError:
44
value:
55
issue:
66
- code: invalid
7-
diagnostics: "Invalid request with error - status parameter is invalid."
87
details:
98
coding:
109
- code: "INVALID_PARAMETER"
1110
display: "Required parameter(s) are invalid."
1211
system: "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1312
version: "1"
13+
diagnostics: "Invalid request with error - status parameter is invalid."
1414
severity: error
1515
resourceType: "OperationOutcome"

specification/examples/responses/GET_Consent/errors/missing-identifier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ ConsentIdentifierMissingError:
44
value:
55
issue:
66
- code: invalid
7-
diagnostics: "Invalid request with error - performer:identifier or patient:identifier parameter not found."
87
details:
98
coding:
109
- code: "MISSING_IDENTIFIER_VALUE"
1110
display: "Required parameter(s) are missing."
1211
system: "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1312
version: "1"
13+
diagnostics: "Invalid request with error - performer:identifier or patient:identifier parameter not found."
1414
severity: error
1515
resourceType: "OperationOutcome"

specification/examples/responses/GET_RelatedPerson/errors/invalid-identifier-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ InvalidIdentifierPatientError:
44
value:
55
issue:
66
- code: invalid
7-
diagnostics: "Not a valid NHS Number provided for the 'patient:identifier' parameter"
87
details:
98
coding:
109
- "system": "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1110
version: "1"
1211
code: "INVALID_PATIENT_IDENTIFIER_VALUE"
1312
display: "Provided value is invalid"
13+
diagnostics: "Not a valid NHS Number provided for the 'patient:identifier' parameter"
1414
severity: error
1515
resourceType: "OperationOutcome"

specification/examples/responses/GET_RelatedPerson/errors/invalid-identifier-system.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ RelatedPersonInvalidIdentifierSystem:
44
value:
55
issue:
66
- code: invalid
7-
diagnostics: The identifier system is not valid.
8-
severity: error
97
details:
108
coding:
119
- code: INVALID_IDENTIFIER_SYSTEM
1210
display: Invalid identifier system.
1311
system: https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode
1412
version: '1'
13+
diagnostics: The identifier system is not valid.
14+
severity: error
1515
resourceType: OperationOutcome

specification/examples/responses/GET_RelatedPerson/errors/invalid-identifier.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ RelatedPersonInvalidIdentifierError:
44
value:
55
issue:
66
- code: invalid
7-
diagnostics: "Not a valid NHS Number provided for the 'identifier' parameter"
8-
expression: "RelatedPerson.identifier"
97
details:
108
coding:
119
- "system": "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1210
version: "1"
1311
code: "INVALID_IDENTIFIER_VALUE"
1412
display: "Provided value is invalid"
13+
diagnostics: "Not a valid NHS Number provided for the 'identifier' parameter"
14+
expression: ["RelatedPerson.identifier"]
1515
severity: error
1616
resourceType: "OperationOutcome"

specification/examples/responses/errors/access-denied.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ AccessDeniedError:
33
description: The request was unsuccessful due to invalid authentication credentials being provided.
44
value:
55
issue:
6-
- code: invalid
6+
- code: forbidden
77
details:
88
coding:
99
- code: "ACCESS_DENIED"
1010
display: "Missing or invalid OAuth 2.0 bearer token in request."
1111
"system": "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1212
version: "1"
13+
diagnostics: "Missing or invalid OAuth 2.0 bearer token in request"
1314
severity: error
1415
resourceType: "OperationOutcome"

specification/examples/responses/errors/downstream-service-error.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ DownstreamServiceError:
44
value:
55
issue:
66
- code: processing
7-
diagnostics: "Downstream Service Error - Failed to generate response is present in the response"
87
details:
98
coding:
109
- code: "DOWNSTREAM_SERVICE_ERROR"
1110
display: "Failed to generate response"
1211
system: "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
1312
version: "1"
13+
diagnostics: "Downstream Service Error - Failed to generate response is present in the response"
1414
severity: error
1515
resourceType: "OperationOutcome"

0 commit comments

Comments
 (0)