123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770 |
- <?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>
- <xhtml:title>판독요청</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <filminfo>
- <filmlist>
- <chk/>
- <modality/>
- <excuexectodt/>
- <fstrgstdt/>
- <ioflag/>
- <uoedesc/>
- <excuroomcd/>
- <execprcpstatcd/>
- <cnfmdt/>
- <deptdrnm/>
- <lendapptm/>
- <lenddeptcd/>
- <lendrid/>
- <lendgoal/>
- <prntyn/>
- <lendyn/>
- <pid/>
- <hngnm/>
- <prcpdd/>
- <execprcpuniqno/>
- <seq/>
- <ordtm/>
- </filmlist>
- </filminfo>
- <savedata>
- <savelist>
- <pid/>
- <prcpdd/>
- <execprcpuniqno/>
- <lendapptm/>
- <lendgoal/>
- <modality/>
- <lenddeptcd/>
- <lendrid/>
- <seq/>
- </savelist>
- </savedata>
- </main>
- <send>
- <data>
- <pid/>
- <lendapptm/>
- <lendgoal/>
- <modality/>
- <deptengabbr/>
- <lenddeptcd/>
- <lendrid/>
- <srchdate1/>
- <deptcd/>
- <drid/>
- <gb/>
- <excuexecfromdd/>
- <excuexectodd/>
- <prcpgenrflag/>
- </data>
- </send>
- <init>
- <cmb_info>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- <deptengabbr/>
- </suppdept>
- </cmb_info>
- <baseinfo>
- <initexecprcpstatcd/>
- <initprcpgenrflagcd/>
- </baseinfo>
- <cmb_orddept>
- <initexecorddept>
- <execorddeptcdnm/>
- <execorddeptcdid/>
- </initexecorddept>
- </cmb_orddept>
- <cmb_orddr>
- <initexecorddr>
- <execorddrcdid/>
- <execorddrcdnm/>
- </initexecorddr>
- </cmb_orddr>
- </init>
- <hidden>
- <source>
- <hngnm/>
- </source>
- </hidden>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function readfunc(){
- if (model.getValue("/root/send/data/gb") == "1"){
- if (model.getValue("/root/send/data/pid") == ""){
- messageBox("등록번호는 필수 입력항목입니다.", "E999", "");
- return;
- }
- }else{
- if (model.getValue("/root/send/data/srchdate1") == ""){
- messageBox("진료일자는 필수 입력항목입니다.", "E999", "");
- return;
- }
- if (model.getValue("/root/send/data/deptcd") == ""){
- messageBox("진료과는 필수 선택항목입니다.", "E999", "");
- return;
- }
- if (model.getValue("/root/send/data/excuexecfromdd") > model.getValue("/root/send/data/excuexectodd")){
- messageBox("조회기간 시작일자는 종료일자 보다 클 수", "I004");
- model.setFocus("ipt_fromdd");
- return;
- }
- }
-
- //20150119 kya 색깔 초기화
- init();
-
- var sdatetime = getCurrentDateTime();
- sdatetime = sdatetime.substr(0, 13);
- sdatetime = sdatetime.replace(" ", "");
- model.setValue("/root/send/data/lendapptm", sdatetime);
- model.removeNodeset("/root/main/filminfo/filmlist");
- model.resetInstanceNode("/root/main/savedata/savelist");
- btn_rsrv.disabled = true;
- btn_cnl.disabled = true;
- if (submit("TRAEF00103")){
- if (datagrid2.rows > 1){
- model.makeValue("/root/main/patinfo/patinfolist/hngnm", model.getValue("/root/main/filminfo/filmlist[" + 1 + "]/hngnm"));
- }
- }
-
- for (var i = 1; i < datagrid2.rows; i ++){
- var lendrid = datagrid2.valueMatrix(i, datagrid2.colRef("lendrid"));
- var lendyn = datagrid2.valueMatrix(i, datagrid2.colRef("lendyn"));
-
- if (lendrid != "") {
- datagrid2.isReadOnly(i, datagrid2.colRef("chk")) = true;
- datagrid2.rowstyle( i , "data" , "background-color" ) = "#FF9A00";
- }
- if (lendyn == "Y") {
- datagrid2.rowstyle( i , "data" , "background-color" ) = "#FFFFCC";
- }
- datagrid2.isSelected(i) = false;
- }
- model.refresh();
- }
-
- function fSaveData() {
- var k = 0;
- for (var i = 1; i < datagrid2.rows; i++){
- if (model.getValue("/root/main/filminfo/filmlist[" + i +"]/chk") == "Y"){
- k = parseInt(k) + 1;
- }
- }
- if (k == 0){
- messageBox("응급판독/대출신청할 검사내역이 선택되지 않았습니다.", "E999", "");
- return;
- }
- /*
- if (model.getValue("/root/send/data/lendappdd") == ""){
- messageBox("대출신청일은 필수 선택항목입니다.", "E999", "");
- return;
- }
- if (isDate(model.getValue("/root/send/data/lendappdd")) == false){
- messageBox("대출신청일의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return;
- }
- */
- if (model.getValue("/root/send/data/lendgoal") == ""){
- messageBox("목적은 필수 선택항목입니다.", "E999", "");
- return;
- }
- /*
- if (model.getValue("/root/send/data/modality") == ""){
- messageBox("필름구분은 필수 선택항목입니다.", "E999", "");
- return;
- }
- */
- if (model.getValue("/root/send/data/lenddeptcd") == ""){
- messageBox("판독신청과는 필수 선택항목입니다.", "E999", "");
- return;
- }
- if (model.getValue("/root/send/data/lendrid") == ""){
- messageBox("판독신청자는 필수 입력항목입니다.", "E999", "");
- return;
- }
- for (var i = 1; i < datagrid2.rows; i++){
- if (model.getValue("/root/main/filminfo/filmlist[" + i + "]/chk") == "Y"){
- model.setValue("/root/main/filminfo/filmlist[" + i + "]/lendapptm", model.getValue("/root/send/data/lendapptm"));
- model.setValue("/root/main/filminfo/filmlist[" + i + "]/lendgoal", model.getValue("/root/send/data/lendgoal"));
- model.setValue("/root/main/filminfo/filmlist[" + i + "]/lenddeptcd", model.getValue("/root/send/data/lenddeptcd"));
- model.setValue("/root/main/filminfo/filmlist[" + i + "]/lendrid", model.getValue("/root/send/data/lendrid"));
- model.setValue("/root/main/filminfo/filmlist[" + i + "]/seq", "0");
- }
- }
- copyNodesetType("/root/main/savedata/savelist", "/root/main/filminfo/filmlist[chk='Y']", "replace", model, model);
- /*
- model.setValue("/root/main/savedata/savelist/lendapptm", model.getValue("/root/send/data/lendapptm"));
- model.setValue("/root/main/savedata/savelist/lendgoal", model.getValue("/root/send/data/lendgoal"));
- model.setValue("/root/main/savedata/savelist/lenddeptcd", model.getValue("/root/send/data/lenddeptcd"));
- model.setValue("/root/main/savedata/savelist/lendrid", model.getValue("/root/send/data/lendrid"));
- model.setValue("/root/main/savedata/savelist/seq", "0");
- */
- if(submit("TXAEF00101")){
- readfunc();
- }
- }
- function fDelData() {
- var k = 0;
- for (var i = 1; i < datagrid2.rows; i++){
- if (model.getValue("/root/main/filminfo/filmlist[" + i +"]/chk") == "Y"){
- k = parseInt(k) + 1;
- }
- }
- if (k == 0){
- messageBox("응급판독/대출신청할 검사내역이 선택되지 않았습니다.", "E999", "");
- return;
- }
- for (var i = 1; i < datagrid2.rows; i++){
- if (model.getValue("/root/main/filminfo/filmlist[" + i + "]/lendyn") == "Y"){
- messageBox("해당 신청자료는 이미 대출승인이 되었습니다.", "E999", "");
- return;
- }
- }
- copyNodesetType("/root/main/savedata/savelist", "/root/main/filminfo/filmlist[chk='Y']", "replace", model, model);
- if(submit("TXAEF00102")){
- readfunc();
- }
- }
- function isDate(str) { // 날짜 형식에 대한 적합여부 체크
- if (str == "") return true; // 빈건 체크안함
- if (trim(str) == "") return true; // 빈건 체크안함
- if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
- if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
-
- var yy = new Number(str.substring(0, 4));
- var mm = new Number(str.substring(4, 6)) - 1;
- var dd = new Number(str.substring(6, 8));
- var date = new Date(yy, mm, dd);
- //alert(date.getFullYear() +"-" + (date.getMonth()+1) + "-" + date.getDate());
- if (yy != date.getFullYear() ||
- mm != date.getMonth() ||
- dd != date.getDate()) {
- return false; // 존재하지 않는 날짜
- }
-
- return true; // 존재하는 날짜
- }
- function trim(data){ // 문자에 대한 TRIM 작업
- return data.replace(/(^\s*)|(\s*$)/g, "");
- }
-
- //20150119 by kya
- //색깔 초기화
- function init(){
- for (var i = 1; i < datagrid2.rows; i ++){
- datagrid2.isReadOnly(i, datagrid2.colRef("chk")) = false;
- datagrid2.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- }
-
- }
-
- /* @group : 판독/대출신청
- * @ver : 2009.05.13
- * @by : 박상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 주치의정보(진료의사) 조회를 위한 Function
- */
- function fChngSrchDrId() {
-
- if ( model.getValue("/root/send/data/deptcd") == "" ){
- model.removeNodeset("/root/init/cmb_orddr/initexecorddr");
- model.setValue("/root/send/data/drid", "");
- model.refresh();
- return;
- }
- //alert(cmb_wardcd.value);
- //alert(model.getValue("/root/send/data/singdata/deptcd"));
- model.resetInstanceNode("/root/init/cmb_orddr/initexecorddr");
- submit("TRAER00804");
- }
-
- ]]>
- </script>
- <!-- 예약조회-->
- <submission id="TRAEF00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEF00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/filminfo"/>
- <submission id="TXAEF00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/savedata" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAEF00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/savedata/savelist" replace="instance" resultref="/root/hidden"/>
- <submission id="TRZBC00101"/>
- <!-- 진료과 및 진료의사 정보 가져오기-->
- <submission id="TRAER00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/" replace="instance" resultref="/root/init/cmb_orddept"/>
- <submission id="TRAER00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/deptcd" replace="instance" resultref="/root/init/cmb_orddr"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sdatetime = getCurrentDateTime();
- sdatetime = sdatetime.substr(0, 13);
- sdatetime = sdatetime.replace(" ", "");
- model.setValue("/root/send/data/lendapptm", sdatetime);
- model.setValue("/root/send/data/lendrid", getUserId());
- btn_rsrv.disabled = true;
- btn_cnl.disabled = true;
- zbcfGetCodeList( new Array("M0011"), new Array("/root/init/baseinfo/initexecprcpstatcd") );
- submit("TRZBC00101", false); //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn'", ord_deptflag, rslt_ref, sort_field, sort_method);
- submit("TRAEF00101");
- model.setValue("/root/send/data/lenddeptcd", getUserInfo("dutplcecd"));
- if( instance1.selectSingleNode("/root/init/cmb_info/suppdept[suppdeptcd='" + getUserInfo("dutplcecd") + "']") == null ){
- model.setValue("/root/send/data/deptengabbr", "");
- }else{
- model.setValue("/root/send/data/deptengabbr", model.getValue("/root/init/cmb_info/suppdept[suppdeptcd='" + getUserInfo("dutplcecd") + "']/deptengabbr"));
- }
-
- // 조회용 진료과코드
- submit("TRAER00803");
-
- // 진료일자를 오늘 일자로 기본설정
- ipt_srchdate1.value = getCurrentDate().toDate().getAddDate(+1,"D").getDateFormat("YYYYMMDD");
-
- // 조회기간 기본값 설정
- ipt_fromdd.value = getCurrentDate().toDate().getAddDate(-31,"D").getDateFormat("YYYYMMDD");
- ipt_todd.value = getCurrentDate();
-
- model.setValue("/root/send/data/gb", "1");
- model.setValue("/root/send/data/lendgoal", "01");
- ipt_srchdate1.disabled = true;
- cmb_orddept.disabled = true;
- cmb_orddr.disabled = true;
- model.setValue("/root/send/data/drid", "");
-
- datagrid2.colHidden(1) = true; // 등록번호
- datagrid2.colHidden(2) = true; //환자명
- datagrid2.colHidden(11) = true; //진료예약시간
-
- init(); //그리드 초기화
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,757;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">판독요청</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:8px; x2:1188px; y2:8px; "/>
- <output id="output1" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:165px; top:39px; width:120px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:38px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
- <button id="button61" class="icon_search" navindex="2" style="left:289px; top:41px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 환자조회
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/srchpid","/root/main/send");
-
- model.setValue("/root/hidden/source/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/send/data/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- if (model.getValue("/root/send/data/pid") != ""){
- btn_sea.dispatch("DOMActivate");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input5" ref="/root/send/data/pid" class="input_search" navindex="1" style="left:74px; top:39px; width:88px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("btn_sea","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="combo2" ref="/root/send/data/lenddeptcd" navindex="6" appearance="minimal" editmode="search" style="left:116px; top:66px; width:189px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdept">
- <label ref="depthngnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sdeptcd = model.getValue("/root/send/data/lenddeptcd");
- model.setValue("/root/send/data/deptengabbr", model.getValue("/root/init/cmb_info/suppdept[suppdeptcd='" + sdeptcd + "']/deptengabbr"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="input3" ref="/root/send/data/lendrid" class="input_search" navindex="7" style="left:383px; top:66px; width:125px; height:19px; "/>
- <input id="input4" ref="/root/send/data/deptengabbr" class="output_fix" style="left:74px; top:66px; width:40px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:64px; width:70px; height:23px; vertical-align:middle; ">판독신청과</caption>
- <caption id="caption9" class="cell_1" style="left:309px; top:65px; width:70px; height:23px; vertical-align:middle; ">판독신청자</caption>
- <caption id="caption11" class="cell_1" style="left:515px; top:38px; width:70px; height:23px; vertical-align:middle; ">목적</caption>
- <select1 id="combo3" ref="/root/send/data/lendgoal" navindex="4" appearance="minimal" style="left:590px; top:39px; width:235px; height:19px; ">
- <choices>
- <item>
- <label>응급판독요청</label>
- <value>01</value>
- </item>
- <item>
- <label>외래진료판독요청</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="caption12" class="cell_1" style="left:309px; top:38px; width:70px; height:23px; vertical-align:middle; ">판독신청일</caption>
- <line id="line22" class="line_3" style="x1:0px; y1:87px; x2:1185px; y2:87px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:61px; x2:1185px; y2:61px; "/>
- <button id="btn_rsrv" class="btn5_letter4" disabled="true" style="left:828px; top:66px; width:86px; height:19px; ">
- <caption>판독신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveData();
- ]]>
- </script>
- </button>
- <button id="btn_cnl" class="btn5_letter4" disabled="true" style="left:896px; top:66px; width:64px; height:19px; ">
- <caption>판독취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelData();
- ]]>
- </script>
- </button>
- <button id="btn_sea" class="btn5_letter8" style="left:964px; top:66px; width:108px; height:19px; ">
- <caption>영상검사내역조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- readfunc();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid2" nodeset="/root/main/filminfo/filmlist" caption="선택^등록번호^환자명^성별/나이^구분^접수일자^검사일자^입원/외래^처방명^검사실^판독상태^판독일^진료예약시간^진료과(진료의)^신청일자^신청과^신청자^신청목적^신청서출력^승인^caption3^caption4^caption1^caption5^caption7" colsep="^" colwidth="36, 73, 76, 67, 67, 74, 75, 64, 195, 103, 68, 74, 85, 143, 111, 110, 61, 90, 70, 33, 34, 32, 38, 25, 31" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:109px; width:1188px; height:621px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sna" style="text-align:center; "/>
- <col disabled="true" ref="modality" type="combo">
- <choices>
- <item>
- <label>GR</label>
- <value>GR</value>
- </item>
- <item>
- <label>CT</label>
- <value>CT</value>
- </item>
- <item>
- <label>MRI</label>
- <value>MR</value>
- </item>
- <item>
- <label>ANGIO</label>
- <value>AG</value>
- </item>
- <item>
- <label>SP</label>
- <value>SP</value>
- </item>
- <item>
- <label>SONO</label>
- <value>US</value>
- </item>
- <item>
- <label>BMD</label>
- <value>BM</value>
- </item>
- <item>
- <label>NM</label>
- <value>NM</value>
- </item>
- <item>
- <label>CT</label>
- <value>Ct</value>
- </item>
- <item>
- <label>CT</label>
- <value>C</value>
- </item>
- <item>
- <label>MAMMO</label>
- <value>MG</value>
- </item>
- </choices>
- </col>
- <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="excuexectodt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="ioflag" type="combo">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>건진</label>
- <value>S</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>DSC</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="uoedesc"/>
- <col ref="excuroomcd"/>
- <col disabled="true" ref="execprcpstatcd" style="text-align:center; "/>
- <col ref="cnfmdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtm" format="mm:hh" style="text-align:center; "/>
- <col ref="deptdrnm"/>
- <col ref="lendapptm" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="lenddeptcd"/>
- <col ref="lendrid"/>
- <col disabled="true" ref="lendgoal" type="combo">
- <choices>
- <item>
- <label>판독요청</label>
- <value>01</value>
- </item>
- <item>
- <label>외래진료</label>
- <value>02</value>
- </item>
- <item>
- <label>입원진료</label>
- <value>03</value>
- </item>
- <item>
- <label>판독용</label>
- <value>04</value>
- </item>
- <item>
- <label>복사용</label>
- <value>05</value>
- </item>
- <item>
- <label>연구용</label>
- <value>06</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="prntyn" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>YES</label>
- <value>Y</value>
- </item>
- <item>
- <label>NO</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="lendyn" style="text-align:center; "/>
- <col ref="pid" visibility="hidden"/>
- <col ref="hngnm" visibility="hidden"/>
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="seq" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid2.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( isDataCell() ){
- btn_rsrv.disabled = false;
- if (model.getValue("/root/main/filminfo/filmlist[" + datagrid2.row + "]/lendapptm") == ""){
- btn_cnl.disabled = true;
- }else{
- btn_cnl.disabled = false;
- model.setValue("/root/main/savedata/savelist/lendapptm", model.getValue("/root/main/filminfo/filmlist[" + datagrid2.row + "]/lendapptm"));
- model.setValue("/root/main/savedata/savelist/seq", model.getValue("/root/main/filminfo/filmlist[" + datagrid2.row + "]/seq"));
- }
- model.setValue("/root/main/savedata/savelist/pid", model.getValue("/root/main/filminfo/filmlist[" + datagrid2.row + "]/pid"));
- model.setValue("/root/main/savedata/savelist/prcpdd", model.getValue("/root/main/filminfo/filmlist[" + datagrid2.row + "]/prcpdd"));
- model.setValue("/root/main/savedata/savelist/execprcpuniqno", model.getValue("/root/main/filminfo/filmlist[" + datagrid2.row + "]/execprcpuniqno"));
- model.setValue("/root/main/savedata/savelist/modality", model.getValue("/root/main/filminfo/filmlist[" + datagrid2.row + "]/modality"));
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="cell_1" style="left:830px; top:38px; width:70px; height:23px; vertical-align:middle; ">영상구분</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:105px; x2:1188px; y2:105px; "/>
- <caption id="caption7" class="tit_2" style="left:0px; top:90px; width:193px; height:13px; ">환자영상검사내역</caption>
- <select1 id="combo4" ref="/root/send/data/modality" navindex="5" appearance="minimal" style="left:905px; top:39px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>GR</label>
- <value>GR</value>
- </item>
- <item>
- <label>CT</label>
- <value>CT</value>
- </item>
- <item>
- <label>MRI</label>
- <value>MR</value>
- </item>
- <item>
- <label>ANGIO</label>
- <value>AG</value>
- </item>
- <item>
- <label>SP</label>
- <value>SP</value>
- </item>
- <item>
- <label>SONO</label>
- <value>US</value>
- </item>
- <item>
- <label>BMD</label>
- <value>BM</value>
- </item>
- <item>
- <label>NM</label>
- <value>NM</value>
- </item>
- <item>
- <label>CT</label>
- <value>Ct</value>
- </item>
- <item>
- <label>CT</label>
- <value>C</value>
- </item>
- <item>
- <label>MAMMO</label>
- <value>MG</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/send/data/lendapptm" disabled="true" format="yyyy-mm-dd hh:nn" style="left:383px; top:39px; width:125px; height:19px; text-align:center; "/>
- <caption id="caption1" class="cell_1" style="left:309px; top:13px; width:70px; height:23px; vertical-align:middle; ">진료일자</caption>
- <caption id="caption3" class="cell_1" style="left:515px; top:13px; width:70px; height:23px; vertical-align:middle; ">진료과</caption>
- <caption id="caption4" class="cell_1" style="left:830px; top:13px; width:70px; height:23px; vertical-align:middle; ">진료의</caption>
- <select1 id="cmb_orddr" ref="/root/send/data/drid" class="combo_search" appearance="minimal" style="left:905px; top:15px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_orddr/initexecorddr">
- <label ref="execorddrcdnm"/>
- <value ref="execorddrcdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddept" ref="/root/send/data/deptcd" class="combo_search" appearance="minimal" style="left:590px; top:15px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_orddept/initexecorddept">
- <label ref="execorddeptcdnm"/>
- <value ref="execorddeptcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngSrchDrId();
- ]]>
- </script>
- </select1>
- <input id="ipt_srchdate1" ref="/root/send/data/srchdate1" class="input_default" inputtype="date" style="left:383px; top:15px; width:125px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:13px; width:70px; height:23px; vertical-align:middle; ">신청구분</caption>
- <select1 id="radio1" ref="/root/send/data/gb" appearance="full" cols="2" overflow="visible" style="left:74px; top:15px; width:206px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급판독</label>
- <value>1</value>
- </item>
- <item>
- <label>외래진료판독</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/data/gb") == "1"){
- ipt_srchdate1.disabled = true;
- cmb_orddept.disabled = true;
- cmb_orddr.disabled = true;
- datagrid2.colHidden(1) = true; // 등록번호
- datagrid2.colHidden(2) = true; // 환자명
- datagrid2.colHidden(11) = true; // 진료예약시간
- model.setValue("/root/send/data/lendgoal","01");
- }else{
- ipt_srchdate1.disabled = false;
- cmb_orddept.disabled = false;
- cmb_orddr.disabled = false;
- datagrid2.colHidden(1) = false; // 등록번호
- datagrid2.colHidden(2) = false; // 환자명
- datagrid2.colHidden(11) = false; // 진료예약시간
- model.setValue("/root/send/data/lendgoal","02");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_excuexectodd" class="cell_1" style="left:514px; top:64px; width:70px; height:23px; vertical-align:middle; ">조회기간</caption>
- <input id="ipt_fromdd" ref="/root/send/data/excuexecfromdd" class="input_default" inputtype="date" style="left:590px; top:66px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/data/excuexectodd" class="input_default" inputtype="date" style="left:691px; top:66px; width:100px; height:19px; "/>
- <select1 id="rdo_prcpgenrflag" ref="/root/send/data/prcpgenrflag" class="radio_search" appearance="full" cellspacing="12" cols="2" rows="2" vcellspacing="5" overflow="visible" style="left:1085px; top:17px; width:95px; height:40px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:1025px; top:13px; width:54px; height:46px; text-align:center; vertical-align:middle; ">
- <![CDATA[처방
- 분류]]>
- </caption>
- <button id="button1" class="btn2_letter4" style="left:1121px; top:66px; width:64px; height:19px; ">
- <caption>엑설저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid2.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|