123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLRR90500_장기이식의뢰서등록.xfm
- * 설 명 : 장기이식의뢰서등록
- * 설 계 자 :
- * 작 성 자 : 박정은(ACK)
- * 작 성 일 : 2007.05.21
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <reqfrm>
- <reqfrmtbl>
- <reqfrminfo>
- <choispc>
- <choispclist>
- <choi/>
- <spcseqno/>
- <spccd/>
- <spccd2/>
- </choispclist>
- </choispc>
- <reqcnts/>
- <inptitem01>
- <organ1/>
- <other1/>
- <race/>
- <other2/>
- <TP/>
- <organ2/>
- <date/>
- <pid/>
- <pregnancy/>
- <tnsyn/>
- <dnorpid/>
- <dnornm/>
- <reqpurpose/>
- <patpp/>
- <ritux/>
- <pata/>
- <patb/>
- <patdr/>
- <patother/>
- <ppra/>
- <pcm/>
- <dshla/>
- <relation/>
- <dnora/>
- <dnorb/>
- <dnordr/>
- <dnorother/>
- <pcnt/>
- </inptitem01>
- </reqfrminfo>
- </reqfrmtbl>
- </reqfrm>
- <rtnval>
- <rtnvalinfo>
- <reqno/>
- <instcd/>
- </rtnvalinfo>
- </rtnval>
- </main>
- <send/>
- <init/>
- <hidden>
- <reqfrminfo>
- <pid/>
- <prcpcd/>
- <prcpnm/>
- <opnm/>
- <spccd/>
- <spcnm/>
- <reqno/>
- <reqhistno/>
- </reqfrminfo>
- </hidden>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TXLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
- <submission id="TRLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 장기이식 의뢰서 팝업화면
- * @ver : 2007.05.21
- * @by : 박정은(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 Initialize함수
- */
- function fExeInitialize() {
- //----------------------------------------------------------------
- // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
- if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
- btn_save.visible = true;
- } else {
- btn_save.visible = false;
-
- //처방등록 화면이 아닌 화면에서는 모든 컨드롤 비활성
- var childObjCnt = document.controls.length;
- var childObj, ref;
-
- for (var i = 0; i < childObjCnt; i++) {
- childObj = document.controls.item(i);
- ref = childObj.attribute("ref");
- if(ref != ""){
- document.controls.item(i).disabled= true;
- }
- }
-
- }
-
- //-------------
- // Test용 자료
- //model.setValue("/root/hidden/reqfrminfo/pid", "56605");
- //model.setValue("/root/hidden/reqfrminfo/prcpcd", "T2");
- //model.setValue("/root/hidden/reqfrminfo/spccd", "TC2003");
- //model.setValue("/root/hidden/reqfrminfo/reqno", "27");
-
-
- //----------------------------------------------
- // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
- if(getNodesetCount("/root/hidden/reqfrminfo/reqcnts") <= 0) { //내용이 없다
- if (model.getValue("/root/hidden/reqfrminfo/reqno") != "0") { //의뢰지번호 존재시
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
- model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
-
- submit("TRLRR90201");
-
- } else { //의뢰지 번호 없어.!
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
- model.setValue("/root/hidden/reqfrminfo/reqno", "0");
- }
- } else { //내용이 있다(ex> 특수에서 의뢰서 띄울때 처럼)
- model.removeNodeset("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
- model.makeNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
-
- copyNodesetType("/root/main/reqfrm/reqfrmtbl/reqfrminfo", "/root/hidden/reqfrminfo/reqcnts/reqfrminfo"); //의뢰서 내용 main으로 복사
- }
- //-------------
- model.refresh();
- }
-
- // 확인버튼 클릭시 저장
- function fExeClinicSave(){
- var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
- var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo"); //xml 저장을 위해 노드로 만듬
- if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/organ1") == ""){
- messageBox("organ은 필수 선택 사항입니다", "E");
- return;
- }
- if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqpurpose") == ""){
- messageBox("의뢰목적은 필수 선택 사항입니다", "E");
- return;
- }
- // 검체 추가정보 설정
- model.makeValue(strNode + "/choi", "true");
- model.makeValue(strNode + "/spcseqno", "001");
- model.makeValue(strNode + "/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
- model.makeValue(strNode + "/spccd2", model.getValue("/root/hidden/reqfrminfo/spccd"));
-
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
- model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
- model.makeValue("/root/send/reqcnts", node.xml, true);
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
-
-
- //------------------------
- if (!submit("TXLRR90201")) {
- messageBox("의뢰지 저장을", "E009");
- return false;
- }
-
- //------------------
- // 의뢰지번호 Return
- opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
-
- //------------
- model.close();
- }
-
- // 닫기
- function fSetClose(){
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="640" pageheight="400" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:1px; top:0px; width:618px; height:350px; ">
- <textarea id="textarea1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts" style="left:92px; top:224px; width:217px; height:121px; "/>
- <caption id="caption5" class="tit_2" style="left:315px; top:10px; width:134px; height:14px; ">감작력</caption>
- <line id="line1" class="line_1" style="x1:1px; y1:25px; x2:617px; y2:25px; "/>
- <select1 id="combo4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/organ1" class="combo_essential" appearance="minimal" style="left:94px; top:32px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>Kidney</label>
- <value>Kidney</value>
- </item>
- <item>
- <label>liver</label>
- <value>liver</value>
- </item>
- <item>
- <label>heart</label>
- <value>heart</value>
- </item>
- <item>
- <label>pancreas</label>
- <value>pancreas</value>
- </item>
- <item>
- <label>intestine</label>
- <value>intestine</value>
- </item>
- <item>
- <label>other</label>
- <value>other</value>
- </item>
- </choices>
- </select1>
- <line id="line3" class="line_2" style="x1:0px; y1:54px; x2:617px; y2:54px; "/>
- <line id="line4" class="line_2" style="x1:315px; y1:132px; x2:617px; y2:132px; "/>
- <select1 id="radio1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/TP" appearance="full" cellspacing="60" cols="2" overflow="visible" style="left:441px; top:34px; width:164px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(radio1.value == "Yes"){
- input14.disabled = false;
- }else{
- input14.value = "No";
- input14.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="input8" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/date" class="input_default" inputtype="date" style="left:441px; top:58px; width:120px; height:19px; "/>
- <select1 id="radio2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pregnancy" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:441px; top:112px; width:116px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="cell_1" style="left:1px; top:224px; width:90px; height:121px; vertical-align:middle; ">기타사항</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:106px; x2:617px; y2:106px; "/>
- <line id="line6" class="line_2" style="x1:1px; y1:346px; x2:617px; y2:346px; "/>
- <line id="line9" class="line_2" style="x1:315px; y1:80px; x2:617px; y2:80px; "/>
- <caption id="caption10" class="cell_1" style="left:315px; top:160px; width:124px; height:23px; vertical-align:middle; ">Previous CM pos.</caption>
- <caption id="caption1" class="cell_1" style="left:1px; top:56px; width:91px; height:49px; vertical-align:middle; ">의뢰목적</caption>
- <caption id="caption2" class="cell_1" style="left:315px; top:30px; width:124px; height:23px; vertical-align:middle; ">Previous TP</caption>
- <caption id="caption3" class="cell_1" style="left:315px; top:56px; width:124px; height:23px; vertical-align:middle; ">최근 이식일</caption>
- <caption id="caption4" class="cell_1" style="left:315px; top:186px; width:124px; height:23px; vertical-align:middle; ">DS-HLA항체판정의뢰</caption>
- <caption id="caption13" class="cell_1" style="left:1px; top:30px; width:91px; height:23px; vertical-align:middle; ">organ</caption>
- <caption id="caption7" class="cell_1" style="left:315px; top:108px; width:124px; height:23px; vertical-align:middle; ">임신</caption>
- <caption id="caption9" class="cell_1" style="left:315px; top:134px; width:124px; height:23px; vertical-align:middle; ">Previous PRA pos.</caption>
- <caption id="caption6" class="cell_1" style="left:1px; top:108px; width:90px; height:113px; vertical-align:middle; ">환자정보</caption>
- <caption id="caption11" class="cell_1" style="left:315px; top:82px; width:124px; height:23px; vertical-align:middle; ">수혈여부</caption>
- <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pid" class="input_default" visibility="hidden" style="left:175px; top:2px; width:116px; height:19px; "/>
- <select1 id="radio3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/tnsyn" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:441px; top:85px; width:116px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- </select1>
- <caption id="caption12" class="cell_1" style="left:315px; top:212px; width:84px; height:133px; vertical-align:middle; ">공여자정보</caption>
- <line id="line8" class="line_2" style="x1:1px; y1:222px; x2:310px; y2:222px; "/>
- <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dnorpid" class="input_default" style="left:501px; top:231px; width:115px; height:19px; "/>
- <input id="input11" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dnornm" class="input_default" style="left:501px; top:212px; width:115px; height:19px; "/>
- <select1 id="radio4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqpurpose" appearance="full" overflow="visible" style="left:94px; top:55px; width:215px; height:51px; border-style:none; ">
- <choices>
- <item>
- <label>Pre-TP work-up</label>
- <value>Pre-TP work-up</value>
- </item>
- <item>
- <label>Post-TP monitoring</label>
- <value>Post-TP monitoring</value>
- </item>
- <item>
- <label>Others</label>
- <value>Others</value>
- </item>
- </choices>
- </select1>
- <caption id="caption15" style="left:94px; top:108px; width:80px; height:19px; ">PP*IVIG</caption>
- <caption id="caption16" style="left:94px; top:127px; width:80px; height:19px; ">Rituximab</caption>
- <caption id="caption17" style="left:94px; top:146px; width:80px; height:19px; ">HLA typing A</caption>
- <caption id="caption18" style="left:158px; top:165px; width:35px; height:19px; ">B</caption>
- <caption id="caption19" style="left:158px; top:184px; width:35px; height:19px; ">DR</caption>
- <caption id="caption20" style="left:158px; top:203px; width:35px; height:19px; ">Other</caption>
- <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patother" class="input_default" style="left:193px; top:203px; width:116px; height:19px; "/>
- <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pata" class="input_default" style="left:193px; top:146px; width:116px; height:19px; "/>
- <input id="input6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patb" class="input_default" style="left:193px; top:165px; width:116px; height:19px; "/>
- <input id="input7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patdr" class="input_default" style="left:193px; top:184px; width:116px; height:19px; "/>
- <line id="line10" class="line_1" style="x1:310px; y1:29px; x2:310px; y2:346px; "/>
- <line id="line11" class="line_2" style="x1:315px; y1:158px; x2:617px; y2:158px; "/>
- <line id="line12" class="line_2" style="x1:315px; y1:184px; x2:617px; y2:184px; "/>
- <line id="line13" class="line_2" style="x1:315px; y1:210px; x2:617px; y2:210px; "/>
- <caption id="caption14" style="left:401px; top:212px; width:35px; height:19px; ">성명</caption>
- <caption id="caption21" style="left:401px; top:231px; width:50px; height:19px; ">등록번호</caption>
- <caption id="caption22" style="left:401px; top:250px; width:78px; height:19px; ">환자와의 관계</caption>
- <caption id="caption23" style="left:401px; top:269px; width:74px; height:19px; ">HLA typing A</caption>
- <caption id="caption24" style="left:466px; top:288px; width:35px; height:19px; ">B</caption>
- <caption id="caption25" style="left:466px; top:307px; width:35px; height:19px; ">DR</caption>
- <caption id="caption26" style="left:466px; top:326px; width:35px; height:19px; ">Other</caption>
- <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dnora" class="input_default" style="left:501px; top:269px; width:115px; height:19px; "/>
- <input id="input9" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dnorb" class="input_default" style="left:501px; top:288px; width:115px; height:19px; "/>
- <input id="input10" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dnordr" class="input_default" style="left:501px; top:307px; width:115px; height:19px; "/>
- <input id="input12" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dnorother" class="input_default" style="left:501px; top:326px; width:115px; height:19px; "/>
- <input id="input13" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/relation" class="input_default" style="left:501px; top:250px; width:115px; height:19px; "/>
- <select1 id="radio5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ppra" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:441px; top:137px; width:115px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pcm" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:441px; top:163px; width:115px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dshla" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:441px; top:190px; width:115px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- </select1>
- <input id="input14" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pcnt" class="input_default" disabled="true" style="left:488px; top:32px; width:25px; height:19px; "/>
- <caption id="caption27" style="left:516px; top:33px; width:20px; height:19px; ">회</caption>
- <caption id="caption28" class="tit_2" style="left:0px; top:10px; width:134px; height:14px; ">장기이식 의뢰서</caption>
- <select1 id="radio8" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ritux" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:193px; top:127px; width:116px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio9" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patpp" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:193px; top:109px; width:116px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Yes</value>
- </item>
- <item>
- <label>No</label>
- <value>No</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="group3" style="left:219px; top:346px; width:400px; height:27px; ">
- <line id="line2" class="line_2" style="x1:0px; y1:0px; x2:400px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:283px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClinicSave();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:342px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetClose();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|