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}`