Browse Source

ht和中医药

master
zhizhi wu 5 years ago
parent
commit
a9bc3cfb1c
  1. 58
      HT/认知.http
  2. 37
      中医药/中医药测试.http

58
HT/认知.http

@ -4,9 +4,9 @@
@localhost_question = http://127.0.0.1:7160 @localhost_question = http://127.0.0.1:7160
@localhost_ht = http://127.0.0.1:7040 @localhost_ht = http://127.0.0.1:7040
@localhost_tall = http://127.0.0.1:7030/v1.0 @localhost_tall = http://127.0.0.1:7030/v1.0
# @test_ht = http://192.168.31.13/gateway/ht # @test_ht = http://192.168.4.113/gateway/ht
@test_ht = http://test.tall.wiki/gateway/ht @test_ht = http://test.tall.wiki/gateway/ht
@test_tall = http://192.168.31.13/gateway/tall-ht/v1.0 @test_tall = http://192.168.4.113/gateway/tall-ht/v1.0
@sd_tall = https://sd.tall.wiki/gateway/tall/v1.0 @sd_tall = https://sd.tall.wiki/gateway/tall/v1.0
@sd_ht = https://sd.tall.wiki/gateway/ht @sd_ht = https://sd.tall.wiki/gateway/ht
@ -19,7 +19,7 @@
### login ### login
# @name login # @name login
# POST {{sd_tall}}/users/signin # POST {{sd_tall}}/users/signin
POST {{test_tall}}/users/signin POST {{localhost_tall}}/users/signin
{{type}} {{type}}
{ {
@ -102,6 +102,17 @@ POST {{localhost_question}}/patientReport/searchParam
"parentCode": "KT" "parentCode": "KT"
} }
} }
### 报告单详情
POST {{test_ht}}/queryReportDetail
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": 1392019589705109504,
"report":"REPORT1.1"
}
}
### 搜索报告单 ### 搜索报告单
POST {{test_ht}}/patientReport/search POST {{test_ht}}/patientReport/search
@ -144,8 +155,8 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"patientReportId": "1385191545782800384", "patientReportId": "1398098337596575744",
"questionId": "1340952996439265280" "questionId": "1207564351553277953"
} }
} }
@ -156,19 +167,16 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"patientName":"小吴",
"startAge":0, "startAge":0,
"endAge":100, "endAge":100,
"patientSex":0, "patientSex":null,
"educationalStatus":4, "educationalStatus":null,
"startEducationalStatusUnit":0, "startEducationalStatusUnit":null,
"endEducationalStatusUnit":100, "endEducationalStatusUnit":null,
"clinicalDiagnosis":null, "clinicalDiagnosis":null,
"scores":[ "scores":[
{
"code":"MMSE",
"start":0,
"end":100
}
] ]
} }
@ -187,3 +195,25 @@ Authorization: Bearer {{login.response.body.$.data.token}}
} }
} }
### 保存试题其他记录
POST {{test_ht}}/saveRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId":1390960465944907776,
"details":[
{
"recordId":1386940287842127872,
"answers":["胳膊,猫,自行车"]
},
{
"recordId":1386940288190255104,
"answers":["1"]
}
]
}
}

37
中医药/中医药测试.http

@ -2,7 +2,9 @@
@www = https://www.tall.wiki/gateway/tcm @www = https://www.tall.wiki/gateway/tcm
@test = http://test.tall.wiki/gateway/tcm @test = http://test.tall.wiki/gateway/tcm
@wiki = http://sxzxyzzlm.tall.wiki/gateway/tcm @wiki = http://sxzxyzzlm.tall.wiki/gateway/tcm
@wiki_question = http://sxzxyzzlm.tall.wiki/gateway/question
@wiki_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0 @wiki_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0
@loaclhost = http://localhost:7150 @loaclhost = http://localhost:7150
@loaclhost_tall = http://localhost:7030/v1.0 @loaclhost_tall = http://localhost:7030/v1.0
@ -13,15 +15,15 @@
# @name login # @name login
# POST http://test.tall.wiki/gateway/tall/v1.0/users/signin # POST http://test.tall.wiki/gateway/tall/v1.0/users/signin
POST {{wiki_tall}}/users/signin # POST {{wiki_tall}}/users/signin
# POST http://localhost:7030/v1.0/users/signin POST {{loaclhost_tall}}/users/signin
{{type}} {{type}}
{ {
"client": 1, "client": 1,
"data": { "data": {
"credential": "123456", "credential": "123456",
"identifier": "doctor" "identifier": "doctorli"
}, },
"scene": 0, "scene": 0,
"type": 3 "type": 3
@ -41,17 +43,16 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\
------WebKitFormBoundary7MA4YWxkTrZu0gW-- ------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入试题 ### 导入试题
Post {{loaclhost}}/import/all Post {{wiki}}/import/all
Authorization: Bearer {{login.response.body.$.data.token}} Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title title
------WebKitFormBoundary7MA4YWxkTrZu0gW ------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx" Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.3-20210510.xlsx"
< C:\Users\dou\Desktop\病历汇总v1.1-20210409.xlsx < C:\Users\23778\Downloads\病历汇总v1.3-20210510.xlsx
# < C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW-- ------WebKitFormBoundary7MA4YWxkTrZu0gW--
@ -68,9 +69,9 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"hospitalId":1, "patientId":1390611940237385728,
"code":"JLDPLXGCS", "code":"TLCTPS",
"url":"http://sxzxyzzlm.tall.wiki/gateway/tcm/uploads/upload/20210425/62a783634cd041ea9badde68a6e96b55.jpg" "fileId":1392038920719704064
} }
} }
@ -253,8 +254,9 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{ {
"param": { "param": {
"authority": 1, "authority": 2,
"role":0 "role":0,
"hospitalId": 5
} }
} }
@ -270,3 +272,14 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"pageSize":10 "pageSize":10
} }
} }
### 查询患者未完成的报告单信息
Post {{wiki_question}}/checkPatientComplete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": 1391646303876030464,
"serialNumber":"test"
}
}

Loading…
Cancel
Save