更新代码

3/25 wzq
master
wzqgit 4 years ago
parent d97ba4e3b2
commit 35b4e1c5d5

@ -48,10 +48,10 @@ public class TempHandleWzController {
@ResponseBody @ResponseBody
public int reloadWzAll(){ public int reloadWzAll(){
int rows = 0; int rows = 0;
//List<TempMasterID> list = tempMasterIDService.selectAllMasterID(); List<TempMasterID> list = tempMasterIDService.selectAllMasterID();
//rows = tempMasterIDService.reloadWz(list); rows = tempMasterIDService.reloadWz(list);
TempMasterID t1 = new TempMasterID(); /*TempMasterID t1 = new TempMasterID();
t1.setId("36cc3c27-447e-48e4-93b9-06b3acc397ca"); t1.setId("36cc3c27-447e-48e4-93b9-06b3acc397ca");
TempMasterID t2 = new TempMasterID(); TempMasterID t2 = new TempMasterID();
t2.setId("a490ca0b-879f-4ae4-9238-33c44e5fda99"); t2.setId("a490ca0b-879f-4ae4-9238-33c44e5fda99");
@ -67,7 +67,7 @@ public class TempHandleWzController {
list.add(t3); list.add(t3);
list.add(t4); list.add(t4);
list.add(t5); list.add(t5);
rows = tempMasterIDService.reloadWz(list); rows = tempMasterIDService.reloadWz(list);*/
return rows; return rows;
} }
} }

@ -182,6 +182,8 @@ public class faultController {
//多个缺陷循环插入数据 //多个缺陷循环插入数据
for (int i = 0; i < assortArr.length; i++) { for (int i = 0; i < assortArr.length; i++) {
String assrotId = assortArr[i]; String assrotId = assortArr[i];
Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(assrotId));
emrFaultDetail.setMinusPoint(emrFaultType.getPrice());
emrFaultDetail.setAssortId(assrotId); emrFaultDetail.setAssortId(assrotId);
if (priceArr[i] != null && priceArr[i] != "") { if (priceArr[i] != null && priceArr[i] != "") {
BigDecimal price = new BigDecimal(priceArr[i]); BigDecimal price = new BigDecimal(priceArr[i]);
@ -201,6 +203,8 @@ public class faultController {
} }
} else { } else {
Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(emrFaultVo.getAssortId()));
emrFaultDetail.setMinusPoint(emrFaultType.getPrice());
emrFaultDetail.setAssortId(emrFaultVo.getAssortId()); emrFaultDetail.setAssortId(emrFaultVo.getAssortId());
if (emrFaultVo.getBackContent() != null && emrFaultVo.getBackContent() != "") { if (emrFaultVo.getBackContent() != null && emrFaultVo.getBackContent() != "") {
BigDecimal price = new BigDecimal(emrFaultVo.getBackContent()); BigDecimal price = new BigDecimal(emrFaultVo.getBackContent());
@ -238,6 +242,8 @@ public class faultController {
//多个缺陷循环插入数据 //多个缺陷循环插入数据
for (int i = 0; i < assortArr.length; i++) { for (int i = 0; i < assortArr.length; i++) {
String assrotId = assortArr[i]; String assrotId = assortArr[i];
Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(assrotId));
emrFaultDetail.setMinusPoint(emrFaultType.getPrice());
emrFaultDetail.setAssortId(assrotId); emrFaultDetail.setAssortId(assrotId);
if (priceArr[i] != null && priceArr[i] != "") { if (priceArr[i] != null && priceArr[i] != "") {
BigDecimal price = new BigDecimal(priceArr[i]); BigDecimal price = new BigDecimal(priceArr[i]);
@ -257,6 +263,8 @@ public class faultController {
} }
} else { } else {
Emr_Fault_Type emrFaultType = emrFaultTypeService.selectById(Integer.valueOf(emrFaultVo.getAssortId()));
emrFaultDetail.setMinusPoint(emrFaultType.getPrice());
emrFaultDetail.setAssortId(emrFaultVo.getAssortId()); emrFaultDetail.setAssortId(emrFaultVo.getAssortId());
if (emrFaultVo.getBackContent() != null && emrFaultVo.getBackContent() != "") { if (emrFaultVo.getBackContent() != null && emrFaultVo.getBackContent() != "") {
BigDecimal price = new BigDecimal(emrFaultVo.getBackContent()); BigDecimal price = new BigDecimal(emrFaultVo.getBackContent());

@ -213,9 +213,8 @@ public class inHospitalController {
} }
//2021-03-15更新优化 //2021-03-15更新优化
private String GeneratePDFFileByAssortID(String masterId, String assortID, String realPath ) private String GeneratePDFFileByAssortID(String masterId, String assortID, String realPath ) throws Exception {
{ List<MergePDFItem> pdfList = new ArrayList();
List pdfList = new ArrayList();
Archive_Detail archiveDetail = new Archive_Detail(); Archive_Detail archiveDetail = new Archive_Detail();
archiveDetail.setFlag("0"); archiveDetail.setFlag("0");
archiveDetail.setMasterid(masterId.trim()); archiveDetail.setMasterid(masterId.trim());
@ -229,6 +228,7 @@ public class inHospitalController {
return ""; return "";
} }
for (int m = 0; m < arList.size(); m++) { for (int m = 0; m < arList.size(); m++) {
MergePDFItem mergePDFItem = new MergePDFItem();
String str = arList.get(m).getPdfPath(); String str = arList.get(m).getPdfPath();
if (str != "" && str != null) { if (str != "" && str != null) {
if (str.indexOf("..\\static\\img\\pdfFiles\\") != -1) { if (str.indexOf("..\\static\\img\\pdfFiles\\") != -1) {
@ -239,7 +239,9 @@ public class inHospitalController {
arList.get(m).setPdfPath(str); arList.get(m).setPdfPath(str);
errorPdfList.add(arList.get(m)); errorPdfList.add(arList.get(m));
} else { } 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) { if (pdfList.size() > 0) {
//对所有地址的pdf进行合成 //对所有地址的pdf进行合成
//if (errorPdfList.size() != size) { //if (errorPdfList.size() != size) {
PrintToPdfUtil.mergePdfFiles(pdfList, pdfPath); PrintToPdfUtil.mergePdfFiles2(pdfList, pdfPath);
//} else { //} else {
// result = ""; // result = "";
// } // }
@ -339,8 +341,8 @@ public class inHospitalController {
} }
String pdfPath = autoPdfUrl.trim() + "/" + String.valueOf(System.currentTimeMillis()) + ".pdf"; String pdfPath = autoPdfUrl.trim() + "/" + String.valueOf(System.currentTimeMillis()) + ".pdf";
PDFHelper.Append(fileList, pdfPath);
PrintToPdfUtil.mergePdfFiles(fileList, pdfPath); //PrintToPdfUtil.mergePdfFiles(fileList, pdfPath);
return pdfPath; return pdfPath;
// if(imgList.size()==1){ // if(imgList.size()==1){

@ -309,6 +309,12 @@ public class lastVerifyController {
} }
} }
@ResponseBody
@RequestMapping(value = "/updateScore")
public int updateScore(Archive_Master archive_master){
return archiveMasterService.updateByClo(archive_master);
}
} }

@ -30,4 +30,6 @@ public interface Archive_DetailMapper {
List<Archive_Detail> selectByIdStr(Archive_Detail record); List<Archive_Detail> selectByIdStr(Archive_Detail record);
List<Archive_Detail> selectByCol2(Archive_Detail record);
} }

@ -1,5 +1,7 @@
package com.emr.entity; package com.emr.entity;
import java.math.BigDecimal;
public class Archive_Master { public class Archive_Master {
private String id; private String id;
@ -72,6 +74,17 @@ public class Archive_Master {
//2021-1-18 新增床号 //2021-1-18 新增床号
private String bedNumber; 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() { public String getId() {
return id; return id;
} }

@ -43,6 +43,16 @@ public class Emr_Fault_Detail {
private String archiveState; private String archiveState;
private BigDecimal minusPoint;
public BigDecimal getMinusPoint() {
return minusPoint;
}
public void setMinusPoint(BigDecimal minusPoint) {
this.minusPoint = minusPoint;
}
public Integer getId() { public Integer getId() {
return id; return id;
} }

@ -90,6 +90,16 @@ public class Emr_Fault_Vo {
private String doctorInCharge; private String doctorInCharge;
private BigDecimal minusPoint;
public BigDecimal getMinusPoint() {
return minusPoint;
}
public void setMinusPoint(BigDecimal minusPoint) {
this.minusPoint = minusPoint;
}
public String getTypeName() { public String getTypeName() {
return typeName; return typeName;
} }

@ -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;
}

@ -82,6 +82,8 @@ public interface Archive_DetailService {
* @return * @return
*/ */
List<Archive_Detail> selectByIdStr(Archive_Detail record); List<Archive_Detail> selectByIdStr(Archive_Detail record);
List<Archive_Detail> selectByCol2(Archive_Detail record);
} }

@ -78,6 +78,11 @@ public class Archive_DetailServiceImpl implements Archive_DetailService {
return archiveDetailMapper.selectByIdStr(record); return archiveDetailMapper.selectByIdStr(record);
} }
@Override
public List<Archive_Detail> selectByCol2(Archive_Detail record) {
return archiveDetailMapper.selectByCol2(record);
}
} }

@ -0,0 +1,9 @@
package com.emr.util;
public class ExSys extends Exception {
public ExSys(String message, Object... args)
{
super(String.format(message, args));
}
}

@ -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();//释放资源
}
}
}

@ -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(yy<MIN_YEAR )
{
return false;
}
if(yy>MAX_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);
}
}

@ -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<String> 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..");
}
}

@ -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<String> 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<Integer> pdfPageNos = new ArrayList<>();
for (Integer i = 0; i < pdfPageCount; i++)
{
pdfPageNos.add(i);
}
GetPDFPagesToFile(pdfPath, pdfPageNos, toPath);
}
public static void Append(String pdfPath, List<Integer> 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<Integer> pdfPageNos = new ArrayList<>();
for (Integer i = pdfPageNoFrom; i <= pdfPageNoTo; i++)
{
pdfPageNos.add(i);
}
GetPDFPagesToFile(pdfPath, pdfPageNos, toPath);
}
public static void GetPDFPagesToFile(String pdfPath, List<Integer> 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();
}
}

