Skip to content

Bed revision 1#715

Merged
gigincg merged 15 commits into
masterfrom
bed-revision-1
Apr 22, 2022
Merged

Bed revision 1#715
gigincg merged 15 commits into
masterfrom
bed-revision-1

Conversation

@vigneshhari
Copy link
Copy Markdown
Member

DO NOT MERGE - Required Extensive testing

Adds -

  • Consultation Bed Models, ViewSets, and Serializers
  • Logic to automatically create bed relation on consultation creation
  • Drop all bed relations on patient discharge
  • current bed relation from consultation to consultation bed

Removes -

  • id based primary filtering constraint
  • admitted to field in consultation
  • all deprecated bed relations

Co-Authored by @arpancodes

@vigneshhari vigneshhari requested a review from a team as a code owner April 15, 2022 20:14
@gigincg gigincg merged commit 9277da5 into master Apr 22, 2022
vigneshhari pushed a commit that referenced this pull request Sep 14, 2022
* cleanup admitted_to

* moved BedType out of med model

* fixed CSV fields for patient summary

* fix patent summarization

* avoid Redefining built-in 'filter'

* refactor

* removed admitted_to reference from tests

* revert the removal of bed counts from district patient summary

* remove setup.cfg

* run pre-commit

Co-authored-by: Ashesh3 <3626859+Ashesh3@users.noreply.github.com>
vigneshhari pushed a commit that referenced this pull request Sep 15, 2022
* cleanup admitted_to

* moved BedType out of med model

* fixed CSV fields for patient summary

* fix patent summarization

* avoid Redefining built-in 'filter'

* refactor

* removed admitted_to reference from tests

* revert the removal of bed counts from district patient summary

* remove setup.cfg

* run pre-commit

Co-authored-by: Ashesh3 <3626859+Ashesh3@users.noreply.github.com>
@sainak sainak deleted the bed-revision-1 branch September 22, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants