-
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-3181: update post questionnaire oas #94
NPA-3181: update post questionnaire oas #94
Conversation
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
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.
Looks good. I've got a couple of comments I would like to be answered. But happy to approve if necessary.
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.
Looks good. Some cosmetic bits n bobs
One standout thing, I THINK oneOf
only enforces the shape of objects and that there is no more than one, it doesn't enforce "requiredness". So I think we need a smattering of required
's adding throughout. In particular questionnaire
, subject
and source
(whilst not mandated in the QuestionnaireResponse schema, we need them, so should be mandating those and others for our own context). Unless we intend to set authored
and status
server-side, then these will need to be mandated too (perhaps it does make more sense to set those two server-side, but that needs capturing in a ticket somewhere obvs if not already)
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.
Have responded to other reviewers questions. Think these need to be resolved before this is good to go. Also as per @JackPlowman's comment. We want to hold off merging until we have updated the tests to work with the new spec.
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
All comments actioned
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.
Some tweaks please. I'd suggest raising tickets (or ensuring we have explicit acceptance criteria) to capture the conditional mandatory demographics for patient & proxy
Thanks!
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
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 based on @JackPlowman & @miiisterjim's feedback and actions from @Stoods-hd
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket: NPA-3181 |
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.
Tests passing for VRS when pointing to the spec here:
Pull Request Checklist
Ticket Link
https://nhsd-jira.digital.nhs.uk/browse/NPA-3181
Description/Change Summary
Updated the OAS spec to reflect the new data dictionary and FHIR specification
Review Checklist
ℹ️ This section is to be filled in by the reviewer.