Surgical learning platform for hospitals in Europe and the US
context
Incision trains surgical teams on procedures, devices and materials. Hospitals in the EU and the US use it, and their data has to stay in their own region. The backend is dozens of serverless services spread over two AWS regions, three datastores and several frontend apps.
what i own
- Backend scoping for my team. I dig into tickets before refinement so the hard questions come up in planning, not in production.
- Most of the team's backend code reviews.
- Features end to end, from CDK infrastructure and the API to the Angular screens.
highlights
decisions worth reading
What happens when a bulk job dies halfway?
If the workflow crashes, times out or gets stopped, the hospital's lock could stay on forever and nobody could accept anything. The workflow's own error handling can't catch every one of those cases. So an EventBridge rule watches for failed, timed out and stopped runs and calls the cleanup step. Every step is safe to run twice, and the jobs table has no backups on purpose: a lost job is simply accepted again, so backups would only add cost.
Mask, don't delete
For the GDPR script we chose to replace personal details with placeholder values instead of deleting rows. Deleting a user breaks records other people depend on, like who supervised a trainee. Masking removes the person and keeps the history working. Uploaded files are the exception and get deleted, because a file could hold anything, like a passport photo. The script has a dry run that shows every change before it happens.