care icon indicating copy to clipboard operation
care copied to clipboard

Summarize beds under facility

Open iamsdas opened this issue 2 years ago • 1 comments

Added summarization for the beds under facility in the FacilityRelatedSummary table, which will be visible via the /api/v1/facility_bed_summary/ API.

Summary will be of the form:

{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "facility": {...},
      "created_date": "...",
      "modified_date": "...",
      "data": {
        "beds_count": 2,
        "utilization_percent": 0,
        "facility_name": "...",
        "occupied_beds_count": 0
      }
    }
  ]
}

Fixes: #709

iamsdas avatar May 14 '22 11:05 iamsdas

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id Secret Commit Filename
- Generic Private Key 613009ab311906d98bddc0f3e858703094a6628a config/settings/base.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

gitguardian[bot] avatar May 20 '22 03:05 gitguardian[bot]