1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279 |
- <?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">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <suminfo>
- <patinfo>
- <recdd/>
- <rectm/>
- <recusernm/>
- <recuserid/>
- <outgd1/>
- <outgd2/>
- <outgd3/>
- <outgd4/>
- </patinfo>
- </suminfo>
- </main>
- <cond>
- <pid/>
- <orddd/>
- <cretno/>
- <visitno/>
- <outrmdt/>
- <outrmcd/>
- <orddeptcd/>
- <orddrid/>
- <outrmtp/>
- <dschhosptype/>
- <chnghospnm/>
- </cond>
- <send/>
- <init/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var paminfo = getGlobalVariable("paminfo");
- var pid = "";
- var orddd = "";
- var cretno = "";
- var visitno = "";
- var outrmcd = "";
- var outrmdt = "";
-
- // 15.07.29 추가
- var outrmtp = "";
- var dschhosptype = "";
- var chnghospnm = "";
- // 15.07.29 추가
-
- if(paminfo.length > 0) {
-
- model.makeNode("/root/main/paminfo");
- setCSVToNode("/root/main/paminfo", paminfo); //환자정보내리기
- pid = model.getValue("/root/main/paminfo/list/pid");
- orddd = model.getValue("/root/main/paminfo/list/indd");
- cretno = model.getValue("/root/main/paminfo/list/cretno");
-
- // 15.07.29 추가
- //outrmtp = opener.javascript.getParameter("SMMNE09300_outrmtp");
- outrmcd = opener.javascript.getParameter("SMMNE09300_outrmcd");
- dschhosptype = opener.javascript.getParameter("SMMNE09300_dschhosptype");
- chnghospnm = opener.javascript.getParameter("SMMNE09300_chnghospnm");
- // 15.07.29 추가
-
- } else {
-
- pid = opener.javascript.getParameter("SMMNE09300_pid");
- orddd = opener.javascript.getParameter("SMMNE09300_orddd");
- cretno = opener.javascript.getParameter("SMMNE09300_cretno");
- visitno = opener.javascript.getParameter("SMMNE09300_visitno");
- outrmcd = opener.javascript.getParameter("SMMNE09300_outrmcd");
- outrmdt = opener.javascript.getParameter("SMMNE09300_outrmdt");
-
- // 15.07.29 추가
- outrmtp = opener.javascript.getParameter("SMMNE09300_outrmtp");
- dschhosptype = opener.javascript.getParameter("SMMNE09300_dschhosptype");
- chnghospnm = opener.javascript.getParameter("SMMNE09300_chnghospnm");
- // 15.07.29 추가
- }
-
- if (pid != "" && pid != null) {
- model.setValue("/root/cond/pid", pid);
- model.setValue("/root/cond/orddd", orddd);
- model.setValue("/root/cond/cretno", cretno);
- model.setValue("/root/cond/visitno", visitno);
- model.setValue("/root/cond/outrmdt", outrmdt);
- model.setValue("/root/cond/outrmcd", outrmcd);
-
- // 15.07.29 추가
- //model.setValue("/root/cond/outrmtp", outrmtp);
- model.setValue("/root/cond/dschhosptype", dschhosptype);
- model.setValue("/root/cond/chnghospnm", chnghospnm);
- // 15.07.29 추가
-
- //fSearch();
- fSrchErPatInfo();
- }
-
- ]]>
- </script>
- <submission id="TRMNE09303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/erpatlist"/>
- <submission id="TRMNE09301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/suminfo"/>
- <submission id="TRMNE09302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/erordinfo"/>
- <submission id="TXMNE09301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript">
- <![CDATA[
- //등록번호 입력란 입력시 대상 환자가 응급실 재원했던 이력이 있는지 조회
- function fSrchErPatInfo(){
- clearParameter("SMMNE09300_pid");
- clearParameter("SMMNE09300_orddd");
- clearParameter("SMMNE09300_cretno");
- clearParameter("SMMNE09300_visitno");
- clearParameter("SMMNE09300_outrmcd");
- clearParameter("SMMNE09300_outrmdt");
-
- // 15.07.29_추가
- clearParameter("SMMNE09300_dschhosptype");
- clearParameter("SMMNE09300_chnghospnm");
- // 15.07.29_추가
-
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/pid", model.getValue("/root/cond/pid"));
- model.makeValue("/root/send/orddd", model.getValue("/root/cond/orddd"));
- model.makeValue("/root/send/cretno", model.getValue("/root/cond/cretno"));
- model.makeValue("/root/send/visitno", model.getValue("/root/cond/visitno"));
- model.removeNodeset("/root/main/erpatinfo/erpatlist") ;
-
- var pid = "";
- var indd = "";
- var cretno = "";
- var visitno = "";
- var chosdd = "";
- var chostm = "";
- var outrmdd = "";
- var outrmtm = "";
- var orddetpcd, orddrid;
-
-
- if(submit("TRMNE09303") == true){
- if(getNodesetCount("/root/main/erpatinfo/erpatlist") == 1){
- pid = model.getValue("/root/main/erpatinfo/erpatlist/pid");
- indd = model.getValue("/root/main/erpatinfo/erpatlist/indd");
- cretno = model.getValue("/root/main/erpatinfo/erpatlist/cretno");
- visitno = model.getValue("/root/main/erpatinfo/erpatlist/visitno");
- chosdd = model.getValue("/root/main/erpatinfo/erpatlist/chosdd");
- chostm = model.getValue("/root/main/erpatinfo/erpatlist/chostm");
- outrmdd = model.getValue("/root/main/erpatinfo/erpatlist/outrmdd");
- outrmtm = model.getValue("/root/main/erpatinfo/erpatlist/outrmtm");
- orddeptcd = model.getValue("/root/main/erpatinfo/erpatlist/orddeptcd");
- orddrid = model.getValue("/root/main/erpatinfo/erpatlist/orddrid");
-
- if (outrmdd == "-" || outrmdd == "" || outrmdd == null ) {
- outrmdd = getCurrentDate();
- outrmtm = getCurrentTime().substr(0, 4);
- }
-
- model.setValue("/root/cond/pid", pid);
- model.setValue("/root/cond/orddd", indd);
- model.setValue("/root/cond/cretno", cretno);
- model.setValue("/root/cond/visitno", visitno);
- model.setValue("/root/cond/outrmdt", outrmdd + outrmtm);
- model.setValue("/root/cond/orddeptcd", orddeptcd);
- model.setValue("/root/cond/orddrid", orddrid);
-
- fSearch();
-
- } else if(getNodesetCount("/root/main/erpatinfo/erpatlist") > 1){
- grd_erpatlist.visible = true;
- } else{
- //messageBox("해당 환자번호에 대한 NEDIS 전송이력이 존재하지 않습니다.", "E");
- messageBox("해당 환자번호에 대한 응급실 내원 이력이 존재하지 않습니다.", "E");
- model.setFocus("ipt_pid");
- return;
- }
- }
- }
-
- function fSearch() {
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/pid", model.getValue("/root/cond/pid"));
- model.makeValue("/root/send/indd", model.getValue("/root/cond/orddd"));
- model.makeValue("/root/send/cretno", model.getValue("/root/cond/cretno"));
- model.makeValue("/root/send/visitno", model.getValue("/root/cond/visitno"));
- model.makeValue("/root/send/outrmdt", model.getValue("/root/cond/outrmdt"));
-
- if (submit("TRMNE09301")) {
- var curdd = getCurrentDate();
- var curtm = getCurrentTime();
- var userid = getUserInfo("userid");
- var usernm = getUserInfo("usernm");
- var sinstcd = getUserInfo("dutplceinstcd");
-
- if (model.getValue("/root/main/suminfo/patinfo/recdd") == "" ) {
- model.makeValue("/root/main/suminfo/patinfo/recdd", curdd);
- model.makeValue("/root/main/suminfo/patinfo/rectm", curtm);
- model.makeValue("/root/main/suminfo/patinfo/recuserid", userid);
- model.makeValue("/root/main/suminfo/patinfo/recusernm", usernm);
- }
-
- if (getNodesetCnt(model, "/root/main/suminfo/patinfo/diaginfo/diaginfo/diaglist") > 0) {
- model.removeNodeset("/root/temp/diaginfo");
- model.makeNode("/root/temp/diaginfo");
- copyNodeset("/root/temp/diaginfo/diaglist", "/root/main/suminfo/patinfo/diaginfo/diaginfo/diaglist");
- copyNodeset("/root/main/suminfo/diaglist", "/root/temp/diaginfo/diaglist", "replace");
- }
-
- if (getNodesetCnt(model, "/root/main/suminfo/patinfo/ercallinfo/ercallinfo/ercalllist") > 0) {
- model.removeNodeset("/root/temp/ercallinfo");
- model.makeNode("/root/temp/ercallinfo");
- copyNodeset("/root/temp/ercallinfo/ercalllist", "/root/main/suminfo/patinfo/ercallinfo/ercallinfo/ercalllist");
- copyNodeset("/root/main/suminfo/ercalllist", "/root/temp/ercallinfo/ercalllist", "replace");
- }
-
- if (getNodesetCnt(model, "/root/main/suminfo/patinfo/ordinfo/ordinfo/ordlist") > 0) {
- model.removeNodeset("/root/temp/ordinfo");
- model.makeNode("/root/temp/ordinfo");
- copyNodeset("/root/temp/ordinfo/ordlist", "/root/main/suminfo/patinfo/ordinfo/ordinfo/ordlist");
- copyNodeset("/root/main/suminfo/ordlist", "/root/temp/ordinfo/ordlist", "replace");
- }
-
- if (model.getValue("/root/main/suminfo/patinfo/outrmdt") == "--" || model.getValue("/root/main/suminfo/patinfo/outrmdt") == "" ) {
- model.makeValue("/root/main/suminfo/patinfo/outrmdt", model.getValue("/root/cond/outrmdt"));
- }
-
- //if (model.getValue("/root/main/suminfo/patinfo/outrmcd") == "" ) {
- // model.makeValue("/root/main/suminfo/patinfo/outrmcd", model.getValue("/root/cond/outrmcd"));
- //}
-
- var ordcnt = getNodesetCnt(model, "/root/main/suminfo/ordlist");
-
- for (var i = 1; i <= ordcnt; i++) {
- model.makeValue("/root/main/suminfo/ordlist[" + i + "]/stat", "Y");
- }
-
- // 소견서
- if (model.getValue("/root/main/suminfo/patinfo/certcnt") == "Y") {
- model.setValue("/root/main/suminfo/patinfo/outgd1", "Y")
- }
-
- // 제증명
- if (model.getValue("/root/main/suminfo/patinfo/cpapcnt") == "Y") {
- model.setValue("/root/main/suminfo/patinfo/outgd4", "Y")
- }
-
- // 15.07.29 추가
- if(model.getvalue("/root/main/suminfo/patinfo/signno") == "" || model.getvalue("/root/main/suminfo/patinfo/signno") == null){
- //alert("signno is null!!");
- if(model.getvalue("/root/main/suminfo/patinfo/outrmcd") == "" || model.getvalue("/root/main/suminfo/patinfo/outrmcd") == null){
- //alert("outrmtp is null");
- model.makeValue("/root/main/suminfo/patinfo/outrmcd", model.getValue("/root/cond/outrmcd"));
- }
-
- if(model.getvalue("/root/main/suminfo/patinfo/chnghospnm") == "" || model.getvalue("/root/main/suminfo/patinfo/chnghospnm") == null){
- //alert("chnghospnm is null");
- model.makeValue("/root/main/suminfo/patinfo/chnghospnm", model.getValue("/root/cond/chnghospnm"));
- }
-
- if(model.getvalue("/root/main/suminfo/patinfo/dschhosptype") == "" || model.getvalue("/root/main/suminfo/patinfo/dschhosptype") == null){
- //alert("dschhosptype is null");
- model.makeValue("/root/main/suminfo/patinfo/dschhosptype", model.getValue("/root/cond/dschhosptype"));
- }
- }
-
- //16.09.19 퇴원시 GCS추가_권역외상
- if (model.getValue("/root/main/suminfo/patinfo/trmsyn") == "Y" && sinstcd == "031" &&
- isSearchString(model.getValue("/root/main/suminfo/patinfo/outrmcd"), "귀가") == false &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "증상이 호전되어 귀가" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "말기질환으로 귀가(가정간호 등)" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "외래방문 후 귀가 또는 입원" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "자의 퇴실" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "기타(재활원, 일반시설로 돌아간 경우 등)" ) {
-
- var sAge = parseInt(model.getValue("/root/main/suminfo/patinfo/age_int"));
- group4.disabled = false;
- // combo2.disabled = false; //퇴실시_GCS눈
- // combo5.disabled = false; //퇴실시_GCS운동
- // input37.disabled = false; //퇴실시_GCS(점수)
- if (sAge < 5) {
- combo4.disabled = false; //퇴실시_GCS소아(언어)input51
- combo3.disabled = true;
- //model.setValue("/root/main/suminfo/patinfo/gcsv", "-1"); //퇴실시_GCS언어_비대상
- //model.setValue("/root/main/suminfo/patinfo/gcsv", "9"); //퇴실시_GCS언어(소아)_측정하지 않음(9)
- } else {
- combo3.disabled = false; //퇴실시_GCS언어
- combo4.disabled = true;
- //model.setValue("/root/main/suminfo/patinfo/gcsv", "9"); //퇴실시_GCS언어_측정하지 않음(9)
- //model.setValue("/root/main/suminfo/patinfo/gcsp", "-1"); //퇴실시_GCS언어(소아)_비대상
- }
- } else{
- group4.disabled = true;
- }
-
- // 15.07.29 추가
- //btn_ordsear.dispatch("onclick");
- model.refresh();
- }
- }
-
- function fSave(param) {
-
- //--------------------------------------------------------
- model.removeNodeset("/root/temp/diaginfo");
- model.makeNode("/root/temp/diaginfo");
- copyNodeset("/root/temp/diaginfo/diaglist", "/root/main/suminfo/diaglist");
-
- model.removeNodeset("/root/main/suminfo/patinfo/diaginfo");
- model.makeValue("/root/main/suminfo/patinfo/diaginfo", fGetXmlToStr("/root/temp/diaginfo"));
-
- model.makeNode("/root/main/suminfo/patinfo/diaginfo1");
- copyNodeset("/root/main/suminfo/patinfo/diaginfo1/diaginfo", "/root/temp/diaginfo");
-
- //--------------------------------------------------------
- model.removeNodeset("/root/temp/ercallinfo");
- model.makeNode("/root/temp/ercallinfo");
- copyNodeset("/root/temp/ercallinfo/ercalllist", "/root/main/suminfo/ercalllist");
-
- model.removeNodeset("/root/main/suminfo/patinfo/ercallinfo");
- model.makeValue("/root/main/suminfo/patinfo/ercallinfo", fGetXmlToStr("/root/temp/ercallinfo"));
-
- model.makeNode("/root/main/suminfo/patinfo/ercallinfo1");
- copyNodeset("/root/main/suminfo/patinfo/ercallinfo1/ercallinfo", "/root/temp/ercallinfo");
- //--------------------------------------------------------
- model.removeNodeset("/root/temp/ordinfo");
- model.makeNode("/root/temp/ordinfo");
-
- model.removeNodeset("/root/temp/ordinfo");
- model.makeNode("/root/temp/ordinfo");
-
- var jj = 1;
-
- var tempcnt = getNodesetCount("/root/main/suminfo/ordlist");
- for (var ii = 1; ii <= tempcnt; ii++) {
- if (model.getValue("/root/main/suminfo/ordlist[" + ii + "]/stat") == "Y") {
- model.makeValue("/root/temp/ordinfo/ordlist[" + jj + "]/prcpdd", model.getValue("/root/main/suminfo/ordlist[" + ii + "]/prcpdd"));
- model.makeValue("/root/temp/ordinfo/ordlist[" + jj + "]/prcpno", model.getValue("/root/main/suminfo/ordlist[" + ii + "]/prcpno"));
- model.makeValue("/root/temp/ordinfo/ordlist[" + jj + "]/prcpnm", model.getValue("/root/main/suminfo/ordlist[" + ii + "]/prcpnm"));
- model.makeValue("/root/temp/ordinfo/ordlist[" + jj + "]/senddt", model.getValue("/root/main/suminfo/ordlist[" + ii + "]/senddt"));
- model.makeValue("/root/temp/ordinfo/ordlist[" + jj + "]/acptdt", model.getValue("/root/main/suminfo/ordlist[" + ii + "]/acptdt"));
- model.makeValue("/root/temp/ordinfo/ordlist[" + jj + "]/execdt", model.getValue("/root/main/suminfo/ordlist[" + ii + "]/execdt"));
- model.makeValue("/root/temp/ordinfo/ordlist[" + jj + "]/arrvdt", model.getValue("/root/main/suminfo/ordlist[" + ii + "]/arrvdt"));
- jj++;
- }
- }
-
- //copyNodeset("/root/temp/ordinfo/ordlist", "/root/main/suminfo/ordlist");
-
- model.removeNodeset("/root/main/suminfo/patinfo/ordinfo");
- model.makeValue("/root/main/suminfo/patinfo/ordinfo", fGetXmlToStr("/root/temp/ordinfo"));
-
- model.makeNode("/root/main/suminfo/patinfo/ordinfo1");
- copyNodeset("/root/main/suminfo/patinfo/ordinfo1/ordinfo", "/root/temp/ordinfo");
- //--------------------------------------------------------
-
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/main/suminfo/patinfo");
-
- if (param == "certi") {
-
- if (model.getValue("/root/main/suminfo/patinfo/outrmdt") == "" || model.getValue("/root/main/suminfo/patinfo/outrmdt") == "--") {
- messageBox("퇴실일시가 없습니다. ", "E999");
- return
- }
-
- if (model.getValue("/root/main/suminfo/patinfo/outrmcd") == ""){
- messageBox("퇴실구분이 없습니다.", "E999");
- return
- }
-
- //if (model.getValue("/root/main/suminfo/patinfo/trmsyn") == "Y" && getUserInfo("dutplceinstcd") == "031" && (model.getValue("/root/main/suminfo/patinfo/gcss") == "" || model.getValue("/root/main/suminfo/patinfo/gcse") == "" || model.getValue("/root/main/suminfo/patinfo/gcsm") == "") || (model.getValue("/root/main/suminfo/patinfo/age_int") < 5 ? model.getValue("/root/main/suminfo/patinfo/gcsp") == "" : model.getValue("/root/main/suminfo/patinfo/gcsv") == "" ) ) {
-
- if (model.getValue("/root/main/suminfo/patinfo/trmsyn") == "Y" &&
- getUserInfo("dutplceinstcd") == "031" &&
- isSearchString(model.getValue("/root/main/suminfo/patinfo/outrmcd"), "귀가") == false &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "증상이 호전되어 귀가" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "말기질환으로 귀가(가정간호 등)" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "외래방문 후 귀가 또는 입원" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "자의 퇴실" &&
- model.getValue("/root/main/suminfo/patinfo/outrmcd") != "기타(재활원, 일반시설로 돌아간 경우 등)" &&
- (model.getValue("/root/main/suminfo/patinfo/gcss") == "" ||
- model.getValue("/root/main/suminfo/patinfo/gcse") == "" ||
- model.getValue("/root/main/suminfo/patinfo/gcsm") == "" || (model.getValue("/root/main/suminfo/patinfo/age_int") < 5 ? model.getValue("/root/main/suminfo/patinfo/gcsp") == "" : model.getValue("/root/main/suminfo/patinfo/gcsv") == "" ))) {
- messageBox("퇴실시 GCS, sedativie 항목 입력이 누락되었습니다.", "E999");
- return
- }
-
- model.removeNode("/root/main/signSaveData");
- model.makeNode("/root/main/signSaveData");
- model.copyNode("/root/main/signSaveData", "/root/main/suminfo/patinfo");
-
- if (!fSign()) return;
- }
-
- if (submit("TXMNE09301")) {
- fSearch();
- }
- }
-
- function fSign() {
-
- Sign.certreload = false ; // 전자서명 호출시 인증저장 버튼을 누늘때마다 인증서가 뜨도록 처리
- //Sign.certchkflag = "Y";
-
- if( Sign.signprocess() == true ){
-
-
- var sPid = model.getValue("/root/cond/pid");
- var sIndd = model.getValue("/root/cond/orddd");
- var sCretNo = model.getValue("/root/cond/cretno");
- var sOrdDeptCd = model.getValue("/root/cond/orddeptcd");
- var sOrdDrId = model.getValue("/root/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", "1300014749" ); //각 기록지별 서식코드
- 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 fGetXmlToStr(xPath) {
-
- var str = instance1.selectNodesXml(xPath);
- return str;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="830" pageheight="950" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:15px; ">응급 간호 요약 기록</caption>
- <group id="group1" scroll="auto" style="left:0px; top:62px; width:810px; height:873px; ">
- <caption id="caption25" class="cell_1" style="left:0px; top:768px; width:132px; height:21px; vertical-align:middle; ">퇴실일시</caption>
- <line id="line4" class="line_3" style="x1:0px; y1:296px; x2:790px; y2:296px; "/>
- <caption id="caption16" class="tit_2" style="left:5px; top:279px; width:131px; height:13px; vertical-align:middle; ">의사 호출 정보</caption>
- <line id="line5" class="line_3" style="x1:0px; y1:377px; x2:790px; y2:377px; "/>
- <caption id="caption27" class="tit_2" style="left:5px; top:382px; width:135px; height:13px; vertical-align:middle; ">의사 결정 정보</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:400px; x2:790px; y2:400px; "/>
- <caption id="caption32" class="tit_2" style="left:5px; top:432px; width:145px; height:13px; vertical-align:middle; ">검사 및 처치 기록</caption>
- <line id="line7" class="line_3" style="x1:0px; y1:562px; x2:790px; y2:562px; "/>
- <caption id="caption35" class="tit_2" style="left:5px; top:567px; width:117px; height:13px; vertical-align:middle; ">퇴실 요약 정보</caption>
- <line id="line8" class="line_3" style="x1:0px; y1:835px; x2:790px; y2:835px; "/>
- <caption id="caption43" style="left:460px; top:815px; width:150px; height:20px; font-weight:bold; ">을(를) 가지고 퇴원함.</caption>
- <input id="caption61" ref="/root/main/suminfo/patinfo/sympnm" appearance="input" style="left:105px; top:102px; width:154px; height:19px; "/>
- <input id="input6" ref="/root/main/suminfo/patinfo/initpuls" appearance="input" style="left:332px; top:127px; width:60px; height:19px; "/>
- <input id="input7" ref="/root/main/suminfo/patinfo/initbrth" appearance="input" style="left:453px; top:127px; width:60px; height:19px; "/>
- <caption id="caption2" class="cell_2" style="left:106px; top:126px; width:80px; height:21px; vertical-align:middle; ">SBP/DBP</caption>
- <caption id="caption21" class="cell_2" style="left:274px; top:126px; width:55px; height:21px; vertical-align:middle; ">맥박수</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:100px; width:100px; height:21px; vertical-align:middle; ">주증상</caption>
- <input id="input11" ref="/root/main/suminfo/patinfo/cscsflag" appearance="input" style="left:371px; top:102px; width:154px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:266px; top:100px; width:100px; height:21px; vertical-align:middle; ">내원 시 반응</caption>
- <input id="input12" ref="/root/main/suminfo/patinfo/initbdtp" appearance="input" style="left:574px; top:127px; width:60px; height:19px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:124px; x2:790px; y2:124px; "/>
- <input id="input13" ref="/root/main/suminfo/patinfo/initbp" appearance="input" style="left:188px; top:127px; width:84px; height:19px; "/>
- <line id="line11" class="line_3" style="x1:0px; y1:149px; x2:790px; y2:149px; "/>
- <caption id="caption18" class="cell_2" style="left:395px; top:126px; width:55px; height:21px; vertical-align:middle; ">호흡수</caption>
- <caption id="caption19" class="cell_2" style="left:516px; top:126px; width:55px; height:21px; vertical-align:middle; ">체온</caption>
- <line id="line14" class="line_3" style="x1:0px; y1:124px; x2:790px; y2:124px; "/>
- <input id="caption52" ref="/root/main/suminfo/patinfo/choswayflag" appearance="input" style="left:106px; top:50px; width:154px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:532px; top:75px; width:100px; height:21px; vertical-align:middle; ">손상기전</caption>
- <input id="input14" ref="/root/main/suminfo/patinfo/chosdt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:106px; top:24px; width:154px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:266px; top:23px; width:100px; height:21px; vertical-align:middle; ">발병일시</caption>
- <input id="caption54" ref="/root/main/suminfo/patinfo/chosresnflag" appearance="input" style="left:105px; top:76px; width:154px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:532px; top:49px; width:100px; height:21px; vertical-align:middle; ">전원온기관종류</caption>
- <input id="ipt_erptinrt" ref="/root/main/suminfo/patinfo/chospathflag" appearance="input" style="left:372px; top:51px; width:154px; height:19px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:72px; x2:790px; y2:72px; "/>
- <input id="caption45" ref="/root/main/suminfo/patinfo/attackdt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:371px; top:24px; width:154px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:23px; width:100px; height:21px; vertical-align:middle; ">내원일시</caption>
- <line id="line16" class="line_2" style="x1:0px; y1:98px; x2:790px; y2:98px; "/>
- <input id="caption46" ref="/root/main/suminfo/patinfo/injmechflag" appearance="input" style="left:637px; top:76px; width:154px; height:19px; "/>
- <line id="line19" class="line_3" style="x1:0px; y1:20px; x2:790px; y2:20px; "/>
- <input id="caption49" ref="/root/main/suminfo/patinfo/intenflag" appearance="input" style="left:372px; top:76px; width:154px; height:19px; "/>
- <caption id="caption23" class="cell_1" style="left:266px; top:75px; width:100px; height:21px; vertical-align:middle; ">의도성여부</caption>
- <caption id="caption24" class="tit_2" style="left:0px; top:4px; width:250px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자 내원 정보 및 초기평가 정보</caption>
- <caption id="caption47" class="cell_1" style="left:0px; top:75px; width:100px; height:21px; vertical-align:middle; ">질병여부</caption>
- <caption id="caption48" class="cell_1" style="left:266px; top:50px; width:100px; height:21px; vertical-align:middle; ">내원경로</caption>
- <caption id="caption50" class="cell_1" style="left:0px; top:49px; width:100px; height:21px; vertical-align:middle; ">내원수단</caption>
- <input id="input16" ref="/root/main/suminfo/patinfo/inhosptype" style="left:637px; top:50px; width:154px; height:19px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:46px; x2:790px; y2:46px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:126px; width:100px; height:21px; vertical-align:middle; ">초기V/S 정보</caption>
- <caption id="caption38" class="cell_1" style="left:0px; top:588px; width:132px; height:21px; vertical-align:middle; ">퇴실 시 V/S 정보</caption>
- <caption id="caption41" class="tit_2" style="left:0px; top:154px; width:160px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자 응급 진료 정보</caption>
- <input id="input5" ref="/root/main/suminfo/patinfo/ordstdt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:136px; top:174px; width:254px; height:19px; "/>
- <caption id="caption42" class="cell_1" style="left:0px; top:173px; width:132px; height:21px; vertical-align:middle; ">진료개시(초진) 시간</caption>
- <line id="line9" class="line_3" style="x1:0px; y1:171px; x2:790px; y2:171px; "/>
- <line id="line17" class="line_3" style="x1:0px; y1:196px; x2:790px; y2:196px; "/>
- <datagrid id="grd_calldoc3" nodeset="/root/main/suminfo/ercalllist" caption="진료과^Main^Call time^Visit Time^의사명" colsep="^" colwidth="135, 38, 165, 165, 140" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:299px; width:784px; height:76px; ">
- <col ref="erorddeptnm" style="text-align:center; "/>
- <col checkvalue="M,S" ref="mainyn" type="checkbox"/>
- <col ref="calldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="arrivdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="erorddoctnm" style="text-align:center; "/>
- </datagrid>
- <caption id="caption9" class="cell_1" style="left:0px; top:402px; width:132px; height:21px; vertical-align:middle; ">의사결정시간</caption>
- <line id="line20" class="line_3" style="x1:0px; y1:425px; x2:790px; y2:425px; "/>
- <input id="input9" ref="/root/main/suminfo/patinfo/decndt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:136px; top:403px; width:254px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:395px; top:402px; width:132px; height:21px; vertical-align:middle; ">의사결정의사</caption>
- <input id="input10" ref="/root/main/suminfo/patinfo/decndrnm" appearance="input" style="left:530px; top:403px; width:254px; height:19px; "/>
- <input id="input15" ref="/root/main/suminfo/patinfo/orddrnm" appearance="input" style="left:530px; top:174px; width:254px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:395px; top:173px; width:132px; height:21px; vertical-align:middle; ">초기 오더 의사</caption>
- <line id="line21" class="line_3" style="x1:0px; y1:450px; x2:790px; y2:450px; "/>
- <line id="line22" class="line_3" style="x1:0px; y1:586px; x2:790px; y2:586px; "/>
- <caption id="caption8" class="cell_1" style="left:395px; top:768px; width:132px; height:21px; vertical-align:middle; ">응급진료결과</caption>
- <line id="line23" class="line_2" style="x1:0px; y1:765px; x2:790px; y2:765px; "/>
- <line id="line24" class="line_2" style="x1:0px; y1:790px; x2:790px; y2:790px; "/>
- <input id="input17" ref="/root/main/suminfo/patinfo/outrmcd" appearance="input" style="left:530px; top:768px; width:254px; height:19px; "/>
- <input id="input8" ref="/root/main/suminfo/patinfo/initspo2" appearance="input" style="left:694px; top:127px; width:60px; height:19px; "/>
- <caption id="caption20" class="cell_2" style="left:636px; top:126px; width:55px; height:21px; vertical-align:middle; ">SpO2</caption>
- <input id="input1" ref="/root/main/suminfo/patinfo/lastbrth" appearance="input" style="left:412px; top:590px; width:37px; height:19px; "/>
- <input id="input2" ref="/root/main/suminfo/patinfo/lastspo2" appearance="input" style="left:604px; top:590px; width:37px; height:19px; "/>
- <caption id="caption13" class="cell_2" style="left:550px; top:589px; width:50px; height:21px; vertical-align:middle; ">SpO2</caption>
- <caption id="caption22" class="cell_2" style="left:263px; top:589px; width:50px; height:21px; vertical-align:middle; ">맥박수</caption>
- <input id="input3" ref="/root/main/suminfo/patinfo/lastbdtp" appearance="input" style="left:508px; top:590px; width:37px; height:19px; "/>
- <caption id="caption26" class="cell_2" style="left:135px; top:589px; width:70px; height:21px; vertical-align:middle; ">SBP/DBP</caption>
- <input id="input4" ref="/root/main/suminfo/patinfo/lastbp" appearance="input" style="left:207px; top:590px; width:53px; height:19px; "/>
- <caption id="caption28" class="cell_2" style="left:359px; top:589px; width:50px; height:21px; vertical-align:middle; ">호흡수</caption>
- <caption id="caption39" class="cell_2" style="left:455px; top:589px; width:50px; height:21px; vertical-align:middle; ">체온</caption>
- <input id="input18" ref="/root/main/suminfo/patinfo/lastpuls" appearance="input" style="left:316px; top:590px; width:37px; height:19px; "/>
- <button id="button4" class="btn2_letter2" style="left:527px; top:429px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_sumordlist, "false");
- grd_sumordlist.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter6" style="left:440px; top:429px; width:86px; height:19px; ">
- <caption>처방가져오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (submit("TRMNE09302")) {
- //group2.visible = true;
-
- for (var i = 1; i < grd_erordlist.rows; i++) {
- var vPrcpnm = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/prcpnm");
- var vPrcpdd = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/prcpdd");
- var vPrcpno = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/prcpno");
- var vAcptdt = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/acptdt");
- var vExecdt = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/execdt");
- var cnt = 0;
-
- for (var j = 1; j < grd_sumordlist.rows; j++) {
- if (vPrcpdd == model.getValue("/root/main/suminfo/ordlist[" + j + "]/prcpdd") && vPrcpno == model.getValue("/root/main/suminfo/ordlist[" + j + "]/prcpno")) {
- cnt++;
- }
- }
-
- if (cnt == 0) {
- grd_sumordlist.addRow();
- var sSetRow = grd_sumordlist.rows - grd_sumordlist.fixedRows;
-
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/prcpdd", vPrcpdd);
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/prcpno", vPrcpno);
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/prcpnm", vPrcpnm);
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/acptdt", vAcptdt );
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/execdt", vExecdt);
- }
-
- }
-
- grd_sumordlist.refresh();
- }
- //var row = grd_c2ordlist.mouseRow;
- // for (var i = 1; i < grd_c2ordlist.rows; i++) {
- // if (model.getValue("/root/temp/c2ordlist[" + i + "]/sel") == "Y") {
- // var vPrcpnm = model.getValue("/root/temp/c2ordlist[" + i + "]/prcpnm");
- // var vExecdt = model.getValue("/root/temp/c2ordlist[" + i + "]/execdt");
- // var vCnfmdt = model.getValue("/root/temp/c2ordlist[" + i + "]/cnfmdt");
- // var vRsltrept = model.getValue("/root/temp/c2ordlist[" + i + "]/rsltrept");
- //
- // datagrid1.addRow();
- // var sSetRow = datagrid1.rows - datagrid1.fixedRows;
- // model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtcode", "10");
- // model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtnmtx", vPrcpnm);
- // model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtexdt", vExecdt.substr(0, 8));
- // model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtextm", vExecdt.substr(8, 4));
- // model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhteddt", vCnfmdt.substr(0, 8));
- // model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtedtm", vCnfmdt.substr(8, 4));
- // model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtrdrt", vRsltrept);
- // }
- // }
- //
- // datagrid1.refresh();
- // group2.visible = false;
- ]]>
- </script>
- </button>
- <line id="line26" class="line_2" style="x1:0px; y1:815px; x2:790px; y2:815px; "/>
- <caption id="caption44" class="cell_1" style="left:395px; top:793px; width:132px; height:21px; vertical-align:middle; ">전원 갈 의료기관 종류</caption>
- <input id="input20" ref="/root/main/suminfo/patinfo/dschhosptype" style="left:530px; top:794px; width:254px; height:19px; "/>
- <input id="input21" ref="/root/main/suminfo/patinfo/chnghospnm" appearance="input" style="left:136px; top:793px; width:254px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:0px; top:793px; width:132px; height:21px; vertical-align:middle; ">전원 갈 의료기관</caption>
- <input id="input19" ref="/root/main/suminfo/patinfo/outrmdt" format="yyyy-mm-dd hh:nn" style="left:136px; top:768px; width:254px; height:19px; "/>
- <datagrid id="grd_erdiaginfo" nodeset="/root/main/suminfo/diaglist" caption="응급실 내 진단정보^응급실 내 진단정보" colsep="^" colwidth="135, 634" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:199px; width:784px; height:76px; ">
- <col ref="diagcd"/>
- <col ref="diagnm"/>
- </datagrid>
- <line id="line25" class="line_3" style="x1:0px; y1:276px; x2:790px; y2:276px; "/>
- <caption id="caption33" style="left:110px; top:567px; width:640px; height:20px; color:#6699ff; ">※ EICU 환자는 EICU로 퇴실한 일시와 결과를 표기 / 외상환자의 경우 퇴실시 GCS 측정 항목이 활성화 됩니다.</caption>
- <caption id="caption55" style="left:131px; top:431px; width:307px; height:20px; color:#6699ff; ">※ [처방가져오기] 후 저장 대상의 처방을 체크하면 저장</caption>
- <caption id="cap_bfrecdt" class="cell_1" style="left:0px; top:837px; width:132px; height:23px; vertical-align:middle; ">기록일시</caption>
- <button id="btn_recdt" class="icon_clock" navindex="3" style="left:289px; top:840px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dt = getCurrentTime();
- var dd = getCurrentDate();
-
- model.makeValue("/root/main/suminfo/patinfo/rectm", dt);
- model.makeValue("/root/main/suminfo/patinfo/recdd", dd);
-
- ipt_rectm.refresh();
- ipt_recdd.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_rectm" ref="/root/main/suminfo/patinfo/rectm" navindex="2" format="hh:nn" style="left:239px; top:839px; width:45px; height:19px; "/>
- <output id="ipt_recuser" ref="/root/main/suminfo/patinfo/recusernm" class="output_fix" navindex="4" appearance="output" style="left:530px; top:839px; width:254px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:395px; top:837px; width:132px; height:23px; vertical-align:middle; ">기록자</caption>
- <input id="ipt_recdd" ref="/root/main/suminfo/patinfo/recdd" class="input_default" inputtype="date" style="left:136px; top:839px; width:100px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:861px; x2:790px; y2:861px; "/>
- <group id="group2" visibility="hidden" style="left:685px; top:347px; width:100px; height:45px; background-color:#ffffcc; border-style:solid; ">
- <caption id="caption90" style="left:14px; top:4px; width:305px; height:20px; font-weight:bold; color:#3366ff; ">
- <![CDATA[>> 검사 및 처치 시행 내역]]>
- </caption>
- <datagrid id="grd_erordlist" nodeset="/root/temp/erordinfo/erordlist" allowbigselection="true" autoresize="true" caption="^처방명^처방일^접수일시^시행일시" colsep="^" colwidth="25, 420, 70, 105, 105" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:6px; top:27px; width:745px; height:290px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="prcpnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="acptdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn"/>
- <!--script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //var row = grd_c2ordlist.mouseRow;
- for (var i = 1; i < grd_c2ordlist.rows; i++) {
- if (model.getValue("/root/temp/c2ordlist[" + i + "]/sel") == "Y") {
- var vPrcpnm = model.getValue("/root/temp/c2ordlist[" + i + "]/prcpnm");
- var vExecdt = model.getValue("/root/temp/c2ordlist[" + i + "]/execdt");
- var vCnfmdt = model.getValue("/root/temp/c2ordlist[" + i + "]/cnfmdt");
- var vRsltrept = model.getValue("/root/temp/c2ordlist[" + i + "]/rsltrept");
-
- datagrid1.addRow();
- var sSetRow = datagrid1.rows - datagrid1.fixedRows;
- model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtcode", "10");
- model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtnmtx", vPrcpnm);
- model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtexdt", vExecdt.substr(0, 8));
- model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtextm", vExecdt.substr(8, 4));
- model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhteddt", vCnfmdt.substr(0, 8));
- model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtedtm", vCnfmdt.substr(8, 4));
- model.makeValue("/root/main/trmsinfo/c2ordinfo[" + sSetRow + "]/trhtrdrt", vRsltrept);
- }
- }
-
- datagrid1.refresh();
- grd_c2ordlist.visible = false;
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) {
- grd_c2ordlist.visible = false;
- }
- ]]>
- </script-->
- </datagrid>
- <button id="button63" class="btn2_letter2" style="left:204px; top:4px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //var row = grd_c2ordlist.mouseRow;
- for (var i = 1; i < grd_erordlist.rows; i++) {
- if (model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/sel") == "Y") {
- var vPrcpnm = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/prcpnm");
- var vPrcpdd = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/prcpdd");
- var vAcptdt = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/acptdt");
- var vExecdt = model.getValue("/root/temp/erordinfo/erordlist[" + i + "]/execdt");
-
- grd_sumordlist.addRow();
- var sSetRow = grd_sumordlist.rows - grd_sumordlist.fixedRows;
-
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/prcpdd", vPrcpdd);
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/prcpnm", vPrcpnm);
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/acptdt", vAcptdt );
- model.makeValue("/root/main/suminfo/ordlist[" + sSetRow + "]/execdt", vExecdt);
- }
- }
-
- grd_sumordlist.refresh();
- group2.visible = false;
-
- ]]>
- </script>
- </button>
- <button id="button64" class="btn2_letter2" style="left:248px; top:4px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group2.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <button id="button6" class="btn5_letter4" style="left:570px; top:429px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = grd_sumordlist.rows;
-
- for (var i = 1; i < cnt; i++) {
- model.setValue("/root/main/suminfo/ordlist[" + i + "]/stat", "Y");
-
- var rnum = Math.floor(Math.random() * 10) + 1;
- if (rnum < 5) {
- rnum += 5;
- }
-
- var curdd = getCurrentDate();
- var curtm = getCurrentTime().substr(0, 4);
- var execdt = grd_sumordlist.valueMatrix(i, grd_sumordlist.colRef("execdt"));
- var senddt = "", arrvdt = "";
-
- if (execdt == "") {
- senddt = curdd + curtm;
- } else {
- var tmpdt = execdt.toDate("YYYYMMDDhhmm");
- senddt = tmpdt.getAddDate(-rnum, "m").getDateFormat("YYYYMMDDhhmm");
- }
-
- grd_sumordlist.valueMatrix(i, grd_sumordlist.colRef("senddt")) = senddt;
-
- if (execdt == "") {
- arrvdt = curdd + curtm;
- } else {
- var tmpdt = execdt.toDate("YYYYMMDDhhmm");
- arrvdt = tmpdt.getAddDate(rnum, "m").getDateFormat("YYYYMMDDhhmm");
- }
-
- grd_sumordlist.valueMatrix(i, grd_sumordlist.colRef("arrvdt")) = arrvdt;
- }
-
- grd_sumordlist.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button8" class="btn5_letter2" style="left:700px; top:429px; width:42px; height:19px; ">
- <caption>확대</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- grd_sumordlist.attribute("height") = "300";
-
- ]]>
- </script>
- </button>
- <button id="button9" class="btn5_letter2" style="left:743px; top:429px; width:42px; height:19px; ">
- <caption>축소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_sumordlist.attribute("height") = "132";
- ]]>
- </script>
- </button>
- <datagrid id="grd_sumordlist" nodeset="/root/main/suminfo/ordlist" autoresize="true" caption="^처방일^prcpno^처방명^보낸시간^접수일시^시행일시^검사 후 도착시간" colsep="^" colwidth="20, 70, 0, 235, 120, 100, 100, 120" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:453px; width:784px; height:107px; ">
- <col checkvalue="Y,N" ref="stat" type="checkbox"/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpno"/>
- <col ref="prcpnm"/>
- <col ref="senddt" type="inputbutton" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="acptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="arrvdt" type="inputbutton" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var rnum = Math.floor(Math.random() * 10) + 1;
- if (rnum < 5) {
- rnum += 5;
- }
-
- if (grd_sumordlist.mouseRow > 0) {
- var curdd = getCurrentDate();
- var curtm = getCurrentTime().substr(0, 4);
- var execdt = grd_sumordlist.valueMatrix(grd_sumordlist.mouseRow, grd_sumordlist.colRef("execdt"));
- var senddt = "", arrvdt = "";
-
- if (grd_sumordlist.mouseCol == grd_sumordlist.colRef("senddt")) {
-
- if (execdt == "") {
- senddt = curdd + curtm;
- } else {
- var tmpdt = execdt.toDate("YYYYMMDDhhmm");
- senddt = tmpdt.getAddDate(-rnum, "m").getDateFormat("YYYYMMDDhhmm");
- }
-
- grd_sumordlist.valueMatrix(grd_sumordlist.mouseRow, grd_sumordlist.colRef("senddt")) = senddt;
- }
-
- if (grd_sumordlist.mouseCol == grd_sumordlist.colRef("arrvdt")) {
-
- if (execdt == "") {
- arrvdt = curdd + curtm;
- } else {
- var tmpdt = execdt.toDate("YYYYMMDDhhmm");
- arrvdt = tmpdt.getAddDate(rnum, "m").getDateFormat("YYYYMMDDhhmm");
- }
-
- grd_sumordlist.valueMatrix(grd_sumordlist.mouseRow, grd_sumordlist.colRef("arrvdt")) = arrvdt;
- }
-
- //grd_sumordlist.valueMatrix(grd_sumordlist.mouseRow, grd_sumordlist.mouseCol) = ;
- grd_sumordlist.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var i = grd_sumordlist.row;
-
- if (i > 0 && model.getValue("/root/main/suminfo/ordlist[" + i + "]/stat") == "Y") {
-
- var rnum = Math.floor(Math.random() * 10) + 1;
- if (rnum < 5) {
- rnum += 5;
- }
-
- var curdd = getCurrentDate();
- var curtm = getCurrentTime().substr(0, 4);
- var execdt = grd_sumordlist.valueMatrix(i, grd_sumordlist.colRef("execdt"));
- var senddt = "", arrvdt = "";
-
- if (execdt == "") {
- senddt = curdd + curtm;
- } else {
- var tmpdt = execdt.toDate("YYYYMMDDhhmm");
- senddt = tmpdt.getAddDate(-rnum, "m").getDateFormat("YYYYMMDDhhmm");
- }
-
- grd_sumordlist.valueMatrix(i, grd_sumordlist.colRef("senddt")) = senddt;
-
- if (execdt == "") {
- arrvdt = curdd + curtm;
- } else {
- var tmpdt = execdt.toDate("YYYYMMDDhhmm");
- arrvdt = tmpdt.getAddDate(rnum, "m").getDateFormat("YYYYMMDDhhmm");
- }
-
- grd_sumordlist.valueMatrix(i, grd_sumordlist.colRef("arrvdt")) = arrvdt;
-
- grd_sumordlist.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button10" class="btn5_letter4" style="left:635px; top:429px; width:64px; height:19px; ">
- <caption>선택취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = grd_sumordlist.rows;
-
- for (var i = 1; i < cnt; i++) {
- model.setValue("/root/main/suminfo/ordlist[" + i + "]/stat", "N");
- }
-
- grd_sumordlist.refresh();
-
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/suminfo/patinfo/outgd1" style="left:130px; top:815px; width:25px; height:20px; "/>
- <caption id="caption5" style="left:152px; top:815px; width:45px; height:20px; ">소견서</caption>
- <bool id="bool2" checkvalue="Y,N" ref="/root/main/suminfo/patinfo/outgd2" style="left:200px; top:815px; width:20px; height:20px; "/>
- <caption id="caption31" style="left:218px; top:815px; width:45px; height:20px; ">퇴원약</caption>
- <bool id="bool3" checkvalue="Y,N" ref="/root/main/suminfo/patinfo/outgd3" style="left:270px; top:815px; width:20px; height:20px; "/>
- <caption id="caption36" style="left:288px; top:815px; width:55px; height:20px; ">CD Copy</caption>
- <bool id="bool4" checkvalue="Y,N" ref="/root/main/suminfo/patinfo/outgd4" style="left:350px; top:815px; width:20px; height:20px; "/>
- <caption id="caption53" style="left:370px; top:815px; width:85px; height:20px; ">의무기록 사본</caption>
- <caption id="caption56" class="cell_1" style="left:532px; top:23px; width:100px; height:21px; vertical-align:middle; ">보험유형</caption>
- <group id="group4" disabled="true" style="left:0px; top:611px; width:790px; height:153px; ">
- <line id="line128" class="line_3" style="x1:0px; y1:150px; x2:790px; y2:150px; "/>
- <line id="line73" class="line_3" style="x1:1px; y1:0px; x2:790px; y2:0px; "/>
- <caption id="caption60" class="cell_2" style="left:135px; top:126px; width:109px; height:24px; text-align:center; ">GCS점수(전체)</caption>
- <line id="line31" class="line_2" style="x1:107px; y1:125px; x2:790px; y2:125px; "/>
- <caption id="caption62" class="cell_1" style="left:135px; top:76px; width:109px; height:24px; text-align:center; ">소아 언어(verbal)</caption>
- <caption id="caption215" class="cell_1" style="left:135px; top:1px; width:109px; height:24px; text-align:center; ">sadative 여부</caption>
- <caption id="caption63" style="left:247px; top:127px; width:387px; height:20px; font-weight:bold; ">GCS 1(눈) 점수 + GCS 2(언어) 점수 + GCS 3(운동) 점수 =</caption>
- <caption id="caption64" style="left:700px; top:129px; width:15px; height:20px; ">점</caption>
- <caption id="caption65" class="cell_1" style="left:135px; top:101px; width:109px; height:24px; text-align:center; ">운동(moter)</caption>
- <select1 id="combo2" ref="/root/main/suminfo/patinfo/gcse" disabled="true" navindex="66" appearance="minimal" style="left:246px; top:29px; width:343px; height:19px; ">
- <choices>
- <item>
- <label>1점: 전혀 눈을 뜨지 않음(No eye opening)</label>
- <value>1</value>
- </item>
- <item>
- <label>2점: 통증 자극에 눈을 뜸(Eye opening to pain)</label>
- <value>2</value>
- </item>
- <item>
- <label>3점: 불러서 눈을 뜸(Eye opening to verbal command)</label>
- <value>3</value>
- </item>
- <item>
- <label>4점: 자발적으로 눈을 뜸(Eyes oopen spontaneously)</label>
- <value>4</value>
- </item>
- <item>
- <label>측정하지 않음</label>
- <value>9</value>
- </item>
- <item>
- <label>의식이 없거나 안대착용, 안검부종 등으로 관찰 불가</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/main/suminfo/patinfo/gcsv" disabled="true" navindex="67" appearance="minimal" style="left:246px; top:54px; width:343px; height:19px; ">
- <choices>
- <item>
- <label>1점: 전혀 반응이 없음(No verbal response)</label>
- <value>1</value>
- </item>
- <item>
- <label>2점: 이해 불명의 말을 함(Incomprehensible sounds)</label>
- <value>2</value>
- </item>
- <item>
- <label>3점: 용어 사용이 잘못되어 있음(Inappropriate words)</label>
- <value>3</value>
- </item>
- <item>
- <label>4점: 대화가 혼돈되어 있음(Confused)</label>
- <value>4</value>
- </item>
- <item>
- <label>5점: 지남력이 있음(Orientated)</label>
- <value>5</value>
- </item>
- <item>
- <label>측정하지 않음</label>
- <value>9</value>
- </item>
- <item>
- <label>기관절개, 삽관등으로 관찰불가</label>
- <value>T</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio29" ref="/root/main/suminfo/patinfo/gcss" navindex="133" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:247px; top:3px; width:128px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- <item>
- <label>미상</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <line id="line28" class="line_2" style="x1:107px; y1:75px; x2:790px; y2:75px; "/>
- <select1 id="combo4" ref="/root/main/suminfo/patinfo/gcsp" disabled="true" navindex="68" appearance="minimal" style="left:246px; top:79px; width:343px; height:19px; ">
- <choices>
- <item>
- <label>1점: 전혀 반응이 없음(No vocal response to pain)</label>
- <value>1</value>
- </item>
- <item>
- <label>2점: 통증에 신음소리를 냄(Moans to pain)</label>
- <value>2</value>
- </item>
- <item>
- <label>3점: 통증에 소리를 내어 움(Cries to pain)</label>
- <value>3</value>
- </item>
- <item>
- <label>4점: 평소 보다 저하된 언어능력을 보이거나 자발적으로 움</label>
- <value>4</value>
- </item>
- <item>
- <label>5점: 의식이 명료한 채로 적절하게 옹알거리거나 말함</label>
- <value>5</value>
- </item>
- <item>
- <label>측정하지 않음</label>
- <value>9</value>
- </item>
- <item>
- <label>기관절개, 삽관 등으로 관찰불가</label>
- <value>T</value>
- </item>
- </choices>
- </select1>
- <input id="input37" ref="/root/main/suminfo/patinfo/gcst" disabled="true" navindex="70" style="left:644px; top:129px; width:56px; height:19px; "/>
- <caption id="caption58" class="cell_1" style="left:135px; top:26px; width:109px; height:24px; text-align:center; ">눈(eye)</caption>
- <line id="line29" class="line_2" style="x1:107px; y1:100px; x2:790px; y2:100px; "/>
- <select1 id="combo5" ref="/root/main/suminfo/patinfo/gcsm" disabled="true" navindex="69" appearance="minimal" style="left:246px; top:104px; width:343px; height:19px; ">
- <choices>
- <item>
- <label>1점: 반응이 없음(No motor response)</label>
- <value>1</value>
- </item>
- <item>
- <label>2점: 이상 신전 반응(Extension to pain)</label>
- <value>2</value>
- </item>
- <item>
- <label>3점: 이상 굴곡 반응(Flexion to pain)</label>
- <value>3</value>
- </item>
- <item>
- <label>4점: 통증 자극에 적극적으로 피하려는 반응을 함(Withdrawal from pain)</label>
- <value>4</value>
- </item>
- <item>
- <label>5점: 통증부위를 지적함(Localizing pain)</label>
- <value>5</value>
- </item>
- <item>
- <label>6점: 지시에 따라 움직임(Obeys Commands)</label>
- <value>6</value>
- </item>
- <item>
- <label>측정하지 않음</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <caption id="caption59" class="cell_1" style="left:135px; top:51px; width:109px; height:24px; text-align:center; ">언어(verbal)</caption>
- <line id="line3" class="line_2" style="x1:107px; y1:50px; x2:790px; y2:50px; "/>
- <button id="button56" class="btn2_letter2" style="left:717px; top:129px; width:42px; height:19px; ">
- <caption>계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sGCSe = model.getValue("/root/main/suminfo/patinfo/gcse");
- var sGCSv = model.getValue("/root/main/suminfo/patinfo/gcsv");
- var sGCSp = model.getValue("/root/main/suminfo/patinfo/gcsp");
- var sGCSm = model.getValue("/root/main/suminfo/patinfo/gcsm");
-
- var sAge = parseInt(model.getValue("/root/main/suminfo/patinfo/age_int"));
- var sTotal = 0;
-
- if (sGCSe == "9" || sGCSe == "C" || sGCSv == "9" || sGCSv == "T" || sGCSp == "9" || sGCSp == "T" || sGCSm == "9") {
- sTotal = -1;
- } else {
- if (sAge < 5) {
- sTotal = eval(sGCSe) + eval(sGCSp) + eval(sGCSm);
- } else {
- sTotal = eval(sGCSe) + eval(sGCSv) + eval(sGCSm);
- }
- }
-
- model.setValue("/root/main/suminfo/patinfo/gcst", sTotal);
- input37.refresh();
- ]]>
- </script>
- </button>
- <line id="line127" class="line_2" style="x1:107px; y1:25px; x2:790px; y2:25px; "/>
- <caption id="caption57" class="cell_1" style="left:0px; top:0px; width:132px; height:150px; text-align:left; ">퇴실시 GCS 측정</caption>
- </group>
- <input id="input22" ref="/root/main/suminfo/patinfo/insukindnm" appearance="input" style="left:638px; top:24px; width:154px; height:19px; "/>
- <caption id="caption66" class="cell_2" style="left:646px; top:589px; width:60px; height:21px; vertical-align:middle; ">의식수준</caption>
- <select1 id="combo1" ref="/root/main/suminfo/patinfo/lastconscious" navindex="66" appearance="minimal" style="left:710px; top:590px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>alert</label>
- <value>alert</value>
- </item>
- <item>
- <label>confusion</label>
- <value>confusion</value>
- </item>
- <item>
- <label>drowsy</label>
- <value>drowsy</value>
- </item>
- <item>
- <label>stuporous</label>
- <value>stuporous</value>
- </item>
- <item>
- <label>semicoma</label>
- <value>semicoma</value>
- </item>
- <item>
- <label>coma</label>
- <value>coma</value>
- </item>
- <item>
- <label>expire</label>
- <value>expire</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="group3" style="left:0px; top:20px; width:795px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:795px; height:35px; "/>
- <button id="btn_srchindxcd" class="btn1_letter2" navindex="5" style="left:597px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/cond/orddd", "");
- fSrchErPatInfo();
- ]]>
- </script>
- </button>
- <caption id="caption40" class="search_name" style="left:9px; top:8px; width:86px; height:17px; vertical-align:middle; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/cond/pid" class="input_s_essential" navindex="1" style="left:100px; top:9px; width:75px; height:19px; font-weight:bold; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- model.setValue("/root/cond/orddd", "");
- fSrchErPatInfo();
- }
- ]]>
- </script>
- </input>
- <line id="line27" class="line_4" style="x1:483px; y1:7px; x2:483px; y2:29px; "/>
- <caption id="caption30" ref="/root/main/suminfo/patinfo/sa" style="left:405px; top:8px; width:62px; height:20px; font-family:돋움; "/>
- <caption id="caption34" ref="/root/main//suminfo/patinfo/hngnm" style="left:250px; top:8px; width:60px; height:20px; font-family:돋움; "/>
- <caption id="caption37" class="search_name" style="left:312px; top:8px; width:95px; height:17px; ">성별/나이:</caption>
- <caption id="caption29" class="search_name" style="left:182px; top:8px; width:68px; height:17px; ">환자명:</caption>
- <button id="button3" class="btn1_letter4" style="left:709px; top:7px; width:80px; height:22px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("certi");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:542px; top:9px; width:53px; height:19px; ">
- <caption>Triage</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal ( "SPMNE04400" );
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter3" style="left:488px; top:9px; width:53px; height:19px; ">
- <caption>NEDIS</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // setParameter("SPMMO07500_orddd", model.getValue("/root/main/ertriage/ertriage/orddd"));
- // setParameter("SPMMO07500_cretno", model.getValue("/root/main/ertriage/ertriage/cretno"));
- // open("SPMMO07500", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
-
- setParameter("NEDIS_pid", model.getValue("/root/cond/pid"));
- setParameter("NEDIS_orddd", model.getValue("/root/cond/orddd"));
- modal("SMMNE07400");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn1_letter2" navindex="5" style="left:653px; top:7px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- </group>
- <line id="line13" class="line_1" style="x1:0px; y1:57px; x2:795px; y2:57px; "/>
- <datagrid id="grd_erpatlist" nodeset="/root/main/erpatinfo/erpatlist" visibility="hidden" caption="입원일^재방문횟수^내원일시^내원일시^퇴실일시^퇴실일시^^" colsep="^" colwidth="80, 70, 80, 50, 80, 50, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:100px; top:50px; width:430px; height:130px; ">
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="visitno" style="text-align:center; "/>
- <col ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="chostm" format="hh:nn" style="text-align:center; "/>
- <col ref="outrmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="outrmtm" format="hh:nn" style="text-align:center; "/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_erpatlist.row;
- var pid = "";
- var indd = "";
- var cretno = "";
- var visitno = "";
- var chosdd = "";
- var chostm = "";
- var outrmdd = "";
- var outrmtm = "";
- var orddetpcd, orddrid;
-
- if ( row > 0) {
- pid = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/pid");
- indd = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/indd");
- cretno = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/cretno");
- visitno = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/visitno");
- chosdd = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/chosdd");
- chostm = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/chostm");
- outrmdd = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/outrmdd");
- outrmtm = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/outrmtm");
- orddeptcd = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/orddeptcd");
- orddrid = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/orddrid");
-
- if (outrmdd == "-" || outrmdd == "" || outrmdd == null ) {
- outrmdd = getCurrentDate();
- outrmtm = getCurrentTime().substr(0, 4);
- }
-
- model.setValue("/root/cond/pid", pid);
- model.setValue("/root/cond/orddd", indd);
- model.setValue("/root/cond/cretno", cretno);
- model.setValue("/root/cond/visitno", visitno);
- model.setValue("/root/cond/outrmdt", outrmdd + outrmtm);
- model.setValue("/root/cond/orddeptcd", orddeptcd);
- model.setValue("/root/cond/orddrid", orddrid);
-
- fSearch();
- }
-
- grd_erpatlist.visible = false;
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) {
- grd_erpatlist.visible = false;
- }
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|