123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLBD00900_검사결과판정조회.xrw
- * 설 명 : 검사결과판정조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2007.11.24
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <main>
- <dnorinfolist>
- <dnorno/>
- <dnornm/>
- <prcpdd2/>
- <dnorbtype/>
- <rslt/>
- <resn/>
- <readdoc/>
- <readdt/>
- <tnsrnm/>
- <tnsrpid/>
- <tnsrsexage/>
- <orddd/>
- <btype/>
- <dnorseqno/>
- <tnsrrgstno/>
- <dnorrgstno/>
- <cretno/>
- <orddeptcd/>
- <acptseqno/>
- <orgorddd/>
- <ordtype/>
- <instcd/>
- <prcpstat/>
- <postdd/>
- <postendyn/>
- <barcdprntdt/>
- <prcpdd/>
- <prcpseqno/>
- </dnorinfolist>
- <dnortestlist>
- <testcd/>
- <tclsnm/>
- <rsltunit/>
- <base/>
- <inptrslt/>
- <lastreptdt/>
- <plus/>
- <rsltstat/>
- <tclsnm/>
- <prcpview/>
- </dnortestlist>
- <patinfo>
- <patnm/>
- <pid/>
- <sexage/>
- <orddd/>
- <btype/>
- <tnsrrgstno/>
- </patinfo>
- <dnorinfo>
- <dnorno/>
- <dnornm/>
- <dnorrrgstno/>
- <dnorbtype/>
- </dnorinfo>
- <testddcnt>
- <y/>
- <n/>
- <r/>
- <allcnt/>
- </testddcnt>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <patgbn/>
- <pattext/>
- <dnorgbn/>
- <dnortext/>
- <refgbn/>
- <basecdid/>
- <codeflag/>
- <testrslt/>
- <resncd/>
- <pid/>
- <dnorno/>
- <dnorseqno/>
- <testdt/>
- <prcpdd2/>
- <prcpseq/>
- </send>
- <init/>
- <hidden>
- <bacgroup>0</bacgroup>
- <bacnm/>
- <dt1>20071001</dt1>
- <gbn>1</gbn>
- <refgbn>
- <dt>
- <fromdd/>
- <todd/>
- </dt>
- <pat>
- <patgbn>1</patgbn>
- <pattext/>
- </pat>
- <dnor>
- <dnorgbn>1</dnorgbn>
- <dnortext/>
- </dnor>
- <testrslt>00</testrslt>
- <resn>-</resn>
- </refgbn>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 초기화
- fSetInit();
- ]]>
- </script>
- <submission id="TRLBD00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dnorinfolist"/>
- <submission id="TRLBD00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnortestlist"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0102"/>
- <submission id="TRLBD00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testddcnt"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fSetInit(){
-
-
- model.removeNodeset("/root/main/dnorinfolist");
- grd_keepbaclist.rebuild();
- model.setValue("/root/hidden/gbn", "1");
-
- fSetTestgbn("1");
-
- var today = getCurrentDate();
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-14);
- //model.setValue("/root/hidden/refgbn/dt/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/refgbn/dt/fromdd", today);
- model.setValue("/root/hidden/refgbn/dt/todd", today);
-
- // 초기정보 조회
- model.removeNodeset("/root/init/LB0118");
- model.setValue("/root/send/codeflag", "0118|"); // 0118=
- model.setValue("/root/send/basecdid", "LB002"); // LB002 = 부적합/재검사유목록
- submit("TRLZZ00101");
-
- model.resetInstanceNode("/root/main/dnorinfolist");
- model.resetInstanceNode("/root/main/dnortestlist");
- model.resetInstanceNode("/root/main/patinfo");
- model.resetInstanceNode("/root/main/dnorinfo");
- model.resetInstanceNode("/root/main/testddcnt");
-
- grd_keepbaclist.rebuild();
- datagrid1.rebuild();
- fGetPatInfo();
-
- if(getPatientInfo("pid") != ""){
-
- model.setValue("/root/hidden/gbn", "2");
- fSetTestgbn("2");
- model.setValue("/root/hidden/refgbn/pat/patgbn", "2");
- model.setValue("/root/hidden/refgbn/pat/pattext", getPatientInfo("pid"));
- rdo_1.refresh();
- combo3.refresh();
- //ipt_pid.refresh();
- //환자정보조회
- fGetDnorInfoList();
- return;
- }
- }
-
- // 검사구분
- function fSetTestgbn(gbn){
-
- if(gbn == "1" ) {
- grp_1.visible = "true";
- grp_2.visible = "false";
- grp_3.visible = "false";
-
- var today = getCurrentDate();
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-14);
- //model.setValue("/root/hidden/refgbn/dt/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/refgbn/dt/fromdd", today);
- model.setValue("/root/hidden/refgbn/dt/todd", today);
-
- }else if (gbn == "2"){
- grp_1.visible = "false";
- grp_2.visible = "true";
- grp_3.visible = "false";
-
- }else if( gbn == "3"){
- grp_1.visible = "false";
- grp_2.visible = "false";
- grp_3.visible = "true";
- }
- model.refresh();
- }
-
- // 공여자정보 리스트 조회
- function fGetDnorInfoList(){
-
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/refgbn/dt/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/hidden/refgbn/dt/todd"));
-
- model.setValue("/root/send/patgbn", model.getValue("/root/hidden/refgbn/pat/patgbn")); //환자구분 1= 환자명 2= 등록번호
- model.setValue("/root/send/pattext", model.getValue("/root/hidden/refgbn/pat/pattext")); //환자검색내용
-
- model.setValue("/root/send/dnorgbn", model.getValue("/root/hidden/refgbn/dnor/dnorgbn")); //공여자구분 1= 공여자명 2-공여자번호
- model.setValue("/root/send/dnortext", model.getValue("/root/hidden/refgbn/dnor/dnortext")); //공여자검색내용
-
- model.setValue("/root/send/refgbn", model.getValue("/root/hidden/gbn")); //검사구분 1= 검사일자 2= 환자별 3= 공여자별
-
- model.setValue("/root/send/testrslt", model.getValue("/root/hidden/refgbn/testrslt")); //검사결과
- model.setValue("/root/send/resncd", model.getValue("/root/hidden/refgbn/resn")); //사유
-
- if(model.getValue("/root/hidden/gbn")=="2"){ // 1= 검사일자 2= 환자별
-
- if(model.getValue("/root/hidden/refgbn/pat/patgbn")=="1"){
- if(model.getValue("/root/hidden/refgbn/pat/pattext")==""){
- alert("환자명을 입력하십시오.");
- return;
- }
- }else if(model.getValue("/root/hidden/refgbn/pat/patgbn")=="2"){
- if(model.getValue("/root/hidden/refgbn/pat/pattext")==""){
- alert("등록번호를 입력하십시오.");
- return;
- }
- }
-
- }else if(model.getValue("/root/hidden/gbn")=="3"){ // 공여자별
- if(model.getValue("/root/hidden/refgbn/dnor/dnorgbn")=="1"){
- if(model.getValue("/root/hidden/refgbn/dnor/dnortext")==""){
- alert("공여자명을 입력하십시오.");
- return;
- }
- }else if(model.getValue("/root/hidden/refgbn/dnor/dnorgbn")=="2"){
- if(model.getValue("/root/hidden/refgbn/dnor/dnortext")==""){
- alert("공여자번호를 입력하십시오.");
- return;
- }
- }
- } // 검사구분 end
-
-
- submit("TRLBD00901");
-
-
- // 검사일별현황조회
- if(model.getValue("/root/hidden/gbn")=="1"){
- fGetTestCnt();
- }else{
- model.resetInstanceNode("/root/main/testddcnt");
- }
-
- if(grd_keepbaclist.rows > 1){
- grd_keepbaclist.row = 1;
- fGetPatInfo();
- //fGetDnorTestList(); //fGetPatInfo(); 에서 조회함
- }else{
- delPatientInfos(); //환자정보 전체 삭제
- model.resetInstanceNode("/root/main/testddcnt");
- model.resetInstanceNode("/root/main/patinfo");
- model.resetInstanceNode("/root/main/dnorinfo");
- model.removeNodeset("/root/main/dnortestlist");
- datagrid1.rebuild();
- model.refresh();
- }
- }
-
- //검사일별현황조회
- function fGetTestCnt(){
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/refgbn/dt/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/hidden/refgbn/dt/todd"));
-
- submit("TRLBD00903");
- }
-
- function fGetPatInfo(){
-
- if(grd_keepbaclist.row > 0 ) {
- model.setValue("/root/main/patinfo/patnm", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrnm"));
- model.setValue("/root/main/patinfo/pid", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid"));
- model.setValue("/root/main/patinfo/sexage", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrsexage"));
- model.setValue("/root/main/patinfo/orddd", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orddd"));
- model.setValue("/root/main/patinfo/btype", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/btype"));
-
- model.setValue("/root/main/dnorinfo/dnorno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorno"));
- model.setValue("/root/main/dnorinfo/dnornm", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnornm"));
- model.setValue("/root/main/dnorinfo/dnorrrgstno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorrgstno"));
- model.setValue("/root/main/dnorinfo/dnorbtype", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorbtype"));
-
- model.setValue("/root/main/patinfo/tnsrrgstno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrrgstno"));
- }else{
- model.setValue("/root/main/patinfo/patnm", "");
- model.setValue("/root/main/patinfo/pid", "");
- model.setValue("/root/main/patinfo/sexage", "");
- model.setValue("/root/main/patinfo/orddd", "");
- model.setValue("/root/main/patinfo/btype", "");
-
- model.setValue("/root/main/dnorinfo/dnorno", "");
- model.setValue("/root/main/dnorinfo/dnornm", "");
- model.setValue("/root/main/dnorinfo/dnorrrgstno", "");
- model.setValue("/root/main/dnorinfo/dnorbtype", "");
-
- model.setValue("/root/main/patinfo/tnsrrgstno", "");
- }
- model.refresh();
-
- if(grd_keepbaclist.rows > 1){
- if(getPatientInfo("pid") != model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid")){
- fSetTopInfo();
- }
- fGetDnorTestList();
- }
- }
-
-
- // 공여자별 검사내역 조회
- function fGetDnorTestList(){
- var testdt = model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/prcpdd")
- + model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/barcdprntdt"); //20080904 승현 추가_안씀.. -_-
- model.setValue("/root/send/pid", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid"));
- model.setValue("/root/send/dnorno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorno"));
- model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/dnorseqno"));
- model.setValue("/root/send/prcpseq", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/prcpseq"));
- model.setValue("/root/send/prcpdd2", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/prcpdd2")); //사전검사 일자(최초등록일시) 'YYYYMMDDHH24MI'
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/refgbn/dt/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/hidden/refgbn/dt/todd"));
- model.setValue("/root/send/testdt", testdt); //20080904 승현 추가
-
- if(grd_keepbaclist.rows > 1){
- submit("TRLBD00902");
-
- //사후검사 색깔 구분 20080904_승현추가
- for( i = 1 ; i < datagrid1.rows; i++){
- var prcpview = model.getValue("/root/main/dnortestlist["+ i +"]/prcpview");
- if(prcpview == 1){ //1:사후검사, 2: NAT, 3:사전검사
- datagrid1.cellStyle("background-color", i, 1, i, datagrid1.cols-1) = "#b9e5fb";
- }else if(prcpview == 2){
- datagrid1.cellStyle("background-color", i, 1, i, datagrid1.cols-1) = "#f3e1bf";
- }else{
- datagrid1.cellStyle("background-color", i, 1, i, datagrid1.cols-1) = "#ffffff";
- }
- }
- }
- }
-
-
- // 탑정보
- function fSetTopInfo(){
- delPatientInfos(); //환자정보 전체 삭제
-
- var today = getCurrentDate();
- if(model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype")=="I"){
- setParameter("condparam", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orddd") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/cretno") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/acptseqno") + "▦" + // seqno
- today + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/instcd"));
-
- }else if(model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype")=="O"){
- setParameter("condparam", model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/ordtype") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/tnsrpid") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orddd") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/cretno") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/instcd") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/acptseqno") + "▦" +
- model.getValue("/root/main/dnorinfolist["+grd_keepbaclist.row+"]/orgorddd") + "▦");
-
- }
- //modal("SPMMO08900");
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- // 엔터키 이벤트
- function fKeyEvent(){
-
- if(event.keyCode == "13"){
-
- if(event.target=="input4"){
- model.setValue("/root/hidden/refgbn/pat/pattext", (input4.currentText).toUpperCase());
- // 공여자목록조회
- //fGetDnorList("A");
- fGetDnorInfoList();
- input4.selBegin = 0;
- input4.selEnd = input4.currentText.length;
- }
-
- if(event.target=="input5"){
- model.setValue("/root/hidden/refgbn/dnor/dnortext", (input5.currentText).toUpperCase());
- // 공여자목록조회
- //fGetDnorList("A");
- fGetDnorInfoList();
- input5.selBegin = 0;
- input5.selEnd = input5.currentText.length;
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:224px; height:14px; ">검사결과 판정조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDnorInfoList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <caption id="caption7" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">검사구분 :</caption>
- <group id="grp_1" visibility="visible" style="left:345px; top:4px; width:224px; height:30px; color:transparent; background-color:#fffbf2; ">
- <input id="input8" ref="/root/hidden/refgbn/dt/fromdd" class="input_s_essential" inputtype="date" style="left:5px; top:5px; width:90px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <input id="input9" ref="/root/hidden/refgbn/dt/todd" class="input_s_essential" inputtype="date" style="left:113px; top:5px; width:90px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <caption id="caption11" class="search_n_b" style="left:98px; top:6px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- </group>
- <group id="grp_2" style="left:345px; top:4px; width:224px; height:30px; color:transparent; background-color:#fffbf2; ">
- <select1 id="combo3" ref="/root/hidden/refgbn/pat/patgbn" class="combo_search" appearance="minimal" style="left:5px; top:5px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>환자명</label>
- <value>1</value>
- </item>
- <item>
- <label>환자등록번호</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input4" ref="/root/hidden/refgbn/pat/pattext" class="input_search" style="left:100px; top:5px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- </group>
- <select1 id="rdo_1" ref="/root/hidden/gbn" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:110px; top:9px; width:220px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>검사일자</label>
- <value>1</value>
- </item>
- <item>
- <label>환자별</label>
- <value>2</value>
- </item>
- <item>
- <label>공여자별</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetTestgbn(rdo_1.value);
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="search_name" style="left:575px; top:9px; width:92px; height:17px; ">검사결과 :</caption>
- <select1 id="combo4" ref="/root/hidden/refgbn/testrslt" class="combo_search" appearance="minimal" style="left:669px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>미판정</label>
- <value>0</value>
- </item>
- <item>
- <label>적합</label>
- <value>1</value>
- </item>
- <item>
- <label>부적합</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/hidden/refgbn/resn" class="combo_search" appearance="minimal" style="left:879px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0118">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:785px; top:9px; width:91px; height:17px; ">사유선택 :</caption>
- <group id="grp_3" style="left:345px; top:4px; width:224px; height:30px; color:transparent; background-color:#fffbf2; ">
- <select1 id="combo2" ref="/root/hidden/refgbn/dnor/dnorgbn" class="combo_search" appearance="minimal" style="left:5px; top:5px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>공여자명</label>
- <value>1</value>
- </item>
- <item>
- <label>공여자번호</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input5" ref="/root/hidden/refgbn/dnor/dnortext" class="input_search" style="left:100px; top:5px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- </group>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:108px; width:96px; height:13px; ">공여자 정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:123px; x2:1194px; y2:123px; "/>
- <datagrid id="grd_keepbaclist" nodeset="/root/main/dnorinfolist" caption="공여자명^공여자 주민번호^사전 검사일자^공여자혈액형^판정결과^부적합사유^판정의^판정일시^사후 검사처방일시^사후검사완료여부^바코드발행일시" colsep="^" colwidth="80, 100, 110, 90, 80, 150, 80, 130, 130, 140^80" defaultrows="1" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:128px; width:1194px; height:232px; ">
- <col ref="dnornm"/>
- <col ref="dnorrgstno"/>
- <col ref="prcpdd2" format="yyyy-mm-dd hh:nn"/>
- <col ref="dnorbtype"/>
- <col disabled="true" ref="rslt" type="combo">
- <choices>
- <item>
- <label>미판정</label>
- <value>0</value>
- </item>
- <item>
- <label>적합</label>
- <value>1</value>
- </item>
- <item>
- <label>부적합</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="resn"/>
- <col ref="readdoc"/>
- <col ref="readdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="postdd" format="yyyy-mm-dd hh:nn"/>
- <col ref="postendyn"/>
- <col ref="barcdprntdt" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_keepbaclist.isCell(event.target) && grd_keepbaclist.row >= grd_keepbaclist.fixedRows){
-
- // 환자정보 표시
- fGetPatInfo();
-
- // 공여자별 검사내역
- //fGetDnorTestList(); //fGetPatInfo();에서 조회해서 주석처리 함
-
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption9" class="tit_2" style="left:5px; top:475px; width:131px; height:13px; ">공여자별 검사내역</caption>
- <datagrid id="datagrid1" nodeset="/root/main/dnortestlist" caption="검사코드^검사명^결과치^단위^기준치^결과등록일^상태^검사구분" colsep="^" colwidth="100, 250, 190, 110, 170, 130, 100^30" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:495px; width:1194px; height:232px; ">
- <col ref="testcd"/>
- <col ref="tclsnm"/>
- <col ref="inptrslt"/>
- <col ref="rsltunit" format="yyyy-mm-dd hh:nn"/>
- <col ref="base"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="rsltstat"/>
- <col ref="prcpview" visibility="hidden"/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:490px; x2:1194px; y2:490px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:75px; width:100px; height:23px; vertical-align:middle; ">환자명</caption>
- <caption id="caption10" class="tit_2" style="left:5px; top:55px; width:131px; height:13px; ">환자정보</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <output id="output1" ref="/root/main/patinfo/patnm" class="output_fix" appearance="output" style="left:103px; top:76px; width:130px; height:19px; "/>
- <output id="output2" ref="/root/main/patinfo/pid" class="output_fix" appearance="output" style="left:339px; top:76px; width:130px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:236px; top:75px; width:100px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption4" class="cell_1" style="left:472px; top:75px; width:100px; height:23px; vertical-align:middle; ">성별 / 나이</caption>
- <output id="output3" ref="/root/main/patinfo/sexage" class="output_fix" appearance="output" style="left:575px; top:76px; width:130px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:708px; top:75px; width:100px; height:23px; vertical-align:middle; ">입원일자</caption>
- <output id="output4" ref="/root/main/patinfo/orddd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:811px; top:76px; width:130px; height:19px; "/>
- <output id="output5" ref="/root/main/patinfo/btype" class="output_fix" appearance="output" style="left:1047px; top:76px; width:147px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:944px; top:75px; width:100px; height:23px; vertical-align:middle; ">혈액형</caption>
- <line id="line4" class="line_3" style="x1:0px; y1:97px; x2:1194px; y2:97px; "/>
- <caption id="caption14" style="left:123px; top:108px; width:312px; height:13px; ">* 검사일자로부터 14일간 검사 유효한 것으로 인정합니다.</caption>
- <caption id="caption15" class="tit_2" style="left:5px; top:370px; width:100px; height:14px; ">검사일별 현황</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:385px; x2:495px; y2:385px; "/>
- <caption id="caption16" class="cell_1" style="left:166px; top:390px; width:70px; height:23px; vertical-align:middle; ">적합자</caption>
- <output id="output6" ref="/root/main/testddcnt/allcnt" class="output_fix" appearance="output" style="left:73px; top:391px; width:90px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:390px; width:70px; height:23px; vertical-align:middle; ">전체</caption>
- <output id="output7" ref="/root/main/testddcnt/y" class="output_fix" appearance="output" style="left:239px; top:391px; width:90px; height:19px; "/>
- <output id="output8" ref="/root/main/testddcnt/n" class="output_fix" appearance="output" style="left:405px; top:391px; width:90px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:332px; top:390px; width:70px; height:23px; vertical-align:middle; ">부적합자</caption>
- <caption id="caption21" class="tit_2" style="left:5px; top:423px; width:96px; height:14px; ">공여자 정보</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:438px; x2:670px; y2:438px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:412px; x2:495px; y2:412px; "/>
- <caption id="caption22" class="tit_2" style="left:680px; top:423px; width:106px; height:13px; ">환자 정보</caption>
- <line id="line9" class="line_1" style="x1:680px; y1:438px; x2:1195px; y2:438px; "/>
- <output id="output10" ref="/root/main/dnorinfo/dnorno" class="output_fix" appearance="output" style="left:73px; top:444px; width:90px; height:19px; "/>
- <caption id="caption23" class="cell_1" style="left:0px; top:443px; width:70px; height:23px; vertical-align:middle; ">공여자번호</caption>
- <output id="output11" ref="/root/main/dnorinfo/dnornm" class="output_fix" appearance="output" style="left:229px; top:444px; width:80px; height:19px; "/>
- <caption id="caption24" class="cell_1" style="left:166px; top:443px; width:60px; height:23px; vertical-align:middle; ">공여자명</caption>
- <output id="output12" ref="/root/main/dnorinfo/dnorrrgstno" class="output_fix" appearance="output" style="left:405px; top:444px; width:120px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:312px; top:443px; width:90px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <output id="output13" ref="/root/main/patinfo/patnm" class="output_fix" appearance="output" style="left:743px; top:444px; width:80px; height:19px; "/>
- <output id="output14" ref="/root/main/patinfo/tnsrrgstno" class="output_fix" appearance="output" style="left:914px; top:444px; width:120px; height:19px; "/>
- <output id="output15" ref="/root/main/patinfo/btype" class="output_fix" appearance="output" style="left:1100px; top:444px; width:94px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:680px; top:443px; width:60px; height:23px; vertical-align:middle; ">환자명</caption>
- <caption id="caption27" class="cell_1" style="left:826px; top:443px; width:85px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <caption id="caption28" class="cell_1" style="left:1037px; top:443px; width:60px; height:23px; vertical-align:middle; ">혈액형</caption>
- <output id="output16" ref="/root/main/dnorinfo/dnorbtype" class="output_fix" appearance="output" style="left:591px; top:444px; width:79px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:528px; top:443px; width:60px; height:23px; vertical-align:middle; ">혈액형</caption>
- <line id="line10" class="line_3" style="x1:0px; y1:465px; x2:670px; y2:465px; "/>
- <line id="line11" class="line_3" style="x1:680px; y1:465px; x2:1195px; y2:465px; "/>
- <button id="btn_excel" class="btn2_letter2" style="left:1060px; top:18px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
-
- if(filename != "") {
- grd_keepbaclist.saveExcel(filename);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //model.reset();
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line7" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|