WXL
2023-12-15 4e32f1188e9d0cafd3511994d2d13617ca6e08f9
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
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',
    method: 'put',
    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: 'delete',
  })
};
 
// 导出患者错误信息
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(userId) {
  return request({
    url: '/medicalhistory/'+userId,
    method: 'get',
  })
};
 
// 修改病史
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 delcontactinformation(userId) {
  return request({
    url: '/archivecontact/'+userId,
    method: 'get',
  })
};