Commit a29d200d962c904acfd744eff98d2bab7a049578
1 parent
69c966284a
Exists in
master
and in
6 other branches
承德公共卫生接口
Showing 2 changed files with 67 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java
View file @
a29d200
1 | +package com.lyms.hospitalapi.Cdfy; | |
2 | + | |
3 | +import com.lyms.platform.pojo.Patients; | |
4 | +import org.springframework.stereotype.Service; | |
5 | + | |
6 | +/** | |
7 | + * Created by Administrator on 2018/4/18. | |
8 | + * 承德公共卫生系统接口(gxk) | |
9 | + */ | |
10 | +@Service("cdGwInterface") | |
11 | +public class CdGwInterface { | |
12 | + | |
13 | + //保存孕妇建档(更新健康档案) | |
14 | + private static String jdUrl = "http://gxgg.greatsoft.net:8083/maternal/personInfo/savePersonInfo"; | |
15 | + | |
16 | + | |
17 | + public String saveRecord(Patients patient,String hosipitalId){ | |
18 | + | |
19 | + | |
20 | + | |
21 | + return null; | |
22 | + } | |
23 | + | |
24 | +} |
platform-operate-api/src/main/java/com/lyms/hospitalapi/pojo/HealthRecord.java
View file @
a29d200
1 | +package com.lyms.hospitalapi.pojo; | |
2 | + | |
3 | +import java.util.Date; | |
4 | + | |
5 | +/** | |
6 | + * Created by Administrator on 2018/4/18. | |
7 | + * 承德公共卫生系统保存健康档案接口的参数类 | |
8 | + */ | |
9 | +public class HealthRecord { | |
10 | + | |
11 | + private String personInfoId;//健康档案ID(根据此字段有无值来判断是新增还是修改档案) | |
12 | + private String name;//姓名 | |
13 | + private String pinYinStr;//姓名的首字母拼音 | |
14 | + private String formerName;//曾用名 | |
15 | + private String idNo;//身份证 | |
16 | + private String telNo;//电话号码 | |
17 | + private Date birthday;//出生日期 | |
18 | + private String address;//家庭住址 | |
19 | + private String householdAddress;//户籍地址 | |
20 | + private String committee;//村(居委会)ID (需要传递和公卫系统对照后的ID) | |
21 | + private String residential;//小区ID(需传和公卫对照后的ID) | |
22 | + private String building;//楼栋ID (需传和公卫对照后的ID) | |
23 | + private String unit;//单元 | |
24 | + private String roomNumber;//房间号 | |
25 | + private String fixedPhones;//固定电话 | |
26 | + private String contactName;//联系人姓名 | |
27 | + private String contactTelNo;//联系人电话 | |
28 | + private String workUnit;//工作单位 | |
29 | + private String residenceTypeCode;//常住类型代码 | |
30 | + private String householdTypeCode;//户籍类型 | |
31 | + private String nationalityCode;//民族代码 | |
32 | + private String nationalityValue;//民族中文 | |
33 | + private String personInfoSno;//纸质档案编号 (自动生成) | |
34 | + private String aboCode;//血型 | |
35 | + private String rhCode;//RH | |
36 | + private String educationCode;//文化程度代码 | |
37 | + private String occupationCode;//职业代码 | |
38 | + private String marriageCode;//婚姻状况 | |
39 | + private String medicalPayWay;//医疗费用支付方式 | |
40 | + /*private String drugAllergy;//药物过敏史 | |
41 | + private String exposureHistory;//暴露史*/ | |
42 | + | |
43 | +} |