Skip to content

Commit

Permalink
fix: http auth
Browse files Browse the repository at this point in the history
  • Loading branch information
RadovanTomik committed Aug 25, 2023
1 parent 6e7732a commit 1ee4f09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/blaze_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def patient_has_condition(self, patient_identifier: str, icd_10_code: str) -> bo
"""Checks if patient already has a condition with specific ICD-10 code (use a dot format)."""
try:
patient_fhir_id = glom(requests.get(url=f"{self._blaze_url}/Patient?identifier={patient_identifier}",
auth=self._credentials,
verify=False).json(), "**.resource.id")[0]
except IndexError:
raise PatientNotFoundError
Expand Down

0 comments on commit 1ee4f09

Please sign in to comment.