WXL
2023-12-18 d94d00d2cd9eaf87bb3776f72f8e73410b93cb7a
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
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 alterpatient(data) {
  return request({
    url: '/smartor/patarchive/edit',
    method: 'post',
    data: data
  })
};
// 新增患者
export function addpatient(data) {
  return request({
    url: '/smartor/patarchive',
    method: 'post',
    data: data
  })
};
// 患者详情
export function particularpatient(userId) {
  return request({
    url: '/smartor/patarchive/getInfo/' + 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',
  })
};