From 075ac86a2a7297af77ba7cdafbc8b08389691304 Mon Sep 17 00:00:00 2001 From: nadeem-ekacare Date: Tue, 24 Jun 2025 13:41:56 +0530 Subject: [PATCH] eka parameters by default in book appointment --- api-reference/doc-tool/doc-tool.yaml | 39 ++++++++++++++-------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/api-reference/doc-tool/doc-tool.yaml b/api-reference/doc-tool/doc-tool.yaml index 5dc34dd4..a18545de 100644 --- a/api-reference/doc-tool/doc-tool.yaml +++ b/api-reference/doc-tool/doc-tool.yaml @@ -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: @@ -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