Skip to content
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

Closed
wants to merge 44 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
9e01ad5
Added Patient Health Details model
aeswibon Aug 15, 2022
c41a133
Added migrations for patient health details model
aeswibon Aug 15, 2022
7ae6f87
Added migrations for new fields
aeswibon Aug 15, 2022
a3726f4
Added logic to create health details for existing patients
aeswibon Aug 15, 2022
b28c257
Added Patient Health details serializer
aeswibon Aug 15, 2022
45d054f
Added viewset for patient health details
aeswibon Aug 15, 2022
864040e
Added api route for patient health details
aeswibon Aug 15, 2022
7a2766d
Added created_in_consultation in patient_consultation serializer
aeswibon Aug 31, 2022
c37a6b3
Migrated patient health serializer to new file and added new fields
aeswibon Aug 31, 2022
6bc2ad1
Migrated height and weight fields to patient health details model
aeswibon Aug 31, 2022
1b63c8b
Added migrations for migrating height and weight fields
aeswibon Aug 31, 2022
bc956b2
Minor change in import statement
aeswibon Aug 31, 2022
1da70bc
Formatted the code
aeswibon Aug 31, 2022
52840a6
Added migrations to merge conflicting migrations
aeswibon Aug 31, 2022
9bdb1cf
Added data migration for created_in_consultation field in patient hea…
aeswibon Sep 1, 2022
c177d5f
Updated the logic for creation of patient health details instance
aeswibon Sep 1, 2022
8bd2609
Updated the logic of creating new patient health record
aeswibon Sep 3, 2022
44fb81d
Added the logic of updating the patient health record
aeswibon Sep 3, 2022
63c02b9
Fixed blood group field for csv
aeswibon Sep 13, 2022
4203a8b
Moved VACCINE_CHOICES to patient_base file
aeswibon Sep 13, 2022
02f5898
Added Vaccine model
aeswibon Sep 13, 2022
9737a01
Updated blood_group field for csv and reformatted the code
aeswibon Sep 13, 2022
d987f5f
Added migrations for merging previous migrations
aeswibon Sep 13, 2022
2bb7d28
* Added migrations for Vaccine model
aeswibon Sep 13, 2022
2857e47
* Added serializer for Vaccine model
aeswibon Sep 13, 2022
56788da
Removed vaccine name from patient serializer
aeswibon Sep 13, 2022
69edd0b
Removed vaccine related field from patient viewset
aeswibon Sep 13, 2022
fc4d332
Added logic for creating/updating vaccine records
aeswibon Sep 13, 2022
e8dcdad
Reformatted the code
aeswibon Sep 13, 2022
521dfb8
* Added new notification events for health details
aeswibon Sep 13, 2022
86f9d18
Reformatted the code
aeswibon Sep 13, 2022
54ba51d
Updated migrations and pre-commit config
aeswibon Sep 21, 2022
1abf293
Updated health details serializer methods and reformatted the code
aeswibon Sep 21, 2022
935bf6d
Reverted the migrations
aeswibon Sep 21, 2022
c629ab6
Updated Migrations
aeswibon Sep 22, 2022
ce73065
Removed health details create/update notification
aeswibon Oct 3, 2022
2514012
Removed medical history API
aeswibon Oct 3, 2022
26f58bf
Updated the logic of Health Details API
aeswibon Oct 3, 2022
689107e
Updated Vaccination field of health details API
aeswibon Oct 5, 2022
75d5d0c
Updated value of health_details field in consultation API
aeswibon Oct 5, 2022
04a5067
Added migration to resolve conflicting migrations
aeswibon Oct 5, 2022
c824156
Updated health_details and medical_history API
aeswibon Oct 19, 2022
91e0f06
Fix migrations
aeswibon Oct 19, 2022
1485db8
Fixed the bug in health details serializer
aeswibon Oct 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added api route for patient health details
  • Loading branch information
aeswibon committed Oct 19, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 864040e8230ef9e3b87e8609b07269646da21f3b
2 changes: 2 additions & 0 deletions config/api_router.py
Original file line number Diff line number Diff line change
@@ -34,6 +34,7 @@
from care.facility.api.viewsets.notification import NotificationViewSet
from care.facility.api.viewsets.patient import (
FacilityPatientStatsHistoryViewSet,
PatientHealthDetailsViewSet,
PatientNotesViewSet,
PatientSearchViewSet,
PatientViewSet,
@@ -110,6 +111,7 @@

router.register("patient", PatientViewSet)
router.register("consultation", PatientConsultationViewSet)
router.register("health_details", PatientHealthDetailsViewSet)

router.register("external_result", PatientExternalTestViewSet)