Skip to content

422 response for A042 endpoint#2797

Open
kevinmason-nhs wants to merge 6 commits into
developfrom
feature/RAA-3429_OAS_update
Open

422 response for A042 endpoint#2797
kevinmason-nhs wants to merge 6 commits into
developfrom
feature/RAA-3429_OAS_update

Conversation

@kevinmason-nhs
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

This change adds the 422 error responses for the A042 endpoint.

See ticket: RAA-3429

Add any other relevant notes or explanations here. Remove this line if you have nothing to add.

Reviews Required

  • Dev
  • Test
  • Tech Author
  • [ X ] Product Owner

Review Checklist

ℹ️ This section is to be filled in by the reviewer.

  • I have reviewed the changes in this PR and they fill all or part of the acceptance criteria of the ticket, and the code is in a mergeable state.
  • If there were infrastructure, operational, or build changes, I have made sure there is sufficient evidence that the changes will work.
  • I have ensured the changelog has been updated by the submitter, if necessary.

@kevinmason-nhs kevinmason-nhs requested a review from a team as a code owner June 3, 2026 16:42
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/http-error-codes",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


| issue.details.coding.code | issue.code | Coding System | Description |
| ------------------------- | ---------- | ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| PENDING | invalid | [BaRS Error Code](https://fhir.nhs.uk/CodeSystem/http-error-codes) | The file is being scanned and cannot be retrieved. Wait at least 5 minutes before checking its availability again. |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ers as mentioned previously, for all error codes

content:
application/fhir+json:
schema:
$ref: '../../NHSDigital-OperationOutcome.yaml'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update here

schema:
$ref: '../../NHSDigital-OperationOutcome.yaml'
example:
$ref: '../../../examples/NHSDigital-OperationOutcome-422.json'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants