403.
Bootstrap the documented synthetic records and identifiers instead of relying
on special patient names or ZIP codes.
Bootstrap
POST /api/v2/testing/fixtures creates one synthetic patient, referral, visit,
and order for your group (idempotent). The JSON includes:
referral_id,visit_id,order_id,patient_idcpt_code_id/cpt_codeicd10_code_id/icd10_codebody_part_id,modality_idaccession_id,study_uid,series_uid
Advance a visit
PATCH /api/v2/testing/visits/{visit_id} with { "status": "booked" } (or any
documented visit status) is allowed only for visits that belong to your fixture.
Scan enqueues the real visit.status_changed webhook.
Useful targets: sent_to_rp, exam_not_completed, canceled, booked,
report_uploaded, qc_report_ready.
Test events
POST /api/v2/testing/events with { "event_name": "visit.status_changed" }
POSTs a signed payload with "test": true to your configured webhook URL.
Supported names: visit.status_changed, notification.status_changed,
referral.auto_book_completed.
Configure https:// webhook_url first. See Webhooks.