@ -6,11 +6,14 @@
*/ */
package com.emr.util; 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.Document;
import com.lowagie.text.Image; import com.lowagie.text.Image;
import com.lowagie.text.PageSize; import com.lowagie.text.PageSize;
import com.lowagie.text.Rectangle;
import com.lowagie.text.pdf.*; import com.lowagie.text.pdf.*;
import com.sun.javafx.css.Size;
import org.apache.commons.io.FileUtils; import org.apache.commons.io.FileUtils;
import org.apache.pdfbox.io.MemoryUsageSetting; import org.apache.pdfbox.io.MemoryUsageSetting;
import org.apache.pdfbox.multipdf.PDFMergerUtility; import org.apache.pdfbox.multipdf.PDFMergerUtility;
@ -19,6 +22,7 @@ import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.pdmodel.common.PDRectangle; import org.apache.pdfbox.pdmodel.common.PDRectangle;
import javax.imageio.ImageIO; import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.io.*; import java.io.*;
import java.util.ArrayList; import java.util.ArrayList;
@ -322,6 +326,43 @@ public class PrintToPdfUtil {
* true, false * true, false
*/ */
public static boolean mergePdfFiles2(List<MergePDFItem> files, String newfile) throws Exception {
boolean retValue = false;
List<String> tmpFiles = new ArrayList<>();
try
{
for (int i = 0;i<files.size();i++)
{
String file = files.get(i).getPdfPath();
Archive_Detail obj = files.get(i).getdObj();
boolean isScan = obj.getSource().equals("嘉时扫描系统");
if(isScan)
{
String tempFile = FileHelper.GetTempFile();
PDFHelper.Convert2A4(file, tempFile);
tmpFiles.add(tempFile);
}
else
{
tmpFiles.add(file);
}
}
PDFHelper.Append(tmpFiles, newfile);
}
finally {
//清理
}
return retValue;
}
/*
* * pdf * * @param files ({ "e:\\1.pdf", "e:\\2.pdf" ,
* "e:\\3.pdf"}) * @param newfile
* e:\\temp.pdf, * @return boolean
* true, false
*/
public static boolean mergePdfFiles(List files, String newfile) { public static boolean mergePdfFiles(List files, String newfile) {
boolean retValue = false; boolean retValue = false;
Document document = null; Document document = null;
@ -382,7 +423,6 @@ public class PrintToPdfUtil {
} }
return retValue; return retValue;
} }
public static File mulFile2One(List<File> files, String targetPath) throws IOException { public static File mulFile2One(List<File> files, String targetPath) throws IOException {
// pdf合并工具类 // pdf合并工具类
PDFMergerUtility mergePdf = new PDFMergerUtility(); PDFMergerUtility mergePdf = new PDFMergerUtility();

@ -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;
/**
* XMLobjectobjectXML
*
* @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")
/**
* Stringxml
*/
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")
/**
* filexml
*/
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;
}
}

