HospitalStays
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.
Changed onpost/hospitalstays/{id}/discharge
Request
- Base URLhttps://api.clinicos.vet/backend/business
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body
Response
OK
Changes
- info
endpoint added
- info