🩺 Anesthesia (AIMS) Module — Engineer Orientation start here

What it is, where the code lives, how a case flows, and the 5 rules you must not break. Two more boards cover the data model.

â‘  What the module does

② ⚠️ The #1 fact that surprises everyone — where it RUNS

③ Service topology (request path)

Browser
Angular 18 SPA
→
Azure Front Door
staging.synexar.net
→
SWA: gi-web
+ packages/anesthesia (UI)
→
clinical-api
proxies /api/anesthesia/*
→
aims-api
Synexar.AimsApi (.NET 8)
→
PostgreSQL
RLS by organization_id

④ The case lifecycle = the phases you'll see in the UI

Pre-Op
airway · ASA · baseline · history
SynForm: pre-anesthesia-v1
â–¶
Intra-Op (Canvas)
live vitals · meds · events
gas · fluids · equipment
â–¶
Procedures
6 SynForms: blocks /
spinal / epidural / lines
â–¶
PACU
Aldrete scores · pain
disposition
â–¶
Billing
charge ticket: CPT · ICD-10
blocks · found-money

⑤ Frontend — packages/anesthesia/src/lib

⑥ Backend — backend/aims-api/Synexar.AimsApi

⑦ The 5 rules you must not break

đź§­ Where to start reading
1. Open a case → click through Pre-Op → Intra-Op → PACU to feel the flow.
2. procedures-panel + AnesthesiaProcedureBillingBridge — the newest, most self-contained slice (a clean "vertical" from form → DB → charge).
3. Then the data-model boards →

Sources: packages/anesthesia, backend/aims-api/Synexar.AimsApi, anesthesia migrations (clinical-api + aims-api). Routing/billing facts verified against source 2026-06-28.