diff --git a/src/main/java/com/emr/controller/TempHandleWzController.java b/src/main/java/com/emr/controller/TempHandleWzController.java index fe9716d..ed67abc 100644 --- a/src/main/java/com/emr/controller/TempHandleWzController.java +++ b/src/main/java/com/emr/controller/TempHandleWzController.java @@ -48,10 +48,10 @@ public class TempHandleWzController { @ResponseBody public int reloadWzAll(){ int rows = 0; - //List list = tempMasterIDService.selectAllMasterID(); - //rows = tempMasterIDService.reloadWz(list); + List list = tempMasterIDService.selectAllMasterID(); + rows = tempMasterIDService.reloadWz(list); - TempMasterID t1 = new TempMasterID(); + /*TempMasterID t1 = new TempMasterID(); t1.setId("36cc3c27-447e-48e4-93b9-06b3acc397ca"); TempMasterID t2 = new TempMasterID(); t2.setId("a490ca0b-879f-4ae4-9238-33c44e5fda99"); @@ -67,7 +67,7 @@ public class TempHandleWzController { list.add(t3); list.add(t4); list.add(t5); - rows = tempMasterIDService.reloadWz(list); + rows = tempMasterIDService.reloadWz(list);*/ return rows; } } diff --git a/src/main/java/com/emr/controller/faultController.java b/src/main/java/com/emr/controller/faultController.java index 8f9cad2..13f133b 100644 --- a/src/main/java/com/emr/controller/faultController.java +++ b/src/main/java/com/emr/controller/faultController.java @@ -182,6 +182,8 @@ public class faultController { //多个缺陷循环插入数据 for (int i = 0; i < assortArr.length; i++) { String assrotId = assortArr[i]; + Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(assrotId)); + emrFaultDetail.setMinusPoint(emrFaultType.getPrice()); emrFaultDetail.setAssortId(assrotId); if (priceArr[i] != null && priceArr[i] != "") { BigDecimal price = new BigDecimal(priceArr[i]); @@ -201,6 +203,8 @@ public class faultController { } } else { + Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(emrFaultVo.getAssortId())); + emrFaultDetail.setMinusPoint(emrFaultType.getPrice()); emrFaultDetail.setAssortId(emrFaultVo.getAssortId()); if (emrFaultVo.getBackContent() != null && emrFaultVo.getBackContent() != "") { BigDecimal price = new BigDecimal(emrFaultVo.getBackContent()); @@ -238,6 +242,8 @@ public class faultController { //多个缺陷循环插入数据 for (int i = 0; i < assortArr.length; i++) { String assrotId = assortArr[i]; + Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(assrotId)); + emrFaultDetail.setMinusPoint(emrFaultType.getPrice()); emrFaultDetail.setAssortId(assrotId); if (priceArr[i] != null && priceArr[i] != "") { BigDecimal price = new BigDecimal(priceArr[i]); @@ -257,6 +263,8 @@ public class faultController { } } else { + Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(emrFaultVo.getAssortId())); + emrFaultDetail.setMinusPoint(emrFaultType.getPrice()); emrFaultDetail.setAssortId(emrFaultVo.getAssortId()); if (emrFaultVo.getBackContent() != null && emrFaultVo.getBackContent() != "") { BigDecimal price = new BigDecimal(emrFaultVo.getBackContent()); diff --git a/src/main/java/com/emr/controller/inHospitalController.java b/src/main/java/com/emr/controller/inHospitalController.java index 52b0214..6c984ae 100644 --- a/src/main/java/com/emr/controller/inHospitalController.java +++ b/src/main/java/com/emr/controller/inHospitalController.java @@ -213,9 +213,8 @@ public class inHospitalController { } //2021-03-15更新优化 - private String GeneratePDFFileByAssortID(String masterId, String assortID, String realPath ) - { - List pdfList = new ArrayList(); + private String GeneratePDFFileByAssortID(String masterId, String assortID, String realPath ) throws Exception { + List pdfList = new ArrayList(); Archive_Detail archiveDetail = new Archive_Detail(); archiveDetail.setFlag("0"); archiveDetail.setMasterid(masterId.trim()); @@ -229,6 +228,7 @@ public class inHospitalController { return ""; } for (int m = 0; m < arList.size(); m++) { + MergePDFItem mergePDFItem = new MergePDFItem(); String str = arList.get(m).getPdfPath(); if (str != "" && str != null) { if (str.indexOf("..\\static\\img\\pdfFiles\\") != -1) { @@ -239,7 +239,9 @@ public class inHospitalController { arList.get(m).setPdfPath(str); errorPdfList.add(arList.get(m)); } else { - pdfList.add(str); + mergePDFItem.setPdfPath(str); + mergePDFItem.setdObj(arList.get(m)); + pdfList.add(mergePDFItem); } } } @@ -250,7 +252,7 @@ public class inHospitalController { if (pdfList.size() > 0) { //对所有地址的pdf进行合成 //if (errorPdfList.size() != size) { - PrintToPdfUtil.mergePdfFiles(pdfList, pdfPath); + PrintToPdfUtil.mergePdfFiles2(pdfList, pdfPath); //} else { // result = ""; // } @@ -339,8 +341,8 @@ public class inHospitalController { } String pdfPath = autoPdfUrl.trim() + "/" + String.valueOf(System.currentTimeMillis()) + ".pdf"; - - PrintToPdfUtil.mergePdfFiles(fileList, pdfPath); + PDFHelper.Append(fileList, pdfPath); + //PrintToPdfUtil.mergePdfFiles(fileList, pdfPath); return pdfPath; // if(imgList.size()==1){ diff --git a/src/main/java/com/emr/controller/lastVerifyController.java b/src/main/java/com/emr/controller/lastVerifyController.java index d147ebe..18c2c80 100644 --- a/src/main/java/com/emr/controller/lastVerifyController.java +++ b/src/main/java/com/emr/controller/lastVerifyController.java @@ -309,6 +309,12 @@ public class lastVerifyController { } } + @ResponseBody + @RequestMapping(value = "/updateScore") + public int updateScore(Archive_Master archive_master){ + return archiveMasterService.updateByClo(archive_master); + } + } diff --git a/src/main/java/com/emr/dao/Archive_DetailMapper.java b/src/main/java/com/emr/dao/Archive_DetailMapper.java index a884164..ed712f4 100644 --- a/src/main/java/com/emr/dao/Archive_DetailMapper.java +++ b/src/main/java/com/emr/dao/Archive_DetailMapper.java @@ -30,4 +30,6 @@ public interface Archive_DetailMapper { List selectByIdStr(Archive_Detail record); + List selectByCol2(Archive_Detail record); + } \ No newline at end of file diff --git a/src/main/java/com/emr/entity/Archive_Master.java b/src/main/java/com/emr/entity/Archive_Master.java index ad4c021..9d2b046 100644 --- a/src/main/java/com/emr/entity/Archive_Master.java +++ b/src/main/java/com/emr/entity/Archive_Master.java @@ -1,5 +1,7 @@ package com.emr.entity; +import java.math.BigDecimal; + public class Archive_Master { private String id; @@ -72,6 +74,17 @@ public class Archive_Master { //2021-1-18 新增床号 private String bedNumber; + //2021-3-20 新增总分 + private BigDecimal score; + + public BigDecimal getScore() { + return score; + } + + public void setScore(BigDecimal score) { + this.score = score; + } + public String getId() { return id; } diff --git a/src/main/java/com/emr/entity/Emr_Fault_Detail.java b/src/main/java/com/emr/entity/Emr_Fault_Detail.java index a445444..08400f3 100644 --- a/src/main/java/com/emr/entity/Emr_Fault_Detail.java +++ b/src/main/java/com/emr/entity/Emr_Fault_Detail.java @@ -43,6 +43,16 @@ public class Emr_Fault_Detail { private String archiveState; + private BigDecimal minusPoint; + + public BigDecimal getMinusPoint() { + return minusPoint; + } + + public void setMinusPoint(BigDecimal minusPoint) { + this.minusPoint = minusPoint; + } + public Integer getId() { return id; } diff --git a/src/main/java/com/emr/entity/Emr_Fault_Vo.java b/src/main/java/com/emr/entity/Emr_Fault_Vo.java index 55a1f9d..82379f3 100644 --- a/src/main/java/com/emr/entity/Emr_Fault_Vo.java +++ b/src/main/java/com/emr/entity/Emr_Fault_Vo.java @@ -90,6 +90,16 @@ public class Emr_Fault_Vo { private String doctorInCharge; + private BigDecimal minusPoint; + + public BigDecimal getMinusPoint() { + return minusPoint; + } + + public void setMinusPoint(BigDecimal minusPoint) { + this.minusPoint = minusPoint; + } + public String getTypeName() { return typeName; } diff --git a/src/main/java/com/emr/entity/MergePDFItem.java b/src/main/java/com/emr/entity/MergePDFItem.java new file mode 100644 index 0000000..060aab2 --- /dev/null +++ b/src/main/java/com/emr/entity/MergePDFItem.java @@ -0,0 +1,34 @@ +package com.emr.entity; + +public class MergePDFItem { + public MergePDFItem() + { + + } + public MergePDFItem(String pdfPath, Archive_Detail obj) + { + this.pdfPath = pdfPath; + this.dObj = obj; + } + public String pdfPath; + + public String getPdfPath() { + return pdfPath; + } + + public void setPdfPath(String pdfPath) { + this.pdfPath = pdfPath; + } + + public Archive_Detail getdObj() { + return dObj; + } + + public void setdObj(Archive_Detail dObj) { + this.dObj = dObj; + } + + public Archive_Detail dObj; + + +} diff --git a/src/main/java/com/emr/service/Archive_DetailService.java b/src/main/java/com/emr/service/Archive_DetailService.java index c4a90ac..f300c32 100644 --- a/src/main/java/com/emr/service/Archive_DetailService.java +++ b/src/main/java/com/emr/service/Archive_DetailService.java @@ -82,6 +82,8 @@ public interface Archive_DetailService { * @return */ List selectByIdStr(Archive_Detail record); + + List selectByCol2(Archive_Detail record); } diff --git a/src/main/java/com/emr/service/ipml/Archive_DetailServiceImpl.java b/src/main/java/com/emr/service/ipml/Archive_DetailServiceImpl.java index 1a35ccc..2c1b43c 100644 --- a/src/main/java/com/emr/service/ipml/Archive_DetailServiceImpl.java +++ b/src/main/java/com/emr/service/ipml/Archive_DetailServiceImpl.java @@ -78,6 +78,11 @@ public class Archive_DetailServiceImpl implements Archive_DetailService { return archiveDetailMapper.selectByIdStr(record); } + @Override + public List selectByCol2(Archive_Detail record) { + return archiveDetailMapper.selectByCol2(record); + } + } diff --git a/src/main/java/com/emr/util/ExSys.java b/src/main/java/com/emr/util/ExSys.java new file mode 100644 index 0000000..615be04 --- /dev/null +++ b/src/main/java/com/emr/util/ExSys.java @@ -0,0 +1,9 @@ +package com.emr.util; + + +public class ExSys extends Exception { + public ExSys(String message, Object... args) + { + super(String.format(message, args)); + } +} diff --git a/src/main/java/com/emr/util/FileHelper.java b/src/main/java/com/emr/util/FileHelper.java new file mode 100644 index 0000000..40c464b --- /dev/null +++ b/src/main/java/com/emr/util/FileHelper.java @@ -0,0 +1,114 @@ +package com.emr.util; + +import com.sun.org.apache.xalan.internal.lib.ExsltBase; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.nio.file.Path; + +public class FileHelper { + public static String getAssemblyFolder() throws Exception { + String ret = System.getProperty("user.dir"); + return ret; + } + + public static boolean File_IsExist(String file) { + File f = new File(file); + return f.exists(); + } + + public static boolean Fold_IsExist(String folder) { + File f = new File(folder); + if (f.isDirectory()) { + return f.exists(); + } + return false; + } + + public static String GetTempFile() throws Exception { + String folder = getAssemblyFolder(); + folder = String.format("%s/%s", folder, "TmpFiles"); + File fFolder = new File(folder); + fFolder.mkdirs(); + + String file = String.format("%s/%s", folder, IDHelper.NewID()+""); + File ffile = new File(file); + ffile.createNewFile(); + return file; + } + + public static String GetTempFile_TempFolder(String tempFolder) throws Exception { + File folder = new File(tempFolder); + if (!folder.isDirectory()) { + throw new ExSys("无效的文件路径 %s", tempFolder); + } + if (!folder.exists()) { + folder.mkdirs(); + } + + String tmpFile = String.format("%s/%l", tempFolder, IDHelper.NewID()); + DeleteFile(tmpFile); + return tmpFile; + } + + public static void DeleteFile(String filePath) throws Exception { + File file = new File(filePath); + if (!file.exists()) { + return; + } + boolean ret = file.delete(); + int timeout = 45*1000; + while(true) + { + if(timeout<0) + { + throw new ExSys("无法删除文件 %s", filePath); + } + if(ret) + { + break; + } + Thread.sleep(1000); + timeout-=1000; + ret = file.delete(); + } + } + + public static void CopyFile(String old, String newFle) throws Exception { + File nf = new File(newFle); + if (nf.isDirectory()) { + throw new ExSys("无效的目标文件路径 %s", newFle); + } + if (nf.exists()) { + throw new ExSys("目标文件路径存在 %s", newFle); + } + File of = new File(old); + if (of.isDirectory()) { + throw new ExSys("无效的源文件路径 %s", old); + } + if (!of.exists()) { + throw new ExSys("源文件路径不存在 %s", old); + } + + File pfile = nf.getParentFile(); + if (!pfile.exists()) { + pfile.mkdirs(); + } + + FileInputStream fis = new FileInputStream(old);//创建输入流对象 + FileOutputStream fos = new FileOutputStream(newFle); //创建输出流对象 + try { + byte datas[] = new byte[1024 * 8];//创建搬运工具 + int len = 0;//创建长度 + while ((len = fis.read(datas)) != -1)//循环读取数据 + { + fos.write(datas, 0, len); + } + } + finally { + fis.close();//释放资源 + fos.close();//释放资源 + } + } +} diff --git a/src/main/java/com/emr/util/IDHelper.java b/src/main/java/com/emr/util/IDHelper.java new file mode 100644 index 0000000..191446d --- /dev/null +++ b/src/main/java/com/emr/util/IDHelper.java @@ -0,0 +1,305 @@ +package com.emr.util; + +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.Date; +import java.util.TimeZone; +import java.util.UUID; + +/* +* 该类,只能用于随机数,可以实现时间与long类型的转化 +* 如果当前系统的时区与服务器同步,则时间与long可以完全与服务器同步,也可相互转化 +* +* */ +public final class IDHelper { + + public static final long BASE = 2; + public static final long MIN_YEAR = 2000; + public static final long MAX_YEAR = 2127; + public static final long MIN_RANDOM = 0; + public static final long MAX_RANDOM = 1048575; + + private static final long UP_YEAR = 62; // bits: 7 max: 127 + private static final long DN_YEAR = 56; + private static final long UP_MONTH = 55; // bits: 4 max: 15 + private static final long DN_MONTH = 52; + private static final long UP_DAY = 51; // bits: 5 max: 31 + private static final long DN_DAY = 47; + private static final long UP_HOUR = 46; // bits: 5 max: 31 + private static final long DN_HOUR = 42; + private static final long UP_MINUTE = 41; // bits: 6 max: 63 + private static final long DN_MINUTE = 36; + private static final long UP_SECOND = 35; // bits: 6 max: 63 + private static final long DN_SECOND = 30; + private static final long UP_MILLI_SECOND = 29; // bits: 10 max: 1023 + private static final long DN_MILLI_SECOND = 20; + private static final long UP_RANDOM = 19; // bits: 20 max: 1048575 FFFFF + private static final long DN_RANDOM = 0; + + private static long DN_YEAR_POW = (long)Math.pow(BASE, DN_YEAR); + private static long DN_MONTH_POW = (long)Math.pow(BASE, DN_MONTH); + private static long DN_DAY_POW = (long)Math.pow(BASE, DN_DAY); + private static long DN_HOUR_POW = (long)Math.pow(BASE, DN_HOUR); + private static long DN_MINUTE_POW = (long)Math.pow(BASE, DN_MINUTE); + private static long DN_SECOND_POW = (long)Math.pow(BASE, DN_SECOND); + private static long DN_MILLI_SECOND_POW = (long)Math.pow(BASE, DN_MILLI_SECOND); + private static long DN_RANDOM_POW = (long)Math.pow(BASE, DN_RANDOM); + + + public static long GetRandom(long id) + { + return id % DN_MILLI_SECOND_POW + MIN_RANDOM; + } + public static long MIN_ID() throws Exception + { + Calendar c = Calendar.getInstance(); + c.set((int)MIN_YEAR,0,1,0,0,0); + + return NewID(c, MIN_RANDOM); + } + public static long MAX_ID() throws Exception + { + Calendar c = Calendar.getInstance(); + c.set((int)MAX_YEAR,11,31,23,59,59); + + return NewID(c, MIN_RANDOM); + } + + + public static long NewID(Calendar datetime, long random) throws Exception + { + int yy = datetime.get(Calendar.YEAR); + int mm = datetime.get(Calendar.MONTH)+1; + int dd = datetime.get(Calendar.DATE); + int hh = datetime.get(Calendar.HOUR_OF_DAY); + int MM = datetime.get(Calendar.MINUTE); + int ss = datetime.get(Calendar.SECOND); + int mi = datetime.get(Calendar.MILLISECOND); + if (yy > MAX_YEAR) + { + throw new ExSys("Year(%d) can not be more than %d !", yy, MAX_YEAR); + } + if (yy < MIN_YEAR) + { + throw new ExSys("Year(%d) can not be less than %d!", yy, MIN_YEAR); + } + if (random > MAX_RANDOM) + { + throw new ExSys("Random(%d) can not be more than %d!", random, MAX_RANDOM); + } + if (random < MIN_RANDOM) + { + throw new ExSys("Random(%d) can not be less than %d!", random, MIN_RANDOM); + } + long id = 0; + + id += ((long)yy - MIN_YEAR) * DN_YEAR_POW; + id += ((long)mm) * DN_MONTH_POW; + id += ((long)dd) * DN_DAY_POW; + id += ((long)hh) * DN_HOUR_POW; + id += ((long)MM) * DN_MINUTE_POW; + id += ((long)ss) * DN_SECOND_POW; + id += ((long)mi) * DN_MILLI_SECOND_POW; + id += (random - MIN_RANDOM) * DN_RANDOM_POW; + return id; + } + + + + public static long NewID(Calendar datetime) throws Exception + { + UUID id= UUID.randomUUID(); + String strID = id.toString().substring(0,5); + long random = Long.parseLong(strID, 16); + return NewID(datetime, random); + } + + public static long NewID() throws Exception + { + Calendar c = Calendar.getInstance(); + c.setTime(new Date()); + return NewID(c); + } + + public static Calendar GetDateTimeWithoutMilliseconds(long id) throws Exception + { + if (id < MIN_ID() || id > MAX_ID()) + { + throw new ExSys("Invalid id! \"%d\"", id); + } + long YEAR = id / DN_YEAR_POW + MIN_YEAR; + long MONTH = (id % DN_YEAR_POW) / DN_MONTH_POW; + long DAY = (id % DN_MONTH_POW) / DN_DAY_POW; + long HOUR = (id % DN_DAY_POW) / DN_HOUR_POW; + long MINUTE = (id % DN_HOUR_POW) / DN_MINUTE_POW; + long SECOND = (id % DN_MINUTE_POW) / DN_SECOND_POW; + + + Calendar c = Calendar.getInstance(); + c.set((int)YEAR,(int)MONTH-1,(int)DAY,(int)HOUR,(int)MINUTE,(int)SECOND); + return c; + } + + + public static boolean ParseID(String strID) + { + try + { + long id = Long.parseLong(strID, 10); + return ParseID(id); + } + catch (Exception ex) + { + return false; + } + } + public static boolean ParseID(long id) + { + try + { + Calendar c = GetDateTimeWithoutMilliseconds(id); + int yy = c.get(Calendar.YEAR); + int mm = c.get(Calendar.MONTH)+1; + int dd = c.get(Calendar.DATE); + + if(yyMAX_YEAR) + { + return false; + } + if(mm<1 || mm>12) + { + return false; + } + if(dd<1 || dd> 31) + { + return false; + } + + String dt = GetDateTime_yyyy_MM_dd_HH_mm_ss_sss(id); + if(common.isEmpty(dt)) + { + return false; + } + return true; + } + catch(Exception ex) + { + return false; + } + } + + + public static String GetDateTimeWithoutMilliseconds(long id, String format) throws Exception + { + Calendar c =GetDateTimeWithoutMilliseconds(id); + return ConvertToStringFromDateTime(c, format); + } + + public static String ConvertToStringFromDateTime(Calendar c, String format) throws Exception + { + SimpleDateFormat sdf = new SimpleDateFormat(format); + sdf.setTimeZone(TimeZone.getTimeZone("GMT+8:00")); + String str = sdf.format(c.getTime()); + return str; + } + public static String ConvertToStringFromDateTime(Date c, String format) throws Exception + { + SimpleDateFormat sdf = new SimpleDateFormat(format); + sdf.setTimeZone(TimeZone.getTimeZone("GMT+8:00")); + String str = sdf.format(c.getTime()); + return str; + } + + public static String GetDateTime_yyyy_MM_dd_HH_mm_ss_sss(long id) throws Exception + { + return GetDateTimeWithoutMilliseconds(id, "yyyy-MM-dd HH:mm:ss:SSS"); + } + + public static String DefaultDateTime1 = "1900-01-01 00:00:00"; + public static String DefaultDateTime2 = "2099-12-31 23:59:59"; + public static String EmptyDateTime = "1801-02-03 00:00:00"; + + public static boolean IsEmptyDateTime(Calendar c) throws Exception + { + String str = GetDatetime_Min(c); + return str.equals(EmptyDateTime); + } + public static boolean IsEmptyDateTime(String c) throws Exception + { + return c.equals(EmptyDateTime); + } + public static boolean IsEmptyDateTime(Date date) throws Exception + { + Calendar c = Calendar.getInstance(); + c.setTime(date); + return IsEmptyDateTime(c); + } + + + public static String GetDatetime_Max(Calendar dt) throws Exception + { + return ConvertToStringFromDateTime(dt,"yyyy-MM-dd") + " 23:59:59.995"; + } + public static String GetDatetime_Min(Calendar dt) throws Exception + { + return ConvertToStringFromDateTime(dt,"yyyy-MM-dd") + " 00:00:00.002"; + } + public static String GetNow_Max() throws Exception + { + Calendar c= Calendar.getInstance(); + c.setTime(c.getTime()); + return GetDatetime_Max(c); + } + public static String GetNow_Min() throws Exception + { + Calendar c= Calendar.getInstance(); + c.setTime(c.getTime()); + return GetDatetime_Min(c); + } + + public static Calendar dt_GetDatetime_Max(Calendar dt) throws Exception + { + + int yy = dt.get(Calendar.YEAR); + int mm = dt.get(Calendar.MONTH)+1; + int dd = dt.get(Calendar.DATE); +// int hh = datetime.get(Calendar.HOUR_OF_DAY); +// int MM = datetime.get(Calendar.MINUTE); +// int ss = datetime.get(Calendar.SECOND); +// int mi = datetime.get(Calendar.MILLISECOND); + Calendar c = Calendar.getInstance(); + c.set(yy,mm,dd, 23,59,59); + return c; + } + public static Calendar dt_GetDatetime_Min(Calendar dt) throws Exception + { + int yy = dt.get(Calendar.YEAR); + int mm = dt.get(Calendar.MONTH)+1; + int dd = dt.get(Calendar.DATE); +// int hh = datetime.get(Calendar.HOUR_OF_DAY); +// int MM = datetime.get(Calendar.MINUTE); +// int ss = datetime.get(Calendar.SECOND); +// int mi = datetime.get(Calendar.MILLISECOND); + Calendar c = Calendar.getInstance(); + c.set(yy,mm,dd, 0,0,0); + return c; + } + public static Calendar dt_GetNow_Max() throws Exception + { + Calendar c= Calendar.getInstance(); + c.setTime(c.getTime()); + return dt_GetDatetime_Max(c); + } + public static Calendar dt_GetNow_Min() throws Exception + { + Calendar c= Calendar.getInstance(); + c.setTime(c.getTime()); + return dt_GetDatetime_Min(c); + } + + +} diff --git a/src/main/java/com/emr/util/Main.java b/src/main/java/com/emr/util/Main.java new file mode 100644 index 0000000..0bb3872 --- /dev/null +++ b/src/main/java/com/emr/util/Main.java @@ -0,0 +1,24 @@ +package com.emr.util; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +public class Main { + + public static void main(String[] args) throws IOException { + // write your code here + String f1 ="c:/1.pdf"; + String f2 = "c:/2.pdf"; + String f3 = "c:/1212cpy.pdf"; + List fs = new ArrayList<>(); + fs.add(f1); + fs.add(f2); + try { + PDFHelper.Append(fs, f3); + } catch (Exception e) { + e.printStackTrace(); + } + System.out.println("enter any key.."); + } +} diff --git a/src/main/java/com/emr/util/PDFHelper.java b/src/main/java/com/emr/util/PDFHelper.java new file mode 100644 index 0000000..0cf9b6b --- /dev/null +++ b/src/main/java/com/emr/util/PDFHelper.java @@ -0,0 +1,176 @@ +package com.emr.util; + +import com.itextpdf.text.pdf.PdfCopyFields; +import com.itextpdf.text.pdf.PdfReader; +import com.lowagie.text.Document; +import com.lowagie.text.PageSize; +import com.lowagie.text.pdf.PdfContentByte; +import com.lowagie.text.pdf.PdfImportedPage; +import com.lowagie.text.pdf.PdfWriter; + +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Stream; + +public class PDFHelper +{ + public static int GetTotalPages(String pdfPath) throws Exception + { + if (!FileHelper.File_IsExist(pdfPath)) + { + return 0; + } + PdfReader reader = new PdfReader(pdfPath); + return reader.getNumberOfPages(); + } + public static void Append(List pdfPathes, String toPath) throws Exception + { + if (pdfPathes.size() == 0) + { + return; + } + for (String srcPath:pdfPathes + ) { + Append(srcPath, toPath); + + } + } + public static void Append(String pdfPath, String toPath) throws Exception + { + if (!FileHelper.File_IsExist(pdfPath)) + { + return; + } + int pdfPageCount = GetTotalPages(pdfPath); + List pdfPageNos = new ArrayList<>(); + for (Integer i = 0; i < pdfPageCount; i++) + { + pdfPageNos.add(i); + } + GetPDFPagesToFile(pdfPath, pdfPageNos, toPath); + } + public static void Append(String pdfPath, List pdfPageNos, String toPath)throws Exception + { + if (!FileHelper.File_IsExist(pdfPath)) + { + return; + } + int pdfPageCount = GetTotalPages(pdfPath); + for (Integer pdfPageNo:pdfPageNos + ) { + + if (pdfPageNo < 0 || pdfPageNo > pdfPageCount - 1) { + throw new ExSys("Invalid page number! \"{0}\"", pdfPageNo); + } + } + GetPDFPagesToFile(pdfPath, pdfPageNos, toPath); + } + public static void Append(String pdfPath, int pdfPageNoFrom, int pdfPageNoTo, String toPath)throws Exception + { + List pdfPageNos = new ArrayList<>(); + for (Integer i = pdfPageNoFrom; i <= pdfPageNoTo; i++) + { + pdfPageNos.add(i); + } + GetPDFPagesToFile(pdfPath, pdfPageNos, toPath); + } + + public static void GetPDFPagesToFile(String pdfPath, List pdfPageNos, String toPath) throws Exception + { + if (!FileHelper.File_IsExist(pdfPath)) + { + return; + } + if (pdfPageNos.size() == 0) + { + return; + } + int pdfPageCount = GetTotalPages(pdfPath); + for (Integer pdfPageNo : pdfPageNos) + { + if (pdfPageNo < 0 || pdfPageNo > pdfPageCount - 1) + { + throw new ExSys("Invalid page number! \"{0}\"", pdfPageNo); + } + } + String tmpFile = FileHelper.GetTempFile(); + try + { + //toReader一定要在PdfCopyFields之后释放 + PdfReader toReader = null; + if (FileHelper.File_IsExist(toPath)) + { + toReader = new PdfReader(toPath); + } + try + { + //pdfReader一定要在PdfCopyFields之后释放 + PdfReader pdfReader = new PdfReader(pdfPath); + FileOutputStream tmpFileStream = new FileOutputStream(tmpFile); + PdfCopyFields tmpCpy = new PdfCopyFields(tmpFileStream); + tmpCpy.open(); + try + { + if (toReader != null) + { + tmpCpy.addDocument(toReader); + } + for (Integer pageNo:pdfPageNos + ) { + tmpCpy.addDocument(pdfReader, String.format("%d", pageNo + 1)); + } + } + finally + { + tmpCpy.close(); + if(tmpFileStream!=null) + { + tmpFileStream.close(); + } + if(pdfReader!=null) + { + pdfReader.close(); + } + } + } + finally + { + if (toReader != null) + { + toReader.close(); + } + } + FileHelper.DeleteFile(toPath); + FileHelper.CopyFile(tmpFile, toPath); + } + finally + { + FileHelper.DeleteFile(tmpFile); + } + } + + public static void Convert2A4(String pdf, String toPath) throws Exception { + Document document = new Document(PageSize.A4); + PdfWriter pdfWriter = PdfWriter.getInstance(document, new FileOutputStream(toPath)); + document.open(); + PdfContentByte cb = pdfWriter.getDirectContent(); + com.lowagie.text.pdf.PdfReader pdfReader = new com.lowagie.text.pdf.PdfReader(pdf); + + for (int j = 1; j <= pdfReader.getNumberOfPages(); j++) { + // 新增一页,不然多页的PDF会重合到一页 + document.newPage(); + PdfImportedPage page = pdfWriter.getImportedPage(pdfReader, j); + // 计算缩小比例 以最大缩小比例为主 + // pdfReader.getPageSize(index) index是从1开始不是0 + float w = PageSize.A4.getWidth() / pdfReader.getPageSize(1).getWidth(); + float h = PageSize.A4.getHeight() / pdfReader.getPageSize(1).getHeight(); + float Scale = w > h ? h : w; + cb.addTemplate(page, Scale, 0, 0, Scale, 0, 0); + } + + document.close(); + } +} diff --git a/src/main/java/com/emr/util/PrintToPdfUtil.java b/src/main/java/com/emr/util/PrintToPdfUtil.java index 1e44a62..d0c666b 100644 --- a/src/main/java/com/emr/util/PrintToPdfUtil.java +++ b/src/main/java/com/emr/util/PrintToPdfUtil.java @@ -6,11 +6,14 @@ */ package com.emr.util; +import com.emr.entity.Archive_Detail; +import com.emr.entity.MergePDFItem; +import com.github.pagehelper.Page; import com.lowagie.text.Document; import com.lowagie.text.Image; import com.lowagie.text.PageSize; -import com.lowagie.text.Rectangle; import com.lowagie.text.pdf.*; +import com.sun.javafx.css.Size; import org.apache.commons.io.FileUtils; import org.apache.pdfbox.io.MemoryUsageSetting; import org.apache.pdfbox.multipdf.PDFMergerUtility; @@ -19,6 +22,7 @@ import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.common.PDRectangle; import javax.imageio.ImageIO; +import java.awt.*; import java.awt.image.BufferedImage; import java.io.*; import java.util.ArrayList; @@ -322,6 +326,43 @@ public class PrintToPdfUtil { * 產生成功返回true, 否則返回false */ + public static boolean mergePdfFiles2(List files, String newfile) throws Exception { + boolean retValue = false; + + List tmpFiles = new ArrayList<>(); + try + { + for (int i = 0;i files, String targetPath) throws IOException { // pdf合并工具类 PDFMergerUtility mergePdf = new PDFMergerUtility(); diff --git a/src/main/java/com/emr/util/XMLUtil.java b/src/main/java/com/emr/util/XMLUtil.java new file mode 100644 index 0000000..b70366d --- /dev/null +++ b/src/main/java/com/emr/util/XMLUtil.java @@ -0,0 +1,116 @@ +package com.emr.util; + +import java.io.FileNotFoundException; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; +import java.io.StringReader; +import java.io.StringWriter; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBException; +import javax.xml.bind.Marshaller; +import javax.xml.bind.Unmarshaller; + +/** + * 封装了XML转换成object,object转换成XML的代码 + * + * @author Steven + * + */ +public class XMLUtil { + /** + * 将对象直接转换成String类型的 XML输出 + * + * @param obj + * @return + */ + public static String convertToXml(Object obj) { + // 创建输出流 + StringWriter sw = new StringWriter(); + try { + // 利用jdk中自带的转换类实现 + JAXBContext context = JAXBContext.newInstance(obj.getClass()); + + Marshaller marshaller = context.createMarshaller(); + // 格式化xml输出的格式 + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, + Boolean.TRUE); + // 将对象转换成输出流形式的xml + marshaller.marshal(obj, sw); + } catch (JAXBException e) { + e.printStackTrace(); + } + return sw.toString(); + } + + /** + * 将对象根据路径转换成xml文件 + * + * @param obj + * @param path + * @return + */ + public static void convertToXml(Object obj, String path) { + try { + // 利用jdk中自带的转换类实现 + JAXBContext context = JAXBContext.newInstance(obj.getClass()); + + Marshaller marshaller = context.createMarshaller(); + // 格式化xml输出的格式 + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, + Boolean.TRUE); + // 将对象转换成输出流形式的xml + // 创建输出流 + FileWriter fw = null; + try { + fw = new FileWriter(path); + } catch (IOException e) { + e.printStackTrace(); + } + marshaller.marshal(obj, fw); + } catch (JAXBException e) { + e.printStackTrace(); + } + } + + @SuppressWarnings("unchecked") + /** + * 将String类型的xml转换成对象 + */ + public static Object convertXmlStrToObject(Class clazz, String xmlStr) { + Object xmlObject = null; + try { + JAXBContext context = JAXBContext.newInstance(clazz); + // 进行将Xml转成对象的核心接口 + Unmarshaller unmarshaller = context.createUnmarshaller(); + StringReader sr = new StringReader(xmlStr); + xmlObject = unmarshaller.unmarshal(sr); + } catch (JAXBException e) { + e.printStackTrace(); + } + return xmlObject; + } + + @SuppressWarnings("unchecked") + /** + * 将file类型的xml转换成对象 + */ + public static Object convertXmlFileToObject(Class clazz, String xmlPath) { + Object xmlObject = null; + try { + JAXBContext context = JAXBContext.newInstance(clazz); + Unmarshaller unmarshaller = context.createUnmarshaller(); + FileReader fr = null; + try { + fr = new FileReader(xmlPath); + } catch (FileNotFoundException e) { + e.printStackTrace(); + } + xmlObject = unmarshaller.unmarshal(fr); + } catch (JAXBException e) { + e.printStackTrace(); + } + return xmlObject; + } +} \ No newline at end of file diff --git a/src/main/java/com/emr/util/common.java b/src/main/java/com/emr/util/common.java new file mode 100644 index 0000000..76e6da6 --- /dev/null +++ b/src/main/java/com/emr/util/common.java @@ -0,0 +1,8 @@ +package com.emr.util; + +public class common +{ + public static boolean isEmpty(String str) { + return (str == null || str.equals("") || str.length() == 0); + } +} diff --git a/src/main/java/com/emr/util/test.java b/src/main/java/com/emr/util/test.java index d15e00c..f1cdec2 100644 --- a/src/main/java/com/emr/util/test.java +++ b/src/main/java/com/emr/util/test.java @@ -6,17 +6,16 @@ */ package com.emr.util; -import org.apache.axis.client.Call; -import org.apache.axis.client.Service; -import org.apache.cxf.endpoint.Client; -import org.apache.cxf.endpoint.Endpoint; -import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory; -import org.apache.cxf.service.model.BindingInfo; -import org.apache.cxf.service.model.BindingOperationInfo; +import com.emr.webservice.MedicalRecordShowBackContent.*; +import com.lowagie.text.PageSize; +import com.lowagie.text.Rectangle; +import com.lowagie.text.pdf.PdfContentByte; +import com.lowagie.text.pdf.PdfReader; +import com.lowagie.text.pdf.PdfStamper; import org.apache.pdfbox.multipdf.PDFMergerUtility; -import javax.xml.namespace.QName; import java.io.File; +import java.io.FileOutputStream; import java.io.IOException; public class test { @@ -86,7 +85,7 @@ public class test { // } - String method = "CheckData"; + /*String method = "CheckData"; JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance(); //Client client = factory.createClient("http://120.27.212.36:9999/filing/services/HomepageDictionary?wsdl"); Client client = factory.createClient("http://127.0.0.1:8080/WholeCheckInterface/services/HomepageDictionary?wsdl"); @@ -104,9 +103,67 @@ public class test { Object[] res = null; res = client.invoke("CheckData","3f3d18cf-6f75-4367-9ada-3684e176c102"); String xml = (String) res[0]; - System.err.println("@@@@@@@@@@@@@@@@@" + xml); + System.err.println("@@@@@@@@@@@@@@@@@" + xml);*/ + + +// String endpoint = "http://10.6.1.152:8037/SignWebService.asmx?WSDL"; +// String method = "MedicalRecordRepair"; + + String mrFILECALLBACKRECORDxml="";//入参1 + String mrFILEINDEXCALLBACKxml="";//入参2 + + MR_FILE_CALLBACK_RECORDxml inputParam1 = new MR_FILE_CALLBACK_RECORDxml(); + inputParam1.setPATIENT_ID("2"); + inputParam1.setVISIT_ID("2"); + inputParam1.setFILE_UNIQUE_ID("1"); + inputParam1.setAPPLY_DATE_TIME("2014-04-15T10:51:39"); + inputParam1.setAPPLY_TIME_LIMIT("2014-04-15T10:51:39"); + inputParam1.setAPPLY_REASON("1"); + inputParam1.setEXPIRY_TIME("2014-04-15T10:51:39"); + + MR_FILE_INDEX_CALLBACKxml inputParam2 = new MR_FILE_INDEX_CALLBACKxml(); + inputParam2.setPATIENT_ID("2"); + inputParam2.setVISIT_ID("2"); + inputParam2.setAPPLY_DATE_TIME("2014-04-15T10:51:39"); + inputParam2.setAPPLY_TIME_LIMIT("2014-04-15T10:51:39"); + inputParam2.setAPPLY_USER_NAME("1"); + inputParam2.setAPPLY_DEPT_CODE("1"); + inputParam2.setSTATUS("1"); + inputParam2.setAPPROVE_USER_ID("1"); + inputParam2.setAPPROVE_USER_NAME("1"); + inputParam2.setAPPROVE_DEPT_CODE("1"); + inputParam2.setAPPROVE_DATE_TIME("2014-04-15T10:51:39"); + inputParam2.setAPPLY_REASON("1"); + inputParam2.setCLINIC_TYPE("0"); + inputParam2.setOPERATOR_TYPE("0"); + inputParam2.setLIMIT_DATE("2014-04-15T10:51:39"); + + mrFILECALLBACKRECORDxml = XMLUtil.convertToXml(inputParam1); + mrFILEINDEXCALLBACKxml = XMLUtil.convertToXml(inputParam2); + + System.out.println(mrFILECALLBACKRECORDxml); + System.out.println(mrFILEINDEXCALLBACKxml); + +// JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance(); +// Client client = factory.createClient(endpoint); + SignWebService signWebService = new SignWebService(); + SignWebServiceSoap signWebServiceSoap = signWebService.getSignWebServiceSoap(); + String str = signWebServiceSoap.medicalRecordRepair(mrFILECALLBACKRECORDxml, mrFILEINDEXCALLBACKxml); + System.out.println(str); + + + + /*String file = "d:/1.pdf"; + String file2 = "d:/0.pdf"; + PdfReader pdfReader = new PdfReader(file); +// PdfStamper pt = new PdfStamper(pdfReader,new FileOutputStream(file2)); +// pt.setRotateContents(false); +// Rectangle p = pt.getOverContent(1).getPdfDocument().getPageSize(); + Rectangle p2 =pdfReader.getPageSizeWithRotation(1); +// pt.close(); + System.out.println(p2);*/ } } - + diff --git a/src/main/java/com/emr/webservice/HomepageDictionary/CheckData.java b/src/main/java/com/emr/webservice/HomepageDictionary/CheckData.java new file mode 100644 index 0000000..34771c5 --- /dev/null +++ b/src/main/java/com/emr/webservice/HomepageDictionary/CheckData.java @@ -0,0 +1,60 @@ + +package com.emr.webservice.HomepageDictionary; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

CheckData complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType name="CheckData">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="masterId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CheckData", propOrder = { + "masterId" +}) +public class CheckData { + + protected String masterId; + + /** + * ȡmasterIdԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getMasterId() { + return masterId; + } + + /** + * masterIdԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMasterId(String value) { + this.masterId = value; + } + +} diff --git a/src/main/java/com/emr/webservice/HomepageDictionary/CheckDataResponse.java b/src/main/java/com/emr/webservice/HomepageDictionary/CheckDataResponse.java new file mode 100644 index 0000000..7d2b374 --- /dev/null +++ b/src/main/java/com/emr/webservice/HomepageDictionary/CheckDataResponse.java @@ -0,0 +1,62 @@ + +package com.emr.webservice.HomepageDictionary; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

CheckDataResponse complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType name="CheckDataResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CheckDataResponse", propOrder = { + "_return" +}) +public class CheckDataResponse { + + @XmlElement(name = "return") + protected String _return; + + /** + * ȡreturnԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getReturn() { + return _return; + } + + /** + * returnԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturn(String value) { + this._return = value; + } + +} diff --git a/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary.java b/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary.java new file mode 100644 index 0000000..26f5c5e --- /dev/null +++ b/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary.java @@ -0,0 +1,40 @@ + +package com.emr.webservice.HomepageDictionary; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.ws.RequestWrapper; +import javax.xml.ws.ResponseWrapper; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.9-b130926.1035 + * Generated source version: 2.2 + * + */ +@WebService(name = "HomepageDictionary", targetNamespace = "http://interfaces.demo.ann.com/") +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface HomepageDictionary { + + + /** + * + * @param masterId + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "CheckData") + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "CheckData", targetNamespace = "http://interfaces.demo.ann.com/", className = "com.emr.webservice.HomepageDictionary.CheckData") + @ResponseWrapper(localName = "CheckDataResponse", targetNamespace = "http://interfaces.demo.ann.com/", className = "com.emr.webservice.HomepageDictionary.CheckDataResponse") + public String checkData( + @WebParam(name = "masterId", targetNamespace = "") + String masterId); + +} diff --git a/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary.wsdl b/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary.wsdl new file mode 100644 index 0000000..702feed --- /dev/null +++ b/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary.wsdl @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary_Service.java b/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary_Service.java new file mode 100644 index 0000000..2ae1378 --- /dev/null +++ b/src/main/java/com/emr/webservice/HomepageDictionary/HomepageDictionary_Service.java @@ -0,0 +1,94 @@ + +package com.emr.webservice.HomepageDictionary; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.9-b130926.1035 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "HomepageDictionary", targetNamespace = "http://interfaces.demo.ann.com/", wsdlLocation = "http://127.0.0.1:8080/WholeCheckInterface/services/HomepageDictionary?wsdl") +public class HomepageDictionary_Service + extends Service +{ + + private final static URL HOMEPAGEDICTIONARY_WSDL_LOCATION; + private final static WebServiceException HOMEPAGEDICTIONARY_EXCEPTION; + private final static QName HOMEPAGEDICTIONARY_QNAME = new QName("http://interfaces.demo.ann.com/", "HomepageDictionary"); + + static { + URL url = null; + WebServiceException e = null; + try { + url = new URL("http://127.0.0.1:8080/WholeCheckInterface/services/HomepageDictionary?wsdl"); + } catch (MalformedURLException ex) { + e = new WebServiceException(ex); + } + HOMEPAGEDICTIONARY_WSDL_LOCATION = url; + HOMEPAGEDICTIONARY_EXCEPTION = e; + } + + public HomepageDictionary_Service() { + super(__getWsdlLocation(), HOMEPAGEDICTIONARY_QNAME); + } + + public HomepageDictionary_Service(WebServiceFeature... features) { + super(__getWsdlLocation(), HOMEPAGEDICTIONARY_QNAME, features); + } + + public HomepageDictionary_Service(URL wsdlLocation) { + super(wsdlLocation, HOMEPAGEDICTIONARY_QNAME); + } + + public HomepageDictionary_Service(URL wsdlLocation, WebServiceFeature... features) { + super(wsdlLocation, HOMEPAGEDICTIONARY_QNAME, features); + } + + public HomepageDictionary_Service(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public HomepageDictionary_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) { + super(wsdlLocation, serviceName, features); + } + + /** + * + * @return + * returns HomepageDictionary + */ + @WebEndpoint(name = "HomepageDictionaryImplPort") + public HomepageDictionary getHomepageDictionaryImplPort() { + return super.getPort(new QName("http://interfaces.demo.ann.com/", "HomepageDictionaryImplPort"), HomepageDictionary.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns HomepageDictionary + */ + @WebEndpoint(name = "HomepageDictionaryImplPort") + public HomepageDictionary getHomepageDictionaryImplPort(WebServiceFeature... features) { + return super.getPort(new QName("http://interfaces.demo.ann.com/", "HomepageDictionaryImplPort"), HomepageDictionary.class, features); + } + + private static URL __getWsdlLocation() { + if (HOMEPAGEDICTIONARY_EXCEPTION!= null) { + throw HOMEPAGEDICTIONARY_EXCEPTION; + } + return HOMEPAGEDICTIONARY_WSDL_LOCATION; + } + +} diff --git a/src/main/java/com/emr/webservice/HomepageDictionary/ObjectFactory.java b/src/main/java/com/emr/webservice/HomepageDictionary/ObjectFactory.java new file mode 100644 index 0000000..5887c52 --- /dev/null +++ b/src/main/java/com/emr/webservice/HomepageDictionary/ObjectFactory.java @@ -0,0 +1,71 @@ + +package com.emr.webservice.HomepageDictionary; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.emr.webservice.HomepageDictionary package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _CheckDataResponse_QNAME = new QName("http://interfaces.demo.ann.com/", "CheckDataResponse"); + private final static QName _CheckData_QNAME = new QName("http://interfaces.demo.ann.com/", "CheckData"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.emr.webservice.HomepageDictionary + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link CheckDataResponse } + * + */ + public CheckDataResponse createCheckDataResponse() { + return new CheckDataResponse(); + } + + /** + * Create an instance of {@link CheckData } + * + */ + public CheckData createCheckData() { + return new CheckData(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CheckDataResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://interfaces.demo.ann.com/", name = "CheckDataResponse") + public JAXBElement createCheckDataResponse(CheckDataResponse value) { + return new JAXBElement(_CheckDataResponse_QNAME, CheckDataResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CheckData }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://interfaces.demo.ann.com/", name = "CheckData") + public JAXBElement createCheckData(CheckData value) { + return new JAXBElement(_CheckData_QNAME, CheckData.class, null, value); + } + +} diff --git a/src/main/java/com/emr/webservice/HomepageDictionary/package-info.java b/src/main/java/com/emr/webservice/HomepageDictionary/package-info.java new file mode 100644 index 0000000..741e241 --- /dev/null +++ b/src/main/java/com/emr/webservice/HomepageDictionary/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://interfaces.demo.ann.com/") +package com.emr.webservice.HomepageDictionary; diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MR_FILE_CALLBACK_RECORDxml.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MR_FILE_CALLBACK_RECORDxml.java new file mode 100644 index 0000000..7937c9c --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MR_FILE_CALLBACK_RECORDxml.java @@ -0,0 +1,70 @@ +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlRootElement; + +@XmlRootElement +public class MR_FILE_CALLBACK_RECORDxml { + private String PATIENT_ID;//病人ID号 + private String VISIT_ID;//病人住院次数 + private String FILE_UNIQUE_ID;//文书ID + private String APPLY_DATE_TIME;//申请日期 + private String APPLY_TIME_LIMIT;//申请期限 + private String APPLY_REASON;//申请理由 + private String EXPIRY_TIME;//有效期截止时间 + + public String getPATIENT_ID() { + return PATIENT_ID; + } + + public void setPATIENT_ID(String PATIENT_ID) { + this.PATIENT_ID = PATIENT_ID; + } + + public String getVISIT_ID() { + return VISIT_ID; + } + + public void setVISIT_ID(String VISIT_ID) { + this.VISIT_ID = VISIT_ID; + } + + public String getFILE_UNIQUE_ID() { + return FILE_UNIQUE_ID; + } + + public void setFILE_UNIQUE_ID(String FILE_UNIQUE_ID) { + this.FILE_UNIQUE_ID = FILE_UNIQUE_ID; + } + + public String getAPPLY_DATE_TIME() { + return APPLY_DATE_TIME; + } + + public void setAPPLY_DATE_TIME(String APPLY_DATE_TIME) { + this.APPLY_DATE_TIME = APPLY_DATE_TIME; + } + + public String getAPPLY_TIME_LIMIT() { + return APPLY_TIME_LIMIT; + } + + public void setAPPLY_TIME_LIMIT(String APPLY_TIME_LIMIT) { + this.APPLY_TIME_LIMIT = APPLY_TIME_LIMIT; + } + + public String getAPPLY_REASON() { + return APPLY_REASON; + } + + public void setAPPLY_REASON(String APPLY_REASON) { + this.APPLY_REASON = APPLY_REASON; + } + + public String getEXPIRY_TIME() { + return EXPIRY_TIME; + } + + public void setEXPIRY_TIME(String EXPIRY_TIME) { + this.EXPIRY_TIME = EXPIRY_TIME; + } +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MR_FILE_INDEX_CALLBACKxml.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MR_FILE_INDEX_CALLBACKxml.java new file mode 100644 index 0000000..6f8b84c --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MR_FILE_INDEX_CALLBACKxml.java @@ -0,0 +1,142 @@ +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlRootElement; + +@XmlRootElement +public class MR_FILE_INDEX_CALLBACKxml { + private String PATIENT_ID;//病人ID号 + private String VISIT_ID;//病人住院次数 + private String APPLY_DATE_TIME;//申请日期 + private String APPLY_TIME_LIMIT;//申请期限 + private String APPLY_USER_NAME;//申请人姓名 + private String APPLY_DEPT_CODE;//申请人部门 + private String STATUS;//状态 0 申请 1批准 4作废 + private String APPROVE_USER_ID;//批准人ID + private String APPROVE_USER_NAME;//批准人姓名 + private String APPROVE_DEPT_CODE;//批准人部门 + private String APPROVE_DATE_TIME;//批准日期 + private String APPLY_REASON;//申请事由 + private String CLINIC_TYPE;//0医疗护理,1临床护理 + private String OPERATOR_TYPE;//0 修改 1 新建 2打印 + private String LIMIT_DATE;//操作期限日期 + + public String getPATIENT_ID() { + return PATIENT_ID; + } + + public void setPATIENT_ID(String PATIENT_ID) { + this.PATIENT_ID = PATIENT_ID; + } + + public String getVISIT_ID() { + return VISIT_ID; + } + + public void setVISIT_ID(String VISIT_ID) { + this.VISIT_ID = VISIT_ID; + } + + public String getAPPLY_DATE_TIME() { + return APPLY_DATE_TIME; + } + + public void setAPPLY_DATE_TIME(String APPLY_DATE_TIME) { + this.APPLY_DATE_TIME = APPLY_DATE_TIME; + } + + public String getAPPLY_TIME_LIMIT() { + return APPLY_TIME_LIMIT; + } + + public void setAPPLY_TIME_LIMIT(String APPLY_TIME_LIMIT) { + this.APPLY_TIME_LIMIT = APPLY_TIME_LIMIT; + } + + public String getAPPLY_USER_NAME() { + return APPLY_USER_NAME; + } + + public void setAPPLY_USER_NAME(String APPLY_USER_NAME) { + this.APPLY_USER_NAME = APPLY_USER_NAME; + } + + public String getAPPLY_DEPT_CODE() { + return APPLY_DEPT_CODE; + } + + public void setAPPLY_DEPT_CODE(String APPLY_DEPT_CODE) { + this.APPLY_DEPT_CODE = APPLY_DEPT_CODE; + } + + public String getSTATUS() { + return STATUS; + } + + public void setSTATUS(String STATUS) { + this.STATUS = STATUS; + } + + public String getAPPROVE_USER_ID() { + return APPROVE_USER_ID; + } + + public void setAPPROVE_USER_ID(String APPROVE_USER_ID) { + this.APPROVE_USER_ID = APPROVE_USER_ID; + } + + public String getAPPROVE_USER_NAME() { + return APPROVE_USER_NAME; + } + + public void setAPPROVE_USER_NAME(String APPROVE_USER_NAME) { + this.APPROVE_USER_NAME = APPROVE_USER_NAME; + } + + public String getAPPROVE_DEPT_CODE() { + return APPROVE_DEPT_CODE; + } + + public void setAPPROVE_DEPT_CODE(String APPROVE_DEPT_CODE) { + this.APPROVE_DEPT_CODE = APPROVE_DEPT_CODE; + } + + public String getAPPROVE_DATE_TIME() { + return APPROVE_DATE_TIME; + } + + public void setAPPROVE_DATE_TIME(String APPROVE_DATE_TIME) { + this.APPROVE_DATE_TIME = APPROVE_DATE_TIME; + } + + public String getAPPLY_REASON() { + return APPLY_REASON; + } + + public void setAPPLY_REASON(String APPLY_REASON) { + this.APPLY_REASON = APPLY_REASON; + } + + public String getCLINIC_TYPE() { + return CLINIC_TYPE; + } + + public void setCLINIC_TYPE(String CLINIC_TYPE) { + this.CLINIC_TYPE = CLINIC_TYPE; + } + + public String getOPERATOR_TYPE() { + return OPERATOR_TYPE; + } + + public void setOPERATOR_TYPE(String OPERATOR_TYPE) { + this.OPERATOR_TYPE = OPERATOR_TYPE; + } + + public String getLIMIT_DATE() { + return LIMIT_DATE; + } + + public void setLIMIT_DATE(String LIMIT_DATE) { + this.LIMIT_DATE = LIMIT_DATE; + } +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy.class new file mode 100644 index 0000000..5341c69 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy.java new file mode 100644 index 0000000..01e2f52 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy.java @@ -0,0 +1,148 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="FILE_UNIQUE_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="PHOTOCOPY" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "patientid", + "visitid", + "fileuniqueid", + "photocopy" +}) +@XmlRootElement(name = "MedicalRecordCopy") +public class MedicalRecordCopy { + + @XmlElement(name = "PATIENT_ID") + protected String patientid; + @XmlElement(name = "VISIT_ID") + protected String visitid; + @XmlElement(name = "FILE_UNIQUE_ID") + protected String fileuniqueid; + @XmlElement(name = "PHOTOCOPY") + protected String photocopy; + + /** + * ȡpatientidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPATIENTID() { + return patientid; + } + + /** + * patientidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPATIENTID(String value) { + this.patientid = value; + } + + /** + * ȡvisitidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISITID() { + return visitid; + } + + /** + * visitidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISITID(String value) { + this.visitid = value; + } + + /** + * ȡfileuniqueidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getFILEUNIQUEID() { + return fileuniqueid; + } + + /** + * fileuniqueidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFILEUNIQUEID(String value) { + this.fileuniqueid = value; + } + + /** + * ȡphotocopyԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPHOTOCOPY() { + return photocopy; + } + + /** + * photocopyԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPHOTOCOPY(String value) { + this.photocopy = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2.class new file mode 100644 index 0000000..821bf51 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2.java new file mode 100644 index 0000000..c575957 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2.java @@ -0,0 +1,204 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="FILE_UNIQUE_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="PHOTOCOPY" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="PHOTOCOPY_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="PHOTOCOPY_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "patientid", + "visitid", + "fileuniqueid", + "photocopy", + "photocopyid", + "photocopyname" +}) +@XmlRootElement(name = "MedicalRecordCopy2") +public class MedicalRecordCopy2 { + + @XmlElement(name = "PATIENT_ID") + protected String patientid; + @XmlElement(name = "VISIT_ID") + protected String visitid; + @XmlElement(name = "FILE_UNIQUE_ID") + protected String fileuniqueid; + @XmlElement(name = "PHOTOCOPY") + protected String photocopy; + @XmlElement(name = "PHOTOCOPY_ID") + protected String photocopyid; + @XmlElement(name = "PHOTOCOPY_NAME") + protected String photocopyname; + + /** + * ȡpatientidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPATIENTID() { + return patientid; + } + + /** + * patientidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPATIENTID(String value) { + this.patientid = value; + } + + /** + * ȡvisitidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISITID() { + return visitid; + } + + /** + * visitidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISITID(String value) { + this.visitid = value; + } + + /** + * ȡfileuniqueidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getFILEUNIQUEID() { + return fileuniqueid; + } + + /** + * fileuniqueidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFILEUNIQUEID(String value) { + this.fileuniqueid = value; + } + + /** + * ȡphotocopyԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPHOTOCOPY() { + return photocopy; + } + + /** + * photocopyԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPHOTOCOPY(String value) { + this.photocopy = value; + } + + /** + * ȡphotocopyidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPHOTOCOPYID() { + return photocopyid; + } + + /** + * photocopyidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPHOTOCOPYID(String value) { + this.photocopyid = value; + } + + /** + * ȡphotocopynameԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPHOTOCOPYNAME() { + return photocopyname; + } + + /** + * photocopynameԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPHOTOCOPYNAME(String value) { + this.photocopyname = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2Response.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2Response.class new file mode 100644 index 0000000..390d3bd Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2Response.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2Response.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2Response.java new file mode 100644 index 0000000..e15aac5 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopy2Response.java @@ -0,0 +1,64 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="MedicalRecordCopy2Result" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "medicalRecordCopy2Result" +}) +@XmlRootElement(name = "MedicalRecordCopy2Response") +public class MedicalRecordCopy2Response { + + @XmlElement(name = "MedicalRecordCopy2Result") + protected String medicalRecordCopy2Result; + + /** + * ȡmedicalRecordCopy2ResultԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getMedicalRecordCopy2Result() { + return medicalRecordCopy2Result; + } + + /** + * medicalRecordCopy2ResultԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMedicalRecordCopy2Result(String value) { + this.medicalRecordCopy2Result = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopyResponse.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopyResponse.class new file mode 100644 index 0000000..010db5c Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopyResponse.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopyResponse.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopyResponse.java new file mode 100644 index 0000000..55823e5 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordCopyResponse.java @@ -0,0 +1,64 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="MedicalRecordCopyResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "medicalRecordCopyResult" +}) +@XmlRootElement(name = "MedicalRecordCopyResponse") +public class MedicalRecordCopyResponse { + + @XmlElement(name = "MedicalRecordCopyResult") + protected String medicalRecordCopyResult; + + /** + * ȡmedicalRecordCopyResultԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getMedicalRecordCopyResult() { + return medicalRecordCopyResult; + } + + /** + * medicalRecordCopyResultԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMedicalRecordCopyResult(String value) { + this.medicalRecordCopyResult = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestration.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestration.class new file mode 100644 index 0000000..afd4c3f Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestration.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestration.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestration.java new file mode 100644 index 0000000..0a3e5d2 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestration.java @@ -0,0 +1,204 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Operation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="FILE_UNIQUE_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="SEQUESTRATION_FLAG" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="RESION" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "operation", + "patientid", + "visitid", + "fileuniqueid", + "sequestrationflag", + "resion" +}) +@XmlRootElement(name = "MedicalRecordIsSequestration") +public class MedicalRecordIsSequestration { + + @XmlElement(name = "Operation") + protected String operation; + @XmlElement(name = "PATIENT_ID") + protected String patientid; + @XmlElement(name = "VISIT_ID") + protected String visitid; + @XmlElement(name = "FILE_UNIQUE_ID") + protected String fileuniqueid; + @XmlElement(name = "SEQUESTRATION_FLAG") + protected String sequestrationflag; + @XmlElement(name = "RESION") + protected String resion; + + /** + * ȡoperationԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getOperation() { + return operation; + } + + /** + * operationԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOperation(String value) { + this.operation = value; + } + + /** + * ȡpatientidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPATIENTID() { + return patientid; + } + + /** + * patientidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPATIENTID(String value) { + this.patientid = value; + } + + /** + * ȡvisitidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISITID() { + return visitid; + } + + /** + * visitidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISITID(String value) { + this.visitid = value; + } + + /** + * ȡfileuniqueidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getFILEUNIQUEID() { + return fileuniqueid; + } + + /** + * fileuniqueidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFILEUNIQUEID(String value) { + this.fileuniqueid = value; + } + + /** + * ȡsequestrationflagԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getSEQUESTRATIONFLAG() { + return sequestrationflag; + } + + /** + * sequestrationflagԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSEQUESTRATIONFLAG(String value) { + this.sequestrationflag = value; + } + + /** + * ȡresionԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getRESION() { + return resion; + } + + /** + * resionԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRESION(String value) { + this.resion = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestrationResponse.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestrationResponse.class new file mode 100644 index 0000000..5ecc290 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestrationResponse.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestrationResponse.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestrationResponse.java new file mode 100644 index 0000000..d53246c --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordIsSequestrationResponse.java @@ -0,0 +1,64 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="MedicalRecordIsSequestrationResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "medicalRecordIsSequestrationResult" +}) +@XmlRootElement(name = "MedicalRecordIsSequestrationResponse") +public class MedicalRecordIsSequestrationResponse { + + @XmlElement(name = "MedicalRecordIsSequestrationResult") + protected String medicalRecordIsSequestrationResult; + + /** + * ȡmedicalRecordIsSequestrationResultԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getMedicalRecordIsSequestrationResult() { + return medicalRecordIsSequestrationResult; + } + + /** + * medicalRecordIsSequestrationResultԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMedicalRecordIsSequestrationResult(String value) { + this.medicalRecordIsSequestrationResult = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepair.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepair.class new file mode 100644 index 0000000..d14341d Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepair.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepair.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepair.java new file mode 100644 index 0000000..1ad0406 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepair.java @@ -0,0 +1,92 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="MR_FILE_CALLBACK_RECORDxml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="MR_FILE_INDEX_CALLBACKxml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "mrfilecallbackrecorDxml", + "mrfileindexcallbacKxml" +}) +@XmlRootElement(name = "MedicalRecordRepair") +public class MedicalRecordRepair { + + @XmlElement(name = "MR_FILE_CALLBACK_RECORDxml") + protected String mrfilecallbackrecorDxml; + @XmlElement(name = "MR_FILE_INDEX_CALLBACKxml") + protected String mrfileindexcallbacKxml; + + /** + * ȡmrfilecallbackrecorDxmlԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getMRFILECALLBACKRECORDxml() { + return mrfilecallbackrecorDxml; + } + + /** + * mrfilecallbackrecorDxmlԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMRFILECALLBACKRECORDxml(String value) { + this.mrfilecallbackrecorDxml = value; + } + + /** + * ȡmrfileindexcallbacKxmlԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getMRFILEINDEXCALLBACKxml() { + return mrfileindexcallbacKxml; + } + + /** + * mrfileindexcallbacKxmlԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMRFILEINDEXCALLBACKxml(String value) { + this.mrfileindexcallbacKxml = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepairResponse.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepairResponse.class new file mode 100644 index 0000000..5b36380 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepairResponse.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepairResponse.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepairResponse.java new file mode 100644 index 0000000..d0fad22 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/MedicalRecordRepairResponse.java @@ -0,0 +1,64 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="MedicalRecordRepairResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "medicalRecordRepairResult" +}) +@XmlRootElement(name = "MedicalRecordRepairResponse") +public class MedicalRecordRepairResponse { + + @XmlElement(name = "MedicalRecordRepairResult") + protected String medicalRecordRepairResult; + + /** + * ȡmedicalRecordRepairResultԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getMedicalRecordRepairResult() { + return medicalRecordRepairResult; + } + + /** + * medicalRecordRepairResultԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMedicalRecordRepairResult(String value) { + this.medicalRecordRepairResult = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/ObjectFactory.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/ObjectFactory.class new file mode 100644 index 0000000..9e3684e Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/ObjectFactory.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/ObjectFactory.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/ObjectFactory.java new file mode 100644 index 0000000..415373e --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/ObjectFactory.java @@ -0,0 +1,141 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.emr.webservice.MedicalRecordShowBackContent package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _String_QNAME = new QName("http://tempuri.org/", "string"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.emr.webservice.MedicalRecordShowBackContent + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link MedicalRecordIsSequestrationResponse } + * + */ + public MedicalRecordIsSequestrationResponse createMedicalRecordIsSequestrationResponse() { + return new MedicalRecordIsSequestrationResponse(); + } + + /** + * Create an instance of {@link SignOrNoSign } + * + */ + public SignOrNoSign createSignOrNoSign() { + return new SignOrNoSign(); + } + + /** + * Create an instance of {@link MedicalRecordRepairResponse } + * + */ + public MedicalRecordRepairResponse createMedicalRecordRepairResponse() { + return new MedicalRecordRepairResponse(); + } + + /** + * Create an instance of {@link MedicalRecordCopy2 } + * + */ + public MedicalRecordCopy2 createMedicalRecordCopy2() { + return new MedicalRecordCopy2(); + } + + /** + * Create an instance of {@link MedicalRecordCopy } + * + */ + public MedicalRecordCopy createMedicalRecordCopy() { + return new MedicalRecordCopy(); + } + + /** + * Create an instance of {@link SignOrNoSignResponse } + * + */ + public SignOrNoSignResponse createSignOrNoSignResponse() { + return new SignOrNoSignResponse(); + } + + /** + * Create an instance of {@link MedicalRecordRepair } + * + */ + public MedicalRecordRepair createMedicalRecordRepair() { + return new MedicalRecordRepair(); + } + + /** + * Create an instance of {@link MedicalRecordCopyResponse } + * + */ + public MedicalRecordCopyResponse createMedicalRecordCopyResponse() { + return new MedicalRecordCopyResponse(); + } + + /** + * Create an instance of {@link XZArchive } + * + */ + public XZArchive createXZArchive() { + return new XZArchive(); + } + + /** + * Create an instance of {@link XZArchiveResponse } + * + */ + public XZArchiveResponse createXZArchiveResponse() { + return new XZArchiveResponse(); + } + + /** + * Create an instance of {@link MedicalRecordIsSequestration } + * + */ + public MedicalRecordIsSequestration createMedicalRecordIsSequestration() { + return new MedicalRecordIsSequestration(); + } + + /** + * Create an instance of {@link MedicalRecordCopy2Response } + * + */ + public MedicalRecordCopy2Response createMedicalRecordCopy2Response() { + return new MedicalRecordCopy2Response(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://tempuri.org/", name = "string") + public JAXBElement createString(String value) { + return new JAXBElement(_String_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSign.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSign.class new file mode 100644 index 0000000..5810415 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSign.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSign.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSign.java new file mode 100644 index 0000000..0d9b631 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSign.java @@ -0,0 +1,62 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "xml" +}) +@XmlRootElement(name = "SignOrNoSign") +public class SignOrNoSign { + + protected String xml; + + /** + * ȡxmlԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getXml() { + return xml; + } + + /** + * xmlԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXml(String value) { + this.xml = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSignResponse.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSignResponse.class new file mode 100644 index 0000000..dbfff80 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSignResponse.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSignResponse.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSignResponse.java new file mode 100644 index 0000000..4ada838 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignOrNoSignResponse.java @@ -0,0 +1,64 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="SignOrNoSignResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "signOrNoSignResult" +}) +@XmlRootElement(name = "SignOrNoSignResponse") +public class SignOrNoSignResponse { + + @XmlElement(name = "SignOrNoSignResult") + protected String signOrNoSignResult; + + /** + * ȡsignOrNoSignResultԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getSignOrNoSignResult() { + return signOrNoSignResult; + } + + /** + * signOrNoSignResultԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSignOrNoSignResult(String value) { + this.signOrNoSignResult = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.asmx b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.asmx new file mode 100644 index 0000000..18368d2 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.asmx @@ -0,0 +1,589 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 签收和未签收功能,传入XML + + + + + 归档功能,传入:归档人,归档时间,患者ID,住院次 + + + + + 归档复印功能,传入:患者ID,住院次,FILE_UNIQUE_ID,PHOTOCOPY的值 + + + + + 归档复印功能,传入:患者ID,住院次,FILE_UNIQUE_ID,PHOTOCOPY的值,PHOTOCOPY_ID,PHOTOCOPY_NAME + + + + + 归档封存/解封功能,传入:操作人ID,患者ID,住院次,FILE_UNIQUE_ID,封存1/解封0的值,原因 + + + + + 病案返修,传入XML + + + + + + + 签收和未签收功能,传入XML + + + + + 归档功能,传入:归档人,归档时间,患者ID,住院次 + + + + + 归档复印功能,传入:患者ID,住院次,FILE_UNIQUE_ID,PHOTOCOPY的值 + + + + + 归档复印功能,传入:患者ID,住院次,FILE_UNIQUE_ID,PHOTOCOPY的值,PHOTOCOPY_ID,PHOTOCOPY_NAME + + + + + 归档封存/解封功能,传入:操作人ID,患者ID,住院次,FILE_UNIQUE_ID,封存1/解封0的值,原因 + + + + + 病案返修,传入XML + + + + + + + 签收和未签收功能,传入XML + + + + + 归档功能,传入:归档人,归档时间,患者ID,住院次 + + + + + 归档复印功能,传入:患者ID,住院次,FILE_UNIQUE_ID,PHOTOCOPY的值 + + + + + 归档复印功能,传入:患者ID,住院次,FILE_UNIQUE_ID,PHOTOCOPY的值,PHOTOCOPY_ID,PHOTOCOPY_NAME + + + + + 归档封存/解封功能,传入:操作人ID,患者ID,住院次,FILE_UNIQUE_ID,封存1/解封0的值,原因 + + + + + 病案返修,传入XML + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.class new file mode 100644 index 0000000..3e8dbb7 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.java new file mode 100644 index 0000000..aee008f --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebService.java @@ -0,0 +1,160 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.9-b130926.1035 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "SignWebService", targetNamespace = "http://tempuri.org/", wsdlLocation = "http://10.6.1.152:8037/SignWebService.asmx?WSDL") +public class SignWebService + extends Service +{ + + private final static URL SIGNWEBSERVICE_WSDL_LOCATION; + private final static WebServiceException SIGNWEBSERVICE_EXCEPTION; + private final static QName SIGNWEBSERVICE_QNAME = new QName("http://tempuri.org/", "SignWebService"); + + static { + URL url = null; + WebServiceException e = null; + try { + url = new URL("http://10.6.1.152:8037/SignWebService.asmx?WSDL"); + } catch (MalformedURLException ex) { + e = new WebServiceException(ex); + } + SIGNWEBSERVICE_WSDL_LOCATION = url; + SIGNWEBSERVICE_EXCEPTION = e; + } + + public SignWebService() { + super(__getWsdlLocation(), SIGNWEBSERVICE_QNAME); + } + + public SignWebService(WebServiceFeature... features) { + super(__getWsdlLocation(), SIGNWEBSERVICE_QNAME, features); + } + + public SignWebService(URL wsdlLocation) { + super(wsdlLocation, SIGNWEBSERVICE_QNAME); + } + + public SignWebService(URL wsdlLocation, WebServiceFeature... features) { + super(wsdlLocation, SIGNWEBSERVICE_QNAME, features); + } + + public SignWebService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public SignWebService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) { + super(wsdlLocation, serviceName, features); + } + + /** + * + * @return + * returns SignWebServiceSoap + */ + @WebEndpoint(name = "SignWebServiceSoap") + public SignWebServiceSoap getSignWebServiceSoap() { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceSoap"), SignWebServiceSoap.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns SignWebServiceSoap + */ + @WebEndpoint(name = "SignWebServiceSoap") + public SignWebServiceSoap getSignWebServiceSoap(WebServiceFeature... features) { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceSoap"), SignWebServiceSoap.class, features); + } + + /** + * + * @return + * returns SignWebServiceSoap + */ + @WebEndpoint(name = "SignWebServiceSoap12") + public SignWebServiceSoap getSignWebServiceSoap12() { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceSoap12"), SignWebServiceSoap.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns SignWebServiceSoap + */ + @WebEndpoint(name = "SignWebServiceSoap12") + public SignWebServiceSoap getSignWebServiceSoap12(WebServiceFeature... features) { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceSoap12"), SignWebServiceSoap.class, features); + } + + /** + * + * @return + * returns SignWebServiceHttpGet + */ + @WebEndpoint(name = "SignWebServiceHttpGet") + public SignWebServiceHttpGet getSignWebServiceHttpGet() { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceHttpGet"), SignWebServiceHttpGet.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns SignWebServiceHttpGet + */ + @WebEndpoint(name = "SignWebServiceHttpGet") + public SignWebServiceHttpGet getSignWebServiceHttpGet(WebServiceFeature... features) { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceHttpGet"), SignWebServiceHttpGet.class, features); + } + + /** + * + * @return + * returns SignWebServiceHttpPost + */ + @WebEndpoint(name = "SignWebServiceHttpPost") + public SignWebServiceHttpPost getSignWebServiceHttpPost() { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceHttpPost"), SignWebServiceHttpPost.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns SignWebServiceHttpPost + */ + @WebEndpoint(name = "SignWebServiceHttpPost") + public SignWebServiceHttpPost getSignWebServiceHttpPost(WebServiceFeature... features) { + return super.getPort(new QName("http://tempuri.org/", "SignWebServiceHttpPost"), SignWebServiceHttpPost.class, features); + } + + private static URL __getWsdlLocation() { + if (SIGNWEBSERVICE_EXCEPTION!= null) { + throw SIGNWEBSERVICE_EXCEPTION; + } + return SIGNWEBSERVICE_WSDL_LOCATION; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpGet.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpGet.class new file mode 100644 index 0000000..d918b34 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpGet.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpGet.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpGet.java new file mode 100644 index 0000000..ecb914b --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpGet.java @@ -0,0 +1,155 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.9-b130926.1035 + * Generated source version: 2.2 + * + */ +@WebService(name = "SignWebServiceHttpGet", targetNamespace = "http://tempuri.org/") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface SignWebServiceHttpGet { + + + /** + * ǩպδǩչܣXML + * + * @param xml + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "SignOrNoSign") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String signOrNoSign( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "xml") + String xml); + + /** + * 鵵ܣ룺鵵ˣ鵵ʱ䣬IDסԺ + * + * @param archiveTIME + * @param visitID + * @param patientID + * @param archiveMAN + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "XZArchive") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String xzArchive( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "ARCHIVE_MAN") + String archiveMAN, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "ARCHIVE_TIME") + String archiveTIME, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID); + + /** + * 鵵ӡܣ룺IDסԺΣFILE_UNIQUE_IDPHOTOCOPYֵ + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param photocopy + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordCopy") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordCopy( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "FILE_UNIQUE_ID") + String fileUNIQUEID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY") + String photocopy); + + /** + * 鵵ӡܣ룺IDסԺΣFILE_UNIQUE_IDPHOTOCOPYֵ,PHOTOCOPY_ID,PHOTOCOPY_NAME + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param photocopy + * @param photocopyNAME + * @param photocopyID + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordCopy2") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordCopy2( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "FILE_UNIQUE_ID") + String fileUNIQUEID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY") + String photocopy, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY_ID") + String photocopyID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY_NAME") + String photocopyNAME); + + /** + * 鵵/⹦ܣ룺IDIDסԺΣFILE_UNIQUE_ID1/0ֵ,ԭ + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param resion + * @param sequestrationFLAG + * @param operation + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordIsSequestration") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordIsSequestration( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "Operation") + String operation, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "FILE_UNIQUE_ID") + String fileUNIQUEID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "SEQUESTRATION_FLAG") + String sequestrationFLAG, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "RESION") + String resion); + + /** + * ޣXML + * + * @param mrFILECALLBACKRECORDxml + * @param mrFILEINDEXCALLBACKxml + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordRepair") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordRepair( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "MR_FILE_CALLBACK_RECORDxml") + String mrFILECALLBACKRECORDxml, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "MR_FILE_INDEX_CALLBACKxml") + String mrFILEINDEXCALLBACKxml); + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpPost.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpPost.class new file mode 100644 index 0000000..1ededd8 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpPost.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpPost.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpPost.java new file mode 100644 index 0000000..47deeeb --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceHttpPost.java @@ -0,0 +1,155 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.9-b130926.1035 + * Generated source version: 2.2 + * + */ +@WebService(name = "SignWebServiceHttpPost", targetNamespace = "http://tempuri.org/") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface SignWebServiceHttpPost { + + + /** + * ǩպδǩչܣXML + * + * @param xml + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "SignOrNoSign") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String signOrNoSign( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "xml") + String xml); + + /** + * 鵵ܣ룺鵵ˣ鵵ʱ䣬IDסԺ + * + * @param archiveTIME + * @param visitID + * @param patientID + * @param archiveMAN + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "XZArchive") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String xzArchive( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "ARCHIVE_MAN") + String archiveMAN, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "ARCHIVE_TIME") + String archiveTIME, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID); + + /** + * 鵵ӡܣ룺IDסԺΣFILE_UNIQUE_IDPHOTOCOPYֵ + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param photocopy + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordCopy") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordCopy( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "FILE_UNIQUE_ID") + String fileUNIQUEID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY") + String photocopy); + + /** + * 鵵ӡܣ룺IDסԺΣFILE_UNIQUE_IDPHOTOCOPYֵ,PHOTOCOPY_ID,PHOTOCOPY_NAME + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param photocopy + * @param photocopyNAME + * @param photocopyID + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordCopy2") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordCopy2( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "FILE_UNIQUE_ID") + String fileUNIQUEID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY") + String photocopy, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY_ID") + String photocopyID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PHOTOCOPY_NAME") + String photocopyNAME); + + /** + * 鵵/⹦ܣ룺IDIDסԺΣFILE_UNIQUE_ID1/0ֵ,ԭ + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param resion + * @param sequestrationFLAG + * @param operation + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordIsSequestration") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordIsSequestration( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "Operation") + String operation, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "PATIENT_ID") + String patientID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "VISIT_ID") + String visitID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "FILE_UNIQUE_ID") + String fileUNIQUEID, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "SEQUESTRATION_FLAG") + String sequestrationFLAG, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "RESION") + String resion); + + /** + * ޣXML + * + * @param mrFILECALLBACKRECORDxml + * @param mrFILEINDEXCALLBACKxml + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordRepair") + @WebResult(name = "string", targetNamespace = "http://tempuri.org/", partName = "Body") + public String medicalRecordRepair( + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "MR_FILE_CALLBACK_RECORDxml") + String mrFILECALLBACKRECORDxml, + @WebParam(name = "string", targetNamespace = "http://www.w3.org/2001/XMLSchema", partName = "MR_FILE_INDEX_CALLBACKxml") + String mrFILEINDEXCALLBACKxml); + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceSoap.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceSoap.class new file mode 100644 index 0000000..fc3ccd9 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceSoap.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceSoap.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceSoap.java new file mode 100644 index 0000000..cfe785a --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/SignWebServiceSoap.java @@ -0,0 +1,167 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.ws.RequestWrapper; +import javax.xml.ws.ResponseWrapper; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.9-b130926.1035 + * Generated source version: 2.2 + * + */ +@WebService(name = "SignWebServiceSoap", targetNamespace = "http://tempuri.org/") +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface SignWebServiceSoap { + + + /** + * ǩպδǩչܣXML + * + * @param xml + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "SignOrNoSign", action = "http://tempuri.org/SignOrNoSign") + @WebResult(name = "SignOrNoSignResult", targetNamespace = "http://tempuri.org/") + @RequestWrapper(localName = "SignOrNoSign", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.SignOrNoSign") + @ResponseWrapper(localName = "SignOrNoSignResponse", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.SignOrNoSignResponse") + public String signOrNoSign( + @WebParam(name = "xml", targetNamespace = "http://tempuri.org/") + String xml); + + /** + * 鵵ܣ룺鵵ˣ鵵ʱ䣬IDסԺ + * + * @param archiveTIME + * @param visitID + * @param patientID + * @param archiveMAN + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "XZArchive", action = "http://tempuri.org/XZArchive") + @WebResult(name = "XZArchiveResult", targetNamespace = "http://tempuri.org/") + @RequestWrapper(localName = "XZArchive", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.XZArchive") + @ResponseWrapper(localName = "XZArchiveResponse", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.XZArchiveResponse") + public String xzArchive( + @WebParam(name = "ARCHIVE_MAN", targetNamespace = "http://tempuri.org/") + String archiveMAN, + @WebParam(name = "ARCHIVE_TIME", targetNamespace = "http://tempuri.org/") + String archiveTIME, + @WebParam(name = "PATIENT_ID", targetNamespace = "http://tempuri.org/") + String patientID, + @WebParam(name = "VISIT_ID", targetNamespace = "http://tempuri.org/") + String visitID); + + /** + * 鵵ӡܣ룺IDסԺΣFILE_UNIQUE_IDPHOTOCOPYֵ + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param photocopy + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordCopy", action = "http://tempuri.org/MedicalRecordCopy") + @WebResult(name = "MedicalRecordCopyResult", targetNamespace = "http://tempuri.org/") + @RequestWrapper(localName = "MedicalRecordCopy", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordCopy") + @ResponseWrapper(localName = "MedicalRecordCopyResponse", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordCopyResponse") + public String medicalRecordCopy( + @WebParam(name = "PATIENT_ID", targetNamespace = "http://tempuri.org/") + String patientID, + @WebParam(name = "VISIT_ID", targetNamespace = "http://tempuri.org/") + String visitID, + @WebParam(name = "FILE_UNIQUE_ID", targetNamespace = "http://tempuri.org/") + String fileUNIQUEID, + @WebParam(name = "PHOTOCOPY", targetNamespace = "http://tempuri.org/") + String photocopy); + + /** + * 鵵ӡܣ룺IDסԺΣFILE_UNIQUE_IDPHOTOCOPYֵ,PHOTOCOPY_ID,PHOTOCOPY_NAME + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param photocopy + * @param photocopyNAME + * @param photocopyID + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordCopy2", action = "http://tempuri.org/MedicalRecordCopy2") + @WebResult(name = "MedicalRecordCopy2Result", targetNamespace = "http://tempuri.org/") + @RequestWrapper(localName = "MedicalRecordCopy2", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordCopy2") + @ResponseWrapper(localName = "MedicalRecordCopy2Response", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordCopy2Response") + public String medicalRecordCopy2( + @WebParam(name = "PATIENT_ID", targetNamespace = "http://tempuri.org/") + String patientID, + @WebParam(name = "VISIT_ID", targetNamespace = "http://tempuri.org/") + String visitID, + @WebParam(name = "FILE_UNIQUE_ID", targetNamespace = "http://tempuri.org/") + String fileUNIQUEID, + @WebParam(name = "PHOTOCOPY", targetNamespace = "http://tempuri.org/") + String photocopy, + @WebParam(name = "PHOTOCOPY_ID", targetNamespace = "http://tempuri.org/") + String photocopyID, + @WebParam(name = "PHOTOCOPY_NAME", targetNamespace = "http://tempuri.org/") + String photocopyNAME); + + /** + * 鵵/⹦ܣ룺IDIDסԺΣFILE_UNIQUE_ID1/0ֵ,ԭ + * + * @param fileUNIQUEID + * @param visitID + * @param patientID + * @param resion + * @param sequestrationFLAG + * @param operation + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordIsSequestration", action = "http://tempuri.org/MedicalRecordIsSequestration") + @WebResult(name = "MedicalRecordIsSequestrationResult", targetNamespace = "http://tempuri.org/") + @RequestWrapper(localName = "MedicalRecordIsSequestration", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordIsSequestration") + @ResponseWrapper(localName = "MedicalRecordIsSequestrationResponse", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordIsSequestrationResponse") + public String medicalRecordIsSequestration( + @WebParam(name = "Operation", targetNamespace = "http://tempuri.org/") + String operation, + @WebParam(name = "PATIENT_ID", targetNamespace = "http://tempuri.org/") + String patientID, + @WebParam(name = "VISIT_ID", targetNamespace = "http://tempuri.org/") + String visitID, + @WebParam(name = "FILE_UNIQUE_ID", targetNamespace = "http://tempuri.org/") + String fileUNIQUEID, + @WebParam(name = "SEQUESTRATION_FLAG", targetNamespace = "http://tempuri.org/") + String sequestrationFLAG, + @WebParam(name = "RESION", targetNamespace = "http://tempuri.org/") + String resion); + + /** + * ޣXML + * + * @param mrFILECALLBACKRECORDxml + * @param mrFILEINDEXCALLBACKxml + * @return + * returns java.lang.String + */ + @WebMethod(operationName = "MedicalRecordRepair", action = "http://tempuri.org/MedicalRecordRepair") + @WebResult(name = "MedicalRecordRepairResult", targetNamespace = "http://tempuri.org/") + @RequestWrapper(localName = "MedicalRecordRepair", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordRepair") + @ResponseWrapper(localName = "MedicalRecordRepairResponse", targetNamespace = "http://tempuri.org/", className = "com.emr.webservice.MedicalRecordShowBackContent.MedicalRecordRepairResponse") + public String medicalRecordRepair( + @WebParam(name = "MR_FILE_CALLBACK_RECORDxml", targetNamespace = "http://tempuri.org/") + String mrFILECALLBACKRECORDxml, + @WebParam(name = "MR_FILE_INDEX_CALLBACKxml", targetNamespace = "http://tempuri.org/") + String mrFILEINDEXCALLBACKxml); + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchive.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchive.class new file mode 100644 index 0000000..bb3ada0 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchive.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchive.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchive.java new file mode 100644 index 0000000..2828c13 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchive.java @@ -0,0 +1,148 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="ARCHIVE_MAN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="ARCHIVE_TIME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "archiveman", + "archivetime", + "patientid", + "visitid" +}) +@XmlRootElement(name = "XZArchive") +public class XZArchive { + + @XmlElement(name = "ARCHIVE_MAN") + protected String archiveman; + @XmlElement(name = "ARCHIVE_TIME") + protected String archivetime; + @XmlElement(name = "PATIENT_ID") + protected String patientid; + @XmlElement(name = "VISIT_ID") + protected String visitid; + + /** + * ȡarchivemanԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getARCHIVEMAN() { + return archiveman; + } + + /** + * archivemanԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setARCHIVEMAN(String value) { + this.archiveman = value; + } + + /** + * ȡarchivetimeԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getARCHIVETIME() { + return archivetime; + } + + /** + * archivetimeԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setARCHIVETIME(String value) { + this.archivetime = value; + } + + /** + * ȡpatientidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getPATIENTID() { + return patientid; + } + + /** + * patientidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPATIENTID(String value) { + this.patientid = value; + } + + /** + * ȡvisitidԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISITID() { + return visitid; + } + + /** + * visitidԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISITID(String value) { + this.visitid = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchiveResponse.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchiveResponse.class new file mode 100644 index 0000000..8d3ebcd Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchiveResponse.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchiveResponse.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchiveResponse.java new file mode 100644 index 0000000..8671208 --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/XZArchiveResponse.java @@ -0,0 +1,64 @@ + +package com.emr.webservice.MedicalRecordShowBackContent; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

anonymous complex type Java ࡣ + * + *

ģʽƬָڴеԤݡ + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="XZArchiveResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "xzArchiveResult" +}) +@XmlRootElement(name = "XZArchiveResponse") +public class XZArchiveResponse { + + @XmlElement(name = "XZArchiveResult") + protected String xzArchiveResult; + + /** + * ȡxzArchiveResultԵֵ + * + * @return + * possible object is + * {@link String } + * + */ + public String getXZArchiveResult() { + return xzArchiveResult; + } + + /** + * xzArchiveResultԵֵ + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXZArchiveResult(String value) { + this.xzArchiveResult = value; + } + +} diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/package-info.class b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/package-info.class new file mode 100644 index 0000000..addf1b8 Binary files /dev/null and b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/package-info.class differ diff --git a/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/package-info.java b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/package-info.java new file mode 100644 index 0000000..bf856ee --- /dev/null +++ b/src/main/java/com/emr/webservice/MedicalRecordShowBackContent/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://tempuri.org/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package com.emr.webservice.MedicalRecordShowBackContent; diff --git a/src/main/resources/config/gennerator.properties b/src/main/resources/config/gennerator.properties index 01a4fd4..81eceda 100644 --- a/src/main/resources/config/gennerator.properties +++ b/src/main/resources/config/gennerator.properties @@ -4,10 +4,11 @@ #jdbc.username=root #jdbc.password=docus702 jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver -jdbc.url=jdbc\:sqlserver\://120.27.212.36:1433;databaseName=emr_record +#jdbc.url=jdbc\:sqlserver\://120.27.212.36:1433;databaseName=emr_record +jdbc.url=jdbc\:sqlserver\://127.0.0.1:1433;databaseName=emr_recode_test jdbc.username=sa -jdbc.password=docus@702 -#jdbc.driverLocation=D:\\project\\yingde\\EMR_Medical_Record\\src\\main\\webapp\\WEB-INF\\lib\\sqljdbc4-2.0.jar +jdbc.password=123456 +jdbc.driverLocation=D:\\sqljdbc4-4.0.0.jar #\u6267\u884C:\u53F3\u952E Run As ---->Maven build ---->Goals:mybatis-generator:generate #\u8F93\u51FA\u76EE\u5F55 targetProject=src/main/java diff --git a/src/main/resources/config/spring-shiro.xml b/src/main/resources/config/spring-shiro.xml index 0de209d..76f9a79 100644 --- a/src/main/resources/config/spring-shiro.xml +++ b/src/main/resources/config/spring-shiro.xml @@ -26,6 +26,7 @@ /batch/**=anon /css/**=anon /js/**=anon + /noauthc/**=anon /home=perms[home] /admin=roles["admin"] diff --git a/src/main/resources/generatorConfig.xml b/src/main/resources/generatorConfig.xml index 952d3c8..6e52e25 100644 --- a/src/main/resources/generatorConfig.xml +++ b/src/main/resources/generatorConfig.xml @@ -101,9 +101,13 @@ - + selectByExampleQueryId="false"/>--> +
\ No newline at end of file diff --git a/src/main/resources/mapper/Archive_DetailMapper.xml b/src/main/resources/mapper/Archive_DetailMapper.xml index 6abb1da..ad925f8 100644 --- a/src/main/resources/mapper/Archive_DetailMapper.xml +++ b/src/main/resources/mapper/Archive_DetailMapper.xml @@ -149,6 +149,26 @@ order by page_number + diff --git a/src/main/resources/mapper/Emr_Fault_DetailMapper.xml b/src/main/resources/mapper/Emr_Fault_DetailMapper.xml index 0e02ed9..89b1f4d 100644 --- a/src/main/resources/mapper/Emr_Fault_DetailMapper.xml +++ b/src/main/resources/mapper/Emr_Fault_DetailMapper.xml @@ -22,6 +22,7 @@ + @@ -64,6 +65,7 @@ + id, archive_detail_id, assort_id, parent_id, content,price, score, back_content, first_trial,state,recall_reason @@ -76,7 +78,7 @@ where 1=1 and id = #{id,jdbcType=INTEGER}
diff --git a/src/main/webapp/WEB-INF/views/pdfDir/pdfLastDir.jsp b/src/main/webapp/WEB-INF/views/pdfDir/pdfLastDir.jsp index 62037fb..675747f 100644 --- a/src/main/webapp/WEB-INF/views/pdfDir/pdfLastDir.jsp +++ b/src/main/webapp/WEB-INF/views/pdfDir/pdfLastDir.jsp @@ -390,6 +390,15 @@ var result = '' + value + '分'; return result } + },{ + field: 'minusPoint', + title: '扣分值', + width: 80, + visible: false, + formatter: function (value, row, index) { + var result = '' + value + '分'; + return result + } },{ title: '退回', field: 'backFlag', @@ -972,6 +981,15 @@ } }); + + //修改master表score字段 保存总分数 + $.ajax({ + url: "${path}/lastVerify/updateScore", + type: "POST", + data: {id:archiveDetailId,score:$("#scoreLast").val()}, + success: function (result) { + } + }); }); //终审退回 @@ -1067,6 +1085,16 @@ } } }); + + //修改master表score字段 保存总分数 + $.ajax({ + url: "${path}/lastVerify/updateScore", + type: "POST", + data: {id:archiveDetailId,score:$("#scoreLast").val()}, + success: function (result) { + } + }); + }); diff --git a/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp b/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp index cf923f4..0d4ff4b 100644 --- a/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp +++ b/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp @@ -1792,8 +1792,8 @@ sidePagination: 'server', // 设置为服务器端分页 客户端:client search: false, showColumns: true, - fixedColumns: true,//固定列 - fixedNumber:3,//固定前两列 + //fixedColumns: true,//固定列 + //fixedNumber:3,//固定前两列 rightFixedRow:1, // sortable: true, // sortOrder: "asc", @@ -2191,7 +2191,9 @@ //同步 $("#idLab").html(row.id); $("#nameLab").html(row.name); - $("#inDateLab").html(row.admissionDateTime.substring(0, 10)); + if (row.admissionDateTime != null && row.admissionDateTime != '') { + $("#inDateLab").html(row.admissionDateTime.substring(0, 10)); + } $("#chargeLab").html(row.doctorInCharge); $("#deptToLab").html(row.deptAdmissionTo); $("#outHospLab").html(row.dischargeDisposition);