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.

445 lines
9.2 KiB

4 years ago
@sxzxyzzlm_ht = https://sxzxyzzlm.tall.wiki/gateway/ht
5 years ago
@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
5 years ago
@localhost_tall = http://127.0.0.1:7030/v1.0
5 years ago
# @test_ht = http://192.168.4.113/gateway/ht
5 years ago
@test_ht = http://test.tall.wiki/gateway/ht
4 years ago
@test_tall = http://192.168.0.99/gateway/tall/v1.0
5 years ago
@sd_tall = https://sd.tall.wiki/gateway/tall/v1.0
4 years ago
# @sd_ht = https://sd.tall.wiki/gateway/ht
@sd_ht = http://sd.tall.wiki:7050
5 years ago
@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
4 years ago
POST {{sd_tall}}/users/signin
5 years ago
# POST {{localhost_tall}}/users/signin
5 years ago
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "doctorli"
},
"scene": 0,
"type": 3
}
5 years ago
# ### 修改任务
# 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"
}
}
4 years ago
### 生成报告单
POST {{sxzxyzzlm_question}}/generatePatientReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": "1428912495510429696",
"serialNumber":"",
"times":0
}
}
### 查询报告单列表
POST {{sxzxyzzlm_question}}/queryReports
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": "1428912495510429696",
"times":0
}
}
4 years ago
### 根据医院,部门等
POST {{sd_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--
5 years ago
### 根据报告单类型导出报告单
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":[]
}
]
}
}
### 保存答案
5 years ago
POST {{test_ht}}/saveScore
5 years ago
{{type}}
5 years ago
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MjM4OTQzMTEsInN1YiI6IjEyMDIwNjQxMjAwNDA1MjU4MjQiLCJhdXRoSWQiOiIxMjAyMDY0MTIwMDU3MzAzMDQwIiwiZXhwIjoxNjIzOTgwNzExfQ.-kIOru_kIGf7d94tmTOlqn8P_orEPOLyRncGpAgpo1I
# Authorization: Bearer {{login.response.body.$.data.token}}
5 years ago
{
"param": {
5 years ago
"questionId":"1207564351532306432",
"patientReportId": "1405340858097733632",
5 years ago
"options":[
{
5 years ago
"id":1207564351540695042,
"answerTime":1623739478737
5 years ago
}
5 years ago
],
"paths": ["https://test.tall.wiki/gateway/ht/uploads/file/2021-06-17/162389435835656.png"]
5 years ago
}
}
### 查询报告单信息
4 years ago
POST {{test_ht}}/queryReportDetail
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
4 years ago
"id":"1448225774837567488"
# "report": "REPORT1.2"
5 years ago
}
}
### 根据报告单类型导出报告单
POST {{localhost_ht}}/editPatientReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"1341582151497420800",
"initialImpression": "sss",
"report":"REPORT1.0",
"clinicalDiagnosis":"",
"workingScore":
}
}
5 years ago
### 导入全部 ===张斌
5 years ago
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"
5 years ago
# Content-Type: image/png
< C:\Users\23778\Downloads\导入数据2020-04-27(1).xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入类型
5 years ago
POST {{test_ht}}/importReportType
5 years ago
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
5 years ago
Content-Disposition: form-data; name="file"; filename="C:\Users\86183\Desktop\导入数据.xlsx"
5 years ago
# Content-Type: image/png
5 years ago
< C:\Users\86183\Desktop\导入数据.xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
4 years ago
5 years ago
### BNT LFT DST
5 years ago
### 导入指定测评
# POST {{localhost_ht}}/importEvaluation?code=DST
4 years ago
POST {{test_ht}}/importEvaluation?code=AVLT
5 years ago
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
4 years ago
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据2021-10-15.xlsx"
5 years ago
# Content-Type: image/png
4 years ago
< C:\Users\23778\Downloads\导入数据2021-10-15.xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导出
POST {{test_ht}}/exportReport
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
5 years ago
"id": "1341582151497420800"
5 years ago
}
}
### 导出指定报告单
POST {{localhost_ht}}/export
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
4 years ago
"id": "1470928863314972672" ,
4 years ago
"code": "MoCA"
5 years ago
}
}
### 查询搜索条件
POST {{localhost_question}}/patientReport/searchParam
{{type}}
5 years ago
Authorization: Bearer {{login.response.body.$.data.token}}
5 years ago
{
"param": {
5 years ago
"parentCode": "KT"
5 years ago
}
}
5 years ago
### 报告单详情
POST {{test_ht}}/queryReportDetail
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id": 1392019589705109504,
5 years ago
"report":"REPORT1.1"
5 years ago
}
}
5 years ago
### 搜索报告单
4 years ago
# POST {{test_ht}}/patientReport/search
POST {{localhost_ht}}/patientReport/search
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"codes" : [
{
4 years ago
"code":"NPI",
"start":3,
"end": ""
5 years ago
}
],
"pageNum" : 1,
"pageSize" : 15
}
}
### 查询历史报告单
5 years ago
POST {{sxzxyzzlm_question}}/queryReports
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": "1369189040502611968",
"pageNum": 1,
"pageSize": 15
}
}
5 years ago
4 years ago
5 years ago
### 画图分析
POST {{localhost_ht}}/queryCanvas
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
4 years ago
"patientReportId": "1442772807330172928",
5 years ago
"questionId": "1207564351553277953"
5 years ago
}
}
### 查询报告单
POST {{localhost_ht}}/queryAllReports
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
5 years ago
"patientName":"小吴",
"startAge":0,
"endAge":100,
5 years ago
"patientSex":null,
"educationalStatus":null,
"startEducationalStatusUnit":null,
"endEducationalStatusUnit":null,
"clinicalDiagnosis":null,
"scores":[
5 years ago
]
5 years ago
}
}
### 查询试题
4 years ago
POST {{sd_ht}}/queryQuestion
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
4 years ago
"patientReportId":1493515424388747264,
"code":"MMSE",
"num":20
}
}
4 years ago
### 智能评测
POST {{sd_ht}}/intelligence
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId":1493515424388747264,
"questionId":"1207564340903940096",
"url":"https://sd.tall.wiki/gateway/ht/uploads/file/2022-03-11/164697113209774.png"
}
}
4 years ago
### 恢复笔画
POST {{test_ht}}/backCanvas
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
5 years ago
4 years ago
{
"param": {
"pointId":1448984655285063680
}
}
5 years ago
### 保存试题其他记录
POST {{test_ht}}/saveRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId":1390960465944907776,
"details":[
{
"recordId":1386940287842127872,
"answers":["胳膊,猫,自行车"]
},
{
"recordId":1386940288190255104,
"answers":["1"]
}
5 years ago
]
5 years ago
}
}
5 years ago
### 语音
POST https://cloud.baidu.com/aidemo
Content-Type: application/x-www-form-urlencoded
type=tns&per=4119&spd=1&pit=5&vol=5&aue=6&tex=胳膊,猫,刀