12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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/>
- <nurse_plan/>
- <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/>
- <nurse_plan/>
- <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 = "2"; //전동기록지 "1", 전입기록지 "2"
- var certichk = ""; //인증저장 활성화 컨트롤
-
-
- 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("SMMNW01302_PID");
- var indd = opener.javascript.getParameter("SMMNW01302_INDD");
- var cretno = opener.javascript.getParameter("SMMNW01302_CRETNO");
- var appdd = opener.javascript.getParameter("SMMNW01302_APPDD");
- var apptm = opener.javascript.getParameter("SMMNW01302_APPTM");
- var instcd = opener.javascript.getParameter("SMMNW01302_INSTCD");
- var seqno = opener.javascript.getParameter("SMMNW01302_SEQNO");
- var orddeptcd = opener.javascript.getParameter("SMMNW01302_ORDDEPTCD");
- var orddrid = opener.javascript.getParameter("SMMNW01302_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;
- */
- flag = "1";
- model.makeValue("root/main/cond/flag", flag);
- submit("TRMNW01303");
-
- var get_pid = model.getValue("root/main/transdata/transdata/pid");
- flag = "2";
- certichk = "1";
- model.makeValue("root/main/cond/flag", flag);
- model.setValue("/root/main/transdata/transdata/signno", ""); //전입기록지 초기화
- if ( get_wardcd == dutplcecd ) {
- ipt_transin_time.disabled = false;
- ipt_transin_id.disabled = false;
- btn_intime.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;
-
- }
- //model.setValue("/root/main/transdata/transdata/signno", ""); //전입기록지 초기화
- }
-
- var prewardcd = model.getValue("/root/main/transdata/transdata/prewardcd");
- // 인수병동 사용자의 경우
- if ( get_wardcd == 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(certichk = "1"){
- btn_certi.disabled = false;
- certichk ="";
- }
-
- 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() {
- 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();
- }
- }
- }
-
- function fCertiSave() {
- model.makeNode("/root/main/transdata/transdata/ophistinfo/ophist");
- model.copyNode("/root/main/transdata/transdata/ophistinfo/ophist", "/root/main/transdata/ophist");
-
- var chkFlag = model.getValue("/root/main/transdata/transdata/flag");
- if(chkFlag == "1"){
- flag = "2";
- model.setValue("/root/main/transdata/transdata/flag", flag); //전입기록지
- }
-
- 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("Moving in 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", "1600017776" ); //각 기록지별 서식코드
- 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")= "153px";
- } else {
- btn_zoom2.attribute("text") = "확대";
- textarea3.attribute("height")= "62px";
- }
- }
- function fsetzoomToggle3(state){
- if(state) {
- btn_zoom3.attribute("text") = "축소";
- textarea1.attribute("height")= "144px";
- } else {
- btn_zoom3.attribute("text") = "확대";
- textarea1.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="910" 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:900px; ">
- <caption id="caption30" class="cell_1" style="left:14px; top:275px; width:79px; height:62px; vertical-align:middle; ">
- <![CDATA[환자 상태
- 요약]]>
- </caption>
- <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>
- <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:404px; 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:407px; 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:407px; 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:407px; 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:407px; width:100px; height:20px; ">기타</caption>
- <input id="input15" ref="/root/main/transdata/transdata/drain4" imemode="hangul" maxlength="300" style="left:440px; top:407px; 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:539px; width:79px; height:26px; vertical-align:middle; ">산 소</caption>
- <caption id="caption40" class="cell_1" style="left:479px; top:539px; 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:542px; 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:539px; width:79px; height:26px; vertical-align:middle; ">산소 투여량</caption>
- <caption id="caption42" style="left:390px; top:542px; width:50px; height:20px; ">ℓ/min</caption>
- <caption id="caption43" class="cell_1" style="left:14px; top:566px; width:79px; height:74px; vertical-align:middle; ">
- <![CDATA[산 소
- 투여방법]]>
- </caption>
- <caption id="caption44" style="left:308px; top:617px; 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:741px; 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:738px; width:79px; height:26px; vertical-align:middle; ">이송방법</caption>
- <caption id="caption46" class="cell_1" style="left:14px; top:765px; 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:780px; 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:791px; 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:831px; width:128px; height:19px; "/>
- <input id="ipt_transin_nm" ref="/root/main/transdata/transdata/transin_nm" disabled="true" maxlength="300" style="left:315px; top:842px; width:60px; height:19px; "/>
- <input id="ipt_bedposcnts" ref="/root/main/transdata/transdata/bedposcnts" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:791px; width:92px; height:19px; "/>
- <button id="button2" class="btn2_letter3" visibility="hidden" style="left:605px; top:830px; width:53px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/transdata/transdata/wardcd" class="combo_search" disabled="true" appearance="minimal" style="left:95px; top:819px; 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:740px; width:114px; height:19px; "/>
- <input id="input22" ref="/root/main/transdata/transdata/prewardnm" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:768px; width:92px; height:19px; "/>
- <input id="ipt_transin_id" ref="/root/main/transdata/transdata/transin_id" maxlength="300" style="left:315px; top:819px; 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:768px; 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:542px; 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:542px; width:55px; height:19px; "/>
- <select id="cxb_o2_method1" ref="/root/main/transdata/transdata/o2_method1" overflow="visible" appearance="full" style="left:95px; top:569px; 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:569px; 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:569px; 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:593px; 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:593px; 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:593px; 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:617px; 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:617px; width:322px; height:19px; "/>
- <input id="input27" ref="/root/main/transdata/transdata/phone" disabled="true" imemode="hangul" maxlength="300" style="left:190px; top:791px; 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:740px; width:145px; height:19px; "/>
- <caption id="caption52" style="left:637px; top:872px; width:30px; height:14px; ">[표]</caption>
- <button id="btn_certi" class="btn5_letter5" disabled="true" style="left:605px; top:830px; width:75px; height:19px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCertiSave();
- ]]>
- </script>
- </button>
- <caption id="caption53" class="cell_1" style="left:14px; top:816px; 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:842px; width:92px; height:19px; "/>
- <input id="ipt_prestroomcd" ref="/root/main/transdata/transdata/prestroomcd" disabled="true" imemode="hangul" maxlength="300" style="left:95px; top:791px; width:92px; height:19px; "/>
- <input id="input31" ref="/root/main/transdata/transdata/phone2" disabled="true" imemode="hangul" maxlength="300" style="left:190px; top:842px; 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:429px; x2:664px; y2:429px; "/>
- <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:564px; x2:664px; y2:564px; "/>
- <line id="line11" class="line_3" style="x1:14px; y1:640px; x2:664px; y2:640px; "/>
- <line id="line12" class="line_3" style="x1:14px; y1:763px; x2:664px; y2:763px; "/>
- <line id="line14" class="line_3" style="x1:14px; y1:814px; x2:664px; y2:814px; "/>
- <line id="line16" class="line_1" style="x1:14px; y1:865px; x2:664px; y2:865px; "/>
- <button id="btn_outtime" class="icon_clock" navindex="28" style="left:578px; top:782px; 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:832px; 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" visibility="hidden" style="left:605px; top:768px; width:75px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:15px; top:871px; width:145px; height:20px; color:#000000; ">※ 인수병동에서 반드시</caption>
- <caption id="caption2" style="left:163px; top:871px; width:62px; height:20px; color:#ff0000; ">인증저장</caption>
- <caption id="caption3" style="left:222px; top:871px; width:63px; 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:407px; 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:431px; width:79px; height:53px; vertical-align:middle; ">주요약물</caption>
- <line id="line17" class="line_3" style="x1:14px; y1:484px; x2:664px; y2:484px; "/>
- <select id="chk_drug0" ref="/root/main/transdata/transdata/drug0" overflow="visible" appearance="full" style="left:95px; top:436px; 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:460px; 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:460px; 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:460px; 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:460px; 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:460px; width:165px; height:19px; "/>
- <line id="line18" class="line_3" style="x1:14px; y1:537px; x2:664px; y2:537px; "/>
- <caption id="caption8" class="cell_1" style="left:14px; top:486px; width:79px; height:51px; vertical-align:middle; ">동반</caption>
- <caption id="caption9" style="left:97px; top:489px; 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:490px; 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:490px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>의사</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption10" style="left:220px; top:490px; width:15px; height:20px; ">(</caption>
- <caption id="caption11" style="left:340px; top:490px; width:10px; height:20px; ">)</caption>
- <caption id="caption12" style="left:95px; top:513px; width:45px; height:20px; ">기타</caption>
- <select id="checkbox12" ref="/root/main/transdata/transdata/acmpnyetc" overflow="visible" appearance="full" style="left:140px; top:516px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>보조요원</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption13" style="left:352px; top:487px; width:90px; height:20px; ">의료진 동반 :</caption>
- <caption id="caption14" style="left:437px; top:501px; width:246px; height:20px; ">2) 쇽이 동반된 환자</caption>
- <caption id="caption15" style="left:437px; top:516px; width:246px; height:20px; ">3) 기도폐쇄, 심한 출혈 등이 있는 환자</caption>
- <caption id="caption16" style="left:437px; top:485px; width:246px; height:20px; ">1) 인공호흡이 필요한 환자</caption>
- <caption id="caption17" class="cell_1" style="left:190px; top:765px; width:65px; height:24px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption18" class="cell_1" style="left:258px; top:765px; width:55px; height:49px; vertical-align:middle; ">인계자</caption>
- <caption id="caption19" class="cell_1" style="left:380px; top:765px; width:65px; height:49px; vertical-align:middle; ">인계일자</caption>
- <caption id="caption20" class="cell_1" style="left:190px; top:815px; width:65px; height:24px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption21" class="cell_1" style="left:258px; top:816px; width:55px; height:49px; vertical-align:middle; ">인수자</caption>
- <caption id="caption22" class="cell_1" style="left:380px; top:816px; 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:490px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>간호사</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption23" style="left:465px; top:459px; width:35px; height:20px; ">기타</caption>
- <line id="line13" class="line_3" style="x1:15px; y1:736px; x2:665px; y2:736px; "/>
- <caption id="caption24" class="cell_1" style="left:14px; top:642px; width:79px; height:94px; vertical-align:middle; ">
- <![CDATA[제공되는
- 장비 및
- 기구]]>
- </caption>
- <caption id="caption25" style="left:97px; top:714px; width:100px; height:20px; ">기타</caption>
- <select id="chk_instrument0" ref="/root/main/transdata/transdata/instrument0" overflow="visible" appearance="full" style="left:95px; top:645px; 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:645px; 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:645px; 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:669px; 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:669px; 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:669px; 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:715px; width:265px; height:19px; "/>
- <select id="chk_instrument6" ref="/root/main/transdata/transdata/instrument6" overflow="visible" appearance="full" style="left:95px; top:693px; 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:693px; 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:693px; 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>
- <textarea id="textarea2" ref="/root/main/transdata/transdata/psummary" scroll="auto" maxlength="4000" style="left:95px; top:73px; width:565px; height:52px; "/>
- <caption id="caption26" class="cell_1" style="left:14px; top:339px; width:79px; height:62px; vertical-align:middle; ">간호계획</caption>
- <line id="line8" class="line_3" style="x1:14px; y1:402px; x2:664px; y2:402px; "/>
- <textarea id="textarea1" ref="/root/main/transdata/transdata/nurse_plan" scroll="auto" maxlength="4000" style="left:95px; top:339px; width:565px; height:62px; "/>
- <button id="btn_zoom3" class="btn5_letter3" style="left:21px; top:382px; width:53px; height:19px; ">
- <caption>확대</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_zoom3.attribute("text") == "확대" ) {
- fsetzoomToggle3(true);
- } else {
- fsetzoomToggle3(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="textarea3" ref="/root/main/transdata/transdata/etc_desc" scroll="auto" maxlength="4000" style="left:95px; top:275px; width:565px; height:61px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|