-
Notifications
You must be signed in to change notification settings - Fork 4
Medical history - update implants and augmentation #777
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
Conversation
3e5b8e3 to
3d4dea8
Compare
|
|
||
|
|
||
| class BreastAugmentationHistoryForm(Form): | ||
| class BreastAugmentationHistoryBaseForm(Form): |
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.
This approach, to have a BaseForm and separate add and update forms, is the same as has been done in #760 and #770. For some forms - e.g. #778 - we've instead combined the add and update functionality into a single form. If we can agree on what approach is best then I can review all the forms and make them consistent.
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.
Sounds good, I don't have a strong opinion either way. Initially I did the combined approach but thought it was a bit weird that the constructor param was required or not depending on what method you call.
swebberuk
left a comment
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.
👍
Description
This adds the update form for breast implants and augmentations.
Jira link
https://nhsd-jira.digital.nhs.uk/browse/DTOSS-11524
Review notes
I've just copied the same pattern from the other medical history forms.
Review checklist