[Logging Date Time: 2016-11-09 11:28:30,712] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:30,746] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:30,746] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:30,746] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:30,746] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:30,888] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:30,888] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:30,889] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:30,889] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:30,889] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:30,889] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:30,983] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:30,983] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:30,983] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:30,983] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:30,984] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:30,984] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,249] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:28:41,249] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:28:41,252] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:41,252] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:41,252] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,252] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,278] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:28:41,278] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:28:41,279] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1720], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:41,279] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1720], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:41,279] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,279] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,284] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:28:41,284] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:28:41,284] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,PAPER_OUT], param1=[completeYn,N], param2=[paperYn,Y], param3=[userId,103619], param4=[consentMstRid,1783]] [Logging Date Time: 2016-11-09 11:28:41,284] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,PAPER_OUT], param1=[completeYn,N], param2=[paperYn,Y], param3=[userId,103619], param4=[consentMstRid,1783]] [Logging Date Time: 2016-11-09 11:28:41,285] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:28:41,285] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:28:41,372] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] PreparedStatement : [select a.formfromdt from emr.mrfmform a where instcd = :param0 and formcd = :param1 and formtodt like '99991231%'] [Logging Date Time: 2016-11-09 11:28:41,372] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] PreparedStatement : [select a.formfromdt from emr.mrfmform a where instcd = :param0 and formcd = :param1 and formtodt like '99991231%'] [Logging Date Time: 2016-11-09 11:28:41,372] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Parameters: [param0=[instcd,111], param1=[formcd,1300010287]] [Logging Date Time: 2016-11-09 11:28:41,372] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Parameters: [param0=[instcd,111], param1=[formcd,1300010287]] [Logging Date Time: 2016-11-09 11:28:41,372] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,372] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,404] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] PreparedStatement : [INSERT INTO emr.mrfmocrprnt( ocrtag, pid, ordtype, orddd, cretno, orddrid, orddeptcd, instcd, formcd, formfromdt, fstprntdt, fstprntdeptcd, fstprntid, updtdt, updtdeptcd, updtuserid, diagnm, opnm, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , '', '', :param12 , SYSTIMESTAMP, :param12 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:41,404] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] PreparedStatement : [INSERT INTO emr.mrfmocrprnt( ocrtag, pid, ordtype, orddd, cretno, orddrid, orddeptcd, instcd, formcd, formfromdt, fstprntdt, fstprntdeptcd, fstprntid, updtdt, updtdeptcd, updtuserid, diagnm, opnm, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , '', '', :param12 , SYSTIMESTAMP, :param12 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:41,405] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Parameters: [param0=[ocrtag,2016110963707], param1=[pid,2032395], param2=[ordtype,I], param3=[orddd,20161109], param4=[cretno,1], param5=[orddrid,103619], param6=[orddeptcd,2010400000], param7=[instcd,111], param8=[formcd,1300010287], param9=[formfromdt,20130924100104], param10=[fstprntdt,20161109112841], param11=[fstprntdeptcd,3041200000], param12=[fstprntid,103619], param13=[updtdt,20161109112841], param14=[updtdeptcd,3041200000], param15=[updtuserid,103619]] [Logging Date Time: 2016-11-09 11:28:41,405] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Parameters: [param0=[ocrtag,2016110963707], param1=[pid,2032395], param2=[ordtype,I], param3=[orddd,20161109], param4=[cretno,1], param5=[orddrid,103619], param6=[orddeptcd,2010400000], param7=[instcd,111], param8=[formcd,1300010287], param9=[formfromdt,20130924100104], param10=[fstprntdt,20161109112841], param11=[fstprntdeptcd,3041200000], param12=[fstprntid,103619], param13=[updtdt,20161109112841], param14=[updtdeptcd,3041200000], param15=[updtuserid,103619]] [Logging Date Time: 2016-11-09 11:28:41,405] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,405] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,407] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] PreparedStatement : [INSERT INTO emr.mrfhocrprnt( instcd, ocrtag, statcd, updtdt, updtresncnts, updtdeptcd, scanyn, updtuserid, pagecnt, scanpagecnt, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , 'P', :param2 , '', :param3 , 'N', :param4 , :param5 , 0, :param4 , SYSTIMESTAMP, :param4 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:41,407] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] PreparedStatement : [INSERT INTO emr.mrfhocrprnt( instcd, ocrtag, statcd, updtdt, updtresncnts, updtdeptcd, scanyn, updtuserid, pagecnt, scanpagecnt, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , 'P', :param2 , '', :param3 , 'N', :param4 , :param5 , 0, :param4 , SYSTIMESTAMP, :param4 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:41,407] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Parameters: [param0=[instcd,111], param1=[ocrtag,2016110963707], param2=[updtdt,20161109112841], param3=[updtdeptcd,3041200000], param4=[updtuserid,103619], param5=[pagecnt,null]] [Logging Date Time: 2016-11-09 11:28:41,407] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Parameters: [param0=[instcd,111], param1=[ocrtag,2016110963707], param2=[updtdt,20161109112841], param3=[updtdeptcd,3041200000], param4=[updtuserid,103619], param5=[pagecnt,null]] [Logging Date Time: 2016-11-09 11:28:41,408] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[System.DBNull, null]] [Logging Date Time: 2016-11-09 11:28:41,408] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[System.DBNull, null]] [Logging Date Time: 2016-11-09 11:28:41,461] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:41,461] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:41,461] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:41,461] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:41,461] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,461] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,553] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:41,553] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:41,553] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:41,553] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:41,553] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:41,553] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,739] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:28:42,739] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:28:42,739] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:42,739] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:42,739] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,739] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,797] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:42,797] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:42,798] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:42,798] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:42,798] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,798] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,886] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:28:42,886] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:28:42,887] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[searchClnDate,20161109]] [Logging Date Time: 2016-11-09 11:28:42,887] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[searchClnDate,20161109]] [Logging Date Time: 2016-11-09 11:28:42,887] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,887] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,956] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:42,956] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:42,957] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:42,957] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:42,957] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:42,957] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:43,040] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:43,040] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:43,041] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:43,041] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:43,041] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:43,041] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:43,181] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:43,181] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:43,181] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:43,181] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:43,181] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:43,181] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:43,274] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:43,274] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:43,274] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:43,274] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:43,274] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:43,274] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,700] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:28:53,700] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:28:53,701] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:53,701] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:53,701] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,701] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,704] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:28:53,704] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:28:53,705] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1721], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:53,705] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1721], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:28:53,705] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,705] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,706] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:28:53,706] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:28:53,707] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,PAPER_OUT], param1=[completeYn,N], param2=[paperYn,Y], param3=[userId,103619], param4=[consentMstRid,1785]] [Logging Date Time: 2016-11-09 11:28:53,707] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,PAPER_OUT], param1=[completeYn,N], param2=[paperYn,Y], param3=[userId,103619], param4=[consentMstRid,1785]] [Logging Date Time: 2016-11-09 11:28:53,707] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:28:53,707] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:28:53,743] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] PreparedStatement : [select a.formfromdt from emr.mrfmform a where instcd = :param0 and formcd = :param1 and formtodt like '99991231%'] [Logging Date Time: 2016-11-09 11:28:53,743] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] PreparedStatement : [select a.formfromdt from emr.mrfmform a where instcd = :param0 and formcd = :param1 and formtodt like '99991231%'] [Logging Date Time: 2016-11-09 11:28:53,743] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Parameters: [param0=[instcd,111], param1=[formcd,1300010288]] [Logging Date Time: 2016-11-09 11:28:53,743] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Parameters: [param0=[instcd,111], param1=[formcd,1300010288]] [Logging Date Time: 2016-11-09 11:28:53,743] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,743] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,746] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] PreparedStatement : [INSERT INTO emr.mrfmocrprnt( ocrtag, pid, ordtype, orddd, cretno, orddrid, orddeptcd, instcd, formcd, formfromdt, fstprntdt, fstprntdeptcd, fstprntid, updtdt, updtdeptcd, updtuserid, diagnm, opnm, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , '', '', :param12 , SYSTIMESTAMP, :param12 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:53,746] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] PreparedStatement : [INSERT INTO emr.mrfmocrprnt( ocrtag, pid, ordtype, orddd, cretno, orddrid, orddeptcd, instcd, formcd, formfromdt, fstprntdt, fstprntdeptcd, fstprntid, updtdt, updtdeptcd, updtuserid, diagnm, opnm, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , '', '', :param12 , SYSTIMESTAMP, :param12 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:53,746] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Parameters: [param0=[ocrtag,2016110963708], param1=[pid,2032395], param2=[ordtype,I], param3=[orddd,20161109], param4=[cretno,1], param5=[orddrid,103619], param6=[orddeptcd,2010400000], param7=[instcd,111], param8=[formcd,1300010288], param9=[formfromdt,20160527151949], param10=[fstprntdt,20161109112853], param11=[fstprntdeptcd,3041200000], param12=[fstprntid,103619], param13=[updtdt,20161109112853], param14=[updtdeptcd,3041200000], param15=[updtuserid,103619]] [Logging Date Time: 2016-11-09 11:28:53,746] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Parameters: [param0=[ocrtag,2016110963708], param1=[pid,2032395], param2=[ordtype,I], param3=[orddd,20161109], param4=[cretno,1], param5=[orddrid,103619], param6=[orddeptcd,2010400000], param7=[instcd,111], param8=[formcd,1300010288], param9=[formfromdt,20160527151949], param10=[fstprntdt,20161109112853], param11=[fstprntdeptcd,3041200000], param12=[fstprntid,103619], param13=[updtdt,20161109112853], param14=[updtdeptcd,3041200000], param15=[updtuserid,103619]] [Logging Date Time: 2016-11-09 11:28:53,746] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,746] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,748] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] PreparedStatement : [INSERT INTO emr.mrfhocrprnt( instcd, ocrtag, statcd, updtdt, updtresncnts, updtdeptcd, scanyn, updtuserid, pagecnt, scanpagecnt, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , 'P', :param2 , '', :param3 , 'N', :param4 , :param5 , 0, :param4 , SYSTIMESTAMP, :param4 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:53,748] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] PreparedStatement : [INSERT INTO emr.mrfhocrprnt( instcd, ocrtag, statcd, updtdt, updtresncnts, updtdeptcd, scanyn, updtuserid, pagecnt, scanpagecnt, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , 'P', :param2 , '', :param3 , 'N', :param4 , :param5 , 0, :param4 , SYSTIMESTAMP, :param4 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:28:53,748] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Parameters: [param0=[instcd,111], param1=[ocrtag,2016110963708], param2=[updtdt,20161109112853], param3=[updtdeptcd,3041200000], param4=[updtuserid,103619], param5=[pagecnt,null]] [Logging Date Time: 2016-11-09 11:28:53,748] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Parameters: [param0=[instcd,111], param1=[ocrtag,2016110963708], param2=[updtdt,20161109112853], param3=[updtdeptcd,3041200000], param4=[updtuserid,103619], param5=[pagecnt,null]] [Logging Date Time: 2016-11-09 11:28:53,749] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[System.DBNull, null]] [Logging Date Time: 2016-11-09 11:28:53,749] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[System.DBNull, null]] [Logging Date Time: 2016-11-09 11:28:53,789] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:53,789] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:53,789] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:53,789] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:53,789] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,789] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,872] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:53,872] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:53,872] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:53,872] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:53,872] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:53,872] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,140] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:28:55,140] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:28:55,141] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:55,141] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:55,141] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,141] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,184] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:55,184] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:55,185] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:55,185] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:55,185] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,185] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,259] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:28:55,259] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:28:55,259] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[searchClnDate,20161109]] [Logging Date Time: 2016-11-09 11:28:55,259] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[searchClnDate,20161109]] [Logging Date Time: 2016-11-09 11:28:55,259] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,259] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,311] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:55,311] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:55,312] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:55,312] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:55,312] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,312] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,402] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:55,402] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:28:55,403] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:55,403] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,2032395], param2=[orddd,20161109], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:28:55,403] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,403] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,507] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:55,507] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:28:55,507] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:55,507] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:28:55,507] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,507] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,628] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:55,628] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:28:55,628] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:55,628] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:28:55,628] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:28:55,628] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,164] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:29:02,164] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:29:02,166] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:29:02,166] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:29:02,166] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,166] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,219] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:29:02,219] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:29:02,220] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1722], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:29:02,220] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1722], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:29:02,220] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,220] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,227] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:29:02,227] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:29:02,228] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,PAPER_OUT], param1=[completeYn,N], param2=[paperYn,Y], param3=[userId,103619], param4=[consentMstRid,1788]] [Logging Date Time: 2016-11-09 11:29:02,228] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,PAPER_OUT], param1=[completeYn,N], param2=[paperYn,Y], param3=[userId,103619], param4=[consentMstRid,1788]] [Logging Date Time: 2016-11-09 11:29:02,228] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:29:02,228] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:29:02,284] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] PreparedStatement : [select a.formfromdt from emr.mrfmform a where instcd = :param0 and formcd = :param1 and formtodt like '99991231%'] [Logging Date Time: 2016-11-09 11:29:02,284] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] PreparedStatement : [select a.formfromdt from emr.mrfmform a where instcd = :param0 and formcd = :param1 and formtodt like '99991231%'] [Logging Date Time: 2016-11-09 11:29:02,284] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Parameters: [param0=[instcd,111], param1=[formcd,1300011167]] [Logging Date Time: 2016-11-09 11:29:02,284] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Parameters: [param0=[instcd,111], param1=[formcd,1300011167]] [Logging Date Time: 2016-11-09 11:29:02,284] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,284] ===================================================================================== SQL Command - Statement Id: [getFormFromdt] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,394] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] PreparedStatement : [INSERT INTO emr.mrfmocrprnt( ocrtag, pid, ordtype, orddd, cretno, orddrid, orddeptcd, instcd, formcd, formfromdt, fstprntdt, fstprntdeptcd, fstprntid, updtdt, updtdeptcd, updtuserid, diagnm, opnm, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , '', '', :param12 , SYSTIMESTAMP, :param12 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:29:02,394] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] PreparedStatement : [INSERT INTO emr.mrfmocrprnt( ocrtag, pid, ordtype, orddd, cretno, orddrid, orddeptcd, instcd, formcd, formfromdt, fstprntdt, fstprntdeptcd, fstprntid, updtdt, updtdeptcd, updtuserid, diagnm, opnm, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , '', '', :param12 , SYSTIMESTAMP, :param12 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:29:02,394] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Parameters: [param0=[ocrtag,2016110963709], param1=[pid,2032395], param2=[ordtype,I], param3=[orddd,20161109], param4=[cretno,1], param5=[orddrid,103619], param6=[orddeptcd,2010400000], param7=[instcd,111], param8=[formcd,1300011167], param9=[formfromdt,20160323171014], param10=[fstprntdt,20161109112902], param11=[fstprntdeptcd,3041200000], param12=[fstprntid,103619], param13=[updtdt,20161109112902], param14=[updtdeptcd,3041200000], param15=[updtuserid,103619]] [Logging Date Time: 2016-11-09 11:29:02,394] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Parameters: [param0=[ocrtag,2016110963709], param1=[pid,2032395], param2=[ordtype,I], param3=[orddd,20161109], param4=[cretno,1], param5=[orddrid,103619], param6=[orddeptcd,2010400000], param7=[instcd,111], param8=[formcd,1300011167], param9=[formfromdt,20160323171014], param10=[fstprntdt,20161109112902], param11=[fstprntdeptcd,3041200000], param12=[fstprntid,103619], param13=[updtdt,20161109112902], param14=[updtdeptcd,3041200000], param15=[updtuserid,103619]] [Logging Date Time: 2016-11-09 11:29:02,395] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,395] ===================================================================================== SQL Command - Statement Id: [setOcrPrntInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,422] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] PreparedStatement : [INSERT INTO emr.mrfhocrprnt( instcd, ocrtag, statcd, updtdt, updtresncnts, updtdeptcd, scanyn, updtuserid, pagecnt, scanpagecnt, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , 'P', :param2 , '', :param3 , 'N', :param4 , :param5 , 0, :param4 , SYSTIMESTAMP, :param4 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:29:02,422] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] PreparedStatement : [INSERT INTO emr.mrfhocrprnt( instcd, ocrtag, statcd, updtdt, updtresncnts, updtdeptcd, scanyn, updtuserid, pagecnt, scanpagecnt, fstrgstrid, fstrgstdt, lastupdtrid, lastupdtdt ) VALUES( :param0 , :param1 , 'P', :param2 , '', :param3 , 'N', :param4 , :param5 , 0, :param4 , SYSTIMESTAMP, :param4 , SYSTIMESTAMP )] [Logging Date Time: 2016-11-09 11:29:02,422] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Parameters: [param0=[instcd,111], param1=[ocrtag,2016110963709], param2=[updtdt,20161109112902], param3=[updtdeptcd,3041200000], param4=[updtuserid,103619], param5=[pagecnt,null]] [Logging Date Time: 2016-11-09 11:29:02,422] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Parameters: [param0=[instcd,111], param1=[ocrtag,2016110963709], param2=[updtdt,20161109112902], param3=[updtdeptcd,3041200000], param4=[updtuserid,103619], param5=[pagecnt,null]] [Logging Date Time: 2016-11-09 11:29:02,422] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[System.DBNull, null]] [Logging Date Time: 2016-11-09 11:29:02,422] ===================================================================================== SQL Command - Statement Id: [setOcrPrntHistInfo] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[System.DBNull, null]] [Logging Date Time: 2016-11-09 11:29:02,558] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:29:02,558] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:29:02,558] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:29:02,558] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,2032395], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:29:02,558] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,558] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,702] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:29:02,702] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:29:02,702] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:29:02,702] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:29:02,702] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:29:02,702] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:43,768] ===================================================================================== SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, 'Áø·á°ú' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC] [Logging Date Time: 2016-11-09 11:37:43,768] ===================================================================================== SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, 'Áø·á°ú' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC] [Logging Date Time: 2016-11-09 11:37:43,769] ===================================================================================== SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]] [Logging Date Time: 2016-11-09 11:37:43,769] ===================================================================================== SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]] [Logging Date Time: 2016-11-09 11:37:43,769] ===================================================================================== SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:43,769] ===================================================================================== SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:43,889] ===================================================================================== SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, 'Áø·áÀÇ' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid] [Logging Date Time: 2016-11-09 11:37:43,889] ===================================================================================== SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, 'Áø·áÀÇ' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid] [Logging Date Time: 2016-11-09 11:37:43,889] ===================================================================================== SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161109]] [Logging Date Time: 2016-11-09 11:37:43,889] ===================================================================================== SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161109]] [Logging Date Time: 2016-11-09 11:37:43,890] ===================================================================================== SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:43,890] ===================================================================================== SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,107] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:37:44,107] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:37:44,107] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:37:44,107] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:37:44,107] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,107] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,166] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,166] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,167] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,167] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,167] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,167] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,256] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:37:44,256] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:37:44,257] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[searchClnDate,20161005]] [Logging Date Time: 2016-11-09 11:37:44,257] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[searchClnDate,20161005]] [Logging Date Time: 2016-11-09 11:37:44,257] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,257] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,348] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,348] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,348] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,348] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,349] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,349] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,452] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,452] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,453] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,453] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,453] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,453] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,561] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,561] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,562] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,562] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,562] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,562] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,685] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:37:44,685] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:37:44,686] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[searchClnDate,20161005]] [Logging Date Time: 2016-11-09 11:37:44,686] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[searchClnDate,20161005]] [Logging Date Time: 2016-11-09 11:37:44,686] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,686] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,744] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,744] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,745] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,745] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,745] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,745] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,836] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,836] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:37:44,837] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,837] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1139064], param2=[orddd,20161005], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:37:44,837] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,837] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,974] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:37:44,974] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:37:44,975] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,1139064], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:37:44,975] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,1139064], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:37:44,975] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:44,975] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:45,239] ===================================================================================== SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, 'Áø·á°ú' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC] [Logging Date Time: 2016-11-09 11:37:45,239] ===================================================================================== SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, 'Áø·á°ú' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC] [Logging Date Time: 2016-11-09 11:37:45,240] ===================================================================================== SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]] [Logging Date Time: 2016-11-09 11:37:45,240] ===================================================================================== SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]] [Logging Date Time: 2016-11-09 11:37:45,240] ===================================================================================== SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:45,240] ===================================================================================== SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:45,342] ===================================================================================== SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, 'Áø·áÀÇ' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid] [Logging Date Time: 2016-11-09 11:37:45,342] ===================================================================================== SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, 'Áø·áÀÇ' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid] [Logging Date Time: 2016-11-09 11:37:45,342] ===================================================================================== SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161109]] [Logging Date Time: 2016-11-09 11:37:45,342] ===================================================================================== SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161109]] [Logging Date Time: 2016-11-09 11:37:45,342] ===================================================================================== SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:37:45,342] ===================================================================================== SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:04,259] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:38:04,259] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] PreparedStatement : [SELECT signdata FROM emr.mrfmsignimge WHERE userid = :param0 and repryn = 'Y'] [Logging Date Time: 2016-11-09 11:38:04,259] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:38:04,259] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Parameters: [param0=[userid,103619]] [Logging Date Time: 2016-11-09 11:38:04,259] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:04,259] ===================================================================================== SQL Command - Statement Id: [getUserSignImage] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,369] ===================================================================================== SQL Command - CLIP.eForm SaveTempData param : clnDept[103619]patientCode[1139064]clnDeptCode[2010300000]formRid[657]formCd[1300011167]consentMstRid[301]rewriteConsentMstRid[0]deviceType[WIN]vistType[I]hosType[111]clnDate[20161005]ward[91]roomcd[901]orderNo[0]orderName[]orderCd[]ocrCode[2016100560802]cretno[1]createUserName[Á¤ÀιÌ]modifyUserName[Á¤ÀιÌ]deviceIdentNo[16-101-33]mainDrId[104796]dataXml[762,2249,762,2249?762,2254,762,2257?762,2257,767,2260?767,2262,767,2265?767,2265,770,2265?775,2265,778,2265?783,2262,788,2262?796,2260,804,2257?812,2254,818,2252?828,2249,833,2246?839,2241,844,2236?852,2233,857,2230?863,2228,865,2225?868,2222,873,2220?878,2215,881,2212?881,2209,884,2207?884,2207,886,2204?886,2204,886,2204?886,2204,886,2204?886,2201,886,2201?886,2199,884,2199?884,2199,884,2199?881,2199,881,2199?878,2199,878,2199?878,2199,878,2199?878,2199,881,2201?881,2201,881,2201?884,2204,884,2204?886,2207,886,2207?886,2207,886,2209?886,2209,889,2212?889,2212,889,2212?889,2212,889,2212?889,2212,889,2212?889,2212,889,2215?889,2215815,2275,815,2275?812,2281,810,2283?810,2286,807,2289?807,2291,807,2297?810,2302,810,2307?810,2312,810,2320?810,2328,812,2336?812,2347,815,2357?815,2368,818,2376?823,2389,826,2400?828,2410,831,2421?833,2429,836,2434?841,2442,844,2447?852,2450,855,2453?860,2455,863,2455?868,2455,873,2455?878,2455,884,2455?886,2453,892,2453?894,2450,900,2447?905,2445,910,2439?913,2434,918,2432?921,2426,923,2421?926,2418,931,2413?934,2405833,2405,833,2405?833,2405,836,2405?836,2410,839,2405?841,2405,844,2402?849,2397,855,2394?857,2389,863,2387?865,2384,870,2376?873,2373,878,2371?881,2368,886,2365?889,2363,892,2360?894,2357,897,2355939,2318,939,2318?942,2315,942,2315?942,2315,945,2312?945,2312,945,2312?945,2312,947,2312?947,2312,950,2315?950,2315,952,2318?955,2320,955,2323?960,2328,960,2331?963,2336,963,2342?963,2347,966,2355?966,2363,966,2368?966,2376,966,2387?963,2394,963,2400?963,2405,963,2413?960,2418,960,2421?960,2424,960,2424?960,2426,960,2426?960,2426,960,2426?960,2426,960,2426?960,2426992,2297,992,2297?992,2294,992,2294?995,2294,995,2294?995,2294,995,2294?995,2294,995,2294?997,2297,997,2302?997,2307,997,2312?997,2318,997,2328?997,2336,997,2344?997,2355,997,2363?995,2373,995,2384?995,2394,992,2402?992,2416,992,2424?990,2434,990,2445?987,2455,987,2466?987,2474,982,2479?982,2487,982,2492?982,2498,982,25001177,2199,1177,2199?1180,2196,1183,2196?1183,2196,1183,2196?1183,2196,1183,2196?1185,2199,1185,2199?1185,2201,1183,2204?1180,2209,1177,2215?1172,2222,1169,2230?1164,2238,1159,2249?1154,2257,1146,2265?1140,2275,1135,2283?1130,2289,1124,2294?1119,2297,1114,2302?1111,2305,1111,2305?1111,2305,1111,2305?1111,2305,1111,2305?1111,2302,1114,2297?1117,2297,1119,2294?1124,2289,1130,2286?1135,2283,1138,2283?1143,2281,1151,2278?1156,2275,1164,2275?1169,2273,1180,2267?1188,2265,1196,2262?1206,2262,1214,2260?1222,2257,1233,2254?1238,2254,1244,2252?1249,2252,1254,2252?1257,2252,1262,2252?1265,2252,1267,2252?1267,2252,1270,2252?1270,2252,1270,2252?1270,22521069,2402,1069,2402?1061,2416,1053,2426?1048,2432,1042,2442?1035,2445,1032,2447?1032,2450,1032,2453?1035,2453,1037,2450?1048,2447,1053,2445?1064,2442,1077,2439?1087,2432,1101,2429?1114,2424,1130,2418?1143,2416,1162,2410?1177,2405,1191,2400?1209,2397,1222,2394?1236,2389,1249,2389?1262,2387,1273,2384?1283,2379,1294,2379?1299,2376,1307,2376?1315,2376,1320,2373?1323,2373,1328,2373?1331,2373,1331,2373?1334,2371,1336,2371?1336,23681315,2222,1315,2222?1315,2222,1315,2222?1315,2222,1318,2225?1320,2222,1323,2222?1328,2220,1336,2215?1347,2212,1355,2209?1365,2207,1376,2204?1384,2201,1392,2199?1402,2196,1410,2196?1416,2193,1421,2193?1431,2191,1434,2191?1439,2185,1442,2185?1445,2185,1447,2185?1447,2185,1447,2185?1447,2185,1447,2185?1447,2185,1447,2185?1447,2185,1445,2191?1442,2193,1439,2199?1434,2204,1429,2209?1418,2220,1416,2228?1410,2236,1405,2246?1400,2254,1392,2262?1389,2273,1386,2281?1384,2289,1381,2297?1381,2307,1381,2312?1384,2320,1384,2328?1386,2334,1389,2339?1397,2344,1400,2347?1405,2350,1410,2355?1413,2355,1418,2357?1426,2357,1431,2357?1437,2355,1442,2355?1445,2350,1453,2347?1458,2344,1460,2342?1466,2339,1468,2336?1471,2334,1471,2328?1471,2323,1471,2318?1468,2312,1466,2310?1463,2305,1458,2302?1453,2294,1445,2294?1439,2291,1434,2289?1431,2289,1426,2289?1421,2289,1418,2289?1416,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2291?1416,2291,1416,2291?1418,2289,1426,2289?1429,2289,1434,2289?1442,2286,1447,2286?1455,2283,1460,2283?1468,2283,1474,2281?1482,2281,1487,2278?1490,2278,1492,2275?1495,2275,1495,2275?1495,2275,1495,2275?1495,2275,1498,22751355,2432,1355,2432?1355,2445,1355,2450?1357,2455,1360,2458?1365,2461,1373,2461?1381,2461,1392,2458?1408,2455,1421,2453?1437,2450,1453,2445?1468,2439,1484,2432?1498,2426,1513,2421?1524,2418,1540,2413?1548,2405,1561,2400?1569,2394,1577,2392?1585,2387,1593,2384?1598,2376,1603,2373?1609,2371,1611,23681249,2662,1249,2662?1249,2664,1249,2667?1246,2667,1246,2670?1244,2670,1241,2672?1238,2672,1236,2675?1233,2675,1233,2675?1233,2678,1233,2678?1228,2678,1228,2680?1228,2680,1228,2686?1228,2686,1228,2688?1233,2688,1233,26881262,2667,1262,2667?1262,2672,1262,2675?1257,2680,1254,2686?1254,2688,1254,2691?1251,2693,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,26961241,2667,1241,2667?1241,2672,1244,2678?1244,2678,1244,2680?1244,2680,1244,2680?1244,2680,1244,26801254,2662,1254,2662?1257,2667,1257,2670?1257,2670,1257,2670?1257,2670,1257,2670?1257,2670,1257,2670?1257,2670,1257,26701278,2651,1278,2651?1281,2656,1283,2659?1283,2659,1283,2659?1289,2662,1289,2662?1289,2664,1289,26641289,2699,1289,2699?1283,2715,1281,2725?1278,2733,1273,2744?1270,2749,1267,2752]formXml[
762,2249,762,2249?762,2254,762,2257?762,2257,767,2260?767,2262,767,2265?767,2265,770,2265?775,2265,778,2265?783,2262,788,2262?796,2260,804,2257?812,2254,818,2252?828,2249,833,2246?839,2241,844,2236?852,2233,857,2230?863,2228,865,2225?868,2222,873,2220?878,2215,881,2212?881,2209,884,2207?884,2207,886,2204?886,2204,886,2204?886,2204,886,2204?886,2201,886,2201?886,2199,884,2199?884,2199,884,2199?881,2199,881,2199?878,2199,878,2199?878,2199,878,2199?878,2199,881,2201?881,2201,881,2201?884,2204,884,2204?886,2207,886,2207?886,2207,886,2209?886,2209,889,2212?889,2212,889,2212?889,2212,889,2212?889,2212,889,2212?889,2212,889,2215?889,2215815,2275,815,2275?812,2281,810,2283?810,2286,807,2289?807,2291,807,2297?810,2302,810,2307?810,2312,810,2320?810,2328,812,2336?812,2347,815,2357?815,2368,818,2376?823,2389,826,2400?828,2410,831,2421?833,2429,836,2434?841,2442,844,2447?852,2450,855,2453?860,2455,863,2455?868,2455,873,2455?878,2455,884,2455?886,2453,892,2453?894,2450,900,2447?905,2445,910,2439?913,2434,918,2432?921,2426,923,2421?926,2418,931,2413?934,2405833,2405,833,2405?833,2405,836,2405?836,2410,839,2405?841,2405,844,2402?849,2397,855,2394?857,2389,863,2387?865,2384,870,2376?873,2373,878,2371?881,2368,886,2365?889,2363,892,2360?894,2357,897,2355939,2318,939,2318?942,2315,942,2315?942,2315,945,2312?945,2312,945,2312?945,2312,947,2312?947,2312,950,2315?950,2315,952,2318?955,2320,955,2323?960,2328,960,2331?963,2336,963,2342?963,2347,966,2355?966,2363,966,2368?966,2376,966,2387?963,2394,963,2400?963,2405,963,2413?960,2418,960,2421?960,2424,960,2424?960,2426,960,2426?960,2426,960,2426?960,2426,960,2426?960,2426992,2297,992,2297?992,2294,992,2294?995,2294,995,2294?995,2294,995,2294?995,2294,995,2294?997,2297,997,2302?997,2307,997,2312?997,2318,997,2328?997,2336,997,2344?997,2355,997,2363?995,2373,995,2384?995,2394,992,2402?992,2416,992,2424?990,2434,990,2445?987,2455,987,2466?987,2474,982,2479?982,2487,982,2492?982,2498,982,25001177,2199,1177,2199?1180,2196,1183,2196?1183,2196,1183,2196?1183,2196,1183,2196?1185,2199,1185,2199?1185,2201,1183,2204?1180,2209,1177,2215?1172,2222,1169,2230?1164,2238,1159,2249?1154,2257,1146,2265?1140,2275,1135,2283?1130,2289,1124,2294?1119,2297,1114,2302?1111,2305,1111,2305?1111,2305,1111,2305?1111,2305,1111,2305?1111,2302,1114,2297?1117,2297,1119,2294?1124,2289,1130,2286?1135,2283,1138,2283?1143,2281,1151,2278?1156,2275,1164,2275?1169,2273,1180,2267?1188,2265,1196,2262?1206,2262,1214,2260?1222,2257,1233,2254?1238,2254,1244,2252?1249,2252,1254,2252?1257,2252,1262,2252?1265,2252,1267,2252?1267,2252,1270,2252?1270,2252,1270,2252?1270,22521069,2402,1069,2402?1061,2416,1053,2426?1048,2432,1042,2442?1035,2445,1032,2447?1032,2450,1032,2453?1035,2453,1037,2450?1048,2447,1053,2445?1064,2442,1077,2439?1087,2432,1101,2429?1114,2424,1130,2418?1143,2416,1162,2410?1177,2405,1191,2400?1209,2397,1222,2394?1236,2389,1249,2389?1262,2387,1273,2384?1283,2379,1294,2379?1299,2376,1307,2376?1315,2376,1320,2373?1323,2373,1328,2373?1331,2373,1331,2373?1334,2371,1336,2371?1336,23681315,2222,1315,2222?1315,2222,1315,2222?1315,2222,1318,2225?1320,2222,1323,2222?1328,2220,1336,2215?1347,2212,1355,2209?1365,2207,1376,2204?1384,2201,1392,2199?1402,2196,1410,2196?1416,2193,1421,2193?1431,2191,1434,2191?1439,2185,1442,2185?1445,2185,1447,2185?1447,2185,1447,2185?1447,2185,1447,2185?1447,2185,1447,2185?1447,2185,1445,2191?1442,2193,1439,2199?1434,2204,1429,2209?1418,2220,1416,2228?1410,2236,1405,2246?1400,2254,1392,2262?1389,2273,1386,2281?1384,2289,1381,2297?1381,2307,1381,2312?1384,2320,1384,2328?1386,2334,1389,2339?1397,2344,1400,2347?1405,2350,1410,2355?1413,2355,1418,2357?1426,2357,1431,2357?1437,2355,1442,2355?1445,2350,1453,2347?1458,2344,1460,2342?1466,2339,1468,2336?1471,2334,1471,2328?1471,2323,1471,2318?1468,2312,1466,2310?1463,2305,1458,2302?1453,2294,1445,2294?1439,2291,1434,2289?1431,2289,1426,2289?1421,2289,1418,2289?1416,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2291?1416,2291,1416,2291?1418,2289,1426,2289?1429,2289,1434,2289?1442,2286,1447,2286?1455,2283,1460,2283?1468,2283,1474,2281?1482,2281,1487,2278?1490,2278,1492,2275?1495,2275,1495,2275?1495,2275,1495,2275?1495,2275,1498,22751355,2432,1355,2432?1355,2445,1355,2450?1357,2455,1360,2458?1365,2461,1373,2461?1381,2461,1392,2458?1408,2455,1421,2453?1437,2450,1453,2445?1468,2439,1484,2432?1498,2426,1513,2421?1524,2418,1540,2413?1548,2405,1561,2400?1569,2394,1577,2392?1585,2387,1593,2384?1598,2376,1603,2373?1609,2371,1611,23681249,2662,1249,2662?1249,2664,1249,2667?1246,2667,1246,2670?1244,2670,1241,2672?1238,2672,1236,2675?1233,2675,1233,2675?1233,2678,1233,2678?1228,2678,1228,2680?1228,2680,1228,2686?1228,2686,1228,2688?1233,2688,1233,26881262,2667,1262,2667?1262,2672,1262,2675?1257,2680,1254,2686?1254,2688,1254,2691?1251,2693,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,26961241,2667,1241,2667?1241,2672,1244,2678?1244,2678,1244,2680?1244,2680,1244,2680?1244,2680,1244,26801254,2662,1254,2662?1257,2667,1257,2670?1257,2670,1257,2670?1257,2670,1257,2670?1257,2670,1257,2670?1257,2670,1257,26701278,2651,1278,2651?1281,2656,1283,2659?1283,2659,1283,2659?1289,2662,1289,2662?1289,2664,1289,26641289,2699,1289,2699?1283,2715,1281,2725?1278,2733,1273,2744?1270,2749,1267,2752
] [Logging Date Time: 2016-11-09 11:38:30,420] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:38:30,420] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:38:30,421] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:38:30,421] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:38:30,421] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,421] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,425] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:38:30,425] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:38:30,426] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1729], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:38:30,426] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1729], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:38:30,426] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,426] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,430] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:38:30,430] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:38:30,430] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,TEMP], param1=[completeYn,N], param2=[paperYn,N], param3=[userId,103619], param4=[consentMstRid,301]] [Logging Date Time: 2016-11-09 11:38:30,430] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,TEMP], param1=[completeYn,N], param2=[paperYn,N], param3=[userId,103619], param4=[consentMstRid,301]] [Logging Date Time: 2016-11-09 11:38:30,430] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:38:30,430] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:38:30,433] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] PreparedStatement : [insert into CONSENT_DATA ( CONSENT_DATA_RID, CONSENT_MST_RID, FORM_RID, DEVICE_TYPE, DEVICE_IDENT_NO, COMPLETE_YN, CREATE_USER_ID, CREATE_DATETIME, FORM_XML, DATA_XML ) values ( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param7 , :param8 )] [Logging Date Time: 2016-11-09 11:38:30,433] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] PreparedStatement : [insert into CONSENT_DATA ( CONSENT_DATA_RID, CONSENT_MST_RID, FORM_RID, DEVICE_TYPE, DEVICE_IDENT_NO, COMPLETE_YN, CREATE_USER_ID, CREATE_DATETIME, FORM_XML, DATA_XML ) values ( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param7 , :param8 )] [Logging Date Time: 2016-11-09 11:38:30,433] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Parameters: [param0=[consentDataRid,1729], param1=[consentMstRid,301], param2=[formRid,657], param3=[deviceType,WIN], param4=[deviceIdentNo,16-101-33], param5=[completeYn,N], param6=[userId,103619], param7=[formXml,System.Byte[]], param8=[dataXml,System.Byte[]]] [Logging Date Time: 2016-11-09 11:38:30,433] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Parameters: [param0=[consentDataRid,1729], param1=[consentMstRid,301], param2=[formRid,657], param3=[deviceType,WIN], param4=[deviceIdentNo,16-101-33], param5=[completeYn,N], param6=[userId,103619], param7=[formXml,System.Byte[]], param8=[dataXml,System.Byte[]]] [Logging Date Time: 2016-11-09 11:38:30,433] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Types: [param0=[Int32, System.Int32], param1=[Int32, System.Int32], param2=[Int32, System.Int32], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[Binary, System.Byte[]], param8=[Binary, System.Byte[]]] [Logging Date Time: 2016-11-09 11:38:30,433] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Types: [param0=[Int32, System.Int32], param1=[Int32, System.Int32], param2=[Int32, System.Int32], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[Binary, System.Byte[]], param8=[Binary, System.Byte[]]] [Logging Date Time: 2016-11-09 11:38:30,634] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_device [Logging Date Time: 2016-11-09 11:38:30,634] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_device/ [Logging Date Time: 2016-11-09 11:38:30,634] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_device_ID [Logging Date Time: 2016-11-09 11:38:30,634] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_device_ID/16-101-33 [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_ocr_cd [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_ocr_cd/2016100560802 [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Pt_ID [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Pt_ID/ [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_sex_age_y_m [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_sex_age_y_m/ [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Pt_name [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Pt_name/ [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_JuminNo [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_JuminNo/ [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_roomNo [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_roomNo/ [Logging Date Time: 2016-11-09 11:38:30,635] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_ADdate [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_ADdate/ [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Dept [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Dept/ [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_formname [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_formname/ [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_OPdept [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_OPdept/ [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_OPdr [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_OPdr/ [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Dx [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Dx/ [Logging Date Time: 2016-11-09 11:38:30,636] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_maindr [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_maindr/±èÇö¼ö [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_signdate [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_signdate/ [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_signtime [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_signtime/ [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_printtime [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_printtime/2016-11-09 11:38:04 [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Pt_rel [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Pt_rel/ [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_sign_cause [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_sign_cause/ [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Ptname_write [Logging Date Time: 2016-11-09 11:38:30,637] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Ptname_write/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdMAAABPCAYAAACwLS8hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAOOSURBVHhe7d0ts9NAAAXQJ5FIJD8BiUQikUgkEonEIZFIJBKJRCKRSCQSiYS9YplM2aZJv9JNzpm5ivcgaUpudrNN7wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1u9+yYuSNxOTnwWAzXlY0irMTyV/ZuZLCQCszpOSVyW7Zfmh5EdJqxSPjTIFoGuZkq3FmaL8VtIqvEtGmQJwc4YFuTuyTN6VpMB+lbTK7dpRpgAsZliat1aQc6JMAbi4nksz23po6liZAjDboWnYpJfS/F2S7RwmK3qz0jf7mYyVaX7/aQkANK1hGvZnSasss0+PS8YcKtIkfx+3K+/fXOy0Lvh2k58FONoaSjPJNmfb35Y8K3lQcqwpRWpUelk5fnPKMPlckvdAjk3rmI0lvw9wUI+lWQuylZz8XpZkn7Jv56JIT1NLMBc0w6I7lI8lOa7n/hzw1GQbAP7puTSzvdnucxfkHO9LWttYs/UizfR4js/rkhRQps2XLMFzRZnChuXEltGZ0jyfPPyhte1Jz0V6zLRpcsrUaU/JvgIrUkeVuye1moycvpa0TgjXztg0bJLtrVOx90puXYr9e0lrX5cu0rlFuPS0aW/JawZ0qhbnUo/Cm5oeRpSnyv6MHYP82an7nN8/dLFUs5UR4bWSi4p6kdeKb/+BTvRQnFsozX2y363XZJh81CarhVvlty+9TMHfejJjUItvLJm5yev+vCTv33xDENCpei/zVotzy6W5z6MShXf+TC3BJP9fUoT1PZn0cHsAOIMs7MhVcB2BtE4oS0VpzqNQ56VOneb+bEowK3yVIDBJ/WLpTCftW6xy7dQn/SjN042t5l1T5owYTZ0CR0kRpTBzAqnJSfaaKyPHFkxkcUq2Kas7T3nSD//roUwPLaapMW0KLCIFmg+ht05gl0xOjvl3c+IzqlxWpiqHhXSpjyHVKfixGBECXUhp5WSVXGvUqTj7k3up9XObxybHu6fP3AKMGj4z9NIrbRUnAKt0qXti+XC94gRgE85VpinPLATKPbZD340JAKsyt0yH970y8szKSOUJwKZNKdMUZ1b2mqoFgIaxMs2CodzvBABGjD0yLiNSAGCCfaNTZQoAEylTADjR8MENw/iCYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGCl7u7+ApYiML58AuGTAAAAAElFTkSuQmCC [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Ptsign [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Ptsign/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOkAAABPCAYAAAAOcuIQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJWSURBVHhe7dwtjxNRGAXglUgkPwGJRCKRSCQSiUTikEgkEolEIpFIJJKfgIT3kL5hMrltadN2ZrvPkxy3m+y2c+Z+zG1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA6/Kk8qryZk/yc8AWDyspyevKqECH5kPlW+X3AcnvARsZ2b5UvldGhVkiSgoTnyujoiwZJYWNR5VPlVFRloySQslacVSQNURJoSgprNzSJf1ZyYbVNJl6e/wCG+co6ah4nWxQZYR8WnlQAfY4VUlTwIyAKeCpksdCGVEThebOWvOadFt6VP5YGZV7X3JAo8ufnW1YtdtY0nNlOk3P6zIq+L68qPQNAE5CSc+fnOKaLweyJk+Rc/wSdlLS9eRr5Zhp/LNKCn+vwhXK+qyneNty6MF4WTZd9lGhR8mobm1+Je5XcsfOnTtv7tvKvNCnyujik/PnRyWv/7vKvMyd3ngzcvNX3xiS55W+UDIlnBf7f/KrMro45bhkvZ33oovrURkn9bjSN4Dp52Zz4GJU8F3JFHN0Ed/F5EaY1+R9pV/TjlGYVegPzGet1xdnj/zK/C89Ck9LnAMs1sesRpc56Ys0u+3TEXpXrnlDL8+s5wV+WTGd5lY6dkNvTd/CcUjyt3dx83/D1esRvb8cbl7mabL7OyrOUsnfC8xk5O71djbZMjUdFegSUVI4QEbjnF3u8l5iFFZSOLFeP6dcOcs8LfExI7KSwoVlfZxd3PlhlW2HUJQUViKHH7J7PX9Elek1AAAAAAAAAAAAAAAAAAAAAABrc3PzB3icbMaeR9+kAAAAAElFTkSuQmCC [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_JuminNo [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_JuminNo/ [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Drname_write [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Drname_write/ [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_drsign [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_drsign/ [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_INPUTNM [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_INPUTNM/Á¤ÀÎ¹Ì [Logging Date Time: 2016-11-09 11:38:30,638] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 8/base_info [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : IO_Pt_ID [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_Pt_ID/1139064 [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : IO_sex_age_y_m [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_sex_age_y_m/M/26 [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : IO_formname [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_formname/¼ºÀÎ ÀÔ¿ø»ýȰ ¾È³»¹® [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : IO_Pt_name [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,639] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_Pt_name/°í°¡Çü [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : IO_JuminNo [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_JuminNo/900422-1****** [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : IO_roomNo [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_roomNo/91/901 [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : IO_ADdate [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_ADdate/2016/10/05 [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : IO_Dept [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_Dept/IG [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_bp [Logging Date Time: 2016-11-09 11:38:30,640] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_bp/ [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_dm [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_dm/ [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_heart [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_heart/ [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_kidney [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_kidney/ [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_respiration [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_respiration/ [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_hx [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_hx/ [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_allergy [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_allergy/ [Logging Date Time: 2016-11-09 11:38:30,641] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_drug [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_drug/ [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_smoking [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_smoking/ [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_idio [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_idio/ [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_nacrotics [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_nacrotics/ [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_airway [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_airway/ [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_hemorrhage [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_hemorrhage/ [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_status_etc [Logging Date Time: 2016-11-09 11:38:30,642] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_status_etc/ [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 0/page-template-data [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/pen-drawing [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 4/changed-form [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : attach-page [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : 2 [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : pagetemplates [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : 0 [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : externalgroups [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : changed [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 0/viewer-info [Logging Date Time: 2016-11-09 11:38:30,643] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 0/form-info [Logging Date Time: 2016-11-09 11:38:30,645] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] PreparedStatement : [DECLARE v_cnt NUMBER:=0; BEGIN SELECT COUNT(*) INTO V_CNT FROM CONSENT_DATA_EX WHERE PID = :param0 AND CLN_DATE = :param1 ; IF v_cnt = 0 THEN insert into consent_data_ex (pid, cln_date, use_yn, bp, dm, heart, kidney, respiration, hx, allergy, drug, smoking, idio, nacrotics, airway, hemorrhage, etc, create_user_id, create_datetime, modify_user_id, modify_datetime) values ( :param0 , :param1 ,'Y', :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss')); ELSE update consent_data_ex set bp = :param2 , dm = :param3 , heart = :param4 , kidney = :param5 , respiration = :param6 , hx = :param7 , allergy = :param8 , drug = :param9 , smoking = :param10 , idio = :param11 , nacrotics = :param12 , airway = :param13 , hemorrhage = :param14 , etc = :param15 , modify_user_id = :param16 , modify_datetime = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss') where PID = :param0 AND CLN_DATE = :param1 ; END IF; END;] [Logging Date Time: 2016-11-09 11:38:30,645] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] PreparedStatement : [DECLARE v_cnt NUMBER:=0; BEGIN SELECT COUNT(*) INTO V_CNT FROM CONSENT_DATA_EX WHERE PID = :param0 AND CLN_DATE = :param1 ; IF v_cnt = 0 THEN insert into consent_data_ex (pid, cln_date, use_yn, bp, dm, heart, kidney, respiration, hx, allergy, drug, smoking, idio, nacrotics, airway, hemorrhage, etc, create_user_id, create_datetime, modify_user_id, modify_datetime) values ( :param0 , :param1 ,'Y', :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss')); ELSE update consent_data_ex set bp = :param2 , dm = :param3 , heart = :param4 , kidney = :param5 , respiration = :param6 , hx = :param7 , allergy = :param8 , drug = :param9 , smoking = :param10 , idio = :param11 , nacrotics = :param12 , airway = :param13 , hemorrhage = :param14 , etc = :param15 , modify_user_id = :param16 , modify_datetime = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss') where PID = :param0 AND CLN_DATE = :param1 ; END IF; END;] [Logging Date Time: 2016-11-09 11:38:30,645] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Parameters: [param0=[patientCode,1139064], param1=[clnDate,20161005], param2=[bp,], param3=[dm,], param4=[heart,], param5=[kidney,], param6=[respiration,], param7=[hx,], param8=[allergy,], param9=[drug,], param10=[smoking,], param11=[idio,], param12=[nacrotics,], param13=[airway,], param14=[hemorrhage,], param15=[status_etc,], param16=[userId,103619]] [Logging Date Time: 2016-11-09 11:38:30,645] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Parameters: [param0=[patientCode,1139064], param1=[clnDate,20161005], param2=[bp,], param3=[dm,], param4=[heart,], param5=[kidney,], param6=[respiration,], param7=[hx,], param8=[allergy,], param9=[drug,], param10=[smoking,], param11=[idio,], param12=[nacrotics,], param13=[airway,], param14=[hemorrhage,], param15=[status_etc,], param16=[userId,103619]] [Logging Date Time: 2016-11-09 11:38:30,645] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String], param16=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,645] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String], param16=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,742] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:38:30,742] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:38:30,743] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,1139064], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:38:30,743] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,1139064], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:38:30,743] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:38:30,743] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,090] ===================================================================================== SQL Command - CLIP.eForm SaveTempData param : clnDept[103619]patientCode[1139064]clnDeptCode[2010300000]formRid[657]formCd[1300011167]consentMstRid[301]rewriteConsentMstRid[0]deviceType[WIN]vistType[I]hosType[111]clnDate[20161005]ward[91]roomcd[901]orderNo[0]orderName[]orderCd[]ocrCode[2016100560802]cretno[1]createUserName[Á¤ÀιÌ]modifyUserName[Á¤ÀιÌ]deviceIdentNo[16-101-33]mainDrId[104796]dataXml[762,2249,762,2249?762,2254,762,2257?767,2260,767,2262?767,2265,770,2265?775,2265,778,2265?783,2262,788,2262?796,2260,804,2257?812,2254,818,2252?828,2249,833,2246?839,2241,844,2236?852,2233,857,2230?863,2228,865,2225?868,2222,873,2220?878,2215,881,2212?881,2209,884,2207?886,2204,886,2204?886,2204,886,2201?886,2201,886,2199?884,2199,884,2199?881,2199,881,2199?878,2199,878,2199?878,2199,881,2201?881,2201,884,2204?884,2204,886,2207?886,2207,886,2209?889,2212,889,2212?889,2212,889,2212?889,2215,889,2215815,2275,815,2275?812,2281,810,2283?810,2286,807,2289?807,2291,807,2297?810,2302,810,2307?810,2312,810,2320?810,2328,812,2336?812,2347,815,2357?815,2368,818,2376?823,2389,826,2400?828,2410,831,2421?833,2429,836,2434?841,2442,844,2447?852,2450,855,2453?860,2455,863,2455?868,2455,873,2455?878,2455,884,2455?886,2453,892,2453?894,2450,900,2447?905,2445,910,2439?913,2434,918,2432?921,2426,923,2421?926,2418,931,2413?934,2405,934,2405833,2405,833,2405?836,2405,836,2410?839,2405,841,2405?844,2402,849,2397?855,2394,857,2389?863,2387,865,2384?870,2376,873,2373?878,2371,881,2368?886,2365,889,2363?892,2360,894,2357?897,2355939,2318,939,2318?942,2315,942,2315?945,2312,945,2312?947,2312,950,2315?952,2318,955,2320?955,2323,960,2328?960,2331,963,2336?963,2342,963,2347?966,2355,966,2363?966,2368,966,2376?966,2387,963,2394?963,2400,963,2405?963,2413,960,2418?960,2421,960,2424?960,2424,960,2426?960,2426,960,2426?960,2426,960,2426992,2297,992,2297?992,2294,992,2294?995,2294,995,2294?995,2294,995,2294?997,2297,997,2302?997,2307,997,2312?997,2318,997,2328?997,2336,997,2344?997,2355,997,2363?995,2373,995,2384?995,2394,992,2402?992,2416,992,2424?990,2434,990,2445?987,2455,987,2466?987,2474,982,2479?982,2487,982,2492?982,2498,982,25001177,2199,1177,2199?1180,2196,1183,2196?1183,2196,1183,2196?1185,2199,1185,2199?1185,2201,1183,2204?1180,2209,1177,2215?1172,2222,1169,2230?1164,2238,1159,2249?1154,2257,1146,2265?1140,2275,1135,2283?1130,2289,1124,2294?1119,2297,1114,2302?1111,2305,1111,2305?1111,2305,1111,2305?1111,2302,1114,2297?1117,2297,1119,2294?1124,2289,1130,2286?1135,2283,1138,2283?1143,2281,1151,2278?1156,2275,1164,2275?1169,2273,1180,2267?1188,2265,1196,2262?1206,2262,1214,2260?1222,2257,1233,2254?1238,2254,1244,2252?1249,2252,1254,2252?1257,2252,1262,2252?1265,2252,1267,2252?1270,2252,1270,2252?1270,22521069,2402,1069,2402?1061,2416,1053,2426?1048,2432,1042,2442?1035,2445,1032,2447?1032,2450,1032,2453?1035,2453,1037,2450?1048,2447,1053,2445?1064,2442,1077,2439?1087,2432,1101,2429?1114,2424,1130,2418?1143,2416,1162,2410?1177,2405,1191,2400?1209,2397,1222,2394?1236,2389,1249,2389?1262,2387,1273,2384?1283,2379,1294,2379?1299,2376,1307,2376?1315,2376,1320,2373?1323,2373,1328,2373?1331,2373,1331,2373?1334,2371,1336,2371?1336,2368,1336,23681315,2222,1315,2222?1315,2222,1318,2225?1320,2222,1323,2222?1328,2220,1336,2215?1347,2212,1355,2209?1365,2207,1376,2204?1384,2201,1392,2199?1402,2196,1410,2196?1416,2193,1421,2193?1431,2191,1434,2191?1439,2185,1442,2185?1445,2185,1447,2185?1447,2185,1447,2185?1447,2185,1445,2191?1442,2193,1439,2199?1434,2204,1429,2209?1418,2220,1416,2228?1410,2236,1405,2246?1400,2254,1392,2262?1389,2273,1386,2281?1384,2289,1381,2297?1381,2307,1381,2312?1384,2320,1384,2328?1386,2334,1389,2339?1397,2344,1400,2347?1405,2350,1410,2355?1413,2355,1418,2357?1426,2357,1431,2357?1437,2355,1442,2355?1445,2350,1453,2347?1458,2344,1460,2342?1466,2339,1468,2336?1471,2334,1471,2328?1471,2323,1471,2318?1468,2312,1466,2310?1463,2305,1458,2302?1453,2294,1445,2294?1439,2291,1434,2289?1431,2289,1426,2289?1421,2289,1418,2289?1416,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2291,1416,2291?1416,2291,1418,2289?1426,2289,1429,2289?1434,2289,1442,2286?1447,2286,1455,2283?1460,2283,1468,2283?1474,2281,1482,2281?1487,2278,1490,2278?1492,2275,1495,2275?1495,2275,1495,2275?1498,22751355,2432,1355,2432?1355,2445,1355,2450?1357,2455,1360,2458?1365,2461,1373,2461?1381,2461,1392,2458?1408,2455,1421,2453?1437,2450,1453,2445?1468,2439,1484,2432?1498,2426,1513,2421?1524,2418,1540,2413?1548,2405,1561,2400?1569,2394,1577,2392?1585,2387,1593,2384?1598,2376,1603,2373?1609,2371,1611,23681249,2662,1249,2662?1249,2664,1249,2667?1246,2667,1246,2670?1244,2670,1241,2672?1238,2672,1236,2675?1233,2675,1233,2675?1233,2678,1233,2678?1228,2678,1228,2680?1228,2686,1228,2688?1233,2688,1233,26881262,2667,1262,2667?1262,2672,1262,2675?1257,2680,1254,2686?1254,2688,1254,2691?1251,2693,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,26961241,2667,1241,2667?1241,2672,1244,2678?1244,2680,1244,2680?1244,26801254,2662,1254,2662?1257,2667,1257,2670?1257,2670,1257,2670?1257,2670,1257,26701278,2651,1278,2651?1281,2656,1283,2659?1283,2659,1289,2662?1289,2662,1289,2664?1289,26641289,2699,1289,2699?1283,2715,1281,2725?1278,2733,1273,2744?1270,2749,1267,2752196,1627,196,1627?198,1625,198,1625?198,1622,198,1622?198,1619,201,1619?201,1617,201,1617?201,1617,201,1617?201,1611,201,1611?201,1611,201,1611?201,1611,201,1609?201,1609,201,1609?201,1609,201,1609?201,1609,201,1609?201,1609,201,1609?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?198,1606,198,1606?198,1609,198,1609?196,1611,196,1617?196,1619,196,1622?196,1622,196,1625?193,1627,193,1627?193,1630,193,1630?193,1630,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?196,1632,196,1632?198,1632,201,1632?201,1632,206,1630?209,1627,212,1627?220,1625,222,1622?228,1619,230,1617?235,1611,241,1609?243,1606,251,1603?254,1601,259,1601?262,1598,265,1598?265,1598,265,1595?265,1595,265,1595?265,1595,265,1595?265,1595,265,1595?265,1595,265,1595?267,1595,267,1595?265,1595,265,1595?265,1595,265,1595?265,1595,265,1595?262,1595,262,1595?262,1595,262,1595?262,1595,262,1595?262,1595,262,1595?262,1595,262,1598?259,1598,259,1598?257,1601175,1683,175,1683?175,1683,175,1683?175,1683,175,1683?175,1683,175,1683?175,1683,175,1683?177,1683,177,1683?177,1683,177,1683?180,1683,180,1683?183,1683,183,1683?183,1683,185,1683?185,1685,185,1685?188,1688,188,1691?188,1691,193,1693?193,1699,193,1701?193,1701,196,1704?196,1707,196,1709?198,1712,198,1714?198,1714,198,1714?201,1717,201,1717?201,1717,201,1717?201,1717,201,1717?201,1717,201,1717?201,1717,201,1717?204,1717,204,1714?206,1712,206,1709?209,1707,212,1704?214,1699,214,1693?220,1688,220,1685?222,1683,222,1680?225,1677,225,1675?225,1675,225,1672?225,1672,225,1672?225,1672,225,1672?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667177,1736,177,1736?177,1736,177,1736?177,1738,177,1738?177,1738,177,1741?177,1741,177,1741?177,1741,177,1744?177,1744,177,1746?180,1746,180,1749?183,1749,185,1754?185,1754,188,1757?188,1759,188,1759?193,1762,193,1765?196,1767,196,1767?196,1770,196,1773?198,1775,198,1781?198,1783,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,201,1786?201,1783,201,1781?201,1775,201,1773?204,1770,204,1765?204,1762,206,1759?206,1757,209,1754?209,1754,212,1749?212,1749,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?214,1749180,1799,180,1799?177,1802,177,1802?175,1802,175,1802?175,1802,175,1802?175,1802,175,1802?175,1802,175,1802?175,1802,175,1802?175,1807,172,1807?172,1810,172,1812?172,1815,172,1818?172,1820,175,1823?175,1826,175,1828?175,1831,175,1836?175,1839,175,1842?175,1844,175,1847?175,1849,175,1852?175,1852,175,1852?175,1852,175,1852?175,1852,175,1852?175,1852,175,1852?175,1852,177,1852?177,1849,177,1849?177,1847,177,1844?177,1842,177,1839?177,1836,177,1831?177,1828,177,1826?177,1826,177,1823?177,1820,177,1820?177,1818,177,1818?177,1818,177,1815?177,1815,177,1812?177,1812,177,1812?177,1810,177,1810?177,1810,177,1810?177,1810,177,1810?177,1810,177,1810?177,1810,177,1810?177,1810,180,1810?180,1812,180,1812?180,1815,183,1818?183,1820,183,1826?183,1831,183,1836?183,1842,183,1844?183,1849,183,1852?183,1857,183,1863?183,1868,183,1871?185,1873,185,1876?185,1876,185,1876?185,1876,185,1876?185,1876,185,1876?185,1876,188,1873?188,1871,193,1868?193,1863,196,1855?198,1847,198,1842?201,1836,204,1828?206,1823,206,1820?209,1818,209,1812?209,1810,212,1810?212,1810,212,1810?212,1810,212,1810?209,1810,209,1812?209,1815,209,1815?209,1818,206,1823?206,1826,206,1828?204,1828,204,1831?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,201,1836?201,1836,201,1836?201,1831,201,1831?201,1831,201,1831?201,1831,201,1831?201,1831,201,1831?201,1836,198,1836?198,1839,198,1844?196,1849,196,1855?193,1865,193,1873?188,1879,188,1884?185,1894,185,1900?183,1905,183,1908?180,1913,180,1918?177,1921,177,1921?177,1921,177,1921?177,1921,177,1921?177,1921,175,1921?175,1921,172,1921?172,1918,169,1913?169,1910,167,1908?167,1905,167,1902?167,1900,167,1900?167,1897,167,1897?167,1897,167,1894?161,1892,161,1892?161,1886,161,1886?161,1884,159,1884?159,1881,159,1881?159,1879,159,1879?159,1879,159,1879?159,1879,159,1879?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,159,1879?159,1879,159,1881?159,1881,159,1884?161,1886,161,1886?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1894?167,1894,167,1897?167,1897,167,1900?167,1902,167,1908?167,1910,167,1918?167,1921,167,1926?169,1931,169,1937?169,1945,169,1950?172,1958,172,1963?172,1968,175,1976?175,1979,175,1982?175,1987,175,1990?175,1990,175,1990?175,1990,175,1990?175,1990,175,1990?175,1990,175,1990?175,1990,175,1990?177,1990,177,1990?177,1987,180,1984?180,1982,180,1979?183,1976,183,1974?185,1968,185,1966?188,1963,193,1961?196,1955,198,1953?201,1950,204,1947?206,1945,209,1939?212,1937,220,1934?222,1931,225,1929?228,1926,230,1924?233,1921,235,1918?235,1913,238,1913?238,1910,241,1908?241,1905,241,1902?241,1902,241,1902?241,1902,241,1902?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?241,1902,241,1902?241,1905,241,1908?238,1910,235,1913?235,1918,233,1921?233,1926,230,1929?228,1934,225,1939?222,1950,220,1955?214,1961,212,1968?209,1979,206,1984?204,1992,201,2003?196,2011,193,2016?188,2027,185,2032?183,2040,183,2045?180,2051,180,2056?177,2061,177,2064?177,2066,175,2069?175,2069,175,2069?175,2069,175,2069?175,2069,177,2066?177,2064,177,2061?177,2058,180,2056?180,2048,180,2045?183,2043,183,2037?185,2035,188,2032?193,2027,196,2021?198,2016,201,2011?204,2008,206,2003?209,2000,212,1995?214,1992,220,1987?222,1984,225,1984?228,1982,230,1979?230,1979,233,1979?233,1976,235,1976?235,1976,235,1976?235,1976,235,1976?235,1976,238,1976?238,1976,238,1979?238,1979,238,1982?238,1984,238,1987?238,1990,238,1992?235,1995,235,2000?235,2003,233,2006?233,2008,233,2013?230,2016,230,2019?228,2021,228,2027?228,2032,225,2035?222,2040,222,2045?220,2051,214,2058?214,2064,212,2069?209,2074,206,2082?204,2088,201,2093?201,2101,198,2109?196,2114,196,2119?193,2125,188,2130?188,2138,188,2143?185,2146,185,2148?185,2151,185,2154?183,2156,183,2159?183,2164,183,2164?183,2164,183,2164?183,2164,183,2164?183,2167,183,2167?183,2167,183,2167?183,2167,183,2167?183,2167,183,2167?183,2167,185,2167?185,2164,188,2159?193,2156,196,2154?198,2151,201,2146?204,2143,209,2138?212,2130,220,2125?222,2119,228,2114?230,2109,235,2101?238,2096,243,2093?249,2088,251,2085?257,2082,259,2077?262,2074,265,2072?267,2069,267,2069?270,2066,270,2066?270,2066,270,2066?270,2066,270,2066?270,2066,270,2066?270,2066,270,2066?275,2066,275,2066?275,2069,275,2069?275,2072,270,2074?270,2082,267,2085?267,2090,265,2093?262,2098,259,2103?257,2111,254,2117?251,2122,249,2130?243,2138,238,2146?235,2151,233,2159?228,2167,225,2172?222,2178,220,2183?212,2191,209,2196?206,2201,206,2207?204,2209,201,2215?201,2220,201,2222?198,2225,198,2228?198,2228,198,2230?198,2230,198,2230?198,2230,198,2230?201,2230,201,2230?204,2230,204,2230?206,2230,209,2228?212,2225,214,2222?222,2215,225,2209?228,2207,233,2201?235,2196,241,2191?243,2183,249,2178?251,2175,254,2170?257,2167,259,2159?262,2156,265,2154?267,2151,270,2148?270,2148,275,2146?275,2146,275,2146?275,2146,278,2143?278,2143,278,2143?278,2143,278,2143?278,2143,278,2143?280,2143,280,2143?280,2146,280,2146?280,2148,280,2154?280,2156,278,2164?275,2167,275,2172?270,2178,267,2183?262,2193,259,2199?254,2207,251,2215?243,2225,238,2236?233,2246,228,2257?222,2265,214,2275?209,2283,204,2291?201,2297,198,2305?196,2310,193,2312?193,2312,193,2312?193,2312,193,2312?193,2312,196,2312?196,2312,198,2310?204,2307,206,2302?212,2297,214,2291?222,2289,225,2283?230,2278,233,2273?238,2267,241,2262?249,2260,251,2254?254,2252,259,2249?262,2246,265,2241?267,2241,270,2238?270,2236,275,2236?275,2233,278,2233?278,2233,278,2233?278,2233,278,2233?280,2233,280,2236?280,2236,280,2238?280,2241,280,2246?278,2249,278,2252?275,2257,275,2260?270,2265,267,2267?265,2275,265,2281?262,2283,259,2289?257,2294,254,2302?251,2307,251,2312?249,2320,249,2328?243,2334,243,2336?243,2342,243,2347?243,2350,243,2355?243,2357,243,2360?243,2363,249,2363?251,2365,251,2365?254,2365,257,2365?259,2365,262,2365?267,2363,270,2363?275,2357,280,2355?286,2347,291,2339?296,2328,304,2315?312,2302868,1873,868,1873?865,1879,865,1884?865,1884,865,1884?865,1884865,1910,865,1910?865,1918,865,1924?865,1924,865,1924908,1958,908,1958?908,1963,908,1968717,1881,717,1881?709,1905,709,1926?709,1947,714,1961?720,1976,728,1990?733,2008,741,2021?746,2037,749,2051?749,2066,749,2077?746,2088,743,2093?741,2098619,2249,619,2249?622,2260,624,2273?627,2283,627,2289?632,2294,632,2297?632,2302,627,2305?627,2307,624,2307908,908,908,908?908,908,908,910?908,910,905,910?905,910,905,910?905,910,905,910?905,910,905,910?900,913,900,913?897,913,897,915?897,921,894,923?892,931,892,937?889,945,886,950?884,963,881,971?873,982,870,992?868,1003,865,1016?863,1024,860,1032?860,1042,860,1048?860,1050,860,1053?860,1056,863,1058?865,1061,868,1061?870,1064,873,1064?881,1064,884,1061?889,1061,894,1058?900,1053,908,1050?913,1048,918,1042?923,1035,931,1032?934,1027,939,1021?942,1019,945,1013?947,1003,950,997?952,992,952,987?955,976,955,971?960,966,960,963?960,955,960,950?960,947,960,945?960,942,960,939?955,937,955,934?952,934,950,931?947,931,945,931?942,931,937,931?931,931,926,931?921,934,915,934?910,934,908,937?900,937,897,937?894,937,892,937?889,937,886,937?886,937,884,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,878,937?878,937,878,9391101,1021,1101,1021?1101,1021,1103,1024?1103,1024,1106,1024?1109,1024,1111,1021?1114,1021,1117,1019?1119,1019,1124,1016?1127,1016,1132,1016?1135,1013,1138,1013?1143,1013,1146,1013?1154,1013,1159,1013?1164,1013,1169,1013?1180,1013,1188,1013?1196,1013,1206,1013?1214,1013,1225,1008?1238,1008,1246,1008?1257,1005,1270,1005?1278,1005,1289,1005?1294,1003,1302,1003?1307,1003,1310,1003?1315,1003,1318,1003?1318,1003,1318,1003?1318,1003,1318,1003?1318,1003,1318,1003?1320,1003,1320,1003?1320,1003,1320,1000?1323,1000,1323,997966,1082,966,1082?966,1082,966,1082?966,1085,968,1087?968,1087,971,1090?971,1090,974,1090?976,1095,979,1095?982,1098,987,1098?990,1101,992,1103?995,1103,997,1106?1003,1109,1005,1109?1008,1111,1016,1114?1021,1114,1024,1117?1029,1119,1035,1119?1042,1124,1048,1124?1053,1127,1061,1127?1072,1130,1080,1130?1087,1130,1098,1132?1106,1132,1114,1132?1124,1132,1132,1132?1140,1132,1151,1132?1156,1132,1164,1132?1169,1132,1177,1132?1180,1132,1185,1132?1188,1132,1191,1132?1193,1132,1196,1135?1199,1135,1199,1135?1199,1135,1199,1135?1199,1135,1199,1135?1199,1135,1199,1135?1199,1135,1199,1132]formXml[
762,2249,762,2249?762,2254,762,2257?767,2260,767,2262?767,2265,770,2265?775,2265,778,2265?783,2262,788,2262?796,2260,804,2257?812,2254,818,2252?828,2249,833,2246?839,2241,844,2236?852,2233,857,2230?863,2228,865,2225?868,2222,873,2220?878,2215,881,2212?881,2209,884,2207?886,2204,886,2204?886,2204,886,2201?886,2201,886,2199?884,2199,884,2199?881,2199,881,2199?878,2199,878,2199?878,2199,881,2201?881,2201,884,2204?884,2204,886,2207?886,2207,886,2209?889,2212,889,2212?889,2212,889,2212?889,2215,889,2215815,2275,815,2275?812,2281,810,2283?810,2286,807,2289?807,2291,807,2297?810,2302,810,2307?810,2312,810,2320?810,2328,812,2336?812,2347,815,2357?815,2368,818,2376?823,2389,826,2400?828,2410,831,2421?833,2429,836,2434?841,2442,844,2447?852,2450,855,2453?860,2455,863,2455?868,2455,873,2455?878,2455,884,2455?886,2453,892,2453?894,2450,900,2447?905,2445,910,2439?913,2434,918,2432?921,2426,923,2421?926,2418,931,2413?934,2405,934,2405833,2405,833,2405?836,2405,836,2410?839,2405,841,2405?844,2402,849,2397?855,2394,857,2389?863,2387,865,2384?870,2376,873,2373?878,2371,881,2368?886,2365,889,2363?892,2360,894,2357?897,2355939,2318,939,2318?942,2315,942,2315?945,2312,945,2312?947,2312,950,2315?952,2318,955,2320?955,2323,960,2328?960,2331,963,2336?963,2342,963,2347?966,2355,966,2363?966,2368,966,2376?966,2387,963,2394?963,2400,963,2405?963,2413,960,2418?960,2421,960,2424?960,2424,960,2426?960,2426,960,2426?960,2426,960,2426992,2297,992,2297?992,2294,992,2294?995,2294,995,2294?995,2294,995,2294?997,2297,997,2302?997,2307,997,2312?997,2318,997,2328?997,2336,997,2344?997,2355,997,2363?995,2373,995,2384?995,2394,992,2402?992,2416,992,2424?990,2434,990,2445?987,2455,987,2466?987,2474,982,2479?982,2487,982,2492?982,2498,982,25001177,2199,1177,2199?1180,2196,1183,2196?1183,2196,1183,2196?1185,2199,1185,2199?1185,2201,1183,2204?1180,2209,1177,2215?1172,2222,1169,2230?1164,2238,1159,2249?1154,2257,1146,2265?1140,2275,1135,2283?1130,2289,1124,2294?1119,2297,1114,2302?1111,2305,1111,2305?1111,2305,1111,2305?1111,2302,1114,2297?1117,2297,1119,2294?1124,2289,1130,2286?1135,2283,1138,2283?1143,2281,1151,2278?1156,2275,1164,2275?1169,2273,1180,2267?1188,2265,1196,2262?1206,2262,1214,2260?1222,2257,1233,2254?1238,2254,1244,2252?1249,2252,1254,2252?1257,2252,1262,2252?1265,2252,1267,2252?1270,2252,1270,2252?1270,22521069,2402,1069,2402?1061,2416,1053,2426?1048,2432,1042,2442?1035,2445,1032,2447?1032,2450,1032,2453?1035,2453,1037,2450?1048,2447,1053,2445?1064,2442,1077,2439?1087,2432,1101,2429?1114,2424,1130,2418?1143,2416,1162,2410?1177,2405,1191,2400?1209,2397,1222,2394?1236,2389,1249,2389?1262,2387,1273,2384?1283,2379,1294,2379?1299,2376,1307,2376?1315,2376,1320,2373?1323,2373,1328,2373?1331,2373,1331,2373?1334,2371,1336,2371?1336,2368,1336,23681315,2222,1315,2222?1315,2222,1318,2225?1320,2222,1323,2222?1328,2220,1336,2215?1347,2212,1355,2209?1365,2207,1376,2204?1384,2201,1392,2199?1402,2196,1410,2196?1416,2193,1421,2193?1431,2191,1434,2191?1439,2185,1442,2185?1445,2185,1447,2185?1447,2185,1447,2185?1447,2185,1445,2191?1442,2193,1439,2199?1434,2204,1429,2209?1418,2220,1416,2228?1410,2236,1405,2246?1400,2254,1392,2262?1389,2273,1386,2281?1384,2289,1381,2297?1381,2307,1381,2312?1384,2320,1384,2328?1386,2334,1389,2339?1397,2344,1400,2347?1405,2350,1410,2355?1413,2355,1418,2357?1426,2357,1431,2357?1437,2355,1442,2355?1445,2350,1453,2347?1458,2344,1460,2342?1466,2339,1468,2336?1471,2334,1471,2328?1471,2323,1471,2318?1468,2312,1466,2310?1463,2305,1458,2302?1453,2294,1445,2294?1439,2291,1434,2289?1431,2289,1426,2289?1421,2289,1418,2289?1416,2289,1413,2289?1413,2289,1413,2289?1413,2289,1413,2289?1413,2291,1416,2291?1416,2291,1418,2289?1426,2289,1429,2289?1434,2289,1442,2286?1447,2286,1455,2283?1460,2283,1468,2283?1474,2281,1482,2281?1487,2278,1490,2278?1492,2275,1495,2275?1495,2275,1495,2275?1498,22751355,2432,1355,2432?1355,2445,1355,2450?1357,2455,1360,2458?1365,2461,1373,2461?1381,2461,1392,2458?1408,2455,1421,2453?1437,2450,1453,2445?1468,2439,1484,2432?1498,2426,1513,2421?1524,2418,1540,2413?1548,2405,1561,2400?1569,2394,1577,2392?1585,2387,1593,2384?1598,2376,1603,2373?1609,2371,1611,23681249,2662,1249,2662?1249,2664,1249,2667?1246,2667,1246,2670?1244,2670,1241,2672?1238,2672,1236,2675?1233,2675,1233,2675?1233,2678,1233,2678?1228,2678,1228,2680?1228,2686,1228,2688?1233,2688,1233,26881262,2667,1262,2667?1262,2672,1262,2675?1257,2680,1254,2686?1254,2688,1254,2691?1251,2693,1251,2696?1251,2696,1251,2696?1251,2696,1251,2696?1251,26961241,2667,1241,2667?1241,2672,1244,2678?1244,2680,1244,2680?1244,26801254,2662,1254,2662?1257,2667,1257,2670?1257,2670,1257,2670?1257,2670,1257,26701278,2651,1278,2651?1281,2656,1283,2659?1283,2659,1289,2662?1289,2662,1289,2664?1289,26641289,2699,1289,2699?1283,2715,1281,2725?1278,2733,1273,2744?1270,2749,1267,2752196,1627,196,1627?198,1625,198,1625?198,1622,198,1622?198,1619,201,1619?201,1617,201,1617?201,1617,201,1617?201,1611,201,1611?201,1611,201,1611?201,1611,201,1609?201,1609,201,1609?201,1609,201,1609?201,1609,201,1609?201,1609,201,1609?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?201,1606,201,1606?198,1606,198,1606?198,1609,198,1609?196,1611,196,1617?196,1619,196,1622?196,1622,196,1625?193,1627,193,1627?193,1630,193,1630?193,1630,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?193,1632,193,1632?196,1632,196,1632?198,1632,201,1632?201,1632,206,1630?209,1627,212,1627?220,1625,222,1622?228,1619,230,1617?235,1611,241,1609?243,1606,251,1603?254,1601,259,1601?262,1598,265,1598?265,1598,265,1595?265,1595,265,1595?265,1595,265,1595?265,1595,265,1595?265,1595,265,1595?267,1595,267,1595?265,1595,265,1595?265,1595,265,1595?265,1595,265,1595?262,1595,262,1595?262,1595,262,1595?262,1595,262,1595?262,1595,262,1595?262,1595,262,1598?259,1598,259,1598?257,1601175,1683,175,1683?175,1683,175,1683?175,1683,175,1683?175,1683,175,1683?175,1683,175,1683?177,1683,177,1683?177,1683,177,1683?180,1683,180,1683?183,1683,183,1683?183,1683,185,1683?185,1685,185,1685?188,1688,188,1691?188,1691,193,1693?193,1699,193,1701?193,1701,196,1704?196,1707,196,1709?198,1712,198,1714?198,1714,198,1714?201,1717,201,1717?201,1717,201,1717?201,1717,201,1717?201,1717,201,1717?201,1717,201,1717?204,1717,204,1714?206,1712,206,1709?209,1707,212,1704?214,1699,214,1693?220,1688,220,1685?222,1683,222,1680?225,1677,225,1675?225,1675,225,1672?225,1672,225,1672?225,1672,225,1672?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667,225,1667?225,1667177,1736,177,1736?177,1736,177,1736?177,1738,177,1738?177,1738,177,1741?177,1741,177,1741?177,1741,177,1744?177,1744,177,1746?180,1746,180,1749?183,1749,185,1754?185,1754,188,1757?188,1759,188,1759?193,1762,193,1765?196,1767,196,1767?196,1770,196,1773?198,1775,198,1781?198,1783,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,198,1786?198,1786,201,1786?201,1783,201,1781?201,1775,201,1773?204,1770,204,1765?204,1762,206,1759?206,1757,209,1754?209,1754,212,1749?212,1749,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?212,1746,212,1746?214,1749180,1799,180,1799?177,1802,177,1802?175,1802,175,1802?175,1802,175,1802?175,1802,175,1802?175,1802,175,1802?175,1802,175,1802?175,1807,172,1807?172,1810,172,1812?172,1815,172,1818?172,1820,175,1823?175,1826,175,1828?175,1831,175,1836?175,1839,175,1842?175,1844,175,1847?175,1849,175,1852?175,1852,175,1852?175,1852,175,1852?175,1852,175,1852?175,1852,175,1852?175,1852,177,1852?177,1849,177,1849?177,1847,177,1844?177,1842,177,1839?177,1836,177,1831?177,1828,177,1826?177,1826,177,1823?177,1820,177,1820?177,1818,177,1818?177,1818,177,1815?177,1815,177,1812?177,1812,177,1812?177,1810,177,1810?177,1810,177,1810?177,1810,177,1810?177,1810,177,1810?177,1810,177,1810?177,1810,180,1810?180,1812,180,1812?180,1815,183,1818?183,1820,183,1826?183,1831,183,1836?183,1842,183,1844?183,1849,183,1852?183,1857,183,1863?183,1868,183,1871?185,1873,185,1876?185,1876,185,1876?185,1876,185,1876?185,1876,185,1876?185,1876,188,1873?188,1871,193,1868?193,1863,196,1855?198,1847,198,1842?201,1836,204,1828?206,1823,206,1820?209,1818,209,1812?209,1810,212,1810?212,1810,212,1810?212,1810,212,1810?209,1810,209,1812?209,1815,209,1815?209,1818,206,1823?206,1826,206,1828?204,1828,204,1831?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,204,1836?204,1836,201,1836?201,1836,201,1836?201,1831,201,1831?201,1831,201,1831?201,1831,201,1831?201,1831,201,1831?201,1836,198,1836?198,1839,198,1844?196,1849,196,1855?193,1865,193,1873?188,1879,188,1884?185,1894,185,1900?183,1905,183,1908?180,1913,180,1918?177,1921,177,1921?177,1921,177,1921?177,1921,177,1921?177,1921,175,1921?175,1921,172,1921?172,1918,169,1913?169,1910,167,1908?167,1905,167,1902?167,1900,167,1900?167,1897,167,1897?167,1897,167,1894?161,1892,161,1892?161,1886,161,1886?161,1884,159,1884?159,1881,159,1881?159,1879,159,1879?159,1879,159,1879?159,1879,159,1879?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,156,1876?156,1876,159,1879?159,1879,159,1881?159,1881,159,1884?161,1886,161,1886?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1892?167,1892,167,1894?167,1894,167,1897?167,1897,167,1900?167,1902,167,1908?167,1910,167,1918?167,1921,167,1926?169,1931,169,1937?169,1945,169,1950?172,1958,172,1963?172,1968,175,1976?175,1979,175,1982?175,1987,175,1990?175,1990,175,1990?175,1990,175,1990?175,1990,175,1990?175,1990,175,1990?175,1990,175,1990?177,1990,177,1990?177,1987,180,1984?180,1982,180,1979?183,1976,183,1974?185,1968,185,1966?188,1963,193,1961?196,1955,198,1953?201,1950,204,1947?206,1945,209,1939?212,1937,220,1934?222,1931,225,1929?228,1926,230,1924?233,1921,235,1918?235,1913,238,1913?238,1910,241,1908?241,1905,241,1902?241,1902,241,1902?241,1902,241,1902?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?243,1900,243,1900?241,1902,241,1902?241,1905,241,1908?238,1910,235,1913?235,1918,233,1921?233,1926,230,1929?228,1934,225,1939?222,1950,220,1955?214,1961,212,1968?209,1979,206,1984?204,1992,201,2003?196,2011,193,2016?188,2027,185,2032?183,2040,183,2045?180,2051,180,2056?177,2061,177,2064?177,2066,175,2069?175,2069,175,2069?175,2069,175,2069?175,2069,177,2066?177,2064,177,2061?177,2058,180,2056?180,2048,180,2045?183,2043,183,2037?185,2035,188,2032?193,2027,196,2021?198,2016,201,2011?204,2008,206,2003?209,2000,212,1995?214,1992,220,1987?222,1984,225,1984?228,1982,230,1979?230,1979,233,1979?233,1976,235,1976?235,1976,235,1976?235,1976,235,1976?235,1976,238,1976?238,1976,238,1979?238,1979,238,1982?238,1984,238,1987?238,1990,238,1992?235,1995,235,2000?235,2003,233,2006?233,2008,233,2013?230,2016,230,2019?228,2021,228,2027?228,2032,225,2035?222,2040,222,2045?220,2051,214,2058?214,2064,212,2069?209,2074,206,2082?204,2088,201,2093?201,2101,198,2109?196,2114,196,2119?193,2125,188,2130?188,2138,188,2143?185,2146,185,2148?185,2151,185,2154?183,2156,183,2159?183,2164,183,2164?183,2164,183,2164?183,2164,183,2164?183,2167,183,2167?183,2167,183,2167?183,2167,183,2167?183,2167,183,2167?183,2167,185,2167?185,2164,188,2159?193,2156,196,2154?198,2151,201,2146?204,2143,209,2138?212,2130,220,2125?222,2119,228,2114?230,2109,235,2101?238,2096,243,2093?249,2088,251,2085?257,2082,259,2077?262,2074,265,2072?267,2069,267,2069?270,2066,270,2066?270,2066,270,2066?270,2066,270,2066?270,2066,270,2066?270,2066,270,2066?275,2066,275,2066?275,2069,275,2069?275,2072,270,2074?270,2082,267,2085?267,2090,265,2093?262,2098,259,2103?257,2111,254,2117?251,2122,249,2130?243,2138,238,2146?235,2151,233,2159?228,2167,225,2172?222,2178,220,2183?212,2191,209,2196?206,2201,206,2207?204,2209,201,2215?201,2220,201,2222?198,2225,198,2228?198,2228,198,2230?198,2230,198,2230?198,2230,198,2230?201,2230,201,2230?204,2230,204,2230?206,2230,209,2228?212,2225,214,2222?222,2215,225,2209?228,2207,233,2201?235,2196,241,2191?243,2183,249,2178?251,2175,254,2170?257,2167,259,2159?262,2156,265,2154?267,2151,270,2148?270,2148,275,2146?275,2146,275,2146?275,2146,278,2143?278,2143,278,2143?278,2143,278,2143?278,2143,278,2143?280,2143,280,2143?280,2146,280,2146?280,2148,280,2154?280,2156,278,2164?275,2167,275,2172?270,2178,267,2183?262,2193,259,2199?254,2207,251,2215?243,2225,238,2236?233,2246,228,2257?222,2265,214,2275?209,2283,204,2291?201,2297,198,2305?196,2310,193,2312?193,2312,193,2312?193,2312,193,2312?193,2312,196,2312?196,2312,198,2310?204,2307,206,2302?212,2297,214,2291?222,2289,225,2283?230,2278,233,2273?238,2267,241,2262?249,2260,251,2254?254,2252,259,2249?262,2246,265,2241?267,2241,270,2238?270,2236,275,2236?275,2233,278,2233?278,2233,278,2233?278,2233,278,2233?280,2233,280,2236?280,2236,280,2238?280,2241,280,2246?278,2249,278,2252?275,2257,275,2260?270,2265,267,2267?265,2275,265,2281?262,2283,259,2289?257,2294,254,2302?251,2307,251,2312?249,2320,249,2328?243,2334,243,2336?243,2342,243,2347?243,2350,243,2355?243,2357,243,2360?243,2363,249,2363?251,2365,251,2365?254,2365,257,2365?259,2365,262,2365?267,2363,270,2363?275,2357,280,2355?286,2347,291,2339?296,2328,304,2315?312,2302868,1873,868,1873?865,1879,865,1884?865,1884,865,1884?865,1884865,1910,865,1910?865,1918,865,1924?865,1924,865,1924908,1958,908,1958?908,1963,908,1968717,1881,717,1881?709,1905,709,1926?709,1947,714,1961?720,1976,728,1990?733,2008,741,2021?746,2037,749,2051?749,2066,749,2077?746,2088,743,2093?741,2098619,2249,619,2249?622,2260,624,2273?627,2283,627,2289?632,2294,632,2297?632,2302,627,2305?627,2307,624,2307908,908,908,908?908,908,908,910?908,910,905,910?905,910,905,910?905,910,905,910?905,910,905,910?900,913,900,913?897,913,897,915?897,921,894,923?892,931,892,937?889,945,886,950?884,963,881,971?873,982,870,992?868,1003,865,1016?863,1024,860,1032?860,1042,860,1048?860,1050,860,1053?860,1056,863,1058?865,1061,868,1061?870,1064,873,1064?881,1064,884,1061?889,1061,894,1058?900,1053,908,1050?913,1048,918,1042?923,1035,931,1032?934,1027,939,1021?942,1019,945,1013?947,1003,950,997?952,992,952,987?955,976,955,971?960,966,960,963?960,955,960,950?960,947,960,945?960,942,960,939?955,937,955,934?952,934,950,931?947,931,945,931?942,931,937,931?931,931,926,931?921,934,915,934?910,934,908,937?900,937,897,937?894,937,892,937?889,937,886,937?886,937,884,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,881,937?881,937,878,937?878,937,878,9391101,1021,1101,1021?1101,1021,1103,1024?1103,1024,1106,1024?1109,1024,1111,1021?1114,1021,1117,1019?1119,1019,1124,1016?1127,1016,1132,1016?1135,1013,1138,1013?1143,1013,1146,1013?1154,1013,1159,1013?1164,1013,1169,1013?1180,1013,1188,1013?1196,1013,1206,1013?1214,1013,1225,1008?1238,1008,1246,1008?1257,1005,1270,1005?1278,1005,1289,1005?1294,1003,1302,1003?1307,1003,1310,1003?1315,1003,1318,1003?1318,1003,1318,1003?1318,1003,1318,1003?1318,1003,1318,1003?1320,1003,1320,1003?1320,1003,1320,1000?1323,1000,1323,997966,1082,966,1082?966,1082,966,1082?966,1085,968,1087?968,1087,971,1090?971,1090,974,1090?976,1095,979,1095?982,1098,987,1098?990,1101,992,1103?995,1103,997,1106?1003,1109,1005,1109?1008,1111,1016,1114?1021,1114,1024,1117?1029,1119,1035,1119?1042,1124,1048,1124?1053,1127,1061,1127?1072,1130,1080,1130?1087,1130,1098,1132?1106,1132,1114,1132?1124,1132,1132,1132?1140,1132,1151,1132?1156,1132,1164,1132?1169,1132,1177,1132?1180,1132,1185,1132?1188,1132,1191,1132?1193,1132,1196,1135?1199,1135,1199,1135?1199,1135,1199,1135?1199,1135,1199,1135?1199,1135,1199,1135?1199,1135,1199,1132
] [Logging Date Time: 2016-11-09 11:39:35,120] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:39:35,120] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] PreparedStatement : [select ud1_num as seq from EFORM_CODE where main_cd = 'SEQUENCE' and sub_cd = :param0 for update] [Logging Date Time: 2016-11-09 11:39:35,122] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:39:35,122] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Parameters: [param0=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:39:35,122] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,122] ===================================================================================== SQL Command - Statement Id: [GET_SEQUENCE] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,124] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:39:35,124] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] PreparedStatement : [update EFORM_CODE set ud1_num = :param0 where main_cd = 'SEQUENCE' and sub_cd = :param1] [Logging Date Time: 2016-11-09 11:39:35,126] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1730], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:39:35,126] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Parameters: [param0=[ud1_num,1730], param1=[sub_cd,CONSENT_DATA]] [Logging Date Time: 2016-11-09 11:39:35,126] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,126] ===================================================================================== SQL Command - Statement Id: [UPDATE_SEQUENCE] Types: [param0=[Int32, System.Int32], param1=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,130] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:39:35,130] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] PreparedStatement : [UPDATE CONSENT_MST SET CONSENT_STATE = :param0 , COMPLETE_YN = :param1 , COMPLETE_DATETIME = '', PAPER_YN = :param2 , MODIFY_USER_ID = :param3 , MODIFY_DATETIME = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), MODIFY_USER_NAME = COM.FN_ZS_GETUSERNM( :param3 , TO_CHAR(SYSDATE, 'YYYYMMDD')) WHERE CONSENT_MST_RID = :param4] [Logging Date Time: 2016-11-09 11:39:35,131] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,TEMP], param1=[completeYn,N], param2=[paperYn,N], param3=[userId,103619], param4=[consentMstRid,301]] [Logging Date Time: 2016-11-09 11:39:35,131] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Parameters: [param0=[consentState,TEMP], param1=[completeYn,N], param2=[paperYn,N], param3=[userId,103619], param4=[consentMstRid,301]] [Logging Date Time: 2016-11-09 11:39:35,131] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:39:35,131] ===================================================================================== SQL Command - Statement Id: [UPDATE_CONSENT_MST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[Int32, System.Int32]] [Logging Date Time: 2016-11-09 11:39:35,132] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] PreparedStatement : [insert into CONSENT_DATA ( CONSENT_DATA_RID, CONSENT_MST_RID, FORM_RID, DEVICE_TYPE, DEVICE_IDENT_NO, COMPLETE_YN, CREATE_USER_ID, CREATE_DATETIME, FORM_XML, DATA_XML ) values ( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param7 , :param8 )] [Logging Date Time: 2016-11-09 11:39:35,132] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] PreparedStatement : [insert into CONSENT_DATA ( CONSENT_DATA_RID, CONSENT_MST_RID, FORM_RID, DEVICE_TYPE, DEVICE_IDENT_NO, COMPLETE_YN, CREATE_USER_ID, CREATE_DATETIME, FORM_XML, DATA_XML ) values ( :param0 , :param1 , :param2 , :param3 , :param4 , :param5 , :param6 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param7 , :param8 )] [Logging Date Time: 2016-11-09 11:39:35,133] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Parameters: [param0=[consentDataRid,1730], param1=[consentMstRid,301], param2=[formRid,657], param3=[deviceType,WIN], param4=[deviceIdentNo,16-101-33], param5=[completeYn,N], param6=[userId,103619], param7=[formXml,System.Byte[]], param8=[dataXml,System.Byte[]]] [Logging Date Time: 2016-11-09 11:39:35,133] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Parameters: [param0=[consentDataRid,1730], param1=[consentMstRid,301], param2=[formRid,657], param3=[deviceType,WIN], param4=[deviceIdentNo,16-101-33], param5=[completeYn,N], param6=[userId,103619], param7=[formXml,System.Byte[]], param8=[dataXml,System.Byte[]]] [Logging Date Time: 2016-11-09 11:39:35,133] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Types: [param0=[Int32, System.Int32], param1=[Int32, System.Int32], param2=[Int32, System.Int32], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[Binary, System.Byte[]], param8=[Binary, System.Byte[]]] [Logging Date Time: 2016-11-09 11:39:35,133] ===================================================================================== SQL Command - Statement Id: [INSERT_CONSENT_DATA] Types: [param0=[Int32, System.Int32], param1=[Int32, System.Int32], param2=[Int32, System.Int32], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[Binary, System.Byte[]], param8=[Binary, System.Byte[]]] [Logging Date Time: 2016-11-09 11:39:35,181] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_device [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_device/ [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_device_ID [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_device_ID/16-101-33 [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_ocr_cd [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_ocr_cd/2016100560802 [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Pt_ID [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Pt_ID/ [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_sex_age_y_m [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_sex_age_y_m/ [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Pt_name [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Pt_name/ [Logging Date Time: 2016-11-09 11:39:35,182] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_JuminNo [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_JuminNo/ [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_roomNo [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_roomNo/ [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_ADdate [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_ADdate/ [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Dept [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Dept/ [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_formname [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_formname/ [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_OPdept [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_OPdept/ [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_OPdr [Logging Date Time: 2016-11-09 11:39:35,183] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_OPdr/ [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_Dx [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_Dx/ [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_maindr [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_maindr/±èÇö¼ö [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_signdate [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_signdate/ [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_signtime [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_signtime/ [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_printtime [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_printtime/2016-11-09 11:38:04 [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Pt_rel [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Pt_rel/ [Logging Date Time: 2016-11-09 11:39:35,184] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_sign_cause [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_sign_cause/ [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Ptname_write [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Ptname_write/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdMAAABPCAYAAACwLS8hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAOOSURBVHhe7d0ts9NAAAXQJ5FIJD8BiUQikUgkEonEIZFIJBKJRCKRSCQSiYS9YplM2aZJv9JNzpm5ivcgaUpudrNN7wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1u9+yYuSNxOTnwWAzXlY0irMTyV/ZuZLCQCszpOSVyW7Zfmh5EdJqxSPjTIFoGuZkq3FmaL8VtIqvEtGmQJwc4YFuTuyTN6VpMB+lbTK7dpRpgAsZliat1aQc6JMAbi4nksz23po6liZAjDboWnYpJfS/F2S7RwmK3qz0jf7mYyVaX7/aQkANK1hGvZnSasss0+PS8YcKtIkfx+3K+/fXOy0Lvh2k58FONoaSjPJNmfb35Y8K3lQcqwpRWpUelk5fnPKMPlckvdAjk3rmI0lvw9wUI+lWQuylZz8XpZkn7Jv56JIT1NLMBc0w6I7lI8lOa7n/hzw1GQbAP7puTSzvdnucxfkHO9LWttYs/UizfR4js/rkhRQps2XLMFzRZnChuXEltGZ0jyfPPyhte1Jz0V6zLRpcsrUaU/JvgIrUkeVuye1moycvpa0TgjXztg0bJLtrVOx90puXYr9e0lrX5cu0rlFuPS0aW/JawZ0qhbnUo/Cm5oeRpSnyv6MHYP82an7nN8/dLFUs5UR4bWSi4p6kdeKb/+BTvRQnFsozX2y363XZJh81CarhVvlty+9TMHfejJjUItvLJm5yev+vCTv33xDENCpei/zVotzy6W5z6MShXf+TC3BJP9fUoT1PZn0cHsAOIMs7MhVcB2BtE4oS0VpzqNQ56VOneb+bEowK3yVIDBJ/WLpTCftW6xy7dQn/SjN042t5l1T5owYTZ0CR0kRpTBzAqnJSfaaKyPHFkxkcUq2Kas7T3nSD//roUwPLaapMW0KLCIFmg+ht05gl0xOjvl3c+IzqlxWpiqHhXSpjyHVKfixGBECXUhp5WSVXGvUqTj7k3up9XObxybHu6fP3AKMGj4z9NIrbRUnAKt0qXti+XC94gRgE85VpinPLATKPbZD340JAKsyt0yH970y8szKSOUJwKZNKdMUZ1b2mqoFgIaxMs2CodzvBABGjD0yLiNSAGCCfaNTZQoAEylTADjR8MENw/iCYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGCl7u7+ApYiML58AuGTAAAAAElFTkSuQmCC [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Ptsign [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Ptsign/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOkAAABPCAYAAAAOcuIQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJWSURBVHhe7dwtjxNRGAXglUgkPwGJRCKRSCQSiUTikEgkEolEIpFIJJKfgIT3kL5hMrltadN2ZrvPkxy3m+y2c+Z+zG1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA6/Kk8qryZk/yc8AWDyspyevKqECH5kPlW+X3AcnvARsZ2b5UvldGhVkiSgoTnyujoiwZJYWNR5VPlVFRloySQslacVSQNURJoSgprNzSJf1ZyYbVNJl6e/wCG+co6ah4nWxQZYR8WnlQAfY4VUlTwIyAKeCpksdCGVEThebOWvOadFt6VP5YGZV7X3JAo8ufnW1YtdtY0nNlOk3P6zIq+L68qPQNAE5CSc+fnOKaLweyJk+Rc/wSdlLS9eRr5Zhp/LNKCn+vwhXK+qyneNty6MF4WTZd9lGhR8mobm1+Je5XcsfOnTtv7tvKvNCnyujik/PnRyWv/7vKvMyd3ngzcvNX3xiS55W+UDIlnBf7f/KrMro45bhkvZ33oovrURkn9bjSN4Dp52Zz4GJU8F3JFHN0Ed/F5EaY1+R9pV/TjlGYVegPzGet1xdnj/zK/C89Ck9LnAMs1sesRpc56Ys0u+3TEXpXrnlDL8+s5wV+WTGd5lY6dkNvTd/CcUjyt3dx83/D1esRvb8cbl7mabL7OyrOUsnfC8xk5O71djbZMjUdFegSUVI4QEbjnF3u8l5iFFZSOLFeP6dcOcs8LfExI7KSwoVlfZxd3PlhlW2HUJQUViKHH7J7PX9Elek1AAAAAAAAAAAAAAAAAAAAAABrc3PzB3icbMaeR9+kAAAAAElFTkSuQmCC [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_JuminNo [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_JuminNo/ [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_Drname_write [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_Drname_write/ [Logging Date Time: 2016-11-09 11:39:35,185] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/O_drsign [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary 1 : O_drsign/ [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_INPUTNM [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_INPUTNM/Á¤ÀÎ¹Ì [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 8/base_info [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary : IO_Pt_ID [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_Pt_ID/1139064 [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary : IO_sex_age_y_m [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_sex_age_y_m/M/26 [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary : IO_formname [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_formname/¼ºÀÎ ÀÔ¿ø»ýȰ ¾È³»¹® [Logging Date Time: 2016-11-09 11:39:35,186] ===================================================================================== SQL Command - DataXmlToDictionary : IO_Pt_name [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_Pt_name/°í°¡Çü [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : IO_JuminNo [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_JuminNo/900422-1****** [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : IO_roomNo [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_roomNo/91/901 [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : IO_ADdate [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_ADdate/2016/10/05 [Logging Date Time: 2016-11-09 11:39:35,187] ===================================================================================== SQL Command - DataXmlToDictionary : IO_Dept [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 2 : IO_Dept/IG [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_bp [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_bp/ [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_dm [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_dm/ [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_heart [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_heart/ [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_kidney [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_kidney/ [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_respiration [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_respiration/ [Logging Date Time: 2016-11-09 11:39:35,188] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_hx [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_hx/ [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_allergy [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_allergy/ [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_drug [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_drug/ [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_smoking [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_smoking/ [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_idio [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_idio/ [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_nacrotics [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_nacrotics/ [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_airway [Logging Date Time: 2016-11-09 11:39:35,189] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_airway/ [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_hemorrhage [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_hemorrhage/ [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/IO_status_etc [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary 1 : IO_status_etc/ [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 0/page-template-data [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 1/pen-drawing [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 4/changed-form [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary : attach-page [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary : 2 [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary : pagetemplates [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary : 0 [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary : externalgroups [Logging Date Time: 2016-11-09 11:39:35,190] ===================================================================================== SQL Command - DataXmlToDictionary : 1 [Logging Date Time: 2016-11-09 11:39:35,191] ===================================================================================== SQL Command - DataXmlToDictionary : changed [Logging Date Time: 2016-11-09 11:39:35,191] ===================================================================================== SQL Command - DataXmlToDictionary : 0 [Logging Date Time: 2016-11-09 11:39:35,191] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 0/viewer-info [Logging Date Time: 2016-11-09 11:39:35,191] ===================================================================================== SQL Command - DataXmlToDictionary 0 : 0/form-info [Logging Date Time: 2016-11-09 11:39:35,191] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] PreparedStatement : [DECLARE v_cnt NUMBER:=0; BEGIN SELECT COUNT(*) INTO V_CNT FROM CONSENT_DATA_EX WHERE PID = :param0 AND CLN_DATE = :param1 ; IF v_cnt = 0 THEN insert into consent_data_ex (pid, cln_date, use_yn, bp, dm, heart, kidney, respiration, hx, allergy, drug, smoking, idio, nacrotics, airway, hemorrhage, etc, create_user_id, create_datetime, modify_user_id, modify_datetime) values ( :param0 , :param1 ,'Y', :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss')); ELSE update consent_data_ex set bp = :param2 , dm = :param3 , heart = :param4 , kidney = :param5 , respiration = :param6 , hx = :param7 , allergy = :param8 , drug = :param9 , smoking = :param10 , idio = :param11 , nacrotics = :param12 , airway = :param13 , hemorrhage = :param14 , etc = :param15 , modify_user_id = :param16 , modify_datetime = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss') where PID = :param0 AND CLN_DATE = :param1 ; END IF; END;] [Logging Date Time: 2016-11-09 11:39:35,191] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] PreparedStatement : [DECLARE v_cnt NUMBER:=0; BEGIN SELECT COUNT(*) INTO V_CNT FROM CONSENT_DATA_EX WHERE PID = :param0 AND CLN_DATE = :param1 ; IF v_cnt = 0 THEN insert into consent_data_ex (pid, cln_date, use_yn, bp, dm, heart, kidney, respiration, hx, allergy, drug, smoking, idio, nacrotics, airway, hemorrhage, etc, create_user_id, create_datetime, modify_user_id, modify_datetime) values ( :param0 , :param1 ,'Y', :param2 , :param3 , :param4 , :param5 , :param6 , :param7 , :param8 , :param9 , :param10 , :param11 , :param12 , :param13 , :param14 , :param15 , :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss'), :param16 , TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss')); ELSE update consent_data_ex set bp = :param2 , dm = :param3 , heart = :param4 , kidney = :param5 , respiration = :param6 , hx = :param7 , allergy = :param8 , drug = :param9 , smoking = :param10 , idio = :param11 , nacrotics = :param12 , airway = :param13 , hemorrhage = :param14 , etc = :param15 , modify_user_id = :param16 , modify_datetime = TO_CHAR(SYSDATE,'yyyy-mm-dd hh24:mi:ss') where PID = :param0 AND CLN_DATE = :param1 ; END IF; END;] [Logging Date Time: 2016-11-09 11:39:35,192] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Parameters: [param0=[patientCode,1139064], param1=[clnDate,20161005], param2=[bp,], param3=[dm,], param4=[heart,], param5=[kidney,], param6=[respiration,], param7=[hx,], param8=[allergy,], param9=[drug,], param10=[smoking,], param11=[idio,], param12=[nacrotics,], param13=[airway,], param14=[hemorrhage,], param15=[status_etc,], param16=[userId,103619]] [Logging Date Time: 2016-11-09 11:39:35,192] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Parameters: [param0=[patientCode,1139064], param1=[clnDate,20161005], param2=[bp,], param3=[dm,], param4=[heart,], param5=[kidney,], param6=[respiration,], param7=[hx,], param8=[allergy,], param9=[drug,], param10=[smoking,], param11=[idio,], param12=[nacrotics,], param13=[airway,], param14=[hemorrhage,], param15=[status_etc,], param16=[userId,103619]] [Logging Date Time: 2016-11-09 11:39:35,192] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String], param16=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,192] ===================================================================================== SQL Command - Statement Id: [SET_MEDI_HISTORY] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String], param4=[AnsiString, System.String], param5=[AnsiString, System.String], param6=[AnsiString, System.String], param7=[AnsiString, System.String], param8=[AnsiString, System.String], param9=[AnsiString, System.String], param10=[AnsiString, System.String], param11=[AnsiString, System.String], param12=[AnsiString, System.String], param13=[AnsiString, System.String], param14=[AnsiString, System.String], param15=[AnsiString, System.String], param16=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,264] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:39:35,264] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] PreparedStatement : [SELECT CM.CONSENT_MST_RID , DECODE(CM.CONSENT_STATE, 'TEMP' ,'ÀÓ½ÃÀúÀå', 'ELECTR_CMP', '¼­¸í', 'PAPER_OUT', 'Ãâ·Â' , 'CERTIFY_CMP', 'ÀÎÁõ', 'UNFINISHED', '¹ÌÀÛ¼º', 'VERBAL', '±¸µÎ') AS CONSENT_STATE_DISP , VEF.FORM_NAME AS CONSENT_NAME , CM.HOS_TYPE , CM.PID , CM.VISIT_TYPE , CM.ORDER_NO , CM.ORDER_CD , CM.ORDER_NAME , CM.CLN_DEPT_CD , (SELECT DEPTHNGNM FROM COM.ZSDDDEPT WHERE DEPTCD = CM.CLN_DEPT_CD and valitodd = '99991231' and instcd = '111') AS CLN_DEPT_NM , COM.FN_ZS_GETDEPTNAME('111', (select dept.deptcd from com.zsdddept dept where dept.instcd = '111' and dept.valitodd = '99991231' and dept.deptengabbr = CM.WARDCD), '99991231') as WARDCD , CM.ROOMCD , CM.FORM_RID , VEF.FORM_CD , VEF.FORM_GUID , C.PRNTCNT , CM.CONSENT_STATE AS CONSENT_STATE , CM.OCR_NUMBER , CM.COSIGN_DC_ID , CM.COSIGN_DC_NAME , CM.MODIFY_USER_ID AS CREATE_USER_ID , CM.MODIFY_USER_NAME AS CREATE_USER_NAME , CM.MODIFY_DATETIME AS CREATE_DATETIME , CM.CLN_DATE , CM.CRETNO , (SELECT OCRTAGPRNTYN FROM V_EFORM_FORMDOC F WHERE F.FORM_RID = CM.FORM_RID ) AS OCRTAGPRNTYN FROM CONSENT_MST CM INNER JOIN EFORM_DOCUMENT VEF ON VEF.FORM_RID = CM.FORM_RID, EMR.MRFMFORM C WHERE CM.USE_YN = 'Y' AND CM.PID = :param0 AND TO_CHAR(TO_DATE(CM.CREATE_DATETIME, 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDD') BETWEEN :param1 and :param2 AND VEF.FORM_CD = C.FORMCD AND C.instcd = '111' AND C.formprogflag LIKE 'OCR%' AND C.formlevlcd != '-' AND SUBSTR (C.formtodt, 1, 8) = '99991231' AND CM.CONSENT_STATE IN ('UNFINISHED','TEMP') ORDER BY CONSENT_STATE DESC, CREATE_DATETIME DESC] [Logging Date Time: 2016-11-09 11:39:35,264] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,1139064], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:39:35,264] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Parameters: [param0=[patientCode,1139064], param1=[startDt,20010601], param2=[endDt,20161109]] [Logging Date Time: 2016-11-09 11:39:35,264] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:39:35,264] ===================================================================================== SQL Command - Statement Id: [GET_CONSENT_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:50,868] ===================================================================================== SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, 'Áø·á°ú' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC] [Logging Date Time: 2016-11-09 11:47:50,868] ===================================================================================== SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, 'Áø·á°ú' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC] [Logging Date Time: 2016-11-09 11:47:50,868] ===================================================================================== SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]] [Logging Date Time: 2016-11-09 11:47:50,868] ===================================================================================== SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]] [Logging Date Time: 2016-11-09 11:47:50,868] ===================================================================================== SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:50,868] ===================================================================================== SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,005] ===================================================================================== SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, 'Áø·áÀÇ' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid] [Logging Date Time: 2016-11-09 11:47:51,005] ===================================================================================== SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, 'Áø·áÀÇ' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid] [Logging Date Time: 2016-11-09 11:47:51,006] ===================================================================================== SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161109]] [Logging Date Time: 2016-11-09 11:47:51,006] ===================================================================================== SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161109]] [Logging Date Time: 2016-11-09 11:47:51,006] ===================================================================================== SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,006] ===================================================================================== SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,362] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:47:51,362] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and b.psnworkyn = 'Y' and a.usertodd = '99991231' and b.userid = :param0] [Logging Date Time: 2016-11-09 11:47:51,362] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,104806]] [Logging Date Time: 2016-11-09 11:47:51,362] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,104806]] [Logging Date Time: 2016-11-09 11:47:51,362] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,362] ===================================================================================== SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,417] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:47:51,417] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] PreparedStatement : [SELECT a.orddeptcd, a.pid as IO_Pt_ID, to_char(a.cretno) as IO_CretNo, (select ptbs.sex || '/' || com.fn_zz_getageas(ptbs.rrgstno1, ptbs.rrgstno2, TO_CHAR(SYSDATE, 'YYYYMMDD'), 'A', ptbs.brthdd) from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_sex_age_y_m, (select ptbs.hngnm from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) as IO_Pt_Name, (select ptbs.rrgstno1 || '-' || substr(ptbs.rrgstno2, 1, 1) || '******' from pam.pmcmptbs ptbs where ptbs.instcd = a.instcd and ptbs.pid = a.pid) IO_JuminNo, (select dept.DEPTENGABBR from com.zsdddept dept where dept.deptcd = a.wardcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_Ward, a.roomcd as IO_roomNO, a.indd as IO_ADdate, a.dschdd as IO_Dschdd, a.ordtype as IO_VisitType, a.orddeptcd as IO_DeptCd, (select dept.deptengabbr from com.zsdddept dept where dept.deptcd = a.orddeptcd and dept.instcd = a.instcd and dept.valitodd >= a.indd and dept.valifromdd <= a.indd) as IO_DeptNm, COM.FN_ZS_GETDEPTNAME(a.instcd, a.orddeptcd, a.indd) AS IO_Dept2, '' AS IO_OPdeptCd, '' AS IO_OPdeptNm, '' AS IO_OPdrNm, '' AS IO_OPdrId, (SELECT diag.diagcd FROM emr.mmohdiag diag WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxCd, (SELECT term.diaghngnm FROM emr.mmohdiag diag, emr.mmbvdiag term WHERE diag.pid = a.pid AND diag.orddd = a.indd AND diag.cretno = a.cretno AND diag.instcd = term.instcd AND diag.diagcd = term.orgdiagcd AND diag.diaghistcd = 'O' AND diag.diagtypecd = 'D' AND diag.diagkindcdflag = 'M' AND diag.diagdd >= term.termfromdd AND diag.diagdd <= term.termtodd AND diag.diagdd >= term.diagattrfromdd AND diag.diagdd <= term.diagattrtodd AND diag.genrflagcd = a.ordtype AND diag.diaghistno = (select max(diagh.diaghistno) from emr.mmohdiag diagh where diagh.pid = a.pid AND diagh.orddd = a.indd AND diagh.cretno = a.cretno AND diagh.instcd = '111' AND diagh.diaghistcd = 'O' AND diagh.diagkindcdflag = 'M' AND diagh.genrflagcd = a.ordtype group by pid)) as IO_DxNm, '111' as IO_HosType, case when ex.bp is null then null else ex.bp end as IO_bp, case when ex.dm is null then null else ex.dm end as IO_dm, case when ex.heart is null then null else ex.heart end as IO_heart, case when ex.kidney is null then null else ex.kidney end as IO_kidney, case when ex.respiration is null then null else ex.respiration end as IO_respiration, case when ex.hx is null then null else ex.hx end as IO_hx, case when ex.allergy is null then null else ex.allergy end as IO_allergy, case when ex.drug is null then null else ex.drug end as IO_drug, case when ex.smoking is null then null else ex.smoking end as IO_smoking, case when ex.idio is null then null else ex.idio end as IO_idio, case when ex.nacrotics is null then null else ex.nacrotics end as IO_nacrotics, case when ex.airway is null then null else ex.airway end as IO_airway, case when ex.hemorrhage is null then null else ex.hemorrhage end as IO_hemorrhage, ex.etc IO_status_etc, '' as IO_OrderNo, '111' as IO_PrintTime, a.medispclid as IO_MaindrId, COM.FN_ZS_GETUSERNM(a.medispclid, a.indd) as IO_MaindrNm, '111' as IO_OcrCd, '111' as IO_InputId, '111' as IO_InputNm, '111' as IO_SignImg, a.fstrgstdt FROM pam.pmihinpt a left outer join emr.mmohoprs oprs on (oprs.pid = a.pid and oprs.ophistcd = 'O' and opcnfmdd >= a.indd ) left outer join cmr.consent_data_ex ex on (ex.pid = a.pid and ex.cln_date = a.indd) WHERE a.instcd = :param0 AND a.pid = :param1 AND a.indd = :param2 AND a.histstat = 'Y' AND a.mskind = 'M' AND a.cretno = :param3 order by a.fstrgstdt desc] [Logging Date Time: 2016-11-09 11:47:51,418] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1600043], param2=[orddd,20160919], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:47:51,418] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Parameters: [param0=[instcd,111], param1=[pid,1600043], param2=[orddd,20160919], param3=[cretno,1]] [Logging Date Time: 2016-11-09 11:47:51,418] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,418] ===================================================================================== SQL Command - Statement Id: [getPatientInfoIn] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,532] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:47:51,532] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, inpt.cretno FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' union all SELECT orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '¿Ü·¡' when ordtype = 'I' then 'ÀÔ¿ø' when ordtype = 'E' then 'ÀÀ±Þ' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, otpt.cretno FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2] [Logging Date Time: 2016-11-09 11:47:51,532] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,1600043], param2=[searchClnDate,20160919]] [Logging Date Time: 2016-11-09 11:47:51,532] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,1600043], param2=[searchClnDate,20160919]] [Logging Date Time: 2016-11-09 11:47:51,532] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]] [Logging Date Time: 2016-11-09 11:47:51,532] ===================================================================================== SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]]