Eye surgery

list

request
GET /api/v2/doctor-dictionary/eye-surgeries/list HTTP/1.1
Parameter Description

name

String to search by name. EX: ?name=test

pageable

Pageable description

response
{
  "content" : [ {
    "name" : "Витрэктомия",
    "deleted" : false
  }, {
    "name" : "Кератопластика",
    "deleted" : false
  }, {
    "name" : "Кросслинкинг",
    "deleted" : false
  }, {
    "name" : "Лазерная коагуляция сетчатки",
    "deleted" : false
  }, {
    "name" : "Лазерная коррекция зрения",
    "deleted" : false
  }, {
    "name" : "Операция исправления косоглазия",
    "deleted" : false
  }, {
    "name" : "Операция по лечению глаукомы",
    "deleted" : false
  }, {
    "name" : "Осложнения",
    "deleted" : false
  }, {
    "name" : "Рефракционная замена хрусталика",
    "deleted" : false
  }, {
    "name" : "Склеропластика",
    "deleted" : false
  }, {
    "name" : "Удаление катаракты",
    "deleted" : false
  }, {
    "name" : "Удаление образований на глазу",
    "deleted" : false
  }, {
    "name" : "Фоторефрактивная кератэктомия",
    "deleted" : false
  }, {
    "name" : "Энуклеация глаза",
    "deleted" : false
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 14,
  "totalPages" : 1,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 14,
  "empty" : false
}
Table 507. response description
Path Type Description

name

String

eye surgery name

deleted

Boolean

is eye surgery deleted?

create

request
POST /api/v2/doctor-dictionary/eye-surgeries HTTP/1.1

{
  "name" : "Test",
  "deleted" : false
}
Table 508. request description
Path Type Description Constraints

name

String

eye surgery name

Must not be blank.
Size must be between 0 and 320 inclusive

deleted

Boolean

is eye surgery deleted?

Must not be null

response
{
  "name" : "Test",
  "deleted" : false
}
Table 509. response description
Path Type Description

name

String

eye surgery name

deleted

Boolean

is eye surgery deleted?

get

request
GET /api/v2/doctor-dictionary/eye-surgeries?name=Test HTTP/1.1
Table 510. request description
Parameter Description

name

eye surgery name

response
{
  "name" : "Test",
  "deleted" : false
}
Table 511. response description
Path Type Description

name

String

eye surgery name

deleted

Boolean

is eye surgery deleted?

update

request
PUT /api/v2/doctor-dictionary/eye-surgeries?name=Test HTTP/1.1

{
  "name" : "Test",
  "deleted" : false
}
Table 512. request description
Path Type Description Constraints

name

String

eye surgery name

Must not be blank.
Size must be between 0 and 320 inclusive

deleted

Boolean

is eye surgery deleted?

Must not be null

Parameter Description

name

eye surgery name

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/doctor-dictionary/eye-surgeries?name=Test HTTP/1.1
Table 513. request description
Parameter Description

name

eye surgery name

response
HTTP/1.1 200 OK