POST api/ICD?api={api}
Thêm mới bản ghi ICD
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api |
Mã API do hệ thống cung cấp |
string |
Required |
Body Parameters
ICD
ICDModelAdd| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id |
string |
None. |
| idkey |
id key |
string |
None. |
| idcoso |
id cơ sở y tế |
string |
None. |
| maicd |
Mã icd |
string |
None. |
| tenicd |
Mã icd |
string |
None. |
| idnhomicd |
nhóm icd |
string |
None. |
| manhomicd |
Mã nhóm |
string |
None. |
| tennhomicd |
tên nhóm |
string |
None. |
| labenhmantinh |
Là bệnh mãn tính true/false |
boolean |
None. |
| labenhthuonggap |
Là bệnh thường gặp true/false |
boolean |
None. |
| labenhngoai |
Là bệnh ngoài true/false |
boolean |
None. |
| khonglabenhchinh |
Không là bệnh chính true/false |
boolean |
None. |
| chuyenkhoa |
Chuyên khoa |
string |
None. |
| mota |
Mô tả |
string |
None. |
| notuse |
Không sử dụng true/false |
boolean |
None. |
| type |
Phân loại (0- Tây y, 1- Đông y) |
integer |
None. |
| ngaytao |
Ngày tạo |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"idkey": "sample string 2",
"idcoso": "sample string 3",
"maicd": "sample string 4",
"tenicd": "sample string 5",
"idnhomicd": "sample string 6",
"manhomicd": "sample string 7",
"tennhomicd": "sample string 8",
"labenhmantinh": true,
"labenhthuonggap": true,
"labenhngoai": true,
"khonglabenhchinh": true,
"chuyenkhoa": "sample string 9",
"mota": "sample string 10",
"notuse": true,
"type": 11,
"ngaytao": 12
}
application/xml, text/xml
Sample:
<ICDModelAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HISAPI.Models.danhmuc"> <chuyenkhoa>sample string 9</chuyenkhoa> <id>sample string 1</id> <idcoso>sample string 3</idcoso> <idkey>sample string 2</idkey> <idnhomicd>sample string 6</idnhomicd> <khonglabenhchinh>true</khonglabenhchinh> <labenhmantinh>true</labenhmantinh> <labenhngoai>true</labenhngoai> <labenhthuonggap>true</labenhthuonggap> <maicd>sample string 4</maicd> <manhomicd>sample string 7</manhomicd> <mota>sample string 10</mota> <ngaytao>12</ngaytao> <notuse>true</notuse> <tenicd>sample string 5</tenicd> <tennhomicd>sample string 8</tennhomicd> <type>11</type> </ICDModelAdd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataInsert| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| message | string |
None. |
|
| id | string |
None. |
|
| code | string |
None. |
|
| code1 | string |
None. |
|
| strprint | string |
None. |
|
| link | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"message": "sample string 2",
"id": "sample string 3",
"code": "sample string 4",
"code1": "sample string 5",
"strprint": "sample string 6",
"link": "sample string 7"
}
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6","link":"sample string 7"});
application/xml, text/xml
Sample:
<DataInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HISAPI.Models"> <code>sample string 4</code> <code1>sample string 5</code1> <id>sample string 3</id> <link>sample string 7</link> <message>sample string 2</message> <status>sample string 1</status> <strprint>sample string 6</strprint> </DataInsert>