Get flags for a reading
GET/api/patient/biomarker-flags/by-reading
Return the most recent flag (open or resolved) matching the given reading, so the FE can render a 'Flagged' badge on the reading card without fetching the full list. Returns { flag: null } when no match.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
Success
Bad Request
Unauthorized (X-Api-Key missing, malformed, unknown or disabled)
Forbidden (the key cannot reach this person, IP not allowed, or a read-only key on a write)
Too Many Requests (rate limit exceeded)
Internal Server Error