patients

Get patient by patient ID

Changed on

Returns patient profile by patient.id with user + operators + GP.

get/api/patients/by-id/{patient_id}

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/patients/by-id/{patient_id}
  • Auth: HTTP bearer

Path parameters

patient_idstring uuid required

Patient UUID

Response

Successful Response

idstring uuid required
user_idstring uuid required
psychologist_idstring uuid nullable
nutritionist_idstring uuid nullable
statusobject
psychologist_interview_statusstring nullable

Current psychologist path status, calculated from live data.

nutritionist_interview_statusstring nullable

Current nutritionist path status, calculated from live data.

stripe_customer_idstring nullable
workflow_followups_enabledboolean
payment_methodstring nullable
payment_method_typestring nullable
deductionboolean nullable
created_atstring date-time nullable
third_party_consentboolean
intro_call_atstring date-time nullable

When the patient's intro call actually happened: the earliest CALL_CONOSCITIVA marked FATTO, by the slot's own datetime. Null when they never completed one.

journey_started_atstring date-time nullable

When the patient's path began: the earliest expert assignment on record, whichever discipline. Null while nobody has taken them on.

first_psychologist_atstring date-time nullable

The patient's first psychologist session that was not cancelled or refunded (a congiunto counts under its expert's discipline). Null when there is none.

first_nutritionist_atstring date-time nullable

As first_psychologist_at, for the nutritionist.

spent_totalnumber

Sum of patient_cost over the appointments paid so far (payment_status succeeded, coupons included), every type.

spent_psychologistnumber

As spent_total, psychologist sessions only (congiunto included).

spent_nutritionistnumber

As spent_total, nutritionist sessions only (congiunto included).

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status