You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

701 lines
14 KiB

4 years ago
@localhost = http://localhost:7240/v4.0
@localhost_tall = http://localhost:7130/v3.0
@test_tall = http://192.168.0.99:7130/v3.0
@test = http://192.168.0.99/gateway/carbasics/v4.0/
4 years ago
@www_tall = http://www.tall.wiki:7130/v3.0
@www = http://www.tall.wiki/gateway/carbasics/v4.0/
4 years ago
@type = content-type: application/json;charset=utf-8
### 登录
# @name login
POST {{www_tall}}/users/signin
4 years ago
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "whj",
"credential": "123456"
}
}
###给项目添加任务
POST {{www}}/task/saveTask
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name": "统计数据",
"projectId":"1436146379201454080",
"roleIdList": [1436146379708964864],
"global": 1
}
}
###给任务添加插件
POST {{www}}/task/saveTaskPlugin
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":[{
"taskDetailId": "1470653322397753344",
"pluginName": "MP-TALL展示详情页c1",
"param": "{\"url\":\"https://www.tall.wiki/carbasics/commission\"}"
}]
}
###删除项目
POST {{www_tall}}/project/deleteProject
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1455841340603768832"
}
}
### 导入wbs
POST http://test.tall.wiki/gateway/carbasics/v4.0/wbs
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="v2.0 实验平台EWBS 20210824.xlsx"
Content-Type: xlsx
< C:\Users\aBin\Desktop\省质控中心.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
4 years ago
//Excel
### 导入Code字典
4 years ago
POST {{www}}/dictionaries/importCode
4 years ago
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
4 years ago
Content-Disposition: form-data; name="param"; filename="暴风眼code.xls"
4 years ago
Content-Type: xlsx
4 years ago
< D:\项目\质控\暴风眼code.xls
4 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 批量提交code
POST {{localhost}}/patient/aidRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1439052566196658176",
"userType":1,
"codeAndAnswerList":[
4 years ago
{
"questionCode":"JBXX-FBTime",
"answer":[""]
}
4 years ago
# 发病时间
# {
# "questionCode":"JBXX-FBTime",
# "answer":[""]
# }
# 到院时间
# {
# "questionCode":"JBXX-DYSJ",
# "answer":["1632814105481"]
# }
# 最后正常时间
# {
# "questionCode":"JBXX-ZHZC",
# "answer":["1632814105479"]
# },
# 住院时间
4 years ago
# {
# "questionCode":"JBXX-ZYSJ",
# "answer":[""]
# },
4 years ago
# # 开始静脉溶栓时间
4 years ago
# {
# "questionCode":"JMRSSJ",
# "answer":["1632814105481"]
# }
4 years ago
# # 穿刺完成时间
# {
# "questionCode":"JRZL-CCSJ",
# "answer":[""]
# },
# # 首次血管再通时间
# # {
# # "questionCode":"JRZL-ZCKT",
# # "answer":[""]
# # },
# # 手术开始时间
# {
# "questionCode":"ZYZL-KSSJ",
# "answer":[""]
# },
# # 出院时间
# {
# "questionCode":"CYQK-CYSJ",
# "answer":[""]
# },
# # 烟雾病的手术开始时间
# {
# "questionCode":"TSCX-SSSJ",
# "answer":[""]
# },
# # AVM治疗时间
# {
# "questionCode":"TSCX-AVM-ZLSJ",
# "answer":[""]
# }
4 years ago
# {
# "questionCode":"JMRSSJ",
# "answer":["JMRS的子code"]
# }
# {
# "questionCode":"JRZL",
# "answer":["急救数据"]
# }
# ,
4 years ago
# {
# "questionCode":"JMRS",
# "answer":["出院数据"]
# }
# {
# "questionCode":"JBXX-FBSJ",
# "answer":["1630462888249"]
# },
# {
# "questionCode":"JBXX-DYSJ",
# "answer":["1630462898326"]
# },
# {
# "questionCode":"CJBL-YSBL",
# "answer":["脑卒中"]
# }
4 years ago
# {
# "questionCode":"CYQK-CYSJ",
# "answer":["1630462905366"]
# },
# {
# "questionCode":"CYQK-LYFS",
# "answer":["测试答案"]
# }
]
}
}
### 批量查询
POST {{localhost}}/patient/queryAidRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1",
"codeList":["FZSJ","JZYSDC"]
}
}
### 查询类型的所有下级和完成情况
POST {{localhost}}/patient/subordinate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":0,
"code":"ZQTH"
}
}
### 患者列表
4 years ago
POST {{localhost}}/patient/querySelf
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"firstAidType":1,
"name":"",
"type":1,
4 years ago
"projectId":1436146379201454080,
"pageNum":1,
"pageSize":10
}
}
4 years ago
### 添加病例
4 years ago
POST {{localhost}}/patient/savePatient
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
4 years ago
"name":"张测试",
"gender":1,
"nation":"汉",
"idcard":320381199410090011,
"suspected":"2"
}
}
### debug
POST {{localhost}}/debug
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
4 years ago
### 身份证识别
4 years ago
POST {{www}}/ocr/identifyWords
4 years ago
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
4 years ago
Content-Disposition: form-data; name="part"; filename="4.jpg"
4 years ago
4 years ago
< C:\Users\23778\Desktop\4.jpg
4 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
4 years ago
###根据项目ID查询机构ID
POST {{www}}/organization/getByProject
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
4 years ago
4 years ago
{
"param":{
"projectId":"1436146379201454080"
}
}
4 years ago
###根据类型查询用户是否提交过
POST {{www}}/questionnaire/isSubmit
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"type":"0"
}
}
4 years ago
###统计-列表
POST {{localhost}}/statistical/list
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"endTime":1630892413003,
"projectId":"1",
"startTime":0
}
}
###统计-跑道图
4 years ago
POST {{www}}/statistical/runway
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"endTime":1632848399000,
4 years ago
"projectId":1436146379201454080,
4 years ago
"startTime":1632754800000
4 years ago
}
}
###统计-DNT分段统计
4 years ago
POST {{www}}/statistical/dnt
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"endTime":1633622400000,
"projectId":"1436146561993416704",
4 years ago
"startTime":0
}
}
###统计-DPT分段统计
4 years ago
POST {{www}}/statistical/dpt
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"endTime":1631699437000,
"projectId":"1436146379201454080",
4 years ago
"startTime":0
}
}
###统计-列表
4 years ago
POST {{www}}/statistical/list
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"endTime":1631699437000,
"projectId":"1436146379201454080",
4 years ago
"startTime":0
}
}
###统计-手术方式/来院方式
#手术 ZYZL-SSFZ ZYZL-KSSJ
#来院 JBXX-LYFS JBXX-DYSJ
4 years ago
POST {{www}}/statistical/toCourtStatistics
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"endTime":1631763023000,
"projectId":"1436146379201454080",
4 years ago
"startTime":0,
"questionCode":"JBXX-LYFS",
4 years ago
"accordCode":"JBXX-DYSJ"
4 years ago
}
}
###分项-溶栓患者/机械再通/脑出血
# 溶栓:ZLFA-JMRS 是 JMRSSJ
# 机械再通:ZLFA-XGZL 是 JRZL-CCSJ
# 脑出血:RYPG-ZDJG 出血性脑卒中 ZYZL-KSSJ
4 years ago
POST {{www}}/statistical/countSpecifyAnswer
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
"startTime":"1631199600000",
"endTime":"1631289599000",
4 years ago
"countType":0,
4 years ago
"questionCode":"ZLFA-XGZL",
"answer":"是",
"accordCode":"JRZL-CCSJ"
4 years ago
}
}
###分项-时间窗
4 years ago
POST {{www}}/statistical/timeWindowsPatient
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
"startTime":"1631199600000",
"endTime":"1631784386910",
4 years ago
"countType":1
}
}
###分项-溶栓率
4 years ago
POST {{www}}/statistical/thrombosisRate
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
4 years ago
"startTime":"1630483038000",
4 years ago
"endTime":"1631782123670",
4 years ago
"countType":0
}
}
###分项-中位数
#ONT: JMRSSJ JBXX-FBSJ
#DNT: JMRSSJ JBXX-DYSJ
#DPT: JRZL-CCSJ JBXX-DYSJ
4 years ago
POST {{www}}/statistical/timeMedian
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"endTime":1640966399000,
"projectId":"1436146379201454080",
"startTime":"1606838400000",
"countType":2,
"subtractionCode":"JBXX-DYSJ",
"minuendCode":"YJJL-CTendTime"
4 years ago
}
4 years ago
4 years ago
}
### 各地-时间窗
4 years ago
POST {{www}}/statistical/placeTimeWindows
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":"SZK",
"startTime":"1630483038000",
"endTime":"1630655849139"
}
}
### 各地-溶栓率
POST {{localhost}}/statistical/gdThrombosisRate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":"SZK",
"startTime":"1630483038000",
"endTime":"1630655849139"
}
}
### 各地-中位数
#ONT: JMRSSJ JBXX-FBSJ
#DNT: JMRSSJ JBXX-DYSJ
#DPT: JRZL-CCSJ JBXX-DYSJ
4 years ago
POST {{www}}/statistical/areaMedian
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":"SZK",
4 years ago
"startTime":"100000000",
"endTime":"1631699437000",
"subtractionCode":"JBXX-DYSJ",
"minuendCode":"JRZL-CCSJ"
4 years ago
}
}
### 各地-各地-溶栓患者/机械再通/脑出血
# 溶栓:ZLFA-JMRS 是 JMRSSJ
# 机械再通:ZLFA-XGZL 是 JRZL-CCSJ
# 脑出血:RYPG-ZDJG 出血性脑卒中 ZYZL-KSSJ
POST {{test}}/statistical/gdCountSpecifyAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":"SZK",
"startTime":"1630483038000",
"endTime":"1630655849139",
"questionCode":"ZLFA-JMRS",
"answer":"是",
"accordCode":"JRZL-CCSJ"
}
}
4 years ago
####加入急救
# 1442039157613666304
POST {{localhost}}/firstAid/join
4 years ago
# POST https://test.tall.wiki/gateway/defaultwbs/power/query
# POST {{www}}mbps/selAllMbps
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"type":"0",
4 years ago
"firstAidId":"1442041970834022400",
"projectId":"1436146379201454080"
4 years ago
}
}
#退出急救
###F
4 years ago
POST {{localhost}}/firstAid/quit
4 years ago
# POST https://test.tall.wiki/gateway/defaultwbs/power/query
# POST {{www}}mbps/selAllMbps
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
"firstAidId":"1442041970834022400"
4 years ago
}
}
#修改病例状态
###F
4 years ago
POST {{localhost}}/firstAid/updateStatus
4 years ago
# POST https://test.tall.wiki/gateway/defaultwbs/power/query
# POST {{www}}mbps/selAllMbps
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
"firstAidId":"1442041970834022400",
4 years ago
"dataStatus":5
}
}
4 years ago
#秘书审核
###F
POST {{localhost}}/patient/updateBySecretary
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1436146379201454080",
"firstAidId":"1442041970834022400",
"dataStatus":6
}
}
4 years ago
### 秘书查看患者信息
POST {{localhost}}/patient/listByQuality
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
4 years ago
"dataStatus":"",
"name":"",
"startTime":"",
"endTime":"",
"hospitalNumber":"",
"idcard":""
}
}
### 质控员查看患者信息
4 years ago
POST {{localhost}}/patient/listByQuality
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1436146379201454080",
4 years ago
"dataStatus":"",
"name":"",
"startTime":"",
"endTime":"",
"hospitalNumber":"",
"idcard":""
}
}
### 修改患者信息
POST {{localhost}}/patient/updatePatient
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1",
"firstAidId":"1432993191749230592",
"name":"张逗逗123",
"gender":1,
"nation":"汉",
"idcard":320381199410090011,
"suspected":"2221"
}
}
### 查询患者信息
POST {{localhost}}/patient/getPatient
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"111"
}
}
### 医院排名
4 years ago
POST {{www}}/organization/rank
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"areaId":"",
4 years ago
"level":"3",
4 years ago
"type":0,
"projectId": 1
}
}
### 地区信息
4 years ago
POST {{www}}/statistical/provinceCity
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"code":""
}
}
### 地区信息
4 years ago
POST {{www}}/firstAid/getDetail
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1"
}
}
4 years ago
//Excel
### 导入Code字典
POST {{www}}/organization/import
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="质控医院.xlsx"
Content-Type: xlsx
< D:\项目\质控\导入\质控医院.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
4 years ago
### 医院信息
POST {{localhost}}/doctor/getHospital
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
4 years ago
### 医院信息
POST {{test}}/equipment/buttonStart
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"firstAidId":
}
}