HospitalStays

Changes to Discharge the patient. Gated on the originating visit's discharge checklist (409 `DISCHARGE_BLOCKED` with the checklist in the body). Standing orders on the stay are discontinued in the same transaction so nothing keeps generating occurrences for a patient who went home. Returns the discharge summary (ITE-710): the entry plus the unperformed billable occurrences and the estimate id — the caller converts the estimate themselves; nothing here writes a bill.

post/hospitalstays/{id}/discharge