Create Consultation
Overview
Mutation that allows creating a stationary visit based on previously gathered data.
Mutation
token is required
- Authorization
mutation createVisit(
$insurerId: String!
$medicalFacilityId: String!
$termId: String!
$termFromAt: String!
$specializationId: String!
$doctorId: String!
$patientId: String!
$extraParams: Iterable!
) {
createVisit(
input: {
insurerId: $insurerId,
medicalFacilityId: $medicalFacilityId,
termId: $termId,
termFromAt: $termFromAt,
specializationId: $specializationId,
doctorId: $doctorId,
patientId: $patientId,
extraParams: $extraParams
}
) {
visit {
consultationId
}
}
}
Response
{
"visit": {
"consultationId": "90d4c4e2-c3bd-4c46-a72d-efda35723b32",
"__typename": "Visit"
},
"__typename": "createVisitPayload"
}