|
@ -976,9 +976,9 @@ public class DsyyEntranceService {
|
|
|
"\tORIGINSERIALNO as \"ORIGINSERIALNO\",\n" +
|
|
|
"\tTYPE as \"TYPE\",\n" +
|
|
|
"\tPATIENTCODE as \"PATIENTCODE\",\n" +
|
|
|
"\tPATEINTNAME as \"PATEINTNAME\",\n" +
|
|
|
"\tPATIENTNAME as \"PATEINTNAME\",\n" +
|
|
|
"\tIDCARD as \"IDCARD\",\n" +
|
|
|
"\tCARDNO as \"CARDNO\",\n" +
|
|
|
"\tSSC as \"CARDNO\",\n" +
|
|
|
"\tSSC as \"SSC\",\n" +
|
|
|
"\tDOCTOR as \"DOCTOR\",\n" +
|
|
|
"\tDOCTORNAME as \"DOCTORNAME\",\n" +
|
|
@ -999,15 +999,10 @@ public class DsyyEntranceService {
|
|
|
"\tCANCELREASON as \"CANCELREASON\",\n" +
|
|
|
"\tCACERTDATA as \"CACERTDATA\",\n" +
|
|
|
"\tCAMESSAGE as \"CAMESSAGE\",\n" +
|
|
|
"\tDIGITALSIGNNO as \"DIGITALSIGNNO\",\n" +
|
|
|
"\tORIGINALDATAABSTRACT as \"ORIGINALDATAABSTRACT\",\n" +
|
|
|
"\tSTRORIGINALDATA as \"STRORIGINALDATA\",\n" +
|
|
|
"\tHISDEPTCODE as \"HISDEPTCODE\",\n" +
|
|
|
"\tHISDOCTORCODE as \"HISDOCTORCODE\",\n" +
|
|
|
"\tHISGISTERTYPECODE as \"HISGISTERTYPECODE\",\n" +
|
|
|
"\tHISRATETYPECODE as \"HISRATETYPECODE\",\n" +
|
|
|
"\tHISHOSPITAL as \"HISHOSPITAL\",\n" +
|
|
|
"\tHISREGISTERFEE as \"HISREGISTERFEE\",\n" +
|
|
|
"\tPAYSTATUS as \"PAYSTATUS\",\n" +
|
|
|
" DISPUSER as \"DISPUSER\",\n" +
|
|
|
"\tDISPUSERNAME as \"DISPUSERNAME\",\n" +
|
|
@ -1016,16 +1011,16 @@ public class DsyyEntranceService {
|
|
|
"\tv_internet_prescrip_master where 1=1 ";
|
|
|
JSONArray array = new JSONArray();
|
|
|
if (StringUtils.isNoneBlank(registerSn)){
|
|
|
sql +=" and REGISTERNO = '"+registerSn+"' ";
|
|
|
sql +=" and OUTPATIENTID = '"+registerSn+"' ";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(patNo)){
|
|
|
sql +=" and patient = '"+patNo+"' ";
|
|
|
sql +=" and PATIENTCODE = '"+patNo+"' ";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(patNo)){
|
|
|
sql +=" and admNo = '"+admNo+"' ";
|
|
|
if (StringUtils.isNoneBlank(admNo)){
|
|
|
sql +=" and ADMNO = '"+admNo+"' ";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(realOrder)){
|
|
|
sql+=" and realOrder ='"+realOrder+"' ";
|
|
|
sql+=" and REALORDER ='"+realOrder+"' ";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(startTime)){
|
|
|
sql +=" and CREATETIME >= to_date('"+startTime+"','yyyy-MM-dd HH24:mi:ss') ";
|
|
@ -1498,7 +1493,7 @@ public class DsyyEntranceService {
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
//挂号(调his后台包)
|
|
|
public String registered(String doctor,String dept,String sickId,String clinicclass,String courierflag)throws Exception{
|
|
|
public String registered(String doctor,String dept,String sickId,String clinicclass,String courierflag,String flag)throws Exception{
|
|
|
String api = "Registered";
|
|
|
String msgHeader ="<?xml version=\"1.0\" encoding=\"utf-8\"?> " +
|
|
|
"<root> " +
|
|
@ -1527,6 +1522,9 @@ public class DsyyEntranceService {
|
|
|
if (!StringUtils.isEmpty(courierflag)&&!courierflag.equalsIgnoreCase("null")){
|
|
|
condition +="<courierflag>"+courierflag+"</courierflag>";
|
|
|
}
|
|
|
if (!StringUtils.isEmpty(flag)&&!flag.equalsIgnoreCase("null")){
|
|
|
condition +="<flag>"+flag+"</flag>";
|
|
|
}
|
|
|
String msgBody ="<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
|
|
"<root>"+condition+"</root>";
|
|
|
Map<String,String> params = new HashedMap();
|
|
@ -1908,6 +1906,7 @@ public class DsyyEntranceService {
|
|
|
if (StringUtils.isNoneBlank(hismzlsh)){
|
|
|
object.put("hismzlsh",hismzlsh);
|
|
|
}
|
|
|
object.put("trade_type","5");
|
|
|
object.put("accountType","01");
|
|
|
object.put("sfxsjs","Y");
|
|
|
condition = object.toJSONString();
|
|
@ -1976,6 +1975,7 @@ public class DsyyEntranceService {
|
|
|
if (StringUtils.isNoneBlank(outChargeNo)){
|
|
|
object.put("outChargeNo",outChargeNo);
|
|
|
}
|
|
|
object.put("trade_type","5");
|
|
|
object.put("iszyyjs","Y");
|
|
|
condition = object.toJSONString();
|
|
|
String msgBody =condition;
|
|
@ -2082,6 +2082,9 @@ public class DsyyEntranceService {
|
|
|
if (StringUtils.isNoneBlank(phone)){
|
|
|
object.put("phone",phone);
|
|
|
}
|
|
|
if (!StringUtils.isNoneBlank(cardNo)){
|
|
|
object.put("certType","6");
|
|
|
}
|
|
|
condition = object.toJSONString();
|
|
|
String msgBody =condition;
|
|
|
Map<String,String> params = new HashedMap();
|