Skip to main content

Introduction

production https://svgql.tmdi00.com/graphql
stage: https://svgql.tmdi04.com/graphql
playground: https://svgql.tmdi04.com/graphql/graphql_playground

Scheduling stationary consultations is accomplished by communicating with the svgql microservice using the GraphQL protocol. To correctly retrieve the data necessary for scheduling a consultation, insurerId must be passed in every request.

insurerId - this is the ID of the clinic (insurer) where we want to schedule a stationary visit, the ID is necessary for proper reservation of the stationary visit.

medicalFacilityId - this is the ID of the facility where we plan to book an in-person visit.

Authorization

To gain access to downloaded data and to book a stationary visit, patient token must be passed in the requests through the header.

example:

"x-Authorization": `Bearer ${patientToken}`

What the basic stationary consultation appointment process looks like

1. Create or login to your existing patient account

2. Get specializations

3. Get cities based on specialization

4. Get medical facilities based on city

5. Get doctors based on specialization and medical facility

6. Get terms for the doctor

7. Create the consultation