123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>자궁경부 환자 결과입력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <fromdd/>
- <todd/>
- <basedd/>
- <pid/>
- <srchobgy/>
- <srchetc/>
- </cond>
- <obgypatlist>
- <obgypatlistinfo>
- <chk/>
- <srchdd/>
- <pid/>
- <patnm/>
- <centdeptnm/>
- <orddeptnm/>
- <subdeptnm/>
- <orddrnm/>
- <examrslt/>
- <prntstat/>
- <prcpstat/>
- <nextrsrv1/>
- <nextrsrv2/>
- <telno/>
- <hpno/>
- <smssenddt/>
- <smssendyn/>
- <inhopedd/>
- <indd/>
- <opcnfmdd/>
- <zipcd/>
- <addr/>
- <rem/>
- <orddd/>
- <cretno/>
- <cmmtyn/>
- <msgkey/>
- <status/>
- </obgypatlistinfo>
- </obgypatlist>
- </main>
- <send/>
- <init>
- <orddept>
- <dept/>
- </orddept>
- <orddr>
- <orddr>
- <usernm/>
- <userid/>
- </orddr>
- <orddrlist>
- <usernm/>
- <userid/>
- </orddrlist>
- </orddr>
- <M0005list>
- <M0005>
- <cdnm>-</cdnm>
- <cdid>-</cdid>
- </M0005>
- </M0005list>
- </init>
- <hidden/>
- <temp>
- <cmbinfo>
- <comcodeinfo>
- <prcpstatcd/>
- <prcpkindcd/>
- <prcpclscd/>
- <payflagcd/>
- </comcodeinfo>
- </cmbinfo>
- <patexamhistlist>
- <patexamhistinfo>
- <readdd/>
- <prcpdd/>
- <acptdt/>
- <orddeptcd/>
- <orddrid/>
- <acptstatcd/>
- <ptno/>
- <rsltcnts/>
- <spcnm/>
- </patexamhistinfo>
- </patexamhistlist>
- <smssendcnts/>
- <pid/>
- <patnm/>
- <patcmmt>
- <patcmmtstmtinfo>
- <patcmmtstmt/>
- </patcmmtstmtinfo>
- </patcmmt>
- <examrsltlist>
- <examrsltinfo/>
- </examrsltlist>
- <examrslttxt/>
- <ptno/>
- <prcpdd/>
- <printdata/>
- <pidcmmt/>
- <depttellist>
- <depttellistinfo>
- <depttelno/>
- </depttellistinfo>
- </depttellist>
- </temp>
- <code/>
- <insrslt/>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var seoulinstcd = ""; //20090811-kys
- var Eyedeptcd;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRMNO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcpendlist"/>
- <submission id="TXMNO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <!--<submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddr"/>-->
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/orddeptlist/dept"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post">`x</submission>
- <submission id="TRMNO00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddr"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- <submission id="TRMNO04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/obgypatlist"/>
- <submission id="TRMNO04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/examrsltlist"/>
- <submission id="TRMNO04003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/patexamhistlist"/>
- <submission id="TRMNO04004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/depttellist"/>
- <submission id="TRMNO04005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqcmmtdata" resultref="/root/temp/patcmmt"/>
- <submission id="TXMNO04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqinscmmtdata" resultref="/root/insrslt"/>
- <submission id="TXMNO04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqinsdata" resultref="/root/insrslt"/>
- <submission id="TXMNO04003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqsmsdata" resultref="/root/insrslt"/>
- </model>
- <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/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../emr/outcareweb/js/SMMNO04000.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:18px; width:1194px; height:744px; ">
- <group id="grp_sea" style="left:3px; top:1px; width:1189px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1187px; height:35px; "/>
- <button id="button1" class="btn1_letter2" navindex="5" style="left:965px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="search_name" style="left:6px; top:9px; width:86px; height:17px; ">기준일자:</caption>
- <line id="line13" class="line_4" style="x1:959px; y1:6px; x2:959px; y2:26px; "/>
- <caption id="caption10" class="search_name" style="left:660px; top:9px; width:90px; height:17px; ">등록번호:</caption>
- <caption id="caption2" style="left:279px; top:7px; width:20px; height:20px; text-align:center; ">-</caption>
- <select1 id="cmb_base" ref="/root/main/cond/basedd" class="combo_search" appearance="minimal" style="left:95px; top:8px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>수납일자</label>
- <value>1</value>
- </item>
- <item>
- <label>처방일자</label>
- <value>2</value>
- </item>
- <item>
- <label>결과일자</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" style="left:750px; top:8px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(ipt_pid.currentText == ""){
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
- }else if(ipt_pid.currentText != ""){ //등록번호로 조회시에는 조회기간 달력 비활성화
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- }
- if(event.keyCode == 13) {
- inputEnterKey("button1", "DOMActivate");
- //model.resetInstanceNode("/root/main/cond/pid");
- ipt_pid.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="button2" class="btn1_letter5" navindex="5" style="left:1025px; top:6px; width:92px; height:22px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var bool = fSendSms(); //sms전송
- if(bool){
- fSearch(); //조회
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn1_letter2" navindex="5" style="left:1123px; top:6px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var j = 0, k = 0;
- for(var i=1;i<=getNodesetCount("/root/main/obgypatlist/obgypatlistinfo");i++){
- if(model.getValue("/root/main/obgypatlist/obgypatlistinfo["+ i +"]/chk") == "true"){
- j++;
- if(model.getValue("/root/main/obgypatlist/obgypatlistinfo["+ i +"]/examrslt") == ""){
- messageBox("결과컬럼에 값을 입력하지 않은 행이 존재합니다. [ " + i + " ]행", "E");
- return;
- }
- //유효 결과값 체크-kys-20100405
- if(eval(model.getValue("/root/main/obgypatlist/obgypatlistinfo["+ i +"]/examrslt")) > 4){
- messageBox("결과컬럼 값이 유효하지 않은 행이 존재합니다. [ " + i + " ]행", "E");
- return;
- }
- /* if(model.getValue("/root/main/obgypatlist/obgypatlistinfo["+ i +"]/prntstat") != "Y"){
- k++; //insert, update 판단 변수.
- } 결과값이 바뀌어서 출력될수 도 있으므로 주석처리 */
- }
- }
- if(j == 0){
- messageBox("출력할 환자를 선택하지", "E007");
- return;
- }
- var rtnval = messageBox("우편발송을 출력하시겠습니까?" , "Q");
- if(rtnval == 7){ //취소 버튼을 클릭한 경우
- return;
- }
- /* 20100520-kys-출력시미리보기창 보이기 기능수정으로 인한 수정
- var bool = fInsPrintInfo(); //출력된 환자 입력 및 갱신
- if(bool){
- fPrntPost(); //우편물 출력
- } */
- fPrntPost(); //우편물 출력
- if(getParameter("reportprintyn") == "Y"){
- var bool = fInsPrintInfo(); //출력된 환자 입력 및 갱신
- }
- fSearch(); //조회
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" navindex="3" inputtype="date" style="left:193px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" navindex="3" inputtype="date" style="left:299px; top:8px; width:85px; height:19px; "/>
- <input id="input1" ref="/root/temp/depttellist/depttellistinfo/depttelno" class="output_fix" visibility="hidden" style="left:868px; top:8px; width:87px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:404px; top:10px; width:70px; height:17px; ">진료과:</caption>
- <select id="chk_obgy" ref="/root/main/cond/srchobgy" overflow="visible" appearance="full" style="left:484px; top:10px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>산부인과</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- chk_obgy.value = 'Y';
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- chk_obgy.value = 'N';
- ]]>
- </script>
- </select>
- <select id="chk_etc" ref="/root/main/cond/srchetc" overflow="visible" appearance="full" style="left:569px; top:10px; width:80px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>그외진료과</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- chk_etc.value = 'Y';
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- chk_etc.value = 'N';
- ]]>
- </script>
- </select>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:37px; x2:1191px; y2:37px; "/>
- <datagrid id="grd_obgypatlist" nodeset="/root/main/obgypatlist/obgypatlistinfo" allowselection="false" caption="^일자^등록번호^성명^센터^진료과^하위부서^주치의^결과^출력^상태^다음예약1^다음예약2^전화번호1^전화번호2^SMS^전송^입원예정일^입원일^수술예정일^우편번호^주소^비고^기관코드^진료일^cretno^특이사항존재여부^msgkey^status" colsep="^" colwidth="28, 85, 70, 60, 100, 100, 100, 100, 40, 40, 66, 85, 85, 100, 100, 120, 40, 85, 85, 85, 80, 149, 100, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sort" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:40px; width:1190px; height:215px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="srchdd" format="yyyy-mm-dd" style="left:28px; top:23px; width:85px; height:23px; "/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="centdeptnm" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="subdeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="examrslt" type="input" style="text-align:center; "/>
- <col ref="prntstat" style="text-align:center; "/>
- <col ref="prcpstat"/>
- <col ref="nextrsrv1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="nextrsrv2" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="telno" style="text-align:center; "/>
- <col ref="hpno" style="text-align:center; "/>
- <col ref="smssenddt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="smssendyn" style="text-align:center; "/>
- <col ref="inhopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="opcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="zipcd" style="text-align:center; "/>
- <col ref="addr" style="text-align:center; "/>
- <col ref="rem" type="input" style="text-align:center; "/>
- <col ref="instcd"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="cmmtyn"/>
- <col ref="msgkey"/>
- <col ref="status"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(grd_obgypatlist.isCell(event.target) && grd_obgypatlist.mouseRow >= grd_obgypatlist.fixedrows){
- model.makeValue("/root/temp/smssendcnts", model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/examrslt")); //발송내용 set
- cmb_sendcnts.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_obgypatlist.isCell(event.target) && grd_obgypatlist.mouseRow >= grd_obgypatlist.fixedrows){
- if(grd_obgypatlist.col != grd_obgypatlist.colRef("chk")){
- model.makeValue("/root/temp/smssendcnts", model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/examrslt")); //발송내용 set
- cmb_sendcnts.refresh();
- model.makeValue("/root/temp/pidcmmt", model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/pid")); //특이사항 등록번호 set
- group1.attribute("visibility") = "hidden"; //특이사항 창 숨김.
- group2.attribute("visibility") = "hidden"; //검사결과 히스토리 창 숨김.
- //환자검사결과조회후 결과값 입력시(더블클릭시) onclick이벤트가 작동하는 문제로 if처리.
- if(model.getValue("/root/temp/pid") != model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/pid")){
- fInitExamRslt("1");
- }
- if(grd_obgypatlist.col != grd_obgypatlist.colRef("examrslt") && grd_obgypatlist.col != grd_obgypatlist.colRef("rem")){
- if(model.getValue("/root/main/obgypatlist/obgypatlistinfo["+grd_obgypatlist.row+"]/chk") == "true"){
- model.makeValue("/root/main/obgypatlist/obgypatlistinfo["+grd_obgypatlist.row+"]/chk","false");
- }else{
- model.makeValue("/root/main/obgypatlist/obgypatlistinfo["+grd_obgypatlist.row+"]/chk", "true");
- }
- }
- }
- if(model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/cmmtyn") == "Y"){
- button4.value = "■ 특이사항";
- }else if(model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/cmmtyn") == "N"){
- button4.value = "□ 특이사항";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_obgypatlist.gridToInstance();
- //행이 선택되있을 경우 정렬후 선택된행에 포커스가 가는 현상이 있어 정렬후 젤위의 행을 선택하게함.
- grd_obgypatlist.isSelected(1) = true;
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_obgypatlist.isCell(event.target) && grd_obgypatlist.mouseRow >= grd_obgypatlist.fixedrows){
- if(grd_obgypatlist.mouseCol == grd_obgypatlist.colRef("examrslt") || grd_obgypatlist.mouseCol == grd_obgypatlist.colRef("rem")){
- //결과입력 컬럼 or 비고컬럼일경우 pass
- }else{
- model.makeValue("/root/temp/pid", model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/pid")); //등록번호 set
- model.makeValue("/root/temp/patnm", model.getValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/patnm")); //환자이름 set
- output1.refresh();
- output2.refresh();
- if(grd_obgypatlist.rowstyle(grd_obgypatlist.row, "data", "color") == "#ff0000"){ //검사결과 확인 시 빨간색이면 검정색으로 변환.
- grd_obgypatlist.rowstyle(grd_obgypatlist.row, "data", "color") = "#000000"; //검정
- }
- fPatExamRsltSrch(); //가장최근 병리검사 결과 조회.
- //더블클릭시 현재행은 체크, 나머지는 체크품..
- //if(grd_obgypatlist.mouseCol != grd_obgypatlist.colRef("examrslt") && grd_obgypatlist.mouseCol != grd_obgypatlist.colRef("rem")){
- for(var i=1;i<=getNodesetCount("/root/main/obgypatlist/obgypatlistinfo");i++){
- model.makeValue("/root/main/obgypatlist/obgypatlistinfo[" + i + "]/chk","false");
- }
- model.makeValue("/root/main/obgypatlist/obgypatlistinfo["+grd_obgypatlist.row+"]/chk", "true");
- //}
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_3" style="x1:0px; y1:257px; x2:1190px; y2:257px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:282px; x2:1190px; y2:282px; "/>
- <caption id="caption1" class="cell_1" style="left:5px; top:260px; width:65px; height:20px; ">등록번호</caption>
- <output id="output1" ref="/root/temp/pid" class="output_fix" style="left:73px; top:261px; width:105px; height:20px; "/>
- <caption id="caption3" class="cell_1" style="left:182px; top:260px; width:65px; height:20px; ">환자이름</caption>
- <output id="output2" ref="/root/temp/patnm" class="output_fix" style="left:250px; top:261px; width:105px; height:20px; "/>
- <caption id="caption4" class="cell_1" style="left:360px; top:260px; width:65px; height:20px; ">발송내용</caption>
- <button id="button4" class="btn2_letter6" style="left:1100px; top:285px; width:84px; height:19px; ">
- <caption>□ 특이사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("visibility") = "visible";
- fCmmtSrch(); //특이사항 조회.
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter6" style="left:5px; top:287px; width:64px; height:19px; ">
- <caption>결과이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group2.attribute("visibility") = "visible";
- fPatExamHist(); //검사결과이력조회
- ]]>
- </script>
- </button>
- <line id="line3" class="line_3" style="x1:0px; y1:309px; x2:1190px; y2:309px; "/>
- <output id="output3" ref="/root/temp/ptno" class="output_fix" style="left:98px; top:287px; width:185px; height:19px; "/>
- <output id="output4" ref="/root/temp/prcpdd" class="output_fix" style="left:290px; top:287px; width:375px; height:19px; "/>
- <select1 id="cmb_sendcnts" ref="/root/temp/smssendcnts" appearance="minimal" style="left:430px; top:261px; width:345px; height:20px; ">
- <choices>
- <item>
- <label>1. 정상.</label>
- <value>1</value>
- </item>
- <item>
- <label>2. 전화로 알림.</label>
- <value>2</value>
- </item>
- <item>
- <label>3. 재검-SMS로 알림</label>
- <value>3</value>
- </item>
- <item>
- <label>4. 정상+염증성 소견</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //model.makeValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/examrslt", model.getValue("/root/temp/smssendcnts"));
- //grd_obgypatlist.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var bool = fSaveNormal(); //발송내용 선택시 저장.
- if(!bool){
- fSearch(); //조회
- }else{
- model.makeValue("/root/main/obgypatlist/obgypatlistinfo[" + grd_obgypatlist.row+ "]/examrslt", model.getValue("/root/temp/smssendcnts"));
- grd_obgypatlist.refresh();
- }
- ]]>
- </script>
- </select1>
- <textarea id="tar_examrslt" ref="/root/temp/examrslttxt" style="left:0px; top:315px; width:1190px; height:420px; "/>
- <group id="group2" visibility="hidden" style="left:8px; top:316px; width:657px; height:290px; border-color:#adceff; border-width:5px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <datagrid id="grd_examhist" nodeset="/root/temp/patexamhistlist/patexamhistinfo" caption="결과일자^검체명^병리번호^상태^진료과^진료의^접수일자^검사결과^처방일자" colsep="^" colwidth="90, 95, 80, 55, 95, 90, 0, 0, 90" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:15px; top:10px; width:620px; height:240px; ">
- <col ref="readdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="spcnm" style="text-align:center; "/>
- <col ref="ptno" style="text-align:center; "/>
- <col disabled="true" ref="acptstatcd" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>접수</label>
- <value>0</value>
- </item>
- <item>
- <label>최종결과</label>
- <value>3</value>
- </item>
- <item>
- <label>수정결과</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="orddrid" style="text-align:center; "/>
- <col ref="acptdt"/>
- <col ref="rsltcnts"/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_examhist.isCell(event.target) && grd_examhist.mouseRow >= grd_examhist.fixedrows){
- fPatExamHistClick();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button8" class="btn4_letter2" style="left:575px; top:255px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group2.attribute("visibility") = "hidden";
- ]]>
- </script>
- </button>
- </group>
- <button id="button9" class="btn1_letter2" visibility="hidden" style="left:790px; top:260px; width:65px; height:15px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var j = 0;
- for(var i=1;i<=getNodesetCount("/root/main/obgypatlist/obgypatlistinfo");i++){
- if(model.getValue("/root/main/obgypatlist/obgypatlistinfo["+ i +"]/chk") == "true"){
- j++;
- if(model.getValue("/root/main/obgypatlist/obgypatlistinfo["+ i +"]/examrslt") == ""){
- messageBox("결과컬럼에 값을 입력하지 않은 행이 존재합니다. [ " + i + " ]행", "E");
- return;
- }
- }
- }
- if(j == 0){
- messageBox("저장할 환자를 선택하지", "E007");
- return;
- }
- fSaveNormal(); //일반저장(SMS전송 및 출력을 하지 않고 결과값 및 비고 저장.)
- fSearch(); //조회
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">자궁경부 환자 결과입력</caption>
- <group id="group1" visibility="hidden" style="left:860px; top:335px; width:325px; height:230px; border-color:#adceff; border-width:5px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <button id="button6" class="btn4_letter2" style="left:90px; top:190px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInsPatCmmt(); //특이사항 저장.
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter2" style="left:170px; top:190px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("visibility") = "hidden";
- model.makeValue("/root/temp/patcmmt", "");
- ]]>
- </script>
- </button>
- <textarea id="tar_cmmt" ref="/root/temp/patcmmt/patcmmtstmtinfo/patcmmtstmt" style="left:15px; top:55px; width:285px; height:125px; "/>
- <caption id="caption5" class="cell_1" style="left:15px; top:4px; width:285px; height:20px; font-weight:bold; text-align:center; ">특이사항입력</caption>
- <caption id="caption7" class="cell_1" style="left:15px; top:30px; width:75px; height:20px; ">등록번호</caption>
- <input id="inpt_cmmtpid" ref="/root/temp/pidcmmt" style="left:100px; top:30px; width:110px; height:20px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|