Appointments

Book & Manage appointments for patients.

Book Appointment

POST https://consult.demo.medeintegra.dev/appointments/create

API to book an appointment for the patient.

Headers

Name
Type
Description

Authorization

string

Bearer <<ACCESS_TOKEN>>

Request Body

Name
Type
Description

bookingType

string

Type of booking like immediate, regular

communicationChannel

string

Communication medium for the appointment with the doctor, Ex: Video

reason

string

The Short reason for booking the appointment

patientInfo

object

Patient basic details

{
    "message" : "Appointment created Successfully"
    "status": "success",
    "data": {
			"patientInfo": {
				"patientId": "UHID_test_2",
				"firstName": "Krew",
				"lastName": "Max",
				"age": "27",
				"gender": "male",
				"email": "[email protected]",
				"phone": "+91 9848032919",
				"dp": "url"
			},
			"bookedBy": "Self",
			"reason": "Cold and Cough",
			"doctorInfo": {
				"doctorId": "doctor Id",
				"speciality": ["speciality"],
				"name": "Doctor name"
			},
			"communicationChannel": "Video",
			"scheduledAt": 1592441432,
			"casesheetInfo": {
				"casesheetId": "mede_casesheet_id"
			},
			"videoCallInfo": {
				"roomId": "mede_room_id"
			},
			"appointmentId": "mede_appointment_id",
			"status": "Booked"
		}
}

Appointment Details

GET https://consult.demo.medeintegra.dev/appointments/get/{id}

Path Parameters

Name
Type
Description

string

the id is the appointment id

Feedback

POST https://consult.demo.medeintegra.dev/appointments/:id/feedback

Save Feedback given by the Patient

Path Parameters

Name
Type
Description

id

string

Appointment Id

Request Body

Name
Type
Description

feedback

string

Feedback in a free form text

rating

number

A number 0 to 10

Cancel Appointment

POST https://consult.demo.medeintegra.dev/appointments/cancel/:id

Cancels the appointment whose appointment Id matches the path parameter id

Path Parameters

Name
Type
Description

id

string

appointment id that needs to be canceled

Last updated

Was this helpful?