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

Fixed: Added occupation field for text support #1000

Closed
wants to merge 3 commits into from

Conversation

aeswibon
Copy link
Member

@aeswibon aeswibon commented Sep 5, 2022

Updates

  • Fixes Add occupation field in patient model #806
  • Removed Occupation Choices from PatientMetaInfo model
  • Altered the occupation field from IntegerField to CharField
  • Removed occupation field as ChoiceField from PatientMetaInfoSerializer
  • Added migration to alter the schema for occupation field
  • Added migration to retain all the data

@aeswibon aeswibon requested a review from a team as a code owner September 5, 2022 09:32
@sonarcloud
Copy link

sonarcloud bot commented Sep 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-commenter
Copy link

Codecov Report

Merging #1000 (874b182) into master (6bd66bf) will decrease coverage by 1.38%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #1000      +/-   ##
==========================================
- Coverage   54.02%   52.64%   -1.39%     
==========================================
  Files         182      183       +1     
  Lines        8990     8907      -83     
==========================================
- Hits         4857     4689     -168     
- Misses       4133     4218      +85     
Impacted Files Coverage Δ
care/facility/api/serializers/patient.py 55.55% <ø> (-0.21%) ⬇️
care/facility/api/viewsets/patient.py 47.90% <0.00%> (-0.34%) ⬇️
...re/facility/management/commands/scrape_icd_data.py 0.00% <0.00%> (ø)
care/facility/models/file_upload.py 68.88% <0.00%> (ø)
care/facility/models/json_schema/asset.py 100.00% <ø> (ø)
care/facility/static_data/icd11.py 0.00% <0.00%> (ø)
care/users/api/viewsets/users.py 42.94% <0.00%> (-12.90%) ⬇️
care/utils/assetintegration/onvif.py 38.23% <ø> (+1.09%) ⬆️
...e/facility/api/serializers/patient_consultation.py 34.14% <11.11%> (-2.84%) ⬇️
care/facility/api/viewsets/file_upload.py 48.57% <15.38%> (-2.95%) ⬇️
... and 28 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@aeswibon aeswibon closed this Oct 9, 2022
@aeswibon aeswibon deleted the issue#806 branch October 9, 2022 04:45
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.

Add occupation field in patient model
2 participants