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.

233 lines
5.1 KiB

5 years ago
###
@www = https://www.tall.wiki/gateway/tcm
@test = http://test.tall.wiki/gateway/tcm
5 years ago
@wiki = http://sxzxyzzlm.tall.wiki/gateway/tcm
@wiki_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0
5 years ago
@loaclhost = http://localhost:7150
5 years ago
@loaclhost_tall = http://localhost:7030/v1.0
5 years ago
@type = content-type: application/json;charset=utf-8
### login
# @name login
# POST http://test.tall.wiki/gateway/tall/v1.0/users/signin
POST {{wiki_tall}}/users/signin
5 years ago
# POST http://localhost:7030/v1.0/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "doctor"
5 years ago
},
"scene": 0,
"type": 3
}
5 years ago
### 导入试题类型
Post {{wiki}}/import/code
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
< C:\Users\86183\Desktop\新建文件夹 (4)\病历汇总v1.1-20210409.xlsx
5 years ago
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.1-20210409(3).xlsx"
5 years ago
5 years ago
< C:\Users\23778\Downloads\病历汇总v1.1-20210409(3).xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入试题
5 years ago
Post {{loaclhost}}/import/all
5 years ago
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx"
5 years ago
< C:\Users\dou\Desktop\病历汇总v1.1-20210409.xlsx
# < C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 更新缓存
Post {{wiki}}/import/updateRedis
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
5 years ago
### 通用文字识别
Post {{loaclhost}}/ocr/general/basic
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":1,
"code":"JLDPLXGCS",
5 years ago
"url":"http://sxzxyzzlm.tall.wiki/gateway/tcm/uploads/upload/20210425/62a783634cd041ea9badde68a6e96b55.jpg"
5 years ago
}
}
# 1:血常规 2:凝血系列 3:颈动脉超声
5 years ago
### 更新redis内的试题信息
# POST {{test}}/import/updateRedis
5 years ago
POST {{wiki}}/import/updateRedis
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
### 查看所有试题信息
5 years ago
Post {{loaclhost}}/question/queryAll
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
5 years ago
"code":"ZLXG"
5 years ago
}
}
### 查询所有对照组信息
5 years ago
POST {{loaclhost}}/inpatient/query
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
### 查看患者的试题和答题信息
5 years ago
Post {{wiki}}/question/query
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
5 years ago
"id":"1369189040502611968",
5 years ago
5 years ago
"code":"",
5 years ago
"nums":0
}
}
### 统计病例完成情况
Post {{loaclhost}}/statistics/complete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":"",
"userId":""
}
}
### 统计各个医院的病例完成情况
Post {{loaclhost}}/statistics/hospital/complete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalId":"",
"userId":""
}
}
### 统计各个医院的病例完成情况
5 years ago
Post {{wiki}}/patient/selSearchCriteriaList
5 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
### 添加会议记录
Post {{loaclhost}}/conferenceRecords/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"taskId":"123456",
"startTime":"2021-02-02 01:02:03",
"endTime":"2021-02-08 01:02:03",
"place":"在家",
"host":"自己",
"participants":"全家",
"discussionContent":"讨论晚上吃啥",
"meetingMinutes":"随便"
}
}
5 years ago
### 通过任务Id查询医院Id
Get {{wiki}}/hospatil/byProjectId?projectId=1371735287096545280
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
5 years ago
### 添加病例
Post {{wiki}}/patient/savePatientMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalization":"whj001",
"inpatientId":"3",
"codeNum":2
5 years ago
}
}
### 查询患者基本信息
Post {{wiki}}/patient/selPatientMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalization":"whj",
"inpatientId":"3",
"code":"F30",
"doctorName":"doctor",
"queryAuthority":0
}
}
### 添加生物样本
Post {{wiki}}/biologicalSamples/addBiologicalSamples
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"sampleTypes":[0,1],
"code":"F8001",
"collectTime":0
}
}
### 查询生物样本
Post {{wiki}}/biologicalSamples/queryByPatient
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": 1387698196658266112
}
}