Disease
list
request
GET /api/v2/doctor-dictionary/diseases/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
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
}
Path | Type | Description |
---|---|---|
|
|
disease name |
|
|
is disease deleted? |
create
request
POST /api/v2/doctor-dictionary/diseases HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
disease name |
Must not be blank. |
deleted |
Boolean |
is disease deleted? |
Must not be null |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
disease name |
|
|
is disease deleted? |
get
request
GET /api/v2/doctor-dictionary/diseases?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
disease name |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
disease name |
|
|
is disease deleted? |
update
request
PUT /api/v2/doctor-dictionary/diseases?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
disease name |
Must not be blank. |
deleted |
Boolean |
is disease deleted? |
Must not be null |
Parameter | Description |
---|---|
|
disease name |
response
HTTP/1.1 200 OK
delete
request
DELETE /api/v2/doctor-dictionary/diseases?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
disease name |
response
HTTP/1.1 200 OK