123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <![CDATA[]]>
- <xhtml:title>진단및수술,처치검사용어검색</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <deptdiagcdlist>
- <deptdiagcdinfo/>
- </deptdiagcdlist>
- <cond>
- <diagflag>C</diagflag>
- <reqdata/>
- <srchnm/>
- <queryflag/>
- <srchflag>code</srchflag>
- <wordflag/>
- <reqflag/>
- <opreqdata/>
- <opsrchflag>code</opsrchflag>
- </cond>
- <diagcdinfo>
- <kcd4m/>
- </diagcdinfo>
- <deptopcdlist>
- <deptopcdinfo/>
- </deptopcdlist>
- </main>
- <send>
- <reqdata>
- </reqdata>
- <savedata>
- </savedata>
- </send>
- <hidden>
- <diagcase>
- <icd10indxcdlist/>
- </diagcase>
- <savedata/>
- <diaghistorg/>
- <search/>
- </hidden>
- <init>
- <oneselect/>
- <searchdata/>
- </init>
- <param>
- <mopho>
- <mophoinfo/>
- </mopho>
- <selectdiaginfo>
- <selectdiaglist/>
- </selectdiaginfo>
- <selectopinfo>
- <selectoplist/>
- </selectopinfo>
- </param>
- <temp>
- <dutplcecd/>
- </temp>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function getDiagNodeListCSV(nodeList) {
-
- if( nodeList.length == 0 )
- return;
-
- var sColSep = "▦";
- var sRowSep = "▩";
-
- var rCSV = "";
-
- var childNodeList = nodeList.item(0).childNodes;
- var childNodeCnt = childNodeList.length;
- if( childNodeCnt == 0 )
- return;
-
- var i, j;
- for( i = 0; i < childNodeCnt - 1; i++) {
- rCSV += childNodeList.item(i).nodeName + sColSep;
- }
- rCSV += childNodeList.item(i).nodeName + sRowSep;
-
- var node;
- var cnt = 1;
- var selCnt = 0;
- while( node = nodeList.nextNode() ) {
- if (model.getValue ( "/root/param/mopho/mophoinfo[" + cnt++ + "]/stat" ) == "I" ) {
- childNodeList = node.childNodes;
- for( i = 0; i < childNodeCnt - 1; i++) {
- rCSV += childNodeList.item(i).text + sColSep;
- }
- rCSV += childNodeList.item(i).text + sRowSep;
- selCnt++;
- }
- }
- if ( selCnt == 0 ) {
- return "N"
- } else {
- return rCSV;
- }
- }
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SPMRT01600();
- //zesfInitSign();
- ]]>
- </script>
- <submission id="TRMRT00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/icdo3info"/>
- <submission id="TRMRT00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/diagcdinfo"/>
- <submission id="TRMRT00704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/opcdinfo"/>
- <submission id="TRMRT00711" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/deptopcdlist"/>
- <submission id="TRMRT00209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/diagcdinfo"/>
- <submission id="TRMRT01600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/deptdiagcdlist"/>
- <submission id="TRMRT01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/deptopcdlist"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- </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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/autocompleteweb/js/ZSC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/termmngtweb/js/SPMRT01600.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1115" pageheight="680" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:8px; top:44px; width:535px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="tit_2" style="left:8px; top:0px; width:45px; height:13px; vertical-align:middle; ">진단</caption>
- <line id="line2" class="line_1" style="x1:8px; y1:40px; x2:543px; y2:40px; "/>
- <line id="line3" class="line_1" style="x1:559px; y1:40px; x2:1094px; y2:40px; "/>
- <line id="line4" class="line_1" style="x1:8px; y1:370px; x2:543px; y2:370px; "/>
- <button id="btn_morphology" class="btn_sw" group="tab" style="left:78px; top:18px; width:88px; height:22px; ">
- <caption>Morphology</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/hidden/search");
- model.makeNode("/root/hidden/search");
- model.makeValue("/root/hidden/search/flag","2");
- model.setValue("/root/main/cond/reqdata","");
- ipt_search.refresh();
- model.toggle("mopho");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:8px; top:354px; width:113px; height:13px; vertical-align:middle; ">선택진단</caption>
- <button id="btn_diag" class="btn_sw" group="tab" selected="true" style="left:8px; top:18px; width:70px; height:22px; ">
- <caption>진단용어</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/hidden/search");
- model.makeNode("/root/hidden/search");
- model.makeValue("/root/hidden/search/flag","1");
- model.setValue("/root/main/cond/reqdata","");
- ipt_search.refresh();
- model.toggle("diag");
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" style="left:473px; top:50px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var flag = model.getValue("/root/hidden/search/flag");
- if(flag=="5"){
- model.removeNodeset("/root/hidden/search");
- model.makeNode("/root/hidden/search");
- model.makeValue("/root/hidden/search/flag","1");
- }
- fDiagSearch();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/main/cond/srchflag" class="combo_search" disabled="false" appearance="minimal" style="left:291px; top:50px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>code</value>
- </item>
- <item>
- <label>단어</label>
- <value>word</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:8px; top:50px; width:86px; height:17px; margin-left:8; ">검색어 :</caption>
- <input id="ipt_search" ref="/root/main/cond/reqdata" class="input_search" style="left:92px; top:50px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_CTerm" class="btn2_letter3" style="left:424px; top:350px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCleanTerm();
- ]]>
- </script>
- <hint>
- <![CDATA[조회된 진단코드를 화면에서 지웁니다]]>
- </hint>
- </button>
- <button id="btn_Tterm" class="btn2_letter4" style="left:480px; top:350px; width:64px; height:19px; ">
- <caption>용어추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fAddBtnTerm();
- ]]>
- </script>
- </button>
- <button id="btn_mophocncl" class="btn4_letter2" style="left:1038px; top:637px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(checkOpener()){
- opener.javascript.setParameter("SPMRT01600_FLAG", "");
- opener.javascript.setParameter("SPMRT01600_SEARCHDATA", "");
- }else{
- messageBox("상위 화면이 변경되어 데이터를 전달", "E001");
- }
- window.close();
-
- ]]>
- </script>
- </button>
- <button id="btn_moph" class="btn4_letter2" style="left:980px; top:637px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSendTermCd();
-
- ]]>
- </script>
- </button>
- <button id="btn_op" class="btn_sw" group="tab" style="left:560px; top:18px; width:70px; height:22px; ">
- <caption>수술용어</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/hidden/search");
- model.makeNode("/root/hidden/search");
- model.makeValue("/root/hidden/search/flag","5");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:550px; top:0px; width:45px; height:13px; vertical-align:middle; ">수술</caption>
- <select1 id="combo1" ref="/root/main/cond/srchflag" class="combo_search" disabled="false" appearance="minimal" style="left:848px; top:55px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>code</value>
- </item>
- <item>
- <label>단어</label>
- <value>word</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:565px; top:55px; width:86px; height:17px; margin-left:8; ">검색어 :</caption>
- <input id="input2" ref="/root/main/cond/reqdata" class="input_search" style="left:649px; top:55px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:559px; top:44px; width:535px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_OpSearch" class="btn1_letter2" style="left:1030px; top:50px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/hidden/search");
- model.makeNode("/root/hidden/search");
- model.makeValue("/root/hidden/search/flag","5");
- fDiagSearch();
- ]]>
- </script>
- </button>
- <select1 id="combo3" ref="/root/main/cond/opsrchflag" class="combo_search" disabled="false" appearance="minimal" style="left:848px; top:50px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>code</value>
- </item>
- <item>
- <label>단어</label>
- <value>word</value>
- </item>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:565px; top:50px; width:86px; height:17px; margin-left:8; ">검색어 :</caption>
- <input id="input3" ref="/root/main/cond/opreqdata" class="input_search" style="left:649px; top:50px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_OpSearch", "DOMActivate");
- ]]>
- </script>
- </input>
- <datagrid id="grd_selectop" nodeset="/root/param/selectopinfo/selectoplist" caption="diagcd^수술코드^영문명^한글명" colsep="^" colwidth="1, 100, 252, 121" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:559px; top:375px; width:535px; height:257px; ">
- <col ref="dispopcd"/>
- <col ref="opcd"/>
- <col ref="opengnm"/>
- <col ref="ophngnm"/>
- </datagrid>
- <button id="button1" class="btn2_letter3" style="left:974px; top:350px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/deptopcdlist/deptopcdinfo");
- model.removeNodeset("/root/param/selectopinfo/selectoplist");
- grd_oplist.rebuild();
- grd_selectop.rebuild();
- ]]>
- </script>
- <hint>
- <![CDATA[조회된 진단코드를 화면에서 지웁니다]]>
- </hint>
- </button>
- <button id="button3" class="btn2_letter4" style="left:1030px; top:350px; width:64px; height:19px; ">
- <caption>용어추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var totrow = grd_oplist.selectedRows;
- for(var i = 0; i < totrow; i++){
- var opRow = grd_oplist.selectedRow(i);
- fAddopHist(opRow);
- }
- ]]>
- </script>
- </button>
- <caption id="caption7" class="tit_2" style="left:559px; top:354px; width:113px; height:13px; vertical-align:middle; ">선택수술</caption>
- <line id="line1" class="line_1" style="x1:559px; y1:370px; x2:1094px; y2:370px; "/>
- <datagrid id="grd_oplist" nodeset="/root/main/deptopcdlist/deptopcdinfo" caption="수술코드^영문명^한글명^icd10cd^진단^진단코드^영문명^한글명^orgdiaghngnm^orgdiagengnm^유사/동의어명" colsep="^" colwidth="100, 225, 210" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:559px; top:76px; width:535px; height:272px; ">
- <col ref="termcd"/>
- <col ref="termengnm"/>
- <col ref="termhngnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- opRow = grd_oplist.row;
- if(opRow < 1){
- return;
- }
- fAddopHist(opRow);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_oplist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button15" class="btn2_letter4" disabled="false" style="left:246px; top:350px; width:64px; height:19px; ">
- <caption>DOWN</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var sRow = fChgValueTermcdGrd(grd_selectdiag, "down","1");
- grd_selectdiag.row = sRow;
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter2" disabled="false" style="left:201px; top:350px; width:42px; height:19px; ">
- <caption>UP</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var sRow = fChgValueTermcdGrd(grd_selectdiag, "up","1");
- grd_selectdiag.row = sRow;
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter3" style="left:369px; top:350px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow_Termlist("grd_selectdiag");
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter3" navindex="35" style="left:313px; top:350px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRow_Termlist("grd_selectdiag");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" disabled="false" style="left:797px; top:350px; width:64px; height:19px; ">
- <caption>DOWN</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var sRow = fChgValueTermcdGrd(grd_selectop, "down","2");
- grd_selectop.row = sRow;
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" disabled="false" style="left:752px; top:350px; width:42px; height:19px; ">
- <caption>UP</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var sRow = fChgValueTermcdGrd(grd_selectop, "up","2");
- grd_selectop.row = sRow;
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:920px; top:350px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow_Termlist("grd_selectop");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter3" navindex="35" style="left:864px; top:350px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRow_Termlist("grd_selectop");
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:8px; top:76px; width:540px; height:272px; border-style:none; ">
- <case id="diag" selected="true">
- <datagrid id="grd_diaglist" nodeset="/root/main/deptdiagcdlist/deptdiagcdinfo" caption="진단코드^전염병구분^영문명^한글명^icd10cd^진단^진단코드^영문명^한글명^orgdiaghngnm^orgdiagengnm^유사/동의어명" colsep="^" colwidth="100, 93, 235, 101" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:0px; width:535px; height:269px; ">
- <col ref="termcd"/>
- <col ref="lglydisflag" visibility="hidden"/>
- <col ref="termengnm"/>
- <col ref="termhngnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- dgRow = grd_diaglist.row;
- if(dgRow < 1){
- return;
- }
- fAddDiagHist(dgRow);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_diaglist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="mopho" style="left:0px; top:0px; width:641px; height:285px; border-style:none; ">
- <datagrid id="grd_icdo3list" nodeset="/root/main/diagcdinfo/kcd4m" caption="진단코드^형태학적 코드^일련번호^영문명^한글명^caption1^조직학적코드" colsep="^" colwidth="0, 90, 57, 217, 185" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:0px; width:534px; height:270px; background-color:#ffffff; border-color:#B0B0B0; ">
- <col/>
- <col ref="morphlgccd" style="text-align:center; "/>
- <col ref="kcd4mseqno" style="text-align:center; "/>
- <col ref="kcd4mengnm"/>
- <col ref="kcd4mhngnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- mRow = grd_icdo3list.row;
- if(mRow < 1){
- return;
- }
- fAddMophoHist(mRow);
- grd_icdo3list.colDisabled(22) = true;
- grd_icdo3list.colDisabled(24) = true;
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_icdo3list.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <datagrid id="grd_selectdiag" nodeset="/root/param/selectdiaginfo/selectdiaglist" caption="diagcd^진단코드^영문명^한글명^caption1^caption2" colsep="^" colwidth="1, 100, 253, 126, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:8px; top:375px; width:535px; height:257px; ">
- <col ref="diagcd"/>
- <col ref="dispdiagcd"/>
- <col ref="diagengnm"/>
- <col ref="diaghngnm"/>
- <col ref="lglydisflag" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|