Skip to content

Commit

Permalink
Add type casts to big integer fields on get_raw_exam
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurtabbal committed Dec 17, 2024
1 parent 67da47b commit bd4de74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/reports/reports_exams_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def get_raw_exams(id_patient: int, user_context: User):
exam: Exams = i
results.append(
{
"idExam": exam.idExame,
"idExam": str(exam.idExame),
"typeExam": exam.typeExam,
"idPatient": exam.idPatient,
"admissionNumber": exam.admissionNumber,
"idPatient": str(exam.idPatient),
"admissionNumber": str(exam.admissionNumber),
"dateExam": dateutils.to_iso(exam.date),
"value": str(exam.value),
"unit": exam.unit,
Expand Down

0 comments on commit bd4de74

Please sign in to comment.