123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- <?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>
- <spclstand>
- <spcllist>
- <stat/>
- <reqflag/>
- <prcpcd/>
- <hngnm/>
- <poctyn/>
- <execmthdflag/>
- <hspclflag/>
- <hreqflag/>
- </spcllist>
- </spclstand>
- <temp/>
- <prcpinfo>
- <prcplist>
- <check/>
- <spclcareflag/>
- <reqflag/>
- <prcpcd/>
- <hngnm/>
- <poctyn/>
- <execmthdflag/>
- </prcplist>
- </prcpinfo>
- </main>
- <send>
- <spclcareflag/>
- <standsave/>
- <prcpflag>C</prcpflag>
- <prcpcode/>
- <standins/>
- </send>
- <hidden>
- <spclcarefildflaginfo>
- <spclcarefildflaginfolist/>
- </spclcarefildflaginfo>
- </hidden>
- <cond>
- <spclcareflag/>
- </cond>
- <cond2>
- <prcpcode/>
- <prcpflag/>
- </cond2>
- </root>
- </instance>
- <submission id="TRMNS00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/spclcarefildflaginfo/spclcarefildflaginfolist"/>
- <submission id="TRMNS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/spclstand"/>
- <submission id="TXMNS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/standsave" resultref="/root/main/temp"/>
- <submission id="TRMNS00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcpinfo"/>
- <submission id="TXMNS00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/standins" resultref="/root/main/temp"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- /**
- * 전문분야 코드및 명칭을 조회한다.
- */
- model.removenode('root/hidden/spclcarefildflaginfo');
-
- //20090205 dhkim
- //전문간호/BMT전문간호 로 나눠지게 되면서 사용부서에 해당하는 분야로 각각 등록됨.
- suppdeptcd = aezfSetSuppDeptcd();//메뉴그룹에 등록된 사용부서코드
- fSpclCareSearch(suppdeptcd); //전문분야를 조회한다.
-
- // 버튼 숨기기
- button2.visible = false;
- btn_select.dispatch("onclick");
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../emr/spclcareweb/js/SMMNS00700.js"/>
- <script type="javascript" src="../../../emr/spclcareweb/js/MNS001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function onmousedown1()
- {
-
- if (event.button == 3){
- if(datagrid1.isCell(event.target) && datagrid1.row >= datagrid1.fixedrows){
- window.setPopupMenu(true, "/root/menu/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
- function a()
- {
- alert("a 메뉴 선택");
-
- }
- function b()
- {
- alert("b 메뉴 선택");
- }
- function c(){
- alert("c 메뉴 선택");
- }
- function d(){
- alert("d 메뉴 선택");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" scroll="auto" style="left:0px; top:15px; width:880px; height:744px; ">
- <line id="line6" class="line_1" style="x1:0px; y1:69px; x2:879px; y2:69px; "/>
- <caption id="caption22" class="tit_2" style="left:5px; top:54px; width:135px; height:13px; vertical-align:middle; ">처방 code관리</caption>
- <button id="button1" class="btn2_letter3" style="left:782px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 행삭제
- fgriditem("D");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:726px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 행추가
- fgriditem("I");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter2" style="left:838px; top:49px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 저장
- Savestand();
- btn_select.dispatch("onclick");
- ]]>
- </script>
- </button>
- <group id="group2" style="left:0px; top:10px; width:880px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:880px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:16px; top:9px; width:109px; height:17px; ">전문분야 :</caption>
- <line id="line1" class="line_4" style="x1:797px; y1:7px; x2:797px; y2:29px; "/>
- <select1 id="cmb_spcl" ref="/root/cond/spclcareflag" class="combo_search" appearance="minimal" style="left:115px; top:8px; width:215px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/spclcarefildflaginfo/spclcarefildflaginfolist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/main/spclstand/spcllist");
- model.removeNodeset("/root/main/prcpinfo/prcplist");
- ipt_prcp.value = "";
- model.refresh();
- select_spclstand();
- ]]>
- </script>
- </select1>
- <button id="btn_select" class="btn1_letter2" style="left:813px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 기준자료관리 조회
- select_spclstand();
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_standlist" nodeset="/root/main/spclstand/spcllist" caption="상태^의뢰구분^처방코드^처방명/의뢰사유^현장검사^시행체크방법^전문분야^의뢰구문^검사명^^caption4^caption3^caption2^caption1^caption5^caption6^caption8^caption7^caption19^caption18^caption17^caption16^caption15^caption14^caption13^caption12^caption11^caption10^caption9" colsep="^" colwidth="42, 70, 140, 321, 90, 127, 29, 17" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:74px; width:880px; height:293px; ">
- <col ref="stat"/>
- <col ref="reqflag" type="combo">
- <choices>
- <item>
- <label>검사</label>
- <value>I</value>
- </item>
- <item>
- <label>교육</label>
- <value>E</value>
- </item>
- <item>
- <label>의뢰</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="prcpcd" style="left:132px; top:23px; width:140px; height:23px; "/>
- <col ref="hngnm"/>
- <col ref="poctyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="execmthdflag" type="combo">
- <choices>
- <item>
- <label>회신(결과)입력</label>
- <value>1</value>
- </item>
- <item>
- <label>직접</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="hspclflag" visibility="hidden"/>
- <col ref="hreqflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 항목변경시 상태값 변경
- fstandstat();
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:5px; top:394px; width:135px; height:14px; vertical-align:middle; ">처방정보조회</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:409px; x2:879px; y2:409px; "/>
- <caption id="caption13" class="cell_1" style="left:3px; top:414px; width:55px; height:23px; vertical-align:middle; ">조회구분</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:440px; x2:879px; y2:440px; vertical-align:bottom; "/>
- <select1 id="rdo_prcp" ref="/root/cond2/prcpflag" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:65px; top:416px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>처방코드</label>
- <value>C</value>
- </item>
- <item>
- <label>처방명</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // Clear
- ipt_prcp.value = "";
- model.removeNodeSet("/root/main/prcpinfo/prcplist");
-
- // 구분에 따른 입력창 모드변경
- // 처방코드
- if (rdo_prcp.value == "C") {
- ipt_prcp.attribute("imemode") = "alpha";
- }
- // 처방명
- else if (rdo_prcp.value == "N") {
- ipt_prcp.attribute("imemode") = "hangul";
- }
- model.setFocus("ipt_prcp");
- ]]>
- </script>
- </select1>
- <input id="ipt_prcp" ref="/root/cond2/prcpcode" class="input_s_essential" imemode="alpha" style="left:195px; top:416px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // 조회하기
- var keycode = event.keyCode;
- if(keycode == 13){
- model.setFocus("btn_ordselect");
- btn_ordselect.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- ipt_prcp.value = ipt_prcp.value.toUpperCase();
- ]]>
- </script>
- </input>
- <button id="btn_prcpins" class="btn5_letter2" style="left:838px; top:414px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = 0;
- for(var i=1;i<=grd_prcplist.rows;i++){
- if (grd_prcplist.textmatrix(i,1) == "true") {
- // 저장시 전문분야, 의뢰구분 필수체크
- if ((grd_prcplist.textmatrix(i,2) == "") ||
- (grd_prcplist.textmatrix(i,3) == "")
- ) {
- cnt = cnt +1;
- }
- }
- } // for end
- // 입력사항 Check
- if (cnt > 0) {
- messageBox("전문분야, 의뢰구분은 ","I003");
- }
-
- // 저장
- Insstand();
- //
- btn_select.dispatch("onclick");
- btn_ordselect.dispatch("onclick");
- ]]>
- </script>
- </button>
- <datagrid id="grd_prcplist" nodeset="/root/main/prcpinfo/prcplist" caption="선택^전문분야^의뢰구분^처방코드^처방명/의뢰사유^현장검사^시행체크방법^검사명^^caption4^caption3^caption2^caption1^caption5^caption6^caption8^caption7^caption19^caption18^caption17^caption16^caption15^caption14^caption13^caption12^caption11^caption10^caption9" colsep="^" colwidth="42, 100, 70, 140, 271, 90, 127" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:444px; width:880px; height:293px; ">
- <col ref="check" type="checkbox"/>
- <col ref="spclcareflag" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/spclcarefildflaginfo/spclcarefildflaginfolist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqflag" type="combo">
- <choices>
- <item>
- <label>검사</label>
- <value>I</value>
- </item>
- <item>
- <label>교육</label>
- <value>E</value>
- </item>
- <item>
- <label>의뢰</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="prcpcd" style="left:132px; top:23px; width:140px; height:23px; "/>
- <col ref="hngnm"/>
- <col ref="poctyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="execmthdflag" type="combo">
- <choices>
- <item>
- <label>회신(결과)입력</label>
- <value>1</value>
- </item>
- <item>
- <label>직접</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 항목변경시 상태값 변경
- fstandstat();
- ]]>
- </script>
- </datagrid>
- <button id="btn_ordselect" class="btn2_letter4" style="left:773px; top:414px; width:64px; height:19px; ">
- <caption>처방검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 처방코드/처방명정보 조회하기
- if (model.getvalue("/root/cond2/prcpcode").length < 2) {
- messageBox("2자리 이상 ","C001");
- model.setFocus("/root/send/prcpcode");
- }
- else {
- select_spclprcp();
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">기준자료관리</caption>
- </xhtml:body>
- </xhtml:html>
|