Skip to main content
POST
curl

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Optional key that makes a retry safe. Generate one value per logical operation (8 to 128 ASCII letters, digits, underscores or hyphens) and resend the same value on every retry. A repeat of a completed request returns its original status with Idempotent-Replayed: true and a short body of state, resource_ids and response_hash; read the resources to recover their content. Reusing a key with a different request returns 422 idempotency_key_reuse; a request still running returns 409 idempotency_in_progress. Keys are kept for 30 days. See https://docs.hi-doctor.ai/api-reference/idempotency.

Pattern: ^[A-Za-z0-9_-]{8,128}$

Body

application/json
consultation_id
string<uuid>
required

Identifier of the related consultation.

treatment_id
string

Identifier of the related treatment. Maximum 255 characters.

Maximum string length: 255
dosage
string

Dosage for this renewal choice confirm request. Maximum 255 characters.

Maximum string length: 255
changed
boolean
default:false

Whether changed applies to this renewal choice confirm request.

answers
object[]

Answers for this renewal choice confirm request.

change_note
string
default:""

Change note for this renewal choice confirm request. Maximum 1000 characters.

Maximum string length: 1000

Response

Successful confirm a pending renewal choice.

consultation_id
string<uuid>
required

Identifier of the related consultation.

patient_choice_status
string
required

Patient choice status for this patient renewal choice confirm response.

treatment_id
string
required

Identifier of the related treatment.

dosage
string
required

Dosage for this patient renewal choice confirm response.

dose_change
object | null
required

Dose change for this patient renewal choice confirm response. May be null when unavailable.

treatment_change
object | null
required

Treatment change for this patient renewal choice confirm response. May be null when unavailable.

renewal_screen_completed
boolean
required

Whether renewal screen completed applies to this patient renewal choice confirm response.