Prescription
by client
GET /api/v2/clients/1000000010/prescription HTTP/1.1
Parameter | Description |
---|---|
|
client’s id |
HTTP/1.1 200 OK
{
"prescriptions" : [ {
"id" : 1000000002,
"sphOd" : -1.25,
"sphOs" : -2.0,
"cylOd" : -0.5,
"cylOs" : -0.5,
"axOd" : 70,
"axOs" : 90,
"prism1DioptreOd" : null,
"prism1DioptreOs" : null,
"prism2DioptreOd" : null,
"prism2DioptreOs" : null,
"prism1BaseOd" : null,
"prism1BaseOs" : null,
"prism2BaseOd" : null,
"prism2BaseOs" : null,
"addidationOd" : null,
"addidationOs" : null,
"dpp" : 66.0,
"dppOd" : 33.0,
"dppOs" : 33.0,
"visusOd" : null,
"visusOs" : null,
"purpose" : "Рецепт клиента",
"purposeForClientPrescription" : null,
"basis" : "CLIENT_PRESCRIPTION",
"recommendedLenses" : null,
"comments" : "",
"date" : "2018-10-04T00:00:00.000+00:00",
"deleted" : false,
"empty" : null
}, {
"id" : 1000000001,
"sphOd" : -0.5,
"sphOs" : -1.0,
"cylOd" : null,
"cylOs" : null,
"axOd" : null,
"axOs" : null,
"prism1DioptreOd" : null,
"prism1DioptreOs" : null,
"prism2DioptreOd" : null,
"prism2DioptreOs" : null,
"prism1BaseOd" : null,
"prism1BaseOs" : null,
"prism2BaseOd" : null,
"prism2BaseOs" : null,
"addidationOd" : null,
"addidationOs" : null,
"dpp" : 64.0,
"dppOd" : 32.0,
"dppOs" : 32.0,
"visusOd" : null,
"visusOs" : null,
"purpose" : "Рецепт клиента",
"purposeForClientPrescription" : null,
"basis" : "CLIENT_PRESCRIPTION",
"recommendedLenses" : null,
"comments" : "",
"date" : "2018-10-04T00:00:00.000+00:00",
"deleted" : false,
"empty" : null
} ],
"contactLensPrescriptions" : [ ]
}
Path | Type | Description |
---|---|---|
|
|
Prescription’s id |
|
|
Prescription’s sphOd |
|
|
Prescription’s sphOs |
|
|
Prescription’s cylOd |
|
|
Prescription’s cylOs |
|
|
Prescription’s axOd |
|
|
Prescription’s axOs |
|
|
Prescription’s addidationOd |
|
|
Prescription’s addidationOs |
|
|
Prescription’s dpp |
|
|
Prescription’s dppOd |
|
|
Prescription’s dppOs |
|
|
Prescription’s visusOd |
|
|
Prescription’s visusOs |
|
|
Prescription’s purpose |
|
|
Prescription’s purposeForClientPrescription |
|
|
Prescription’s basis |
|
|
Prescription’s recommendedLenses |
|
|
Prescription’s comments |
|
|
Prescription’s date |
|
|
Prescription’s deleted |
|
|
Prescription’s empty |
|
|
CL Prescription’s id |
|
|
CL Prescription’s sphOd |
|
|
CL Prescription’s sphOs |
|
|
CL Prescription’s cylOd |
|
|
CL Prescription’s cylOs |
|
|
CL Prescription’s axOd |
|
|
CL Prescription’s axOs |
|
|
CL Prescription’s addidationOd |
|
|
CL Prescription’s addidationOs |
|
|
CL Prescription’s radiusOd |
|
|
CL Prescription’s radiusOs |
|
|
CL Prescription’s diameterOd |
|
|
CL Prescription’s diameterOs |
|
|
CL Prescription’s model |
|
|
CL Prescription’s color |
|
|
CL Prescription’s basis |
|
|
CL Prescription’s comments |
|
|
CL Prescription’s date |
|
|
CL Prescription’s deleted |
contact lens prescriptions
GET /api/v2/clients/122333/prescription/contact-lens HTTP/1.1
Parameter | Description |
---|---|
|
client’s id |
HTTP/1.1 200 OK
[ {
"id" : 1100000002,
"model" : null,
"color" : null,
"basis" : "DOCTOR_PRESCRIPTION",
"comment" : null,
"createdOn" : "2025-04-09",
"doctorId" : 9000000010,
"deleted" : false,
"leftEye" : {
"dioptre" : -1.25,
"cylinder" : null,
"axis" : null,
"add" : null,
"curvatureRadius" : 7.0,
"diameter" : 14.0,
"expirationOn" : null
},
"rightEye" : {
"dioptre" : -1.25,
"cylinder" : null,
"axis" : null,
"add" : null,
"curvatureRadius" : 7.0,
"diameter" : 14.0,
"expirationOn" : null
}
}, {
"id" : 1100000001,
"model" : null,
"color" : null,
"basis" : "DOCTOR_PRESCRIPTION",
"comment" : null,
"createdOn" : "2025-04-08",
"doctorId" : 9000000010,
"deleted" : false,
"leftEye" : {
"dioptre" : 1.0,
"cylinder" : 1.0,
"axis" : 1,
"add" : "+1,00",
"curvatureRadius" : 8.0,
"diameter" : 15.5,
"expirationOn" : null
},
"rightEye" : {
"dioptre" : 1.25,
"cylinder" : 1.0,
"axis" : 1,
"add" : "+1,00",
"curvatureRadius" : 8.0,
"diameter" : 15.5,
"expirationOn" : null
}
} ]
Path | Type | Description |
---|---|---|
|
|
CL Prescription’s id |
|
|
CL Prescription’s model |
|
|
CL Prescription’s color |
|
|
CL Prescription’s basis |
|
|
CL Prescription’s comments |
|
|
CL Prescription’s date |
|
|
doctor |
|
|
CL Prescription’s deleted |
|
|
CL Prescription’s left eye |
|
|
CL Prescription’s left eye dioptre |
|
|
CL Prescription’s left eye cylinder |
|
|
CL Prescription’s left eye axis |
|
|
CL Prescription’s left eye add |
|
|
CL Prescription’s left eye curvature radius |
|
|
CL Prescription’s left eye diameter |
|
|
CL Prescription’s left eye |
|
|
CL Prescription’s left eye dioptre |
|
|
CL Prescription’s left eye cylinder |
|
|
CL Prescription’s left eye axis |
|
|
CL Prescription’s left eye add |
|
|
CL Prescription’s left eye curvature radius |
|
|
CL Prescription’s left eye diameter |