WXL
2025-04-27 400d13ddc80a7560860939f65b318b2fa78f9004
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";//处理字符串,und,null转换为'';
 
// 查询患者列表
export function listpatient(query) {
  return request({
    url: '/smartor/patarchive/list',
    method: 'get',
    params: query
  })
};
// 用户信息查询患者列表
export function messagelistpatient(data) {
  return request({
    url: '/smartor/patarchive/patInfoByContion',
    method: 'post',
    data: data
  })
};
// 用户信息查询患者列表
export function patarchivelist(data) {
  return request({
    url: '/smartor/patarchive/list',
    method: 'post',
    data: data
  })
};
 
// 修改患者档案
export function alterpatient(data) {
  return request({
    url: '/smartor/patarchive/saveOrUpdatePatInfo',
    method: 'post',
    data: data
  })
};
// 新增患者
export function addpatient(data) {
  return request({
    url: '/smartor/patarchive/add',
    method: 'post',
    data: data
  })
};
 
// 患者详情
export function particularpatient(userId) {
  return request({
    url: '/smartor/patarchive/getInfo/' + userId,
    method: 'get',
  })
};
// 患者门诊详情
export function Patientclinic(userId) {
  return request({
    url: 'patouthosp/selectPatMedOuthospList' + userId,
    method: 'get',
  })
};
// 删除患者列表
export function deletepatient(userId) {
  return request({
    url: '/smartor/patarchive/remove/' + userId,
    method: 'get',
  })
};
 
// 导出患者错误信息
export function Exporterrorpatient(userId) {
  return request({
    url: '/smartor/patarchive/patTagByContion/'+userId,
    method: 'get',
  })
};
// 导入患者文件处理
export function toleadpatient(userId) {
  return request({
    url: '/smartor/patarchive/patTagByContion/'+userId,
    method: 'get',
  })
};
// 新增患者病史
 
export function addmedicalhistory(data) {
  return request({
    url: '/medicalhistory/add',
    method: 'post',
    data: data
  })
};
 
// 病史列表
export function getmedicalhistory(data) {
  return request({
    url: '/medicalhistory/selectMedicalHistoryList',
    method: 'post',
    data: data
  })
};
 
// 修改病史
export function editmedicalhistory(data) {
  return request({
    url: '/medicalhistory/edit',
    method: 'post',
    data: data
  })
};
 
// 新增患者联系方式
export function addcontactinformation(data) {
  return request({
    url: '/archivecontact/add',
    method: 'post',
    data: data
  })
};
// 修改患者联系方式
export function editcontactinformation(data) {
  return request({
    url: '/archivecontact/edit',
    method: 'post',
    data: data
  })
};
// 联系方式详情
export function getcontactinformation(userId) {
  return request({
    url: '/medicalhistory/'+userId,
    method: 'get',
  })
};
// 联系方式列表
export function listcontactinformation(data) {
  return request({
    url: '/archivecontact/selectPatArchivecontactList',
    method: 'post',
    data:data
  })
};
// 删除详情
export function delcontactinformation(userId) {
  return request({
    url: '/archivecontact/remove/'+userId,
    method: 'get',
  })
};
// 患者过滤列表
export function listfiltration(data) {
  return request({
    url: '/smartor/filterlist/list',
    method: 'get',
    params:data
  })
};
// 删除患者过滤
export function delfiltration(userId) {
  return request({
    url: '/smartor/filterlist/remove/'+userId,
    method: 'get',
  })
};
// 修改过滤患者
export function editfiltration(data) {
  return request({
    url: '/smartor/filterlist/edit',
    method: 'post',
    data:data
  })
};
// 修改过滤患者
export function addfiltration(data) {
  return request({
    url: '/smartor/filterlist/add',
    method: 'post',
    data:data
  })
};
// 查询过滤患者详情
export function infofiltration(userId) {
  return request({
    url: '/smartor/filterlist/getInfo/'+userId,
    method: 'get',
  })
};