HH/apps/standards
ismail ae4afbcca9
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m10s
fix: journey stage-instances + standards attachments API 500s
Bug #42 (journeys): PatientJourneyStageInstanceViewSet.get_queryset()
called select_related('physician', 'survey_instance') but neither field
exists on the model. Changed 'physician' -> 'staff' (the actual FK)
and removed 'survey_instance' (no such relation). Endpoint now returns 200.

Bug #43 (standards): StandardAttachmentViewSet.get_queryset() filtered on
'departments__hospital' but StandardAttachment has no 'departments' field.
Fixed to traverse compliance__department__hospital. Also fixed invalid
ordering field 'uploaded_at' -> 'created_at'. Endpoint now returns 200.

API endpoint sweep: 73 DRF endpoints across all 21 apps tested, 0 errors.
Full URL sweep: 427 URL patterns tested, 0 server errors.
2026-06-20 03:12:07 +03:00
..
2026-05-11 14:45:30 +03:00
2026-01-15 15:02:42 +03:00
2026-01-08 09:50:46 +03:00
2026-05-11 14:45:30 +03:00
2026-01-08 09:50:46 +03:00
2026-05-11 14:45:30 +03:00
2026-05-11 14:45:30 +03:00
2026-05-11 14:45:30 +03:00
2026-05-11 14:45:30 +03:00