-
Notifications
You must be signed in to change notification settings - Fork 330
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
Added more fields to Consultation Form #979
Conversation
Waiting for FE before merging |
@cp-coder to Add Screenshot of Swagger Docs for the new Consultation API |
Let's not delete any fields immediately; let's keep a leeway of 1 month before deleting any data. remove any migration that deletes the columns. |
Codecov ReportBase: 56.08% // Head: 56.13% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #979 +/- ##
==========================================
+ Coverage 56.08% 56.13% +0.05%
==========================================
Files 175 178 +3
Lines 8617 8689 +72
Branches 1460 1478 +18
==========================================
+ Hits 4833 4878 +45
- Misses 3732 3759 +27
Partials 52 52
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
- Added facility & patient as ForeignKey field - Added has_allergy as BooleanField - Added family_details & allergies as TextField - Added blood_group as CharField
- Added has_allergy as BooleanField - Migrated blood_group & allergies fields from PatientRegistration Model
- Added import statement of PatientHealthDetails model - Removed blood_group field from PatientListSerializer - Removed allergies from exclude option of PatientListSerializer - Added serializer for patient health details
…lth details model
* Added function to migrate previous data to new Vaccine model
* Added serializer field for vaccination in health details serializer * Reformatted the code
* Added migrations for adding new notification events * Added new fields in notification generator for health details * Added notification generator in consultation serializers for health details
* Changed config file for flake8 to .flake8 * Removed all migrations for removing fields * Merged all the migrations for health details model into one migration * Refactored health details serializer * Reformatted the code
* Added deleted fields with `#deprecated` text * Reformatted the code
* Refactored the migrations * Updated migrations' dependencies * Added function to link health details with patient consultation
* Reverted back to medical history used * Removed new MedicalHistory and Disease model * Reformatted the code
* Switched to serializer to create/update health details record * Added create/update method in health details serializer * Added auth while creating health details record * Switched to validated_data for health details data * Reformatted the code
* Added vaccination in health details model as jsonfield * Added schema for vaccintion field * Removed vaccine model and its references
* Added vaccine, medical history nad disease model * Added the migrations with function to migrate the data * Added required serializers * Reformatted the code
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Will open a new PR squashing the commits |
Updates