1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>전동기록지</xhtml:title>
- <model id="model1">
- <![CDATA[pid]]>
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <pid/>
- <indd/>
- <cretno/>
- <appdd/>
- <apptm/>
- <instcd/>
- <seqno/>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- <orddeptcd/>
- <orddrid/>
- <flag/>
- </cond>
- <transdata>
- <transdata>
- <pid/>
- <pname/>
- <psexage/>
- <indd/>
- <cretno/>
- <appdd/>
- <apptm/>
- <instcd/>
- <diagcd/>
- <diagnm/>
- <drain0/>
- <drain1/>
- <drain2/>
- <drain3/>
- <drain4/>
- <drug0/>
- <drug1/>
- <drug2/>
- <drug3/>
- <drug4/>
- <drug5/>
- <acmpnydnyn>1</acmpnydnyn>
- <acmpnydr/>
- <acmpnynr/>
- <acmpnyetc/>
- <psummary/>
- <instrument0/>
- <instrument1/>
- <instrument2/>
- <instrument3/>
- <instrument4/>
- <instrument5/>
- <instrument6/>
- <instrument7/>
- <instrument8/>
- <instrument9/>
- <etc_desc/>
- <flag/>
- <suction_yn>1</suction_yn>
- <o2_yn>1</o2_yn>
- <o2_amount/>
- <o2_method1/>
- <o2_method2/>
- <o2_method3/>
- <o2_method4/>
- <o2_method5/>
- <o2_method6/>
- <o2_method7/>
- <o2_method8/>
- <adm_method/>
- <prewardcd/>
- <prewardnm/>
- <prestroomcd/>
- <bedposcntscd/>
- <bedposcnts/>
- <phone/>
- <wardcd/>
- <chngroomcd/>
- <phone2/>
- <transout_time/>
- <transout_id/>
- <transout_nm/>
- <transin_time/>
- <transin_id/>
- <transin_nm/>
- <pasthistinfo>
- <pasthist>
- <pasthist>
- <genrdd/>
- <histspec/>
- <remfact/>
- </pasthist>
- </pasthist>
- </pasthistinfo>
- </transdata>
- <ophist>
- <opschedd/>
- <opcd/>
- <opnm/>
- </ophist>
- </transdata>
- </main>
- <send>
- <transdata>
- <pid/>
- <indd/>
- <cretno/>
- <appdd/>
- <apptm/>
- <instcd/>
- <diagcd/>
- <drain0/>
- <drain1/>
- <drain2/>
- <drain3/>
- <drain4/>
- <drug0/>
- <drug1/>
- <drug2/>
- <drug3/>
- <drug4/>
- <drug5/>
- <acmpnydnyn/>
- <acmpnydr/>
- <acmpnynr/>
- <acmpnyetc/>
- <instrument0/>
- <instrument1/>
- <instrument2/>
- <instrument3/>
- <instrument4/>
- <instrument5/>
- <instrument6/>
- <instrument7/>
- <instrument8/>
- <instrument9/>
- <psummary/>
- <etc_desc/>
- <flag/>
- <suction_yn/>
- <o2_yn/>
- <o2_amount/>
- <o2_method1/>
- <o2_method2/>
- <o2_method3/>
- <o2_method4/>
- <o2_method5/>
- <o2_method6/>
- <o2_method7/>
- <o2_method8/>
- <adm_method/>
- <prewardcd/>
- <bedposcntscd/>
- <bedposcnts/>
- <wardcd/>
- <transout_time/>
- <transout_id/>
- <transin_time/>
- <transin_id/>
- </transdata>
- </send>
- <init>
- <ward>
- <wardnm/>
- <wardcd/>
- </ward>
- <mlist/>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- var param = opener.javascript.getParameter("SMMNW01301_PARAM");
-
- if(param == "SMMNW01100"){
- opener.javascript.fGetPatList();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- var vsettime = "";
- var xSignPath = "/root/main/signSaveData/saveDataList"; //인증저장관련노드
- var certiyn = "N"; //인증저장 반영 유무
- var flag = "1"; //전동기록지 "1", 전입기록지 "2"
-
-
- function fInit() {
-
- var dutplcecd = getUserInfo("dutplcecd");
-
- model.setValue("/root/main/cond/ward/wardcd", dutplcecd);
- model.removenode("/root/send/ward");
- model.makeValue("/root/send/ward", model.getValue("/root/main/cond/ward"));
- submit("TRMNW00101");
-
- model.makeNode("/root/init/mlist")
- zbcfGetCodeList( new Array ("M0532"), //과거병력내역_20090406_SMY추가
- new Array ("/root/init/mlist") ); //과거병력내역
-
- fgetTransferSummary();
- }
-
- function fgetTransferSummary() {
-
- var dutplcecd = getUserInfo("dutplcecd");
- var curdate = getCurrentDate();
- var curtime = getCurrentTime().substr(0, 4);
- var userid = getUserInfo("userid");
- var usernm = getUserInfo("usernm");
-
- ipt_transout_time.disabled = true;
- ipt_transout_id.disabled = true;
- ipt_transout_nm.disabled = true;
-
- ipt_transin_time.disabled = true;
- ipt_transin_id.disabled = true;
- ipt_transin_nm.disabled = true;
-
- btn_outtime.disabled = true;
- btn_intime.disabled = true;
-
- btn_certi.disabled = true;
-
- var pid = opener.javascript.getParameter("SMMNW01301_PID");
- var indd = opener.javascript.getParameter("SMMNW01301_INDD");
- var cretno = opener.javascript.getParameter("SMMNW01301_CRETNO");
- var appdd = opener.javascript.getParameter("SMMNW01301_APPDD");
- var apptm = opener.javascript.getParameter("SMMNW01301_APPTM");
- var instcd = opener.javascript.getParameter("SMMNW01301_INSTCD");
- var seqno = opener.javascript.getParameter("SMMNW01301_SEQNO");
- var orddeptcd = opener.javascript.getParameter("SMMNW01301_ORDDEPTCD");
- var orddrid = opener.javascript.getParameter("SMMNW01301_ORDDRID");
-
- model.makeValue("root/main/cond/pid", pid);
- model.makeValue("root/main/cond/indd", indd);
- model.makeValue("root/main/cond/cretno", cretno);
- model.makeValue("root/main/cond/appdd", appdd);
- model.makeValue("root/main/cond/apptm", apptm);
- model.makeValue("root/main/cond/instcd", instcd);
- model.makeValue("root/main/cond/seqno", seqno);
- model.makeValue("root/main/cond/orddeptcd", orddeptcd);
- model.makeValue("root/main/cond/orddrid", orddrid);
- model.makeValue("root/main/cond/flag", flag);
-
- submit("TRMNW01303");
-
- var get_pid = model.getValue("root/main/transdata/transdata/pid");
-
- if (get_pid = null || get_pid == "") {
- // 저장된 내용이 없다면, 환자의 기본정보를 가져온다.
- submit("TRMNW01304");
-
- model.setValue("/root/main/transdata/transdata/transout_time", curdate + curtime);
- model.setValue("/root/main/transdata/transdata/transout_id", userid);
- model.setValue("/root/main/transdata/transdata/transout_nm", usernm);
- model.setValue("/root/main/transdata/transdata/flag", flag);
-
- ipt_transout_time.refresh();
- ipt_transout_id.refresh();
- ipt_transout_nm.refresh();
-
- ipt_transout_time.disabled = false;
- ipt_transout_id.disabled = false;
- btn_outtime.disabled = false;
- } else {
- // 저장된 내용이 있다면...
- var get_transin_time = model.getValue("root/main/transdata/transdata/transin_time");
- var get_wardcd = model.getValue("root/main/transdata/transdata/wardcd");
-
- // 인수병동 사용자의 경우
- if ( get_wardcd == dutplcecd ) {
- //인수 기록이 없다면, 인수일시에 현재일시를 세팅해준다.
- if ( get_transin_time = null || get_transin_time == "" ) {
- model.setValue("/root/main/transdata/transdata/transin_time", curdate + curtime);
- model.setValue("/root/main/transdata/transdata/transin_id", userid);
- model.setValue("/root/main/transdata/transdata/transin_nm", usernm);
-
- ipt_transin_time.refresh();
- ipt_transin_id.refresh();
- ipt_transin_nm.refresh();
- }
-
- ipt_transin_time.disabled = false;
- ipt_transin_id.disabled = false;
- btn_intime.disabled = false;
-
- }
- }
-
- var prewardcd = model.getValue("/root/main/transdata/transdata/prewardcd");
-
- // 인계병동 사용자의 경우
- if ( prewardcd == dutplcecd || getUserInfo("userid") == "ENR" ) {
-
- ipt_transout_time.disabled = false;
- ipt_transout_id.disabled = false;
- btn_outtime.disabled = false;
-
- model.removenode("/root/send/certinfo");
- model.makeValue("/root/send/certinfo/workdd", curdate);
-
- submit("TRMNW01306");
-
- certiyn = model.getValue("main/certinfo/certiyn");
-
- if ( certiyn == "Y" ){
- btn_certi.disabled = false;
- }
- }
-
- if (rdo_o2yn.value == "2") {
- ipt_o2_amount.disabled = false;
- cxb_o2_method1.disabled = false;
- cxb_o2_method2.disabled = false;
- cxb_o2_method3.disabled = false;
- cxb_o2_method4.disabled = false;
- cxb_o2_method5.disabled = false;
- cxb_o2_method6.disabled = false;
- cxb_o2_method7.disabled = false;
- ipt_o2_method8.disabled = false;
- }
- else
- {
- ipt_o2_amount.disabled = true;
- cxb_o2_method1.disabled = true;
- cxb_o2_method2.disabled = true;
- cxb_o2_method3.disabled = true;
- cxb_o2_method4.disabled = true;
- cxb_o2_method5.disabled = true;
- cxb_o2_method6.disabled = true;
- cxb_o2_method7.disabled = true;
- ipt_o2_method8.disabled = true;
- }
-
-
- if(chk_drain0.value == "Y"){
- checkbox4.disabled = true;
- checkbox5.disabled = true;
- checkbox6.disabled = true;
- input15.disabled = true;
- }else{
- checkbox4.disabled = false;
- checkbox5.disabled = false;
- checkbox6.disabled = false;
- input15.disabled = false;
- }
-
-
- if(chk_drug0.value == "Y"){
- checkbox3 .disabled = true;
- checkbox7 .disabled = true;
- checkbox8.disabled = true;
- checkbox9.disabled = true;
- input1.disabled = true;
- }else{
- checkbox3.disabled = false;
- checkbox7.disabled = false;
- checkbox8.disabled = false;
- checkbox9.disabled = false;
- input1.disabled = false;
- }
-
- if (rdo_acmpnydnyn.value == "2") {
- checkbox11.disabled = false;
- checkbox13.disabled = false;
- }else{
- checkbox11.disabled = true;
- checkbox13.disabled = true;
- cxb_o2_method2.disabled = true;
- cxb_o2_method3.disabled = true;
- cxb_o2_method4.disabled = true;
- cxb_o2_method5.disabled = true;
- cxb_o2_method6.disabled = true;
- cxb_o2_method7.disabled = true;
- ipt_o2_method8.disabled = true;
- }
- if(chk_instrument0.value == "Y"){
- chk_instrument1 .disabled = true;
- chk_instrument2 .disabled = true;
- chk_instrument3.disabled = true;
- chk_instrument4.disabled = true;
- chk_instrument5.disabled = true;
- chk_instrument6 .disabled = true;
- chk_instrument7.disabled = true;
- chk_instrument8.disabled = true;
- ipt_instrument9.disabled = true;
- }else{
- chk_instrument1 .disabled = false;
- chk_instrument2 .disabled = false;
- chk_instrument3.disabled = false;
- chk_instrument4.disabled = false;
- chk_instrument5.disabled = false;
- chk_instrument6 .disabled = false;
- chk_instrument7.disabled = false;
- chk_instrument8.disabled = false;
- ipt_instrument9.disabled = false;
- }
-
- var bedposcnts = model.getValue("/root/main/transdata/transdata/bedposcnts");
-
- if (bedposcnts == "") {
- ipt_bedposcnts.visible = false;
- ipt_prestroomcd.visible = true;
- } else {
- ipt_bedposcnts.visible = true;
- ipt_prestroomcd.visible = false;
- }
-
-
- model.removenode("/root/send/prcpinfo");
- model.makeValue("/root/send/prcpinfo/instcd", instcd);
- model.makeValue("/root/send/prcpinfo/pid", pid);
- model.makeValue("/root/send/prcpinfo/indd", indd);
- model.makeValue("/root/send/prcpinfo/cretno", cretno);
- model.makeValue("/root/send/prcpinfo/prewardcd", prewardcd);
-
-
- submit("TRMNW01307");
-
- }
-
- function fgetUserName(userid, appdd) {
- model.makeValue("/root/send/temp/userid", userid);
- model.makeValue("/root/send/temp/appdd", appdd);
- submit("TRMNW01305");
-
- }
-
- function fSave(chkSave) {
- model.makeNode("/root/main/transdata/transdata/ophistinfo/ophist");
- model.copyNode("/root/main/transdata/transdata/ophistinfo/ophist", "/root/main/transdata/ophist");
-
- model.makeNode("/root/send/transdata");
- model.copyNode("/root/send/transdata", "/root/main/transdata/transdata");
-
- var send_transout_time = model.getValue("/root/send/transdata/transout_time");
- var send_transout_id = model.getValue("/root/send/transdata/transout_id");
-
- var instcd = model.getValue("/root/main/cond/instcd");
- var pid = model.getValue("/root/main/cond/pid");
- var indd = model.getValue("/root/main/cond/indd");
- var cretno = model.getValue("/root/main/cond/cretno");
- var prewardcd = model.getValue("/root/main/transdata/transdata/prewardcd");
- var chngwardcd = model.getValue("/root/main/transdata/transdata/wardcd");
-
- var dutplcecd = getUserInfo("dutplcecd");
-
- if ((send_transout_time == null || send_transout_time == "") || (send_transout_id == null || send_transout_id == "")) {
- messageBox("인계일자, 인계자 정보는 필수 입력사항 입니다.", "I");
- } else {
- if ( submit("TXMNW01301") ) {
-
- if ( certiyn == "Y" ) {
- if( prewardcd == dutplcecd || getUserInfo("userid") == "ENR"){ // 인계병동 사용자의 경우
- messageBox("Trasfer Summary 내용이 저장되었습니다.\r\n\r\n반드시 인증저장 하시기 바랍니다.", "I000");
- }else{
- messageBox("Trasfer Summary 내용이 저장되었습니다.", "I000");
- }
- } else {
- if(prewardcd == dutplcecd || getUserInfo("userid") == "ENR"){ // 인계병동 사용자의 경우
- messageBox("Trasfer Summary 내용이 저장되었습니다.", "I000");
- if(model.getValue("/root/main/prcpinfo/prcpyn") == "Y"){ // 부서이관 할 처방이 있는경우
- setParameter("PARAM1", instcd);
- setParameter("PARAM2", pid);
- setParameter("PARAM3", indd);
- setParameter("PARAM4", cretno);
- setParameter("PARAM5", prewardcd);
- setParameter("PARAM6", chngwardcd);
-
- open("SPMNW19001","1", "900", "450");
- }
- }else{
- messageBox("Trasfer Summary 내용이 저장되었습니다.", "I000");
-
- }
- }
-
- fgetTransferSummary();
- }
- }
-
- if(chkSave == "2")
- {
- //var instcd = getUserInfo("dutplceinstcd");
- //if(instcd == "031"){ //칠곡도 적용되게 수정
- setParameter("SMMNW01302_PID", model.getValue("root/main/cond/pid"));
- setParameter("SMMNW01302_INDD", model.getValue("/root/main/cond/indd"));
- setParameter("SMMNW01302_CRETNO", model.getValue("/root/main/cond/cretno"));
- setParameter("SMMNW01302_APPDD", model.getValue("/root/main/cond/appdd"));
- setParameter("SMMNW01302_APPTM", model.getValue("/root/main/cond/apptm"));
- setParameter("SMMNW01302_INSTCD", model.getValue("/root/main/cond/instcd"));
- setParameter("SMMNW01302_SEQNO", model.getValue("/root/main/cond/seqno"));
- setParameter("SMMNW01302_ORDDEPTCD", model.getValue("/root/main/cond/orddeptcd"));
- setParameter("SMMNW01302_ORDDRID", model.getValue("/root/main/cond/orddrid"));
- modal("SMMNW01302", 0, 0, 150);
-
- //}
-
- }
- }
-
- function fCertiSave() {
- model.makeNode("/root/main/transdata/transdata/ophistinfo/ophist");
- model.copyNode("/root/main/transdata/transdata/ophistinfo/ophist", "/root/main/transdata/ophist");
-
- model.makeNode("/root/send/transdata");
- model.copyNode("/root/send/transdata", "/root/main/transdata/transdata");
-
- var send_transout_time = model.getValue("/root/send/transdata/transout_time");
- var send_transout_id = model.getValue("/root/send/transdata/transout_id");
-
- var instcd = model.getValue("/root/main/cond/instcd");
- var pid = model.getValue("/root/main/cond/pid");
- var indd = model.getValue("/root/main/cond/indd");
- var cretno = model.getValue("/root/main/cond/cretno");
- var prewardcd = model.getValue("/root/main/transdata/transdata/prewardcd");
- var chngwardcd = model.getValue("/root/main/transdata/transdata/wardcd");
- var dutplcecd = getUserInfo("dutplcecd");
-
- if ((send_transout_time == null || send_transout_time == "") || (send_transout_id == null || send_transout_id == "")) {
- messageBox("인계일자, 인계자 정보는 필수 입력사항 입니다.", "I");
- } else {
-
- model.removeNode("/root/main/signSaveData");
- model.makeNode("/root/main/signSaveData");
- model.copyNode("/root/main/signSaveData", "/root/main/transdata/transdata");
-
- if (!fSign()) return;
-
- if ( submit("TXMNW01301") ) {
- messageBox("Trasfer Summary 인증저장이 완료되었습니다.", "I000");
-
- if(prewardcd == dutplcecd || getUserInfo("userid") == "ENR"){ //인계병동인경우
- if(model.getValue("/root/main/prcpinfo/prcpyn") == "Y"){ // 부서이관 할 처방이 있는경우
- setParameter("PARAM1", instcd);
- setParameter("PARAM2", pid);
- setParameter("PARAM3", indd);
- setParameter("PARAM4", cretno);
- setParameter("PARAM5", prewardcd);
- setParameter("PARAM6", chngwardcd);
-
- open("SPMNW19001","1", "900", "450");
- }
- }
-
- fgetTransferSummary();
- }
- }
- }
-
- function fSign() {
-
- Sign.certreload = false ; // 전자서명 호출시 인증저장 버튼을 누늘때마다 인증서가 뜨도록 처리
- //Sign.certchkflag = "Y";
-
- if( Sign.signprocess() == true ){
-
-
- var sPid = model.getValue("/root/main/cond/pid");
- var sIndd = model.getValue("/root/main/cond/indd");
- var sCretNo = model.getValue("/root/main/cond/cretno");
- var sOrdDeptCd = model.getValue("/root/main/cond/orddeptcd");
- var sOrdDrId = model.getValue("/root/main/cond/orddrid");
-
- // 전자인증 관련 환자 인적 정보를 보내줌.
- model.makeValue("/root/send/signdata/pid", sPid ); //등록번호
- model.makeValue("/root/send/signdata/orddd", sIndd); //입원일자
- model.makeValue("/root/send/signdata/signno", ""); //서명번호
- model.makeValue("/root/send/signdata/cretno", sCretNo); //생성번호
-
- model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제 기록이 이루어진 기록일자
- model.makeValue("/root/send/signdata/rectm", getCurrentTime()); //실제 기록이 이루어진 기록시간
-
- model.makeValue("/root/send/signdata/recsaveflag", "Y"); //전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
- model.makeValue("/root/send/signdata/signflag", "02" ); //서명자료구분 (01 : 진료, 02 : 간호, 03 : LIS, 04 : 진료지원)
- model.makeValue("/root/send/signdata/signgenrflag", "I" ); //외래/입원구분(코드정의서 M0010 참조)
- model.makeValue("/root/send/signdata/formcd", "1100011878" ); //각 기록지별 서식코드
- model.makeValue("/root/send/signdata/orddeptcd", sOrdDeptCd); //진료부서코드
- model.makeValue("/root/send/signdata/orddrid", sOrdDrId ); //진료의사ID
- model.makeValue("/root/send/signdata/dispyn", "Y"); //기록뷰어에는 조회안되도록
-
- // 인증할 데이터 정보(미기록 노드 제거된 정보)
- // 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
- model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]);
- // 공인인증 처리후 데이터
- model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]);
-
- } else{
-
- return false;
-
- }
-
- model.makeValue("/root/send/signdata/screenid", getScreenID());
-
- return true;
- }
-
- function fMake_SignData() {
- Sign.addnode("/root/main/signSaveData");
- }
-
- function fsetzoomToggle1(state){
- if(state) {
- btn_zoom.attribute("text") = "축소";
- textarea2.attribute("height")= "126px";
- } else {
- btn_zoom.attribute("text") = "확대";
- textarea2.attribute("height")= "52px";
- }
- }
-
- function fsetzoomToggle2(state){
- if(state) {
- btn_zoom2.attribute("text") = "축소";
- textarea3.attribute("height")= "144px";
- } else {
- btn_zoom2.attribute("text") = "확대";
- textarea3.attribute("height")= "62px";
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TRMNW01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/transdata"/>
- <submission id="TRMNW01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/transdata"/>
- <submission id="TRMNW01305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" resultref="/root/main/temp"/>
- <submission id="TRMNW01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/certinfo" resultref="/root/main/certinfo"/>
- <submission id="TRMNW01307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcpinfo" resultref="/root/main/prcpinfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMNW01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="705" pageheight="840" style="font-weight:bold; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" class="datagrid2" scroll="auto" style="left:0px; top:0px; width:685px; height:830px; ">
- <caption id="caption28" class="tit_2" style="left:15px; top:6px; width:200px; height:13px; ">전동기록지</caption>
- <line id="line1" class="line_1" style="x1:14px; y1:24px; x2:664px; y2:24px; "/>
- <caption id="caption29" class="cell_1" style="left:14px; top:29px; width:79px; height:20px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption30" class="cell_1" style="left:14px; top:275px; width:79px; height:62px; vertical-align:middle; ">
- <![CDATA[환자 상태
- 요약]]>
- </caption>
- <input id="input11" ref="/root/main/transdata/transdata/pid" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:29px; width:90px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:254px; top:29px; width:79px; height:20px; vertical-align:middle; ">이 름</caption>
- <input id="input12" ref="/root/main/transdata/transdata/pname" disabled="true" imemode="hangul" maxlength="300" style="left:335px; top:29px; width:90px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:489px; top:29px; width:79px; height:20px; vertical-align:middle; ">성별/나이</caption>
- <input id="input13" ref="/root/main/transdata/transdata/psexage" disabled="true" imemode="hangul" maxlength="300" style="left:570px; top:29px; width:90px; height:19px; "/>
- <caption id="caption33" class="cell_1" style="left:14px; top:51px; width:79px; height:20px; vertical-align:middle; ">진 단 명</caption>
- <input id="input14" ref="/root/main/transdata/transdata/diagnm" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:51px; width:565px; height:19px; "/>
- <caption id="caption34" class="cell_1" style="left:14px; top:127px; width:79px; height:73px; vertical-align:middle; ">수술이력</caption>
- <caption id="caption35" class="cell_1" style="left:14px; top:339px; width:79px; height:25px; vertical-align:middle; ">삽관</caption>
- <select id="checkbox4" ref="/root/main/transdata/transdata/drain1" overflow="visible" appearance="full" style="left:190px; top:342px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Foley</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox5" ref="/root/main/transdata/transdata/drain2" overflow="visible" appearance="full" style="left:265px; top:342px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>CVP</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox6" ref="/root/main/transdata/transdata/drain3" overflow="visible" appearance="full" style="left:335px; top:342px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>L-tube</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption36" style="left:410px; top:342px; width:100px; height:20px; ">기타</caption>
- <input id="input15" ref="/root/main/transdata/transdata/drain4" imemode="hangul" maxlength="300" style="left:440px; top:342px; width:220px; height:19px; "/>
- <caption id="caption37" class="cell_1" style="left:14px; top:201px; width:79px; height:72px; vertical-align:middle; ">과거병력</caption>
- <caption id="caption38" class="cell_1" style="left:14px; top:73px; width:79px; height:52px; vertical-align:middle; ">입원동기</caption>
- <caption id="caption39" class="cell_1" style="left:14px; top:474px; width:79px; height:26px; vertical-align:middle; ">산 소</caption>
- <caption id="caption40" class="cell_1" style="left:479px; top:474px; width:79px; height:26px; vertical-align:middle; ">Suction</caption>
- <select1 id="radio3" ref="/root/main/transdata/transdata/suction_yn" navindex="37" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:561px; top:477px; width:100px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption41" class="cell_1" style="left:254px; top:474px; width:79px; height:26px; vertical-align:middle; ">산소 투여량</caption>
- <caption id="caption42" style="left:390px; top:477px; width:50px; height:20px; ">ℓ/min</caption>
- <caption id="caption43" class="cell_1" style="left:14px; top:501px; width:79px; height:74px; vertical-align:middle; ">
- <![CDATA[산 소
- 투여방법]]>
- </caption>
- <caption id="caption44" style="left:308px; top:552px; width:100px; height:20px; ">기타</caption>
- <select1 id="radio4" ref="/root/main/transdata/transdata/adm_method" navindex="37" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:95px; top:676px; width:205px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>도보</label>
- <value>1</value>
- </item>
- <item>
- <label>휠체어</label>
- <value>2</value>
- </item>
- <item>
- <label>Car</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption45" class="cell_1" style="left:14px; top:673px; width:79px; height:26px; vertical-align:middle; ">이송방법</caption>
- <caption id="caption46" class="cell_1" style="left:14px; top:700px; width:79px; height:49px; vertical-align:middle; ">인계병동</caption>
- <input id="ipt_transout_time" ref="/root/main/transdata/transdata/transout_time" imemode="hangul" maxlength="300" format="yyyy-mm-dd hh:nn" style="left:448px; top:715px; width:128px; height:19px; "/>
- <input id="ipt_transout_nm" ref="/root/main/transdata/transdata/transout_nm" disabled="true" imemode="hangul" maxlength="300" style="left:316px; top:726px; width:60px; height:19px; "/>
- <input id="ipt_transin_time" ref="/root/main/transdata/transdata/transin_time" disabled="false" maxlength="300" format="yyyy-mm-dd hh:nn" style="left:448px; top:766px; width:128px; height:19px; "/>
- <input id="ipt_transin_nm" ref="/root/main/transdata/transdata/transin_nm" disabled="true" maxlength="300" style="left:315px; top:777px; width:60px; height:19px; "/>
- <input id="ipt_bedposcnts" ref="/root/main/transdata/transdata/bedposcnts" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:726px; width:92px; height:19px; "/>
- <button id="button2" class="btn2_letter3" style="left:605px; top:765px; width:53px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("2");
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/transdata/transdata/wardcd" class="combo_search" disabled="true" appearance="minimal" style="left:95px; top:754px; width:92px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input21" ref="/root/main/transdata/transdata/prewardcd" visibility="hidden" imemode="hangul" maxlength="300" style="left:480px; top:675px; width:114px; height:19px; "/>
- <input id="input22" ref="/root/main/transdata/transdata/prewardnm" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:703px; width:92px; height:19px; "/>
- <input id="ipt_transin_id" ref="/root/main/transdata/transdata/transin_id" maxlength="300" style="left:315px; top:754px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- var userid = ipt_transin_id.currentText;
- var appdd = model.getValue("/root/main/transdata/transdata/appdd");
- fgetUserName(userid, appdd);
- var usernm = model.getValue("/root/main/temp/userinfo/usernm");
- model.setValue("/root/main/transdata/transdata/transin_id", userid);
- model.setValue("/root/main/transdata/transdata/transin_nm", usernm);
- ipt_transin_id.refresh();
- ipt_transin_nm.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_transout_id" ref="/root/main/transdata/transdata/transout_id" maxlength="300" style="left:316px; top:703px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- var userid = ipt_transout_id.currentText;
- var appdd = model.getValue("/root/main/transdata/transdata/appdd");
- fgetUserName(userid, appdd);
- var usernm = model.getValue("/root/main/temp/userinfo/usernm");
- model.setValue("/root/main/transdata/transdata/transout_id", userid);
- model.setValue("/root/main/transdata/transdata/transout_nm", usernm);
- ipt_transout_id.refresh();
- ipt_transout_nm.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="rdo_o2yn" ref="/root/main/transdata/transdata/o2_yn" navindex="37" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:95px; top:477px; width:100px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (rdo_o2yn.value == "2") {
- ipt_o2_amount.disabled = false;
- cxb_o2_method1.disabled = false;
- cxb_o2_method2.disabled = false;
- cxb_o2_method3.disabled = false;
- cxb_o2_method4.disabled = false;
- cxb_o2_method5.disabled = false;
- cxb_o2_method6.disabled = false;
- cxb_o2_method7.disabled = false;
- ipt_o2_method8.disabled = false;
- }
- else
- {
- ipt_o2_amount.disabled = true;
- cxb_o2_method1.disabled = true;
- cxb_o2_method2.disabled = true;
- cxb_o2_method3.disabled = true;
- cxb_o2_method4.disabled = true;
- cxb_o2_method5.disabled = true;
- cxb_o2_method6.disabled = true;
- cxb_o2_method7.disabled = true;
- ipt_o2_method8.disabled = true;
-
- model.setValue("/root/main/transdata/transdata/o2_amount", "");
- model.setValue("/root/main/transdata/transdata/o2_method1", "");
- model.setValue("/root/main/transdata/transdata/o2_method2", "");
- model.setValue("/root/main/transdata/transdata/o2_method3", "");
- model.setValue("/root/main/transdata/transdata/o2_method4", "");
- model.setValue("/root/main/transdata/transdata/o2_method5", "");
- model.setValue("/root/main/transdata/transdata/o2_method6", "");
- model.setValue("/root/main/transdata/transdata/o2_method7", "");
- model.setValue("/root/main/transdata/transdata/o2_method8", "");
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_o2_amount" ref="/root/main/transdata/transdata/o2_amount" imemode="hangul" style="left:335px; top:477px; width:55px; height:19px; "/>
- <select id="cxb_o2_method1" ref="/root/main/transdata/transdata/o2_method1" overflow="visible" appearance="full" style="left:95px; top:504px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Endotracheal tube</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="cxb_o2_method2" ref="/root/main/transdata/transdata/o2_method2" overflow="visible" appearance="full" style="left:306px; top:504px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Tracheal tube</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="cxb_o2_method3" ref="/root/main/transdata/transdata/o2_method3" overflow="visible" appearance="full" style="left:513px; top:504px; width:147px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>nasal cannula</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="cxb_o2_method4" ref="/root/main/transdata/transdata/o2_method4" overflow="visible" appearance="full" style="left:95px; top:528px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Simple Mask</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="cxb_o2_method5" ref="/root/main/transdata/transdata/o2_method5" overflow="visible" appearance="full" style="left:306px; top:528px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Reservoir bag mask</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="cxb_o2_method6" ref="/root/main/transdata/transdata/o2_method6" overflow="visible" appearance="full" style="left:513px; top:528px; width:147px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>T-piece</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="cxb_o2_method7" ref="/root/main/transdata/transdata/o2_method7" overflow="visible" appearance="full" style="left:95px; top:552px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Ambu bagging</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="ipt_o2_method8" ref="/root/main/transdata/transdata/o2_method8" imemode="hangul" maxlength="300" style="left:338px; top:552px; width:322px; height:19px; "/>
- <input id="input27" ref="/root/main/transdata/transdata/phone" disabled="true" imemode="hangul" maxlength="300" style="left:190px; top:726px; width:65px; height:19px; "/>
- <input id="input28" ref="/root/main/transdata/transdata/bedposcntscd" disabled="true" visibility="hidden" imemode="hangul" maxlength="300" style="left:330px; top:675px; width:145px; height:19px; "/>
- <caption id="caption52" style="left:637px; top:807px; width:30px; height:14px; ">[표]</caption>
- <button id="btn_certi" class="btn5_letter5" disabled="true" style="left:605px; top:725px; width:53px; height:19px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCertiSave();
- ]]>
- </script>
- </button>
- <caption id="caption53" class="cell_1" style="left:14px; top:751px; width:79px; height:49px; vertical-align:middle; ">인수병동</caption>
- <input id="input29" ref="/root/main/transdata/transdata/chngroomcd" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:777px; width:92px; height:19px; "/>
- <input id="ipt_prestroomcd" ref="/root/main/transdata/transdata/prestroomcd" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:726px; width:92px; height:19px; "/>
- <input id="input31" ref="/root/main/transdata/transdata/phone2" disabled="true" imemode="hangul" maxlength="300" style="left:190px; top:777px; width:65px; height:19px; "/>
- <line id="line2" class="line_3" style="x1:14px; y1:49px; x2:664px; y2:49px; "/>
- <line id="line3" class="line_3" style="x1:14px; y1:71px; x2:664px; y2:71px; "/>
- <datagrid id="grd_pasthist" nodeset="/root/main/transdata/transdata/pasthistinfo/pasthist/pasthist" disabled="false" scroll="auto" caption="발생일자^병력내역^비고" colsep="^" colwidth="110, 110, 320" mergecellsfixedrows="bycolrec" rowsep="|" style="left:95px; top:201px; width:565px; height:71px; ">
- <col disabled="true" ref="genrdd" type="inputdate"/>
- <col class="gridcombo" disabled="true" ref="histspec" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0532">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pasthist.colType(grd_pasthist.col) == "input") {
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
-
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_ophist" nodeset="/root/main/transdata/ophist" disabled="true" scroll="auto" caption="수술일자^수술코드^수술명" colsep="^" colwidth="110, 110, 320" mergecellsfixedrows="bycolrec" rowsep="|" style="left:95px; top:127px; width:565px; height:71px; ">
- <col ref="opschedd" type="inputdate"/>
- <col ref="opcd" type="input"/>
- <col ref="opnm" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pasthist.colType(grd_pasthist.col) == "input") {
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
-
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_3" style="x1:14px; y1:199px; x2:664px; y2:199px; "/>
- <line id="line5" class="line_3" style="x1:14px; y1:364px; x2:664px; y2:364px; "/>
- <line id="line6" class="line_3" style="x1:14px; y1:273px; x2:664px; y2:273px; "/>
- <line id="line7" class="line_3" style="x1:14px; y1:337px; x2:664px; y2:337px; "/>
- <line id="line10" class="line_3" style="x1:14px; y1:499px; x2:664px; y2:499px; "/>
- <line id="line11" class="line_3" style="x1:14px; y1:575px; x2:664px; y2:575px; "/>
- <line id="line12" class="line_3" style="x1:14px; y1:698px; x2:664px; y2:698px; "/>
- <line id="line14" class="line_3" style="x1:14px; y1:749px; x2:664px; y2:749px; "/>
- <line id="line16" class="line_1" style="x1:14px; y1:800px; x2:664px; y2:800px; "/>
- <button id="btn_outtime" class="icon_clock" navindex="28" style="left:578px; top:717px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var curdt = getCurrentDate() + getCurrentTime().substring(0,4);
- model.setValue("/root/main/transdata/transdata/transout_time", curdt);
- ipt_transout_time.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_intime" class="icon_clock" navindex="28" style="left:578px; top:767px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var curdt = getCurrentDate() + getCurrentTime().substring(0,4);
- model.setValue("/root/main/transdata/transdata/transin_time", curdt);
- ipt_transin_time.refresh();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter10" visibility="hidden" style="left:534px; top:5px; width:130px; height:19px; ">
- <caption>진료재료 부서 이관</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var instcd = model.getValue ("/root/main/transdata/transdata/instcd");
- var pid = model.getValue ("/root/main/transdata/transdata/pid");
- var indd = model.getValue ("/root/main/transdata/transdata/indd");
- var cretno = model.getValue ("/root/main/transdata/transdata/cretno");
- var prewardcd = model.getValue ("/root/main/transdata/transdata/prewardcd");
- var chngwardcd = model.getValue ("/root/main/transdata/transdata/wardcd");
- var patnm = model.getValue ("/root/main/transdata/transdata/pname");
-
- if( pid == "" ){
- messageBox("환자가 선택되지 않았습니다.", "E");
- return;
- }
-
- setParameter("PARAM1", instcd);
- setParameter("PARAM2", pid);
- setParameter("PARAM3", indd);
- setParameter("PARAM4", cretno);
- setParameter("PARAM5", prewardcd);
- setParameter("PARAM6", chngwardcd);
-
- open("SPMNW19001","1", "900", "450");
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter5" style="left:605px; top:703px; width:67px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("1");
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:15px; top:806px; width:145px; height:20px; color:#000000; ">※ 인계병동에서 반드시</caption>
- <caption id="caption2" style="left:163px; top:806px; width:62px; height:20px; color:#ff0000; ">인증저장</caption>
- <caption id="caption3" style="left:222px; top:806px; width:63px; height:20px; ">해야함.</caption>
- <caption id="caption4" style="left:317px; top:806px; width:143px; height:20px; color:#000000; ">※ 인수병동에서 반드시</caption>
- <caption id="caption5" style="left:465px; top:806px; width:35px; height:20px; color:#0000ff; ">저장</caption>
- <caption id="caption6" style="left:499px; top:806px; width:55px; height:20px; ">해야함.</caption>
- <line id="line9" class="line_3" style="x1:14px; y1:125px; x2:664px; y2:125px; "/>
- <select id="chk_drain0" ref="/root/main/transdata/transdata/drain0" overflow="visible" appearance="full" style="left:95px; top:342px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_drain0.value == "Y"){
- checkbox4.disabled = true;
- checkbox5.disabled = true;
- checkbox6.disabled = true;
- input15.disabled = true;
-
- model.setValue("/root/main/transdata/transdata/drain1", "");
- model.setValue("/root/main/transdata/transdata/drain2", "");
- model.setValue("/root/main/transdata/transdata/drain3", "");
- model.setValue("/root/main/transdata/transdata/drain4", "");
- }else{
- checkbox4.disabled = false;
- checkbox5.disabled = false;
- checkbox6.disabled = false;
- input15.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption7" class="cell_1" style="left:14px; top:366px; width:79px; height:53px; vertical-align:middle; ">주요약물</caption>
- <line id="line17" class="line_3" style="x1:14px; y1:419px; x2:664px; y2:419px; "/>
- <select id="chk_drug0" ref="/root/main/transdata/transdata/drug0" overflow="visible" appearance="full" style="left:95px; top:371px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_drug0.value == "Y"){
- checkbox3 .disabled = true;
- checkbox7 .disabled = true;
- checkbox8.disabled = true;
- checkbox9.disabled = true;
- input1.disabled = true;
-
- model.setValue("/root/main/transdata/transdata/drug1", "");
- model.setValue("/root/main/transdata/transdata/drug2", "");
- model.setValue("/root/main/transdata/transdata/drug3", "");
- model.setValue("/root/main/transdata/transdata/drug4", "");
- model.setValue("/root/main/transdata/transdata/drug5", "");
- }else{
- checkbox3.disabled = false;
- checkbox7.disabled = false;
- checkbox8.disabled = false;
- checkbox9.disabled = false;
- input1.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="checkbox3" ref="/root/main/transdata/transdata/drug1" overflow="visible" appearance="full" style="left:95px; top:395px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Inotropics</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox7" ref="/root/main/transdata/transdata/drug2" overflow="visible" appearance="full" style="left:190px; top:395px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Heparin</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox8" ref="/root/main/transdata/transdata/drug3" overflow="visible" appearance="full" style="left:270px; top:395px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Herben</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox9" ref="/root/main/transdata/transdata/drug4" overflow="visible" appearance="full" style="left:350px; top:395px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>아스피린 계열</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="input1" ref="/root/main/transdata/transdata/drug5" style="left:495px; top:395px; width:165px; height:19px; "/>
- <line id="line18" class="line_3" style="x1:14px; y1:472px; x2:664px; y2:472px; "/>
- <caption id="caption8" class="cell_1" style="left:14px; top:421px; width:79px; height:51px; vertical-align:middle; ">동반</caption>
- <caption id="caption9" style="left:97px; top:424px; width:43px; height:20px; ">의료진</caption>
- <select1 id="rdo_acmpnydnyn" ref="/root/main/transdata/transdata/acmpnydnyn" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:140px; top:425px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (rdo_acmpnydnyn.value == "2") {
- checkbox11.disabled = false;
- checkbox13.disabled = false;
- }
- else
- {
- checkbox11.disabled = true;
- checkbox13.disabled = true;
- model.setValue("/root/main/transdata/transdata/acmpnydr", "");
- model.setValue("/root/main/transdata/transdata/acmpnynr", "");
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select id="checkbox11" ref="/root/main/transdata/transdata/acmpnydr" disabled="true" overflow="visible" appearance="full" style="left:227px; top:425px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>의사</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption10" style="left:220px; top:425px; width:15px; height:20px; ">(</caption>
- <caption id="caption11" style="left:340px; top:425px; width:10px; height:20px; ">)</caption>
- <caption id="caption12" style="left:95px; top:448px; width:45px; height:20px; ">기타</caption>
- <select id="checkbox12" ref="/root/main/transdata/transdata/acmpnyetc" overflow="visible" appearance="full" style="left:140px; top:451px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>보조요원</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption13" style="left:352px; top:422px; width:90px; height:20px; ">의료진 동반 :</caption>
- <caption id="caption14" style="left:437px; top:436px; width:246px; height:20px; ">2) 쇽이 동반된 환자</caption>
- <caption id="caption15" style="left:437px; top:451px; width:246px; height:20px; ">3) 기도폐쇄, 심한 출혈 등이 있는 환자</caption>
- <caption id="caption16" style="left:437px; top:420px; width:246px; height:20px; ">1) 인공호흡이 필요한 환자</caption>
- <caption id="caption17" class="cell_1" style="left:190px; top:700px; width:65px; height:24px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption18" class="cell_1" style="left:258px; top:700px; width:55px; height:49px; vertical-align:middle; ">인계자</caption>
- <caption id="caption19" class="cell_1" style="left:380px; top:700px; width:65px; height:49px; vertical-align:middle; ">인계일자</caption>
- <caption id="caption20" class="cell_1" style="left:190px; top:750px; width:65px; height:24px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption21" class="cell_1" style="left:258px; top:751px; width:55px; height:49px; vertical-align:middle; ">인수자</caption>
- <caption id="caption22" class="cell_1" style="left:380px; top:751px; width:65px; height:49px; vertical-align:middle; ">인수일자</caption>
- <select id="checkbox13" ref="/root/main/transdata/transdata/acmpnynr" disabled="true" overflow="visible" appearance="full" style="left:282px; top:425px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>간호사</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption23" style="left:465px; top:394px; width:35px; height:20px; ">기타</caption>
- <line id="line13" class="line_3" style="x1:15px; y1:671px; x2:665px; y2:671px; "/>
- <caption id="caption24" class="cell_1" style="left:14px; top:577px; width:79px; height:94px; vertical-align:middle; ">
- <![CDATA[제공되는
- 장비 및
- 기구]]>
- </caption>
- <caption id="caption25" style="left:97px; top:649px; width:100px; height:20px; ">기타</caption>
- <select id="chk_instrument0" ref="/root/main/transdata/transdata/instrument0" overflow="visible" appearance="full" style="left:95px; top:580px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_instrument0.value == "Y"){
- chk_instrument1 .disabled = true;
- chk_instrument2 .disabled = true;
- chk_instrument3.disabled = true;
- chk_instrument4.disabled = true;
- chk_instrument5.disabled = true;
- chk_instrument6 .disabled = true;
- chk_instrument7.disabled = true;
- chk_instrument8.disabled = true;
- ipt_instrument9.disabled = true;
-
- model.setValue("/root/main/transdata/transdata/instrument1", "");
- model.setValue("/root/main/transdata/transdata/instrument2", "");
- model.setValue("/root/main/transdata/transdata/instrument3", "");
- model.setValue("/root/main/transdata/transdata/instrument4", "");
- model.setValue("/root/main/transdata/transdata/instrument5", "");
- model.setValue("/root/main/transdata/transdata/instrument6", "");
- model.setValue("/root/main/transdata/transdata/instrument7", "");
- model.setValue("/root/main/transdata/transdata/instrument8", "");
- model.setValue("/root/main/transdata/transdata/instrument9", "");
- }else{
- chk_instrument1 .disabled = false;
- chk_instrument2 .disabled = false;
- chk_instrument3.disabled = false;
- chk_instrument4.disabled = false;
- chk_instrument5.disabled = false;
- chk_instrument6 .disabled = false;
- chk_instrument7.disabled = false;
- chk_instrument8.disabled = false;
- ipt_instrument9.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_instrument1" ref="/root/main/transdata/transdata/instrument1" overflow="visible" appearance="full" style="left:306px; top:580px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>EKG monitor</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_instrument2" ref="/root/main/transdata/transdata/instrument2" overflow="visible" appearance="full" style="left:513px; top:580px; width:147px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Pulse oximeter</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_instrument3" ref="/root/main/transdata/transdata/instrument3" overflow="visible" appearance="full" style="left:95px; top:604px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Portable O2</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_instrument4" ref="/root/main/transdata/transdata/instrument4" overflow="visible" appearance="full" style="left:306px; top:604px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Wall suction</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_instrument5" ref="/root/main/transdata/transdata/instrument5" overflow="visible" appearance="full" style="left:513px; top:604px; width:147px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Gomco suction</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="ipt_instrument9" ref="/root/main/transdata/transdata/instrument9" style="left:130px; top:650px; width:265px; height:19px; "/>
- <select id="chk_instrument6" ref="/root/main/transdata/transdata/instrument6" overflow="visible" appearance="full" style="left:95px; top:628px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Infusion pump</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_instrument7" ref="/root/main/transdata/transdata/instrument7" overflow="visible" appearance="full" style="left:306px; top:628px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Nebulizer</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_instrument8" ref="/root/main/transdata/transdata/instrument8" overflow="visible" appearance="full" style="left:513px; top:628px; width:147px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Ventilator</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="btn_zoom" class="btn5_letter3" style="left:21px; top:106px; width:53px; height:19px; ">
- <caption>확대</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_zoom.attribute("text") == "확대" ) {
- fsetzoomToggle1(true);
- } else {
- fsetzoomToggle1(false);
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_zoom2" class="btn5_letter3" style="left:21px; top:318px; width:53px; height:19px; ">
- <caption>확대</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_zoom2.attribute("text") == "확대" ) {
- fsetzoomToggle2(true);
- } else {
- fsetzoomToggle2(false);
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <textarea id="textarea2" ref="/root/main/transdata/transdata/psummary" scroll="auto" maxlength="4000" style="left:95px; top:73px; width:565px; height:52px; "/>
- <textarea id="textarea3" ref="/root/main/transdata/transdata/etc_desc" scroll="auto" maxlength="4000" style="left:95px; top:275px; width:565px; height:62px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|