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.
374 lines
7.5 KiB
374 lines
7.5 KiB
@sxzxyzzlm_ht = https://sxzxyzzlm.tall.wiki/gateway/ht
|
|
@sxzxyzzlm_question = https://sxzxyzzlm.tall.wiki/gateway/question
|
|
@sxzxyzzlm_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0
|
|
@localhost_question = http://127.0.0.1:7160
|
|
@localhost_ht = http://127.0.0.1:7040
|
|
@localhost_tall = http://127.0.0.1:7030/v1.0
|
|
# @test_ht = http://192.168.4.113/gateway/ht
|
|
@test_ht = http://test.tall.wiki/gateway/ht
|
|
@test_tall = http://192.168.4.113/gateway/tall-ht/v1.0
|
|
@sd_tall = https://sd.tall.wiki/gateway/tall/v1.0
|
|
@sd_ht = https://sd.tall.wiki/gateway/ht
|
|
|
|
|
|
@type = content-type: application/json;charset=utf-8
|
|
|
|
@formdata = Content-Disposition: form-data; name="image"; filename="1.png"
|
|
@excel = Content-Type: image/png
|
|
|
|
### login
|
|
# @name login
|
|
<<<<<<< HEAD
|
|
# POST {{sd_tall}}/users/signin
|
|
POST {{test_tall}}/users/signin
|
|
=======
|
|
POST {{test_tall}}/users/signin
|
|
# POST {{localhost_tall}}/users/signin
|
|
>>>>>>> c82a814886a0c7726d3859c230dbb96a14df9681
|
|
{{type}}
|
|
|
|
{
|
|
"client": 1,
|
|
"data": {
|
|
"credential": "123456",
|
|
"identifier": "doctorli"
|
|
},
|
|
"scene": 0,
|
|
"type": 3
|
|
}
|
|
|
|
|
|
|
|
# ### 修改任务
|
|
# POST {{sd_tall}}/tasks/change
|
|
# {{type}}
|
|
# Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
# {
|
|
# "id":"1375376694277443584",
|
|
# "beginTime":"1574125200000",
|
|
# "endTime":"1767110400000",
|
|
# "cycle":"不重复"
|
|
# }
|
|
|
|
# ### 添加任务
|
|
# POST {{sd_tall}}/tasks
|
|
# {{type}}
|
|
# Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
# {
|
|
# "projectId":"1205016950191820800",
|
|
# "parentTaskId":1205016959608033280,
|
|
# "taskName":"报告单三",
|
|
# "description":"生成、导出、分享报告单",
|
|
# "executorId":1205016953639538688,
|
|
# "beginTime":"1574125200000",
|
|
# "endTime":"1767110400000"
|
|
# }
|
|
|
|
|
|
### 分享报告单
|
|
POST {{localhost_ht}}/shareReport
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"id": "1397496952274423808",
|
|
"report":"REPORT1.2"
|
|
}
|
|
}
|
|
|
|
### 根据报告单类型导出报告单
|
|
POST {{localhost_ht}}/exportReportByCode
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"id": "1397740346552750080",
|
|
"report":"REPORT1.2"
|
|
}
|
|
}
|
|
|
|
|
|
### 导出单个报告单
|
|
POST {{localhost_ht}}/exportByCode
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"id":"1397833716453216256",
|
|
"code": "AVLT"
|
|
}
|
|
}
|
|
|
|
|
|
### 修改报告单信息
|
|
POST {{test_ht}}/editPatientReport
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"clinicalDiagnosis": "认知障碍",
|
|
"department": "22",
|
|
"id": "1395544772810248192",
|
|
"initialImpression": "4444",
|
|
"patientAge": "11",
|
|
"report": "REPORT1.1",
|
|
"workingScore": 4
|
|
}
|
|
}
|
|
|
|
|
|
### 保存题目的其他记录
|
|
POST {{localhost_ht}}/saveRecord
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"patientReportId": "1397880112237645824",
|
|
"details":[
|
|
{
|
|
"recordId":1394959230011838464,
|
|
"answers":[]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
### 保存答案
|
|
POST {{localhost_ht}}/saveScore
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"questionId":"1394959220532711424",
|
|
"patientReportId": "1397833716453216256",
|
|
"options":[
|
|
{
|
|
"id":1397853959561023488,
|
|
"score":55
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
### 查询报告单信息
|
|
POST {{localhost_ht}}/queryReportDetail
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"id":"1397833716453216256",
|
|
"report": "REPORT1.2"
|
|
}
|
|
}
|
|
|
|
### 根据报告单类型导出报告单
|
|
POST {{localhost_ht}}/editPatientReport
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"id":"1341582151497420800",
|
|
"initialImpression": "sss",
|
|
"report":"REPORT1.0",
|
|
"clinicalDiagnosis":"",
|
|
"workingScore":
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
### 导入全部 ===张斌
|
|
POST {{test_ht}}/importBase
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
|
|
title
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx"
|
|
# Content-Type: image/png
|
|
|
|
< C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
|
|
|
### 导入类型
|
|
POST {{test_ht}}/importReportType
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
|
|
title
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
Content-Disposition: form-data; name="file"; filename="C:\Users\86183\Desktop\导入数据.xlsx"
|
|
# Content-Type: image/png
|
|
|
|
< C:\Users\86183\Desktop\导入数据.xlsx
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
|
### BNT LFT DST
|
|
### 导入指定测评
|
|
POST {{sd_ht}}/importEvaluation?code=AVLT
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
|
|
title
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
Content-Disposition: form-data; name="file"; filename="< C:\Users\23778\Downloads\导入数据2021-06-03.xlsx"
|
|
# Content-Type: image/png
|
|
|
|
< C:\Users\23778\Downloads\导入数据2021-06-03.xlsx
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
|
|
|
|
|
### 导出
|
|
POST {{test_ht}}/exportReport
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"id": "1341582151497420800"
|
|
}
|
|
}
|
|
|
|
### 导出指定报告单
|
|
POST {{localhost_ht}}/export
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"id": "1397815195593740288" ,
|
|
"code": "MMSE"
|
|
}
|
|
}
|
|
|
|
### 查询搜索条件
|
|
POST {{localhost_question}}/patientReport/searchParam
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"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
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"codes" : [
|
|
{
|
|
"code":"DXL",
|
|
"start":0,
|
|
"end": 12
|
|
}
|
|
],
|
|
"pageNum" : 1,
|
|
"pageSize" : 15
|
|
}
|
|
}
|
|
|
|
|
|
### 查询历史报告单
|
|
POST {{sxzxyzzlm_question}}/queryReports
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"patientId": "1369189040502611968",
|
|
"pageNum": 1,
|
|
"pageSize": 15
|
|
}
|
|
}
|
|
|
|
|
|
### 画图分析
|
|
POST {{localhost_ht}}/queryCanvas
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"patientReportId": "1398098337596575744",
|
|
"questionId": "1207564351553277953"
|
|
}
|
|
}
|
|
|
|
### 查询报告单
|
|
POST {{localhost_ht}}/queryAllReports
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"patientName":"小吴",
|
|
"startAge":0,
|
|
"endAge":100,
|
|
"patientSex":null,
|
|
"educationalStatus":null,
|
|
"startEducationalStatusUnit":null,
|
|
"endEducationalStatusUnit":null,
|
|
"clinicalDiagnosis":null,
|
|
"scores":[
|
|
|
|
]
|
|
|
|
}
|
|
}
|
|
### 查询试题
|
|
POST {{localhost_ht}}/queryQuestion
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"patientReportId":1397833716453216256,
|
|
"code":"SCWT",
|
|
"num":1
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
### 保存试题其他记录
|
|
POST {{test_ht}}/saveRecord
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param": {
|
|
"patientReportId":1390960465944907776,
|
|
"details":[
|
|
{
|
|
"recordId":1386940287842127872,
|
|
"answers":["胳膊,猫,自行车"]
|
|
},
|
|
{
|
|
"recordId":1386940288190255104,
|
|
"answers":["1"]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|