-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPA-3543: add initial /Consent endpoint and associated schema refactoring #109
Conversation
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3543 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left a couple of questions on the PR.
Also it might be worth removing these two lines ->
validated-relationships-service-api/.editorconfig
Lines 20 to 21 in bf8b0b9
[*.yaml] | |
trim_trailing_whitespace = false |
|
||
## Sandbox test scenarios | ||
|
||
For details of sandbox test scenarios, or to try out the sandbox using our 'Try it out' feature, see the documentation for each endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see the documentation for each endpoint.
This comment is self referential as this is the endpoint sandbox section for the /Consent endpoint. Maybe the comment could it be removed or changed
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3543 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3543 |
1 similar comment
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3543 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
…erified relationship and a proxy relationship
… surface ODS code
* NPA-3659: add QuestionnaireResponse examples & associated OAS refactor * NPA-3659: replace inline RelatedPerson examples with completive contextual ones * NPA-3659: add error OperationOutcome examples * NPA-3659: relocate examples for improved readability * NPA-3659: add missing 'type' to identifier examples * NPA-3659: fix casing on errors folder
78b7af8
to
bfdad35
Compare
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3543 |
Ticket Link
https://nhsd-jira.digital.nhs.uk/browse/NPA-3543
Description/Change Summary
These changes to the OAS cover the new
/Consent
API endpoint required for requesting proxy relationships from VRS. For each proxy relationship, there should be three resources:status
)Draft requirements can be found in confluence here (along with details of how to map NAM payloads to FHIR resources): https://nhsd-confluence.digital.nhs.uk/display/NPA/Consent+endpoint+requirements
A summary of expected behaviour of the endpoint:
status
and_include
query string parameter filters)performer:identifier
parameter should be used for querying the local cachestatus
parameter should be used for filtering the relationships (based on theconsent.status
property_include
parameter should be used for including referenced resourcesHow to test?
No behaviour has been implemented as part of this change. Changes best reviewed in a swagger editor in addition to the raw changes
Of special note, ensure the previous two commits have been correctly incorporated into the spec due to these being merged manually.
Review Checklist
ℹ️ This section is to be filled in by the reviewer.