11
heimawl
2023-08-07 66223fb36c73a4060b80f96b1d1596726a230f9c
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
 
    /*患者住院记录API接口
          inhospid// 自增ID     serialnum// 流水号     hospitalname// 医院名称     hospitalcode// 医院编号     hospitaldistrictcode// 院区编号     hospitaldistrictname// 院区名称     icd10code// 入院诊断ICD值     diagname// 入院诊断名称     starttime// 入院时间     endtime// 出院时间     deptcode// 入院科室代码     deptname// 入院科室名称     roomno// 房间号     bedno// 床位号     orgid// 机构ID     del_flag// 删除标记     update_by// 更新人     update_time// 更新时间     create_by// 创建人     create_time// 创建时间     isupload// 上传标记     upload_time// 上传时间     patid// 档案ID     leavediagname// 出院诊断     leaveicd10code// 出院诊断ICD值     drcode// 医生工号     drname// 医生名称     schemestatus// 是否生成方案状态    generalschemestatus// 是否生成通用方案状态    leaveldeptcode// 出院科室代码     leaveldeptname// 出院科室代码     hospitaldistrictid// 病区ID     leavehospitaldistrictcode// 出院病区编号     leavehospitaldistrictname// 出院病区名称     leavehospitaldistrictid// 出院病区ID     deptid// 入院科室ID     leaveldeptid// 出院科室ID     schemetime// 方案状态操作时间     pid//父ID    guid//GUID
    */
    import request from '@/utils/request'
 
    export function slavelistpat_med_inhosp(query) {
      return request({
        url: 'proc/smartor/entity/patient/pat_med_inhosp/slavelist',
        method: 'get',
        params: query
      })
    }
 
    /*
        功能: 读取列表信息
        参数:query 指定查询参数 
    */
    export function listpat_med_inhosp(query) {
      return request({
        url: 'proc/smartor/entity/patient/pat_med_inhosp/list',
        method: 'get',
        params: query
      })
    }
 
    /*
        功能: 根据id读取指定对象信息
        参数:query 指定查询参数
    */
    export function getpat_med_inhosp(inhospid) {
      return request({
        url: 'proc/smartor/entity/patient/pat_med_inhosp/' + inhospid,
        method: 'get'
      })
    }
 
    /*
        功能: 增加对象
        参数:data 对象数据
    */
    export function addpat_med_inhosp(data) {
      return request({
        url: 'proc/smartor/entity/patient/pat_med_inhosp/add',
        method: 'post',
        data: data
      })
    }
 
    /*
        功能: 更新对象
        参数:data 对象数据
    */
    export function updatepat_med_inhosp(data) {
      return request({
        url: 'proc/smartor/entity/patient/pat_med_inhosp/update',
        method: 'put',
        data: data
      })
    }
 
    /*
        功能: 删除对象
        参数:objid 对象ID
    */
    export function delpat_med_inhosp(inhospid) {
      return request({
        url: 'proc/smartor/entity/patient/pat_med_inhosp/del/' +inhospid,
        method: 'delete'
      })
    }