Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 20 additions & 19 deletions api-reference/doc-tool/doc-tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2199,22 +2199,6 @@ paths:
description: This field is a set of `key-value pair` very specific to our partner and not visible in appointment queue. These key-value pairs are just stored at our end and echoed back in appointment related apis. We dont use it for any computation.

oneOf:
- title: PartnerIds
properties:
partner_clinic_id:
type: string
description: 'Identifier for the partner’s clinic. Please ensure the clinic is registered on the hub'
partner_doctor_id:
type: string
description: 'Identifier for the partner’s doctor. Please ensure the doctor is registered on the hub'
partner_patient_id:
type: string
description: 'Identifier for the partner’s patient. Please ensure the patient is registered beforehand using the "Add Patient" API.'
required:
- partner_clinic_id
- partner_doctor_id
- partner_patient_id

- title: EkaIds
properties:
clinic_id:
Expand All @@ -2231,14 +2215,31 @@ paths:
- doctor_id
- patient_id

- title: PartnerIds
properties:
partner_clinic_id:
type: string
description: 'Identifier for the partner’s clinic. Please ensure the clinic is registered on the hub'
partner_doctor_id:
type: string
description: 'Identifier for the partner’s doctor. Please ensure the doctor is registered on the hub'
partner_patient_id:
type: string
description: 'Identifier for the partner’s patient. Please ensure the patient is registered beforehand using the "Add Patient" API.'
required:
- partner_clinic_id
- partner_doctor_id
- partner_patient_id


required:
- appointment_details

example:
partner_appointment_id: "098765434567890"
partner_clinic_id: "642783"
partner_doctor_id: "8423994"
partner_patient_id: "6742984"
clinic_id: "642783"
doctor_id: "8423994"
patient_id: "6742984"
appointment_details:
start_time: 1730189586
end_time: 1730189586
Expand Down