Drill #53 · 2026-11-28
Lab order API contract sanity check

The situation
You are the senior system analyst on CuraHealth's clinical integration team. The Appointment Service must push lab orders to the external LabBridge system.
Your task
- Identify critical gaps, unsafe defaults, or ambiguous definitions in the posted OpenAPI fragment.
- Write three concise questions for the developer on order_id uniqueness, consent handling.
- Recommend if CreateLabOrder should be idempotent and explain trade-off between duplicates.
What this review a draft api contract exercise trains for system analysts
A developer drafted an API. Find inconsistencies, missing fields, unsafe defaults and unclear semantics; propose fixes. The setting is healthcare / clinic network: appointments, EHR, lab orders, referrals, insurance pre-approval, consent, doctor schedules.
Typical deliverables for this kind of task:
- review findings (critical / should / nice)
- corrected contract fragment
- questions to the developer
Senior level: ambiguity or conflicting constraints, cross-system impact, needs a decision with justification; still one focused slice, not the whole project. Budget 45–90 minutes.