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.

310 lines
6.5 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
5 years ago
@wiki_question = http://sxzxyzzlm.tall.wiki/gateway/question
5 years ago
@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
5 years ago
# POST {{wiki_tall}}/users/signin
4 years ago
POST {{loaclhost_tall}}/users/signin
5 years ago
{{type}}
{
"client": 1,
"data": {
4 years ago
"credential": "1234567",
"identifier": "whj"
5 years ago
},
"scene": 0,
"type": 3
}
4 years ago
### token
GET {{loaclhost_tall}}/users/token?token={{login.response.body.$.data.token}}
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
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 {{wiki}}/import/all
5 years ago
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
5 years ago
Content-Disposition: form-data; name="file"; filename="C:\Users\dou\Desktop\病历汇总v1.3-20210510.xlsx"
< C:\Users\dou\Desktop\病历汇总v1.3-20210510.xlsx
5 years ago
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 更新缓存
5 years ago
Post {{www}}/import/updateRedis
5 years ago
{{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": {
5 years ago
"patientId":1390611940237385728,
"code":"TLCTPS",
"fileId":1392038920719704064
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
}
}
### 查询所有对照组信息
POST {{wiki}}/inpatient/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
### 查询启用的对照组信息
POST {{wiki}}/inpatient/queryEnable
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": {
"id":"1390224835216678912",
"code":"QXJC",
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/upPatientMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":1390224835216678912,
"inputStatus":"6"
}
}
### 查询患者基本信息
Post {{wiki}}/patient/selPatientMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"hospitalization": null,
"inpatientId":"",
"code":"",
4 years ago
# "startTime":"2021-05-06 20:00:00",
"endTime":"",
4 years ago
# "doctorId":"1368849516723445760",
"queryAuthority":1,
# "hospitalId":1,
"pageNum" :2,
"pageSize": 10
}
}
### 添加生物样本
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
}
}
### 查询医生
Post {{wiki}}/doctor/simpleMsg
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
5 years ago
"authority": 2,
"role":0,
"hospitalId": 5
}
}
4 years ago
### debug
Post {{loaclhost}}/debug
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
### 查询医院的临近任务
Post {{wiki}}/statistics/hospitalAdjacentTasks
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"pageNum": 1,
"pageSize":10
}
}
5 years ago
### 查询患者未完成的报告单信息
Post {{wiki_question}}/checkPatientComplete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientId": 1391646303876030464,
"serialNumber":"test"
}
}