Disease

list

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

name

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

pageable

Pageable description

response
{
  "content" : [ {
    "name" : "H00.0 Абсцесс века",
    "deleted" : false
  }, {
    "name" : "H00.0 Гордеолум и другие глубокие воспаления век",
    "deleted" : false
  }, {
    "name" : "H00.0 Фурункул века",
    "deleted" : false
  }, {
    "name" : "H00.0 Ячмень века",
    "deleted" : false
  }, {
    "name" : "H00.1 Халазион",
    "deleted" : false
  }, {
    "name" : "H01.0 Блефарит",
    "deleted" : false
  }, {
    "name" : "H01.1 Аллергический дерматит века",
    "deleted" : false
  }, {
    "name" : "H01.1 Дисковидная эритематозная волчанка века",
    "deleted" : false
  }, {
    "name" : "H01.1 Контактный дерматит века",
    "deleted" : false
  }, {
    "name" : "H01.1 Ксеродерма века",
    "deleted" : false
  }, {
    "name" : "H01.1 Неинфекционные дерматозы века",
    "deleted" : false
  }, {
    "name" : "H01.1 Экзематозный дерматит века",
    "deleted" : false
  }, {
    "name" : "H01.8 Другие воспаления века уточненные",
    "deleted" : false
  }, {
    "name" : "H01.9 Воспаление века неуточненное",
    "deleted" : false
  }, {
    "name" : "H02.0 Энтропион и трихиаз века",
    "deleted" : false
  }, {
    "name" : "H02.1 Эктропион века",
    "deleted" : false
  }, {
    "name" : "H02.2 Лагофтальм",
    "deleted" : false
  }, {
    "name" : "H02.3 Блефарохалазис",
    "deleted" : false
  }, {
    "name" : "H02.4 Птоз века",
    "deleted" : false
  }, {
    "name" : "H02.5 Анкилоблефарон",
    "deleted" : false
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : false,
  "totalElements" : 656,
  "totalPages" : 33,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 20,
  "empty" : false
}
Table 493. response description
Path Type Description

name

String

disease name

deleted

Boolean

is disease deleted?

create

request
POST /api/v2/doctor-dictionary/diseases HTTP/1.1

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

name

String

disease name

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

deleted

Boolean

is disease deleted?

Must not be null

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

name

String

disease name

deleted

Boolean

is disease deleted?

get

request
GET /api/v2/doctor-dictionary/diseases?name=Test HTTP/1.1
Table 496. request description
Parameter Description

name

disease name

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

name

String

disease name

deleted

Boolean

is disease deleted?

update

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

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

name

String

disease name

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

deleted

Boolean

is disease deleted?

Must not be null

Parameter Description

name

disease name

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/doctor-dictionary/diseases?name=Test HTTP/1.1
Table 499. request description
Parameter Description

name

disease name

response
HTTP/1.1 200 OK