@ -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);
}
}

@ -6,17 +6,16 @@
*/ */
package com.emr.util; package com.emr.util;
import org.apache.axis.client.Call; import com.emr.webservice.MedicalRecordShowBackContent.*;
import org.apache.axis.client.Service; import com.lowagie.text.PageSize;
import org.apache.cxf.endpoint.Client; import com.lowagie.text.Rectangle;
import org.apache.cxf.endpoint.Endpoint; import com.lowagie.text.pdf.PdfContentByte;
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory; import com.lowagie.text.pdf.PdfReader;
import org.apache.cxf.service.model.BindingInfo; import com.lowagie.text.pdf.PdfStamper;
import org.apache.cxf.service.model.BindingOperationInfo;
import org.apache.pdfbox.multipdf.PDFMergerUtility; import org.apache.pdfbox.multipdf.PDFMergerUtility;
import javax.xml.namespace.QName;
import java.io.File; import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
public class test { public class test {
@ -86,7 +85,7 @@ public class test {
// } // }
String method = "CheckData"; /*String method = "CheckData";
JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance(); JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance();
//Client client = factory.createClient("http://120.27.212.36:9999/filing/services/HomepageDictionary?wsdl"); //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"); Client client = factory.createClient("http://127.0.0.1:8080/WholeCheckInterface/services/HomepageDictionary?wsdl");
@ -104,9 +103,67 @@ public class test {
Object[] res = null; Object[] res = null;
res = client.invoke("CheckData","3f3d18cf-6f75-4367-9ada-3684e176c102"); res = client.invoke("CheckData","3f3d18cf-6f75-4367-9ada-3684e176c102");
String xml = (String) res[0]; 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);*/
} }
} }

