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

Adds API for PatientAssetBed #1302

Merged
merged 1 commit into from
May 25, 2023
Merged

Conversation

rithviknishad
Copy link
Member

Proposed Changes

  • Adds GET /api/v1/facility/{facility_external_id}/patient_asset_beds/ to list all patient asset beds. Can be used for both CNS and Monitoring Hub.

image
image

@coronasafe/code-reviewers

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete

@sonarcloud
Copy link

sonarcloud bot commented May 18, 2023

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 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 60.00% and project coverage change: +0.01 🎉

Comparison is base (89e3be4) 56.18% compared to head (8ad6233) 56.20%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1302      +/-   ##
==========================================
+ Coverage   56.18%   56.20%   +0.01%     
==========================================
  Files         195      195              
  Lines        9625     9665      +40     
  Branches     1615     1623       +8     
==========================================
+ Hits         5408     5432      +24     
- Misses       4162     4178      +16     
  Partials       55       55              
Impacted Files Coverage Δ
care/facility/api/viewsets/bed.py 55.65% <52.00%> (-1.02%) ⬇️
care/facility/api/serializers/bed.py 44.96% <71.42%> (+3.22%) ⬆️
config/api_router.py 98.16% <100.00%> (+0.01%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vigneshhari vigneshhari merged commit e80d5e3 into master May 25, 2023
5 of 6 checks passed
yaswanthsaivendra pushed a commit to yaswanthsaivendra/care that referenced this pull request May 30, 2023
adds PatientAssetBed viewset, serializer and filters
@sainak sainak deleted the api-for-patient-asset-beds branch June 6, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants