|
@ -335,7 +335,7 @@ public class PatientInfoService extends BaseService {
|
|
|
|
|
|
}
|
|
|
|
|
|
public int createProfile(String doctorCode ,String patient,String jwCountryCode,String nation,String blood,String marry)throws Exception{
|
|
|
public int createProfile(String doctorCode ,String patient,String brithday,String jwCountryCode,String nation,String blood,String marry,String adress)throws Exception{
|
|
|
|
|
|
Patient p = patientDao.findByCode(patient);
|
|
|
|
|
@ -344,12 +344,12 @@ public class PatientInfoService extends BaseService {
|
|
|
json.put("ARCHIVE_STATUS","3");//档案状态【1.未管理 2.死亡 3.正常 4.高危】
|
|
|
json.put("SICK_NAME",p.getName());//姓名
|
|
|
json.put("SICK_SEX",p.getSex());//性别【1.男 2.女 9 未知】
|
|
|
json.put("BIRTHDAY",p.getBirthday());//出生日期
|
|
|
json.put("BIRTHDAY",brithday);//出生日期
|
|
|
json.put("ZONE_CODE",jwCountryCode);//所属社区【ZONE_DICT】
|
|
|
json.put("IDENTITY_TYPE","1");//证件类型【IDENTITY_TYPE_DICT】
|
|
|
json.put("IDENTITY_CARD_NO",p.getIdcard());//身份证号
|
|
|
json.put("HOME_PHONE",p.getMobile());//本人电话
|
|
|
json.put("HOME_ADDRESS","测试地址");//现住址
|
|
|
json.put("HOME_ADDRESS",adress);//现住址
|
|
|
json.put("ORG_ID","0");//新增默认传0
|
|
|
json.put("RESIDENCE","1");//户籍【1.户籍 2.非户籍】
|
|
|
json.put("NATIONAL",nation);//民族【NATION_DICT】
|