Skip to main content

Update an event by origin event id

PUT 

/v1/events/origin-events/:originEventId

Update the header of an existing event (admission / atendimento / episodio) addressed by your own origin_event_id. Use this when the encounter data changes in your HIS after the event was created - resending a charge with the same origin_event_id does not update event-level fields.

agreement_code is required and identifies which agreement's view of the event you are updating. The other fields are optional; only the ones you send are changed.

The response depends on what changed. A header-only update applies synchronously and returns 200 with the updated event. Changing new_service_type_code requires reclassifying the event's charges, so it is processed asynchronously: the response is 202 with a Location header pointing at /v1/events/pending-event-modifications/{id}, which you poll until the modification reaches a terminal status.

Request

Responses

OK - applied synchronously