1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>CyberKnife간호기록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <patpsn>
- <patpsninfo>
- <pid/>
- <hngnm/>
- <instcd/>
- <iogb/>
- <mpphontel/>
- <hometel/>
- <sex/>
- <age/>
- <rrgstno/>
- <homedetladdr/>
- </patpsninfo>
- </patpsn>
- <carerecinfo>
- <carerecmat>
- <ckno/>
- <cknoseq/>
- <cybplanimg/>
- <fiducialdd/>
- <fiducialhh/>
- <fiducialmm/>
- <rayphodd1/>
- <rayphohh1/>
- <rayphomm1/>
- <rayphodd2/>
- <rayphohh2/>
- <rayphomm2/>
- <reqinstcd/>
- <reqinstcd2/>
- <reqdeptcd1/>
- <reqdrid1/>
- <reqdeptcd2/>
- <reqdrid2/>
- <exeinstcd/>
- <exeinstcd2/>
- <execdeptcd1/>
- <execdrid1/>
- <execdeptcd2/>
- <execdrid2/>
- <pid/>
- <instcd/>
- <iudgb/>
- </carerecmat>
- <caresumdetl>
- <seq/>
- <curepartcnt/>
- <curefromdd/>
- <curetodd/>
- <cktype/>
- <tumkind/>
- <partgrupcd/>
- <partcd/>
- <diagnm/>
- <diagcd/>
- <cklocation/>
- <curecnt/>
- <memo/>
- <ckno/>
- <cknoseq/>
- <pid/>
- <curemdyn/>
- <partgrupnm/>
- <partnm/>
- </caresumdetl>
- <carerecdetl>
- <curepartcnt/>
- <pxseq/>
- <fx/>
- <seq/>
- <cureldd/>
- <bp/>
- <pulse/>
- <breth/>
- <bdtp/>
- <memo/>
- <ckno/>
- <cknoseq/>
- </carerecdetl>
- </carerecinfo>
- <popupendflag/>
- </main>
- <send>
- <reqdata>
- <pid/>
- <ckno/>
- <cknoseq/>
- <gb/>
- <suppdeptcd/>
- <srchflag/>
- </reqdata>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <popdata>
- <pid/>
- <ckno/>
- <cknoseq/>
- <lrgcd/>
- <partgrupcd/>
- <diagcd/>
- <diagnm/>
- <partcd/>
- <suppdeptcd/>
- </popdata>
- </send>
- <senddata>
- <execdata>
- <carerecmat/>
- <carerecdetl/>
- <caresumdetl/>
- </execdata>
- </senddata>
- <init>
- <cmb_info>
- <seqinfo>
- <cknoseq/>
- <cknoseqnm/>
- </seqinfo>
- </cmb_info>
- <cmb_info1>
- <partgrupcdlist>
- <basecd/>
- <basecdflagdesc/>
- </partgrupcdlist>
- <partcdlist>
- <basecd/>
- <basecdflagdesc/>
- </partcdlist>
- </cmb_info1>
- <cmbinfo>
- <instcd>
- <Z0007>
- <cdid/>
- <cdnm/>
- </Z0007>
- </instcd>
- </cmbinfo>
- <userlist>
- <usercombo>
- <userid/>
- <usernm/>
- </usercombo>
- </userlist>
- <userlist1>
- <usercombo>
- <userid/>
- <usernm/>
- </usercombo>
- </userlist1>
- <cmb_cdinfo>
- <targetnolist>
- <basecd/>
- <basecdflagdesc/>
- </targetnolist>
- <cktypelist>
- <basecd/>
- <basecdflagdesc/>
- </cktypelist>
- <tumorkindlist>
- <basecd/>
- <basecdflagdesc/>
- </tumorkindlist>
- <lesionlist>
- <basecd/>
- <basecdflagdesc/>
- </lesionlist>
- <tumortypelist>
- <basecd/>
- <basecdflagdesc/>
- </tumortypelist>
- <diagcdlist>
- <basecd/>
- <basecdflagdesc/>
- </diagcdlist>
- <locationlist>
- <basecd/>
- <basecdflagdesc/>
- </locationlist>
- <fractiontypelist>
- <basecd/>
- <basecdflagdesc/>
- </fractiontypelist>
- <fxlist>
- <basecd/>
- <basecdflagdesc/>
- </fxlist>
- </cmb_cdinfo>
- </init>
- <hidden>
- <instlist/>
- <reqinoutorddeptlist/>
- <exeinoutorddeptlist/>
- <reqinoutorddeptdoctorlist1/>
- <reqinoutorddeptdoctorlist2/>
- <exeinoutorddeptdoctorlist1/>
- <exeinoutorddeptdoctorlist2/>
- </hidden>
- <temp>
- <count/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //=====================================================================================================
- // 타병원조회를 위한 세팅
- //-----------------------------------------------------------------------------------------------------
- var instcd = "012";
- var rslt_ref = "/root/hidden/reqinoutorddeptlist1";
- var sort_field = "dispseq";
- var sort_method = "asc";
- var basedd = getCurrentDate();
-
- //zsdfGetInOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, basedd );
- zbcfGetKindCodeList(new Array("A0025"), new Array("Z0007"), new Array("/root/hidden/instlist"), true, new Array("cdnm"), new Array("asc"));
- //=====================================================================================================
-
-
- zbcfGetCodeList( new Array("Z0007"), new Array("/root/init/cmbinfo/instcd"));
-
- //병원코드
- submit("TRZBC00101", false);
-
- model.setValue("/root/send/reqdata/pid", model.getValue("/root/send/popdata/pid"));
- model.setValue("/root/send/reqdata/ckno", model.getValue("/root/send/popdata/ckno"));
-
- // model.setValue("/root/send/reqdata/pid", "58882"); //상준 테스트
- // model.setValue("/root/send/reqdata/ckno","922");
- // model.setValue("/root/send/reqdata/cknoseq","3");
- // 개발
- // model.setValue("/root/send/reqdata/pid", "19320891"); //상준 테스트
- // model.setValue("/root/send/reqdata/ckno","907");
- // model.setValue("/root/send/reqdata/cknoseq","1");
- aezfSetSuppDeptcd();
- model.setValue("/root/send/reqdata/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- //CKNO seq 갖고오기
- submit("TRAEA02601");
-
- // 저장되어 있던 정보를 보여준다
- combo1.select(0);
-
- //코드조회
- submit("TRAEA02605");
-
- //환자정보
- submit("TRAEA02602");
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/hidden1/orddeptlist";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
-
- submit("TRAEA02604");
-
- if (model.getValue("/root/send/reqdata/cknoseq") == ""){
- messageBox("해당 CK NO 순번이 없어서 간호기록을 할 수가 없습니다.", "E999", "");
- group1.disabled = true;
- btn_save.disabled = true;
- btn_del.disabled = true;
- button5.visible = false;
- return;
- }
-
-
- ]]>
- </script>
- <submission id="TRAEA02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patpsn"/>
- <submission id="TRAEA02603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/carerecinfo"/>
- <submission id="TRZBC00101"/>
- <submission id="TXAEA02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/senddata/execdata" resultref="/root/temp"/>
- <submission id="TXAEA02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/senddata/execdata" resultref="/root/temp"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAEA02604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info1"/>
- <submission id="TRAEA02605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_cdinfo"/>
- <submission id="TRAEA03902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init/tempdata"/>
- <!-- 타병원조회-->
- <submission id="TRZSU10117" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript">
- <![CDATA[
-
- /****************************************************************************************************************************************************
- @ 해당 조건에 대한 검사내역을 조회한다.
- *****************************************************************************************************************************************************/
- function readfunc(){
- model.removeNodeset("/root/main/carerecinfo/carerecdetl");
- model.removeNodeset("/root/main/carerecinfo/caresumdetl");
- //model.resetInstanceNode("/root/main/patpsn/patpsninfo");
- model.resetInstanceNode("/root/main/carerecinfo/carerecmat");
- if (submit("TRAEA02603")){
- btn_save.disabled = false;
- if (model.getValue("/root/main/carerecinfo/carerecmat/ckno") == ""){
- btn_del.disabled = true;
- model.setValue("/root/main/carerecinfo/carerecmat/iudgb", "I");
- model.setValue("/root/main/carerecinfo/carerecmat/ckno", model.getValue("/root/send/reqdata/ckno"));
- model.setValue("/root/main/carerecinfo/carerecmat/pid", model.getValue("/root/send/reqdata/pid"));
- model.setValue("/root/main/carerecinfo/carerecmat/cknoseq", model.getValue("/root/send/reqdata/cknoseq"));
- }else{
- btn_del.disabled = false;
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd1") == "" || model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd1") == "-"){
- }else{
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd1");
- var zsuResultRef = "/root/hidden/zsu/userlist";
- model.removenode(zsuResultRef);
- model.makenode(zsuResultRef);
- setParameter("dutplcecd", deptcd);
- setParameter("flag", "_D");
- submit("TRZSU10105", "false", getParameterPath(), zsuResultRef);
- model.copyNode("/root/hidden1/userlist", "/root/hidden/zsu/userlist");
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd2") == "" || model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd2") == "-"){
- }else{
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd2");
- var zsuResultRef = "/root/hidden/zsu/userlist";
- model.removenode(zsuResultRef);
- model.makenode(zsuResultRef);
- setParameter("dutplcecd", deptcd);
- setParameter("flag", "_D");
- submit("TRZSU10105", "false", getParameterPath(), zsuResultRef);
- model.copyNode("/root/hidden1/userlist1", "/root/hidden/zsu/userlist");
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd1") == "" || model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd1") == "-"){
- }else{
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd1");
- zsufGetUserInfoCombo(deptcd, "/root/init/userlist","_D");
- model.refresh();
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd2") == "" || model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd2") == "-"){
- }else{
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd2");
- zsufGetUserInfoCombo(deptcd, "/root/init/userlist1","_D");
- model.refresh();
- }
- }
-
- //의뢰병원 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/reqinstcd") != ''){
- cmb_reqhosp.dispatch("xforms-select");
- }
-
- //의뢰과1 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd1") != ''){
- cmb_reqdeptcd1.dispatch("xforms-value-changed");
- }
-
- //의뢰병원2 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/reqinstcd2") != ''){
- combo2.dispatch("xforms-select");
- }
-
- //의뢰과2 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd2") != ''){
- cmb_reqdeptcd2.dispatch("xforms-value-changed");
- }
-
- //시행병원 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/exeinstcd") != ''){
- cmb_exeinstcd.dispatch("xforms-select");
- }
-
- //치료과1 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd1") != ''){
- cmb_execdeptcd1.dispatch("xforms-value-changed");
- }
-
- //시행병원2 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/exeinstcd2") != ''){
- combo3.dispatch("xforms-select");
- }
-
- //치료과2 조회건수 있을경우 콤보박스 선택됨
- if( model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd2") != ''){
- cmb_execdeptcd2.dispatch("xforms-value-changed");
- }
- model.refresh();
- }
-
-
- /****************************************************************************************************************************************************
- @ 간호기록 저장시 항목체크
- *****************************************************************************************************************************************************/
- function datacheck(){
- if (isDate(model.getValue("/root/main/carerecinfo/carerecmat/fiducialdd")) == false){
- messageBox("Fiducial일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/fiducialhh") != ""){
- if (model.getValue("/root/main/carerecinfo/carerecmat/fiducialhh") > "23"){
- messageBox("Fiducial일자의 시간이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/fiducialmm") != ""){
- if (model.getValue("/root/main/carerecinfo/carerecmat/fiducialmm") > "59"){
- messageBox("Fiducial일자의 분이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- }
- if (isDate(model.getValue("/root/main/carerecinfo/carerecmat/rayphodd1")) == false){
- messageBox("방사선 촬영일자1 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphohh1") != ""){
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphohh1") > "23"){
- messageBox("방사선 촬영일자1의 시간이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphomm1") != ""){
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphomm1") > "59"){
- messageBox("방사선 촬영일자1의 분이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- }
- if (isDate(model.getValue("/root/main/carerecinfo/carerecmat/rayphodd2")) == false){
- messageBox("방사선 촬영일자2 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphohh2") != ""){
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphohh2") > "23"){
- messageBox("방사선 촬영일자2의 시간이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- }
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphomm2") != ""){
- if (model.getValue("/root/main/carerecinfo/carerecmat/rayphomm2") > "59"){
- messageBox("방사선 촬영일자2의 분이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- }
- for (var i = 1; i < grd_nurrec.rows; i ++){
- if (isDate(model.getValue("/root/main/carerecinfo/carerecdetl[" + i + "]/cureldd")) == false){
- messageBox("치료일의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- }
- return true;
- }
-
-
-
- /****************************************************************************************************************************************************
- @ 간호기록 저장
- *****************************************************************************************************************************************************/
- function ExecData(){
- /*
- for (var i = 1; i < grd_nursum.rows; i++){
- if (model.getValue("/root/main/carerecinfo/caresumdetl[" + i + "]/curepartcnt") == "" || model.getValue("/root/main/carerecinfo/caresumdetl[" + i + "]/curepartcnt") == "0"){
- messageBox("치료부위수는 필수 입력 항목입니다.", "E999", "");
- return;
- }
- if (isDate(model.getValue("/root/main/carerecinfo/caresumdetl[" + i + "]/curefromdd")) == false){
- messageBox(i + "번째 행의 치료시작일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return;
- }
- if (isDate(model.getValue("/root/main/carerecinfo/caresumdetl[" + i + "]/curetodd")) == false){
- messageBox(i + "번째 행의 치료종료일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return;
- }
- }
- */
-
- // 저장하기 전에 간호기록현황 에서 TatgetNo 필수입력 체크하기
- for (var i = 1; i < grd_nurrec.rows; i++){
- if (model.getValue("/root/main/carerecinfo/carerecdetl[" + i + "]/curepartcnt") == "" ){
- // alert (model.getValue("/root/main/carerecinfo/carerecdetl[" + i + "]/curepartcnt"));
- messageBox("간호기록 TatgetNo는 필수 입력 항목입니다.", "E999", "");
- return;
- }
- }
-
- var update = getGridUpdateData(grd_nurrec);
- model.setValue("/root/senddata/execdata/carerecdetl", update);
- var update1 = getGridUpdateData(grd_nursum);
- model.setValue("/root/senddata/execdata/caresumdetl", update1);
- model.copyNode("/root/senddata/execdata/carerecmat", "/root/main/carerecinfo/carerecmat");
- if (submit("TXAEA02601")){
- readfunc();
- }
- }
-
-
-
-
- /****************************************************************************************************************************************************
- @ 데이터 삭제
- *****************************************************************************************************************************************************/
- function DelData(){
- model.copyNode("/root/senddata/execdata/carerecmat", "/root/main/carerecinfo/carerecmat");
- if (submit("TXAEA02602")){
- submit("TRAEA02601");
- combo1.select(0);
- if (model.getValue("/root/send/reqdata/cknoseq") == ""){
- messageBox("해당 CK NO 순번이 없어서 간호기록을 할 수가 없습니다.", "E999", "");
- group1.disabled = true;
- btn_save.disabled = true;
- btn_del.disabled = true;
- return;
- }
- readfunc();
- }
- }
-
-
-
-
- /****************************************************************************************************************************************************
- @ 날짜 형식에 대한 적합여부 체크
- *****************************************************************************************************************************************************/
- function isDate(str) {
- if (str == "") return true; // 빈건 체크안함
- if (trim(str) == "") return true; // 빈건 체크안함
- if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
- if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
-
- var yy = new Number(str.substring(0, 4));
- var mm = new Number(str.substring(4, 6)) - 1;
- var dd = new Number(str.substring(6, 8));
- var date = new Date(yy, mm, dd);
- //alert(date.getFullYear() +"-" + (date.getMonth()+1) + "-" + date.getDate());
- if (yy != date.getFullYear() ||
- mm != date.getMonth() ||
- dd != date.getDate()) {
- return false; // 존재하지 않는 날짜
- }
-
- return true; // 존재하는 날짜
- }
-
-
- /****************************************************************************************************************************************************
- @ 문자에 대한 TRIM 작업
- *****************************************************************************************************************************************************/
- function trim(data){
- return data.replace(/(^\s*)|(\s*$)/g, "");
- }
- /****************************************************************************************************************************************************
- @ MD 승인된 데이터를 수정하려고 하면 수정못하게 막기위해 체크한다.
- *****************************************************************************************************************************************************/
- function CuremdynChk(){
- var row = 0;
- var row = grd_nursum.row;
- // alert("선택된로우넘버 : " + row);
- if(model.getValue("/root/main/carerecinfo/caresumdetl[" + row + "]/curemdyn")=="Y"){
- messageBox("승인","I001");
- return(0);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">CyberKnife 간호기록</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:165px; x2:1194px; y2:165px; "/>
- <group id="group2" style="left:1px; top:20px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" style="x1:1094px; y1:7px; x2:1094px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1110px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/send/reqdata/srchflag") == "ckno" ) {
-
- //CKNO seq 갖고오기
- submit("TRAEA02601");
- combo1.select(0);
-
- //등록번호 갖고오기
- submit("TRAEA03902");
- model.setValue("/root/send/reqdata/pid", model.getValue("/root/init/tempdata/pidinfo/pid"));
-
- //환자정보 조회
- submit("TRAEA02602");
- // 적용 후 flag값 초기화
- model.setValue("/root/send/reqdata/srchflag", "");
- }
- model.setValue("/root/send/reqdata/gb", "R");
- readfunc();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/send/reqdata/cknoseq" navindex="2" appearance="minimal" style="left:215px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/seqinfo">
- <label ref="cknoseqnm"/>
- <value ref="cknoseq"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- readfunc();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption47" class="search_name" style="left:20px; top:30px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">CK 번호 :</caption>
- <input id="ipt_basecd" ref="/root/send/reqdata/ckno" class="input_search" disabled="false" navindex="1" _chartype="upper" style="left:107px; top:28px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- model.setValue("/root/send/reqdata/srchflag", "ckno");
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <group id="group1" style="left:0px; top:60px; width:1194px; height:715px; ">
- <caption id="caption29" class="cell_1" style="left:0px; top:100px; width:140px; height:23px; vertical-align:middle; ">Fiducial 시행일</caption>
- <caption id="caption46" class="cell_1" style="left:0px; top:125px; width:140px; height:73px; vertical-align:middle; ">
- <![CDATA[CyberKnife Plan Image
- 방사선 촬영일]]>
- </caption>
- <line id="line10" class="line_2" style="x1:0px; y1:199px; x2:1192px; y2:199px; "/>
- <output id="op" ref="/root/main/patpsn/patpsninfo/sex" class="output_fix" style="left:93px; top:52px; width:55px; height:19px; text-align:center; "/>
- <output id="opRT" ref="/root/main/patpsn/patpsninfo/hngnm" class="output_fix" style="left:324px; top:27px; width:120px; height:19px; text-align:center; "/>
- <button id="button2" class="btn4_letter2" style="left:1137px; top:688px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption43" style="left:155px; top:54px; width:10px; height:20px; vertical-align:middle; ">/</caption>
- <caption id="caption22" class="tit_2" style="left:6px; top:5px; width:100px; height:13px; ">환자 인적사항</caption>
- <caption id="caption45" class="tit_2" style="left:6px; top:444px; width:105px; height:13px; ">간호기록 현황</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:26px; width:90px; height:23px; ">등록번호</caption>
- <caption id="caption4" class="cell_1" style="left:231px; top:26px; width:90px; height:23px; text-align:left; vertical-align:middle; ">환자이름</caption>
- <line id="line17" class="line_2" style="x1:0px; y1:50px; x2:1192px; y2:50px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:1192px; y2:21px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:48px; x2:1192px; y2:48px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:199px; x2:1192px; y2:199px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:95px; x2:1192px; y2:95px; "/>
- <output id="opAge" ref="/root/main/patpsn/patpsninfo/age" class="output_fix" style="left:172px; top:52px; width:55px; height:19px; text-align:center; "/>
- <caption id="caption6" class="cell_1" style="left:231px; top:50px; width:90px; height:23px; text-align:left; vertical-align:middle; ">주민번호</caption>
- <line id="line11" class="line_3" style="x1:0px; y1:73px; x2:1192px; y2:73px; "/>
- <output id="opID" ref="/root/main/patpsn/patpsninfo/pid" class="output_fix" style="left:93px; top:27px; width:134px; height:19px; text-align:center; "/>
- <button id="btn_save" class="btn4_letter2" disabled="true" style="left:1019px; top:688px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if (datacheck() == false){
- // return;
- // }
- model.setValue("/root/send/reqdata/gb", "S");
- ExecData();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:0px; y1:459px; x2:1192px; y2:459px; "/>
- <caption id="caption9" class="tit_2" style="left:6px; top:80px; width:118px; height:13px; ">Nursing Record</caption>
- <output id="opRegNo" ref="/root/main/patpsn/patpsninfo/rrgstno" class="output_fix" format="999999-9999999" style="left:324px; top:52px; width:120px; height:19px; text-align:center; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:50px; width:90px; height:23px; ">성별/나이</caption>
- <button id="btn_del" class="btn4_letter2" disabled="true" style="left:1079px; top:688px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var okyn = messageBox("해당 간호기록을 전부 ", "Q001");
- if (okyn == 6){
- model.setValue("/root/send/reqdata/gb", "D");
- model.setValue("/root/main/carerecinfo/carerecmat/iudgb", "D");
- DelData();
- }
- ]]>
- </script>
- </button>
- <button id="button52" class="btn2_letter3" navindex="23" style="left:1082px; top:438px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_nurrec.addRow();
- var irow = grd_nurrec.row;
- model.setValue("/root/main/carerecinfo/carerecdetl[" + irow + "]/ckno", model.getValue("/root/send/reqdata/ckno"));
- model.setValue("/root/main/carerecinfo/carerecdetl[" + irow + "]/cknoseq", model.getValue("/root/send/reqdata/cknoseq"));
- grd_nurrec.refresh();
- ]]>
- </script>
- </button>
- <button id="button53" class="btn2_letter3" navindex="24" style="left:1139px; top:438px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_nurrec.deleteItem(grd_nurrec.row);
- ]]>
- </script>
- </button>
- <caption id="caption24" class="tit_2" style="left:6px; top:217px; width:129px; height:13px; ">Nursing Summary</caption>
- <button id="button1" class="btn2_letter3" navindex="21" style="left:1082px; top:211px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_nursum.addRow();
- var irow = grd_nursum.row;
- model.setValue("/root/main/carerecinfo/caresumdetl[" + irow + "]/ckno", model.getValue("/root/send/reqdata/ckno"));
- model.setValue("/root/main/carerecinfo/caresumdetl[" + irow + "]/cknoseq", model.getValue("/root/send/reqdata/cknoseq"));
- grd_nursum.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" navindex="22" style="left:1139px; top:211px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_nursum.deleteItem(grd_nursum.row);
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:232px; x2:1192px; y2:232px; "/>
- <datagrid id="grd_nursum" nodeset="/root/main/carerecinfo/caresumdetl" autoresize="true" caption="순번^Target No^치료시작일자^치료종료일자^Ck Type^Tumor Kind^대분류^중분류^대분류명^중분류명^진단명^진단코드^Location^Fraction No^Remark^caption1^caption2^caption3^curemdyn" colsep="^" colwidth="32, 62, 91, 91, 85, 86, 86, 86, 86, 94, 121, 109, 84, 96, 365, 38, 29, 30, 72" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:235px; width:1192px; height:190px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="curepartcnt" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/targetnolist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="curefromdd" type="inputdate"/>
- <col ref="curetodd" type="inputdate"/>
- <col editmode="inputsearch" ref="cktype" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/cktypelist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="tumkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/tumorkindlist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="partgrupcd" visibility="hidden" style="text-align:left; "/>
- <col ref="partcd" visibility="hidden" style="text-align:left; "/>
- <col ref="partgrupnm" style="text-align:left; "/>
- <col ref="partnm" style="text-align:left; "/>
- <col ref="diagnm"/>
- <col ref="diagcd" type="inputbutton" style="text-align:left; "/>
- <col editmode="inputsearch" ref="cklocation" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/locationlist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="curecnt" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/fractiontypelist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="memo" type="input"/>
- <col ref="ckno" visibility="hidden"/>
- <col ref="cknoseq" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="curemdyn" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- // MD승인여부 체크하기
- CuremdynChk();
-
- if(grd_nursum.colAttribute(grd_nursum.col, "ref") == "diagcd") {
- model.property("partgrupcd") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partgrupcd";
- model.property("partcd") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partcd";
- model.property("partgrupnm") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partgrupnm";
- model.property("partnm") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partnm";
- model.property("diagcd") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/diagcd";
- model.property("termengnm") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/diagnm";
-
- model.makeNode("/root/senddata/pid");
- model.makeNode("/root/senddata/partgrupcd");
- model.makeNode("/root/senddata/partcd");
- model.makeNode("/root/senddata/diagcd");
- model.makeNode("/root/senddata/diagnm");
- model.makeNode("/root/senddata/suppdeptcd");
-
- model.setValue("/root/senddata/pid", model.getValue("/root/main/patpsn/patpsninfo/pid"));
- model.setValue("/root/senddata/partgrupcd", model.getValue("/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partgrupcd"));
- model.setValue("/root/senddata/partcd", model.getValue("/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partcd"));
- model.setValue("/root/senddata/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
-
- model.property("diagcd") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/diagcd";
- model.property("termengnm") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/diagnm";
- model.property("partgrupcd") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partgrupcd";
- model.property("partcd") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partcd";
- model.property("partgrupnm") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partgrupnm";
- model.property("partnm") = "/root/main/carerecinfo/caresumdetl[" + grd_nursum.row + "]/partnm";
- modal("SPAER02400", "", "200", "200", "SPAER02400","/root/senddata","/root/popdata");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // MD승인여부 체크하기
- CuremdynChk();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_nurrec" nodeset="/root/main/carerecinfo/carerecdetl" autoresize="true" caption="FX^Target No^Fx^순번^치료일^혈압^맥박^호흡^체온^메 모^caption31^caption32^caption18" colsep="^" colwidth="41, 67, 65, 42, 115, 50, 40, 40, 40, 729, 22, 24" dataheight="30" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:464px; width:1192px; height:216px; ">
- <col ref="pxseq" visibility="hidden" style="text-align:center; vertical-align:middle; "/>
- <col ref="curepartcnt" type="combo" style="text-align:center; vertical-align:middle; ">
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/targetnolist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="fx" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/fxlist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <choices>
- <itemset nodeset="/root/init/cmb_cdinfo/targetnolist">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- <col ref="seq" visibility="hidden"/>
- <col ref="cureldd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bp" type="input" maxlength="20" style="text-align:center; "/>
- <col ref="pulse" type="input" maxlength="20" style="text-align:center; "/>
- <col ref="breth" type="input" maxlength="20" style="text-align:center; "/>
- <col ref="bdtp" type="input" maxlength="20" style="text-align:center; "/>
- <col ref="memo" type="input"/>
- <col ref="ckno" visibility="hidden"/>
- <col ref="cknoseq" visibility="hidden"/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- // 엔터키를 치면 다음 컬럼으로 포커스가 넘어가도록 만듬
- if(event.keyCode == "13"){
- grd_nurrec.col= grd_nurrec.col + 1;
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="cell_1" style="left:448px; top:49px; width:102px; height:23px; text-align:left; vertical-align:middle; ">집주소</caption>
- <output id="opPhone" ref="/root/main/patpsn/patpsninfo/mpphontel" class="output_fix" style="left:1044px; top:26px; width:149px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( model.getValue("/root/main/patpsn/patpsninfo/pid") != "" || model.getValue("/root/main/patpsn/patpsninfo/pid") != " " ) {
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
- var hngnm = model.getValue("/root/main/patpsn/patpsninfo/hngnm");
- var pid = model.getValue("/root/main/patpsn/patpsninfo/pid");
- if (hngnm == null && hngnm == "" && hngnm == " " && hngnm == "-"){
- return false;
- }
- //setParameter("opener_parameter_id", pid);
- model.removeNodeset("/root/temp/source");
- model.makeValue("/root/temp/source/srchcond", "1");
- model.makeValue("/root/temp/source/pid", pid);
- modal("SPPMO01400", "1", "100", "100", "SPPMO01400", "/root/temp/source", "/root/source");
-
- var hometel = getParameter("SMPMO01400_hometel");
- var mpphontel = getParameter("SMPMO01400_mpphontel");
-
- if( hometel != '' && mpphontel != '' ){
- model.setValue("/root/main/patpsn/patpsninfo/hometel", hometel) ;
- model.setValue("/root/main/patpsn/patpsninfo/mpphontel", mpphontel) ;
- }
-
- model.removeNodeset("/root/temp/source");
- model.refresh();
- }
- ]]>
- </script>
- </output>
- <caption id="caption5" class="cell_1" style="left:721px; top:25px; width:80px; height:23px; text-align:left; vertical-align:middle; ">연락처1</caption>
- <select1 id="radio3" ref="/root/main/patpsn/patpsninfo/iogb" disabled="true" appearance="full" cols="2" overflow="visible" style="left:450px; top:29px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <input id="input2" ref="/root/main/patpsn/patpsninfo/homedetladdr" class="input_default" disabled="true" style="left:555px; top:51px; width:638px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:960px; top:25px; width:80px; height:23px; text-align:left; vertical-align:middle; ">연락처2</caption>
- <output id="output1" ref="/root/main/patpsn/patpsninfo/hometel" class="output_fix" style="left:805px; top:26px; width:149px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( model.getValue("/root/main/patpsn/patpsninfo/pid") != "" || model.getValue("/root/main/patpsn/patpsninfo/pid") != " " ) {
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
- var hngnm = model.getValue("/root/main/patpsn/patpsninfo/hngnm");
- var pid = model.getValue("/root/main/patpsn/patpsninfo/pid");
- if (hngnm == null && hngnm == "" && hngnm == " " && hngnm == "-"){
- return false;
- }
- //setParameter("opener_parameter_id", pid);
- model.removeNodeset("/root/temp/source");
- model.makeValue("/root/temp/source/srchcond", "1");
- model.makeValue("/root/temp/source/pid", pid);
- modal("SPPMO01400", "1", "100", "100", "SPPMO01400", "/root/temp/source", "/root/source");
-
- var hometel = getParameter("SMPMO01400_hometel");
- var mpphontel = getParameter("SMPMO01400_mpphontel");
-
- if( hometel != '' && mpphontel != '' ){
- model.setValue("/root/main/patpsn/patpsninfo/hometel", hometel) ;
- model.setValue("/root/main/patpsn/patpsninfo/mpphontel", mpphontel) ;
- }
-
- model.removeNodeset("/root/temp/source");
- model.refresh();
- }
- ]]>
- </script>
- </output>
- <button id="button4" class="icon_search" navindex="33" style="left:100px; top:165px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- // 인스턴스 노드를 통으로 넘겨서 처리하기. 팝업쪽에서는 별도의 작업 없이 해당 노드로 셋팅 됨.
- // modal("SPAEA02601", "", "470", "630", "SPAEA02601","/root/main/patpsn","/root/main/patpsn");
- // 파라미터를 이용한 방법 첫번째
- // setParameter("opener_parameter_id", model.getValue("/root/main/patpsn/patpsninfo/pid"));
- // modal("SPAEA02601", "", "470", "630", "SPAEA02601","","");
- // 파라미터 두번째 방법
- var index = "2";
- var pid = model.getValue("/root/main/patpsn/patpsninfo/pid");
- var hngnm = model.getValue("/root/main/patpsn/patpsninfo/hngnm");
-
- var text2 = model.getValue("/root/main/carerecinfo/carerecmat/rayphodd1");
-
- var sflag = (index + "▦" + pid + "▦" + hngnm + "▦" + text2);
- setParameter("opener_parameter_id",sflag);
- modal("SPAEA02601", "", "470", "630", "SPAEA02601","","");
- ]]>
- </script>
- </button>
- <button id="button6" class="icon_search" navindex="33" style="left:99px; top:102px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- // 인스턴스 노드를 통으로 넘겨서 처리하기. 팝업쪽에서는 별도의 작업 없이 해당 노드로 셋팅 됨.
- // modal("SPAEA02601", "", "470", "630", "SPAEA02601","/root/main/patpsn","/root/main/patpsn");
- // 파라미터를 이용한 방법 첫번째
- // setParameter("opener_parameter_id", model.getValue("/root/main/patpsn/patpsninfo/pid"));
- // modal("SPAEA02601", "", "470", "630", "SPAEA02601","","");
- // 파라미터 두번째 방법
- var index = "1";
- var pid = model.getValue("/root/main/patpsn/patpsninfo/pid");
- var hngnm = model.getValue("/root/main/patpsn/patpsninfo/hngnm");
-
- var text1 = model.getValue("/root/main/carerecinfo/carerecmat/fiducialdd");
-
- var sflag = (index + "▦" + pid + "▦" + hngnm + "▦" + text1);
- setParameter("opener_parameter_id",sflag);
- modal("SPAEA02601", "0", "470", "630", "SPAEA02601","","");
-
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/carerecinfo/carerecmat/fiducialdd" style="left:143px; top:102px; width:302px; height:19px; "/>
- <textarea id="textarea1" ref="/root/main/carerecinfo/carerecmat/rayphodd1" style="left:144px; top:125px; width:301px; height:75px; "/>
- <caption id="caption30" class="cell_1" style="left:985px; top:100px; width:80px; height:23px; vertical-align:middle; ">의뢰 의사1</caption>
- <caption id="caption20" class="cell_1" style="left:985px; top:151px; width:80px; height:23px; vertical-align:middle; ">치료 의사1</caption>
- <caption id="caption31" class="cell_1" style="left:779px; top:125px; width:81px; height:23px; vertical-align:middle; ">의뢰 과2</caption>
- <caption id="caption10" class="cell_1" style="left:589px; top:125px; width:76px; height:23px; ">의뢰병원2</caption>
- <caption id="caption21" class="cell_1" style="left:779px; top:176px; width:80px; height:23px; vertical-align:middle; ">치료 과2</caption>
- <caption id="caption11" class="cell_1" style="left:589px; top:176px; width:76px; height:23px; ">시행병원2</caption>
- <caption id="caption33" class="cell_1" style="left:447px; top:151px; width:140px; height:48px; vertical-align:middle; ">
- <![CDATA[< 치료시행 과 / 의사 >]]>
- </caption>
- <caption id="caption3" class="cell_1" style="left:589px; top:100px; width:76px; height:23px; text-align:left; vertical-align:middle; ">의뢰병원1</caption>
- <select1 id="cmb_reqhosp" ref="/root/main/carerecinfo/carerecmat/reqinstcd" appearance="minimal" style="left:667px; top:102px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/instlist/A0025Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/reqinstcd");
- var rslt_ref = "/root/hidden/reqinoutorddeptlist";
- var sort_field = "dispseq";
- var sort_method = "asc";
- var basedd = getCurrentDate();
-
- zsdfGetInOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, basedd );
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption23" class="cell_1" style="left:985px; top:176px; width:80px; height:23px; vertical-align:middle; ">치료 의사2</caption>
- <caption id="caption26" class="cell_1" style="left:447px; top:100px; width:140px; height:48px; vertical-align:middle; ">
- <![CDATA[< 치료의뢰 과 / 의사 >]]>
- </caption>
- <select1 id="combo10" ref="/root/main/carerecinfo/carerecmat/execdrid1" class="combo_search" navindex="18" appearance="minimal" style="left:1069px; top:152px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/exeinoutorddeptdoctorlist1/user">
- <label ref="userinfo"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo11" ref="/root/main/carerecinfo/carerecmat/execdrid2" class="combo_search" navindex="20" appearance="minimal" style="left:1069px; top:178px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/exeinoutorddeptdoctorlist2/user">
- <label ref="userinfo"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:985px; top:125px; width:80px; height:23px; vertical-align:middle; ">의뢰 의사2</caption>
- <caption id="caption27" class="cell_1" style="left:779px; top:100px; width:81px; height:23px; vertical-align:middle; ">의뢰 과1</caption>
- <caption id="caption8" class="cell_1" style="left:589px; top:152px; width:76px; height:23px; text-align:left; vertical-align:middle; ">시행병원1</caption>
- <select1 id="cmb_reqapntdrid1" ref="/root/main/carerecinfo/carerecmat/reqdrid1" class="combo_search" navindex="14" appearance="minimal" style="left:1069px; top:101px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/reqinoutorddeptdoctorlist1/user">
- <label ref="userinfo"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="cell_1" style="left:779px; top:151px; width:80px; height:23px; vertical-align:middle; ">치료 과1</caption>
- <select1 id="cmb_reqapntdrid2" ref="/root/main/carerecinfo/carerecmat/reqdrid2" class="combo_search" navindex="16" appearance="minimal" style="left:1069px; top:127px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/reqinoutorddeptdoctorlist2/user">
- <label ref="userinfo"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line7" class="line_2" style="x1:584px; y1:120px; x2:1194px; y2:120px; "/>
- <select1 id="cmb_reqdeptcd1" ref="/root/main/carerecinfo/carerecmat/reqdeptcd1" class="combo_search" navindex="13" appearance="minimal" editmode="inputsearch" style="left:862px; top:101px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/reqinoutorddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/reqinstcd");
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd1");
- var basedd = getCurrentDate();
- zsufGetInOutOrdDeptDoctorList(instcd, deptcd, "/root/hidden/reqinoutorddeptdoctorlist1","usernm", "asc", basedd);
- model.refresh();
-
- /*
- model.setValue("/root/main/carerecinfo/carerecmat/reqdrid1", "");
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd1");
- if (deptcd != ""){
- var zsuResultRef = "/root/hidden/zsu/userlist";
- model.removenode(zsuResultRef);
- model.makenode(zsuResultRef);
- //setParameter("deptcd", deptcd);
- setParameter("dutplcecd", deptcd);
- setParameter("flag", "_D");
- submit("TRZSU10105", "false", getParameterPath(), zsuResultRef);
- model.copyNode("/root/hidden1/userlist", "/root/hidden/zsu/userlist");
- model.refresh();
- //zsufGetUserInfoCombo(deptcd, "/root/hidden1/userlist","_D");
- //model.refresh();
- }
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_reqdeptcd2" ref="/root/main/carerecinfo/carerecmat/reqdeptcd2" class="combo_search" navindex="15" appearance="minimal" editmode="inputsearch" style="left:862px; top:127px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/reqinoutorddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/reqinstcd2");
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd2");
- var basedd = getCurrentDate();
- zsufGetInOutOrdDeptDoctorList(instcd, deptcd, "/root/hidden/reqinoutorddeptdoctorlist2","usernm", "asc", basedd);
- model.refresh();
- /*
- model.setValue("/root/main/carerecinfo/carerecmat/reqdrid2", "");
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/reqdeptcd2");
- if (deptcd != ""){
- var zsuResultRef = "/root/hidden/zsu/userlist";
- model.removenode(zsuResultRef);
- model.makenode(zsuResultRef);
- //setParameter("deptcd", deptcd);
- setParameter("dutplcecd", deptcd);
- setParameter("flag", "_D");
- submit("TRZSU10105", "false", getParameterPath(), zsuResultRef);
- model.copyNode("/root/hidden1/userlist1", "/root/hidden/zsu/userlist");
- model.refresh();
- //zsufGetUserInfoCombo(deptcd, "/root/hidden1/userlist1","_D");
- //model.refresh();
- }*/
- ]]>
- </script>
- </select1>
- <select1 id="cmb_execdeptcd2" ref="/root/main/carerecinfo/carerecmat/execdeptcd2" class="combo_search" navindex="19" appearance="minimal" editmode="inputsearch" style="left:862px; top:178px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/exeinoutorddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/exeinstcd2");
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd2");
- var basedd = getCurrentDate();
- zsufGetInOutOrdDeptDoctorList(instcd, deptcd, "/root/hidden/exeinoutorddeptdoctorlist2","usernm", "asc", basedd);
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_execdeptcd1" ref="/root/main/carerecinfo/carerecmat/execdeptcd1" class="combo_search" navindex="17" appearance="minimal" editmode="inputsearch" style="left:862px; top:152px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/exeinoutorddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/exeinstcd");
- var deptcd = model.getValue("/root/main/carerecinfo/carerecmat/execdeptcd1");
- var basedd = getCurrentDate();
- zsufGetInOutOrdDeptDoctorList(instcd, deptcd, "/root/hidden/exeinoutorddeptdoctorlist1","usernm", "asc", basedd);
- model.refresh();
-
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_exeinstcd" ref="/root/main/carerecinfo/carerecmat/exeinstcd" appearance="minimal" style="left:667px; top:154px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/instlist/A0025Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/exeinstcd");
- var rslt_ref = "/root/hidden/exeinoutorddeptlist";
- var sort_field = "dispseq";
- var sort_method = "asc";
- var basedd = getCurrentDate();
-
- zsdfGetInOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, basedd );
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="combo2" ref="/root/main/carerecinfo/carerecmat/reqinstcd2" appearance="minimal" style="left:667px; top:127px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/instlist/A0025Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/reqinstcd2");
- var rslt_ref = "/root/hidden/reqinoutorddeptlist";
- var sort_field = "dispseq";
- var sort_method = "asc";
- var basedd = getCurrentDate();
-
- zsdfGetInOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, basedd );
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="combo3" ref="/root/main/carerecinfo/carerecmat/exeinstcd2" appearance="minimal" style="left:666px; top:178px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/instlist/A0025Z0007">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var instcd = model.getValue("/root/main/carerecinfo/carerecmat/exeinstcd2");
- var rslt_ref = "/root/hidden/exeinoutorddeptlist";
- var sort_field = "dispseq";
- var sort_method = "asc";
- var basedd = getCurrentDate();
-
- zsdfGetInOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, basedd );
-
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|