@ -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;
/**
* <p>CheckData complex type Java
*
* <p>
*
* <pre>
* &lt;complexType name="CheckData">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="masterId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>CheckDataResponse complex type Java
*
* <p>
*
* <pre>
* &lt;complexType name="CheckDataResponse">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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);
}

@ -0,0 +1,56 @@
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://interfaces.demo.ann.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="HomepageDictionary" targetNamespace="http://interfaces.demo.ann.com/">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://interfaces.demo.ann.com/" elementFormDefault="unqualified" targetNamespace="http://interfaces.demo.ann.com/" version="1.0">
<xs:element name="CheckData" type="tns:CheckData"/>
<xs:element name="CheckDataResponse" type="tns:CheckDataResponse"/>
<xs:complexType name="CheckData">
<xs:sequence>
<xs:element minOccurs="0" name="masterId" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CheckDataResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="CheckDataResponse">
<wsdl:part element="tns:CheckDataResponse" name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:message name="CheckData">
<wsdl:part element="tns:CheckData" name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="HomepageDictionary">
<wsdl:operation name="CheckData">
<wsdl:input message="tns:CheckData" name="CheckData">
</wsdl:input>
<wsdl:output message="tns:CheckDataResponse" name="CheckDataResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HomepageDictionarySoapBinding" type="tns:HomepageDictionary">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="CheckData">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="CheckData">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="CheckDataResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HomepageDictionary">
<wsdl:port binding="tns:HomepageDictionarySoapBinding" name="HomepageDictionaryImplPort">
<soap:address location="http://127.0.0.1:8080/WholeCheckInterface/services/HomepageDictionary"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

@ -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 <code>features</code> 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;
}
}

@ -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.
* <p>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<CheckDataResponse> createCheckDataResponse(CheckDataResponse value) {
return new JAXBElement<CheckDataResponse>(_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<CheckData> createCheckData(CheckData value) {
return new JAXBElement<CheckData>(_CheckData_QNAME, CheckData.class, null, value);
}
}

@ -0,0 +1,2 @@
@javax.xml.bind.annotation.XmlSchema(namespace = "http://interfaces.demo.ann.com/")
package com.emr.webservice.HomepageDictionary;

@ -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;
}
}

@ -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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="FILE_UNIQUE_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="PHOTOCOPY" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="FILE_UNIQUE_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="PHOTOCOPY" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="PHOTOCOPY_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="PHOTOCOPY_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="MedicalRecordCopy2Result" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="MedicalRecordCopyResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Operation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="FILE_UNIQUE_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="SEQUESTRATION_FLAG" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="RESION" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="MedicalRecordIsSequestrationResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="MR_FILE_CALLBACK_RECORDxml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="MR_FILE_INDEX_CALLBACKxml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="MedicalRecordRepairResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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.
* <p>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<String> createString(String value) {
return new JAXBElement<String>(_String_QNAME, String.class, null, value);
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="xml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="SignOrNoSignResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -0,0 +1,589 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="SignOrNoSign">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="xml" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SignOrNoSignResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SignOrNoSignResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="XZArchive">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ARCHIVE_MAN" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ARCHIVE_TIME" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PATIENT_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="VISIT_ID" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="XZArchiveResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="XZArchiveResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordCopy">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="PATIENT_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="VISIT_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="FILE_UNIQUE_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PHOTOCOPY" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordCopyResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MedicalRecordCopyResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordCopy2">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="PATIENT_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="VISIT_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="FILE_UNIQUE_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PHOTOCOPY" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PHOTOCOPY_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PHOTOCOPY_NAME" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordCopy2Response">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MedicalRecordCopy2Result" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordIsSequestration">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Operation" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PATIENT_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="VISIT_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="FILE_UNIQUE_ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SEQUESTRATION_FLAG" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="RESION" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordIsSequestrationResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MedicalRecordIsSequestrationResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordRepair">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MR_FILE_CALLBACK_RECORDxml" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="MR_FILE_INDEX_CALLBACKxml" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MedicalRecordRepairResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MedicalRecordRepairResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string" />
</s:schema>
</wsdl:types>
<wsdl:message name="SignOrNoSignSoapIn">
<wsdl:part name="parameters" element="tns:SignOrNoSign" />
</wsdl:message>
<wsdl:message name="SignOrNoSignSoapOut">
<wsdl:part name="parameters" element="tns:SignOrNoSignResponse" />
</wsdl:message>
<wsdl:message name="XZArchiveSoapIn">
<wsdl:part name="parameters" element="tns:XZArchive" />
</wsdl:message>
<wsdl:message name="XZArchiveSoapOut">
<wsdl:part name="parameters" element="tns:XZArchiveResponse" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopySoapIn">
<wsdl:part name="parameters" element="tns:MedicalRecordCopy" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopySoapOut">
<wsdl:part name="parameters" element="tns:MedicalRecordCopyResponse" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopy2SoapIn">
<wsdl:part name="parameters" element="tns:MedicalRecordCopy2" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopy2SoapOut">
<wsdl:part name="parameters" element="tns:MedicalRecordCopy2Response" />
</wsdl:message>
<wsdl:message name="MedicalRecordIsSequestrationSoapIn">
<wsdl:part name="parameters" element="tns:MedicalRecordIsSequestration" />
</wsdl:message>
<wsdl:message name="MedicalRecordIsSequestrationSoapOut">
<wsdl:part name="parameters" element="tns:MedicalRecordIsSequestrationResponse" />
</wsdl:message>
<wsdl:message name="MedicalRecordRepairSoapIn">
<wsdl:part name="parameters" element="tns:MedicalRecordRepair" />
</wsdl:message>
<wsdl:message name="MedicalRecordRepairSoapOut">
<wsdl:part name="parameters" element="tns:MedicalRecordRepairResponse" />
</wsdl:message>
<wsdl:message name="SignOrNoSignHttpGetIn">
<wsdl:part name="xml" type="s:string" />
</wsdl:message>
<wsdl:message name="SignOrNoSignHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="XZArchiveHttpGetIn">
<wsdl:part name="ARCHIVE_MAN" type="s:string" />
<wsdl:part name="ARCHIVE_TIME" type="s:string" />
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
</wsdl:message>
<wsdl:message name="XZArchiveHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopyHttpGetIn">
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
<wsdl:part name="FILE_UNIQUE_ID" type="s:string" />
<wsdl:part name="PHOTOCOPY" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopyHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopy2HttpGetIn">
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
<wsdl:part name="FILE_UNIQUE_ID" type="s:string" />
<wsdl:part name="PHOTOCOPY" type="s:string" />
<wsdl:part name="PHOTOCOPY_ID" type="s:string" />
<wsdl:part name="PHOTOCOPY_NAME" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopy2HttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordIsSequestrationHttpGetIn">
<wsdl:part name="Operation" type="s:string" />
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
<wsdl:part name="FILE_UNIQUE_ID" type="s:string" />
<wsdl:part name="SEQUESTRATION_FLAG" type="s:string" />
<wsdl:part name="RESION" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordIsSequestrationHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordRepairHttpGetIn">
<wsdl:part name="MR_FILE_CALLBACK_RECORDxml" type="s:string" />
<wsdl:part name="MR_FILE_INDEX_CALLBACKxml" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordRepairHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="SignOrNoSignHttpPostIn">
<wsdl:part name="xml" type="s:string" />
</wsdl:message>
<wsdl:message name="SignOrNoSignHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="XZArchiveHttpPostIn">
<wsdl:part name="ARCHIVE_MAN" type="s:string" />
<wsdl:part name="ARCHIVE_TIME" type="s:string" />
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
</wsdl:message>
<wsdl:message name="XZArchiveHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopyHttpPostIn">
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
<wsdl:part name="FILE_UNIQUE_ID" type="s:string" />
<wsdl:part name="PHOTOCOPY" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopyHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopy2HttpPostIn">
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
<wsdl:part name="FILE_UNIQUE_ID" type="s:string" />
<wsdl:part name="PHOTOCOPY" type="s:string" />
<wsdl:part name="PHOTOCOPY_ID" type="s:string" />
<wsdl:part name="PHOTOCOPY_NAME" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordCopy2HttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordIsSequestrationHttpPostIn">
<wsdl:part name="Operation" type="s:string" />
<wsdl:part name="PATIENT_ID" type="s:string" />
<wsdl:part name="VISIT_ID" type="s:string" />
<wsdl:part name="FILE_UNIQUE_ID" type="s:string" />
<wsdl:part name="SEQUESTRATION_FLAG" type="s:string" />
<wsdl:part name="RESION" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordIsSequestrationHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordRepairHttpPostIn">
<wsdl:part name="MR_FILE_CALLBACK_RECORDxml" type="s:string" />
<wsdl:part name="MR_FILE_INDEX_CALLBACKxml" type="s:string" />
</wsdl:message>
<wsdl:message name="MedicalRecordRepairHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:portType name="SignWebServiceSoap">
<wsdl:operation name="SignOrNoSign">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">签收和未签收功能传入XML</wsdl:documentation>
<wsdl:input message="tns:SignOrNoSignSoapIn" />
<wsdl:output message="tns:SignOrNoSignSoapOut" />
</wsdl:operation>
<wsdl:operation name="XZArchive">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档功能传入归档人归档时间患者ID住院次</wsdl:documentation>
<wsdl:input message="tns:XZArchiveSoapIn" />
<wsdl:output message="tns:XZArchiveSoapOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档复印功能传入患者ID住院次FILE_UNIQUE_IDPHOTOCOPY的值</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordCopySoapIn" />
<wsdl:output message="tns:MedicalRecordCopySoapOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy2">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档复印功能传入患者ID住院次FILE_UNIQUE_IDPHOTOCOPY的值,PHOTOCOPY_ID,PHOTOCOPY_NAME</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordCopy2SoapIn" />
<wsdl:output message="tns:MedicalRecordCopy2SoapOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordIsSequestration">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档封存/解封功能传入操作人ID患者ID住院次FILE_UNIQUE_ID封存1/解封0的值,原因</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordIsSequestrationSoapIn" />
<wsdl:output message="tns:MedicalRecordIsSequestrationSoapOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordRepair">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">病案返修传入XML</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordRepairSoapIn" />
<wsdl:output message="tns:MedicalRecordRepairSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="SignWebServiceHttpGet">
<wsdl:operation name="SignOrNoSign">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">签收和未签收功能传入XML</wsdl:documentation>
<wsdl:input message="tns:SignOrNoSignHttpGetIn" />
<wsdl:output message="tns:SignOrNoSignHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="XZArchive">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档功能传入归档人归档时间患者ID住院次</wsdl:documentation>
<wsdl:input message="tns:XZArchiveHttpGetIn" />
<wsdl:output message="tns:XZArchiveHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档复印功能传入患者ID住院次FILE_UNIQUE_IDPHOTOCOPY的值</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordCopyHttpGetIn" />
<wsdl:output message="tns:MedicalRecordCopyHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy2">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档复印功能传入患者ID住院次FILE_UNIQUE_IDPHOTOCOPY的值,PHOTOCOPY_ID,PHOTOCOPY_NAME</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordCopy2HttpGetIn" />
<wsdl:output message="tns:MedicalRecordCopy2HttpGetOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordIsSequestration">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档封存/解封功能传入操作人ID患者ID住院次FILE_UNIQUE_ID封存1/解封0的值,原因</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordIsSequestrationHttpGetIn" />
<wsdl:output message="tns:MedicalRecordIsSequestrationHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordRepair">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">病案返修传入XML</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordRepairHttpGetIn" />
<wsdl:output message="tns:MedicalRecordRepairHttpGetOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="SignWebServiceHttpPost">
<wsdl:operation name="SignOrNoSign">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">签收和未签收功能传入XML</wsdl:documentation>
<wsdl:input message="tns:SignOrNoSignHttpPostIn" />
<wsdl:output message="tns:SignOrNoSignHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="XZArchive">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档功能传入归档人归档时间患者ID住院次</wsdl:documentation>
<wsdl:input message="tns:XZArchiveHttpPostIn" />
<wsdl:output message="tns:XZArchiveHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档复印功能传入患者ID住院次FILE_UNIQUE_IDPHOTOCOPY的值</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordCopyHttpPostIn" />
<wsdl:output message="tns:MedicalRecordCopyHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy2">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档复印功能传入患者ID住院次FILE_UNIQUE_IDPHOTOCOPY的值,PHOTOCOPY_ID,PHOTOCOPY_NAME</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordCopy2HttpPostIn" />
<wsdl:output message="tns:MedicalRecordCopy2HttpPostOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordIsSequestration">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">归档封存/解封功能传入操作人ID患者ID住院次FILE_UNIQUE_ID封存1/解封0的值,原因</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordIsSequestrationHttpPostIn" />
<wsdl:output message="tns:MedicalRecordIsSequestrationHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="MedicalRecordRepair">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">病案返修传入XML</wsdl:documentation>
<wsdl:input message="tns:MedicalRecordRepairHttpPostIn" />
<wsdl:output message="tns:MedicalRecordRepairHttpPostOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SignWebServiceSoap" type="tns:SignWebServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="SignOrNoSign">
<soap:operation soapAction="http://tempuri.org/SignOrNoSign" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="XZArchive">
<soap:operation soapAction="http://tempuri.org/XZArchive" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy">
<soap:operation soapAction="http://tempuri.org/MedicalRecordCopy" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy2">
<soap:operation soapAction="http://tempuri.org/MedicalRecordCopy2" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordIsSequestration">
<soap:operation soapAction="http://tempuri.org/MedicalRecordIsSequestration" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordRepair">
<soap:operation soapAction="http://tempuri.org/MedicalRecordRepair" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="SignWebServiceSoap12" type="tns:SignWebServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="SignOrNoSign">
<soap12:operation soapAction="http://tempuri.org/SignOrNoSign" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="XZArchive">
<soap12:operation soapAction="http://tempuri.org/XZArchive" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy">
<soap12:operation soapAction="http://tempuri.org/MedicalRecordCopy" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy2">
<soap12:operation soapAction="http://tempuri.org/MedicalRecordCopy2" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordIsSequestration">
<soap12:operation soapAction="http://tempuri.org/MedicalRecordIsSequestration" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordRepair">
<soap12:operation soapAction="http://tempuri.org/MedicalRecordRepair" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="SignWebServiceHttpGet" type="tns:SignWebServiceHttpGet">
<http:binding verb="GET" />
<wsdl:operation name="SignOrNoSign">
<http:operation location="/SignOrNoSign" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="XZArchive">
<http:operation location="/XZArchive" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy">
<http:operation location="/MedicalRecordCopy" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy2">
<http:operation location="/MedicalRecordCopy2" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordIsSequestration">
<http:operation location="/MedicalRecordIsSequestration" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordRepair">
<http:operation location="/MedicalRecordRepair" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="SignWebServiceHttpPost" type="tns:SignWebServiceHttpPost">
<http:binding verb="POST" />
<wsdl:operation name="SignOrNoSign">
<http:operation location="/SignOrNoSign" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="XZArchive">
<http:operation location="/XZArchive" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy">
<http:operation location="/MedicalRecordCopy" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordCopy2">
<http:operation location="/MedicalRecordCopy2" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordIsSequestration">
<http:operation location="/MedicalRecordIsSequestration" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MedicalRecordRepair">
<http:operation location="/MedicalRecordRepair" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SignWebService">
<wsdl:port name="SignWebServiceSoap" binding="tns:SignWebServiceSoap">
<soap:address location="http://10.6.1.152:8037/SignWebService.asmx" />
</wsdl:port>
<wsdl:port name="SignWebServiceSoap12" binding="tns:SignWebServiceSoap12">
<soap12:address location="http://10.6.1.152:8037/SignWebService.asmx" />
</wsdl:port>
<wsdl:port name="SignWebServiceHttpGet" binding="tns:SignWebServiceHttpGet">
<http:address location="http://10.6.1.152:8037/SignWebService.asmx" />
</wsdl:port>
<wsdl:port name="SignWebServiceHttpPost" binding="tns:SignWebServiceHttpPost">
<http:address location="http://10.6.1.152:8037/SignWebService.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

@ -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 <code>features</code> 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 <code>features</code> 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 <code>features</code> 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 <code>features</code> 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;
}
}

@ -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);
/**
* IDFILE_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);
/**
* IDFILE_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);
/**
* /IDIDFILE_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);
}

@ -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);
/**
* IDFILE_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);
/**
* IDFILE_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);
/**
* /IDIDFILE_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);
}

@ -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);
/**
* IDFILE_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);
/**
* IDFILE_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);
/**
* /IDIDFILE_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);
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ARCHIVE_MAN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="ARCHIVE_TIME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="PATIENT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="VISIT_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;
/**
* <p>anonymous complex type Java
*
* <p>
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="XZArchiveResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}
}

@ -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;

@ -4,10 +4,11 @@
#jdbc.username=root #jdbc.username=root
#jdbc.password=docus702 #jdbc.password=docus702
jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver 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.username=sa
jdbc.password=docus@702 jdbc.password=123456
#jdbc.driverLocation=D:\\project\\yingde\\EMR_Medical_Record\\src\\main\\webapp\\WEB-INF\\lib\\sqljdbc4-2.0.jar jdbc.driverLocation=D:\\sqljdbc4-4.0.0.jar
#\u6267\u884C:\u53F3\u952E Run As ---->Maven build ---->Goals:mybatis-generator:generate #\u6267\u884C:\u53F3\u952E Run As ---->Maven build ---->Goals:mybatis-generator:generate
#\u8F93\u51FA\u76EE\u5F55 #\u8F93\u51FA\u76EE\u5F55
targetProject=src/main/java targetProject=src/main/java

@ -26,6 +26,7 @@
/batch/**=anon /batch/**=anon
/css/**=anon /css/**=anon
/js/**=anon /js/**=anon
/noauthc/**=anon
/home=perms[home] <!--perms表示需要该权限才能访问的页面--> /home=perms[home] <!--perms表示需要该权限才能访问的页面-->
/admin=roles["admin"] <!-- roles["admin,user"] 只有拥有admin角色的用户才可访问同时需要拥有多个角色的话用引号引起来中间用逗号隔开--> /admin=roles["admin"] <!-- roles["admin,user"] 只有拥有admin角色的用户才可访问同时需要拥有多个角色的话用引号引起来中间用逗号隔开-->
<!--/admin=anon--> <!--/admin=anon-->

@ -101,9 +101,13 @@
<!--enableUpdateByExample="false"--> <!--enableUpdateByExample="false"-->
<!--enableDeleteByExample="false" enableSelectByExample="false"--> <!--enableDeleteByExample="false" enableSelectByExample="false"-->
<!--selectByExampleQueryId="false"/>--> <!--selectByExampleQueryId="false"/>-->
<table tableName="Emr_Medical_Staff_Remark" domainObjectName="Emr_Medical_Staff_Remark" enableCountByExample="false" <!--<table tableName="Emr_Medical_Staff_Remark" domainObjectName="Emr_Medical_Staff_Remark" enableCountByExample="false"
enableUpdateByExample="false" enableUpdateByExample="false"
enableDeleteByExample="false" enableSelectByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
selectByExampleQueryId="false"/> selectByExampleQueryId="false"/>-->
<table tableName="TempMasterID" domainObjectName="TempMasterID" enableCountByExample="false"
enableUpdateByExample="false"
enableDeleteByExample="false" enableSelectByExample="true"
selectByExampleQueryId="false"/>
</context> </context>
</generatorConfiguration> </generatorConfiguration>

@ -149,6 +149,26 @@
</if> </if>
order by page_number order by page_number
</select> </select>
<select id="selectByCol2" parameterType="com.emr.entity.Archive_Detail" resultMap="BaseResultMap">
select d.*
from archive_detail d
LEFT JOIN zd_assort z
on d.assortId=z.assort_id
where 1=1
<if test="subassort != null">
and d.SubAssort = #{subassort,jdbcType=NVARCHAR}
</if>
<if test="flag != null">
and d.flag = #{flag,jdbcType=NVARCHAR}
</if>
<if test="masterid != null">
and d.MasterID = #{masterid,jdbcType=NVARCHAR}
</if>
<if test="assortid != null">
and d.AssortID = #{assortid,jdbcType=NVARCHAR}
</if>
ORDER BY d.page_number, d.subassort
</select>
<select id="selectByCol" parameterType="com.emr.entity.Archive_Detail" resultMap="BaseResultMap"> <select id="selectByCol" parameterType="com.emr.entity.Archive_Detail" resultMap="BaseResultMap">
select d.* select d.*
from archive_detail d from archive_detail d

@ -38,6 +38,7 @@
<result column="first_instance" jdbcType="NVARCHAR" property="firstInstance"/> <result column="first_instance" jdbcType="NVARCHAR" property="firstInstance"/>
<result column="death_flag" jdbcType="NVARCHAR" property="deathFlag"/> <result column="death_flag" jdbcType="NVARCHAR" property="deathFlag"/>
<result column="transfer_dept" jdbcType="NVARCHAR" property="transferDept"/> <result column="transfer_dept" jdbcType="NVARCHAR" property="transferDept"/>
<result column="score" jdbcType="NVARCHAR" property="score"/>
</resultMap> </resultMap>
@ -84,6 +85,7 @@
<result column="following_content" jdbcType="NVARCHAR" property="followingContent"/> <result column="following_content" jdbcType="NVARCHAR" property="followingContent"/>
<result column="overdue" jdbcType="NVARCHAR" property="overdue"/> <result column="overdue" jdbcType="NVARCHAR" property="overdue"/>
<result column="create_time" jdbcType="NVARCHAR" property="createTime"/> <result column="create_time" jdbcType="NVARCHAR" property="createTime"/>
<result column="score" jdbcType="NVARCHAR" property="score"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, patient_id, inp_no, visit_id, name, sex, dept_name, discharge_date_time, ArchiveState, id, patient_id, inp_no, visit_id, name, sex, dept_name, discharge_date_time, ArchiveState,
@ -970,6 +972,9 @@
<if test="firstInstance != null and firstInstance != ''"> <if test="firstInstance != null and firstInstance != ''">
first_instance=#{firstInstance,jdbcType=NVARCHAR}, first_instance=#{firstInstance,jdbcType=NVARCHAR},
</if> </if>
<if test="score != null and score != ''">
score=#{score,jdbcType=NVARCHAR},
</if>
</set> </set>
where id = #{id,jdbcType=NVARCHAR} where id = #{id,jdbcType=NVARCHAR}
</update> </update>
@ -1178,7 +1183,7 @@
</if> </if>
</if> </if>
<if test="overdueDays != null and overdueDays != ''"> <if test="overdueDays != null and overdueDays != ''">
and [dbo].[getWorkday](m.discharge_date_time,d.create_time)=#{overdueDays,jdbcType=NCHAR} and [dbo].[getWorkday](m.discharge_date_time,d.create_time)>=#{overdueDays,jdbcType=NCHAR}
</if> </if>
</select> </select>
<!--封存日志--> <!--封存日志-->

@ -22,6 +22,7 @@
<result column="deal_person" jdbcType="NVARCHAR" property="dealPerson"/> <result column="deal_person" jdbcType="NVARCHAR" property="dealPerson"/>
<result column="deal_time" jdbcType="NVARCHAR" property="dealTime"/> <result column="deal_time" jdbcType="NVARCHAR" property="dealTime"/>
<result column="archive_state" jdbcType="VARCHAR" property="archiveState"/> <result column="archive_state" jdbcType="VARCHAR" property="archiveState"/>
<result column="minus_point" jdbcType="VARCHAR" property="minusPoint"/>
</resultMap> </resultMap>
<resultMap id="BaseResultMap2" type="com.emr.entity.Emr_Fault_Vo"> <resultMap id="BaseResultMap2" type="com.emr.entity.Emr_Fault_Vo">
<id column="id" jdbcType="INTEGER" property="id"/> <id column="id" jdbcType="INTEGER" property="id"/>
@ -64,6 +65,7 @@
<result column="archive_state" jdbcType="NVARCHAR" property="archiveState"/> <result column="archive_state" jdbcType="NVARCHAR" property="archiveState"/>
<result column="type_name" jdbcType="NVARCHAR" property="typeName"/> <result column="type_name" jdbcType="NVARCHAR" property="typeName"/>
<result column="DOCTOR_IN_CHARGE" jdbcType="NVARCHAR" property="doctorInCharge"/> <result column="DOCTOR_IN_CHARGE" jdbcType="NVARCHAR" property="doctorInCharge"/>
<result column="minus_point" jdbcType="VARCHAR" property="minusPoint"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, archive_detail_id, assort_id, parent_id, content,price, score, back_content, first_trial,state,recall_reason 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} where 1=1 and id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByDept" parameterType="com.emr.entity.Emr_Fault_Detail" resultMap="BaseResultMap"> <select id="selectByDept" parameterType="com.emr.entity.Emr_Fault_Detail" resultMap="BaseResultMap">
select ISNULL(100-sum(price),0) price from emr_fault_detail select ISNULL(100-sum(minus_point),0) price from emr_fault_detail
where 1=1 and deal_flag='0' where 1=1 and deal_flag='0'
<if test="archiveDetailId != null"> <if test="archiveDetailId != null">
and archive_detail_id = #{archiveDetailId,jdbcType=NVARCHAR} and archive_detail_id = #{archiveDetailId,jdbcType=NVARCHAR}
@ -310,6 +312,9 @@
<if test="archiveState != null and archiveState!=''"> <if test="archiveState != null and archiveState!=''">
archive_state, archive_state,
</if> </if>
<if test="minusPoint != null and minusPoint!=''">
minus_point,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
@ -366,6 +371,9 @@
<if test="archiveState != null and archiveState!=''"> <if test="archiveState != null and archiveState!=''">
#{archiveState,jdbcType=NVARCHAR}, #{archiveState,jdbcType=NVARCHAR},
</if> </if>
<if test="minusPoint != null and minusPoint!=''">
#{minusPoint,jdbcType=NVARCHAR},
</if>
</trim> </trim>
</insert> </insert>
<update id="updateCloByPrimaryKey" parameterType="com.emr.entity.Emr_Fault_Detail"> <update id="updateCloByPrimaryKey" parameterType="com.emr.entity.Emr_Fault_Detail">
@ -517,7 +525,7 @@
</if> </if>
</select> </select>
<select id="getQualityControlList" parameterType="com.emr.entity.Emr_Fault_Vo" resultMap="BaseResultMap2"> <select id="getQualityControlList" parameterType="com.emr.entity.Emr_Fault_Vo" resultMap="BaseResultMap2">
select m.inp_no,m.visit_id,g.Name dept_name,m.name,m.discharge_date_time,m.ArchiveState,100-t.price score,t.price, select m.inp_no,m.visit_id,g.Name dept_name,m.name,m.discharge_date_time,m.ArchiveState,m.score,t.price,
t.type_name, e.content,e.back_content, t.type_name, e.content,e.back_content,
m.DOCTOR_IN_CHARGE,e.creater,e.create_time m.DOCTOR_IN_CHARGE,e.creater,e.create_time
from Archive_Master m from Archive_Master m

@ -2532,7 +2532,9 @@
//同步 //同步
$("#idLab").html(row.id); $("#idLab").html(row.id);
$("#nameLab").html(row.name); $("#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); $("#chargeLab").html(row.doctorInCharge);
$("#deptToLab").html(row.deptAdmissionTo); $("#deptToLab").html(row.deptAdmissionTo);
$("#outHospLab").html(row.dischargeDisposition); $("#outHospLab").html(row.dischargeDisposition);

@ -371,6 +371,9 @@
<div class="col-sm-10" style="margin-left: -70px" id="wzContent"> <div class="col-sm-10" style="margin-left: -70px" id="wzContent">
地三生三世所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所 地三生三世所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所所
</div> </div>
<div class="col-sm-3" id="reloadWz">
<button type="button" class="btn btn-warning btn-sm" id="getReloadWz">校验完整性</button>
</div>
</div> </div>
</div> </div>
@ -1822,7 +1825,7 @@
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。 pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false, smartDisplay: false,
pageSize: 2, // 页面数据条数 pageSize: 2, // 页面数据条数
pageNumber: 3, // 初始化加载第一页,默认第一页 pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false, search: false,
showColumns: true, showColumns: true,
@ -1973,7 +1976,13 @@
field: 'dischargeDateTime', field: 'dischargeDateTime',
align: 'center', align: 'center',
formatter: function (value, row, index) { formatter: function (value, row, index) {
return value.substring(0, 10); var result = "";
if (value != null && value != "") {
result = value.substring(0, 10);
} else {
result = value;
}
return result
} }
}, },
// { // {
@ -2312,7 +2321,10 @@
//同步 //同步
$("#idLab").html(row.id); $("#idLab").html(row.id);
$("#nameLab").html(row.name); $("#nameLab").html(row.name);
$("#inDateLab").html(row.admissionDateTime.substring(0, 10)); // $("#inDateLab").html(row.admissionDateTime.substring(0, 10));
if (row.admissionDateTime != null && row.admissionDateTime != '') {
$("#inDateLab").html(row.admissionDateTime.substring(0, 10));
}
$("#chargeLab").html(row.doctorInCharge); $("#chargeLab").html(row.doctorInCharge);
$("#deptToLab").html(row.deptAdmissionTo); $("#deptToLab").html(row.deptAdmissionTo);
$("#outHospLab").html(row.dischargeDisposition); $("#outHospLab").html(row.dischargeDisposition);
@ -3246,6 +3258,32 @@
}); });
}) })
$("#getReloadWz").on('click', function () {
var masterId = $("#idLab").html();
$.ajax({
url: "${path}/reloadWz",
type: "POST",
data: {masterId: masterId},
success: function (result) {
console.log(result);
if (result > 0) {
alert("重新校验成功");
$.ajax({
url: "${path}/beHosp/wzByArchivId",
type: "POST",
data: {archiveDetailId: masterId},
success: function (resultWz) {
console.log(resultWz);
$("#wzContent").html(resultWz);
}
});
}else {
alert("重新校验失败");
}
}
});
});
</script> </script>
</html> </html>

@ -262,7 +262,7 @@
</div> </div>
</div> </div>
<div class="form-group divCss"> <div class="form-group divCss">
<label>超期天数:</label> <label>超期天数>=</label>
<input type="text" class="input-sm form-control" id="overdueDays" placeholder="请输入超期天数"> <input type="text" class="input-sm form-control" id="overdueDays" placeholder="请输入超期天数">
</div> </div>
<div class="form-group divCss"> <div class="form-group divCss">

@ -390,6 +390,15 @@
var result = '<span style="color:blue;"><i class="fa fa-times-circle-o" aria-hidden="true"></i>' + value + '分</span>'; var result = '<span style="color:blue;"><i class="fa fa-times-circle-o" aria-hidden="true"></i>' + value + '分</span>';
return result return result
} }
},{
field: 'minusPoint',
title: '扣分值',
width: 80,
visible: false,
formatter: function (value, row, index) {
var result = '<span style="color:blue;"><i class="fa fa-times-circle-o" aria-hidden="true"></i>' + value + '分</span>';
return result
}
},{ },{
title: '退回', title: '退回',
field: 'backFlag', 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) {
}
});
}); });

@ -1792,8 +1792,8 @@
sidePagination: 'server', // 设置为服务器端分页 客户端client sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false, search: false,
showColumns: true, showColumns: true,
fixedColumns: true,//固定列 //fixedColumns: true,//固定列
fixedNumber:3,//固定前两列 //fixedNumber:3,//固定前两列
rightFixedRow:1, rightFixedRow:1,
// sortable: true, // sortable: true,
// sortOrder: "asc", // sortOrder: "asc",
@ -2191,7 +2191,9 @@
//同步 //同步
$("#idLab").html(row.id); $("#idLab").html(row.id);
$("#nameLab").html(row.name); $("#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); $("#chargeLab").html(row.doctorInCharge);
$("#deptToLab").html(row.deptAdmissionTo); $("#deptToLab").html(row.deptAdmissionTo);
$("#outHospLab").html(row.dischargeDisposition); $("#outHospLab").html(row.dischargeDisposition);

Loading…
Cancel
Save