123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLRR91800_기생충항체검사의뢰서.xfm
- * 설 명 : 기생충항체검사의뢰서
- * 설 계 자 :
- * 작 성 자 : 송요셉(ACK)
- * 작 성 일 : 2010.05.21
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <reqfrm>
- <reqfrmtbl>
- <reqfrminfo>
- <choispc>
- <choispclist>
- <choi/>
- <spcseqno/>
- <spccd/>
- <spccd2/>
- </choispclist>
- </choispc>
- <reqcnts/>
- <inptitem01>
- <trustcncl/>
- <dept/>
- <doct/>
- <reqdd/>
- <hostel/>
- <fax/>
- <phone/>
- <email/>
- <patnm/>
- <rrgstno/>
- <pattel/>
- <bdht/>
- <bdwt/>
- <homeaddr/>
- <testcmt/>
- <reqgoal1/>
- <reqgoal2/>
- <reqgoal3/>
- <reqgoal4/>
- <cureyy/>
- <curemm/>
- <curedd/>
- <reqmedi/>
- <withmedi/>
- <cbc1/>
- <cbc2/>
- <cbc3/>
- <k/>
- <pt/>
- <ptt/>
- <bun/>
- <cr/>
- <ast/>
- <alt/>
- <alp/>
- <testcd/>
- </inptitem01>
- <inptitem02/>
- <inptitem03/>
- <etc/>
- <claim/>
- </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;
- }
-
- //-------------
- // 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/inptitem02", "");
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03", "");
- 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 저장을 위해 노드로 만듬
- // 검체 추가정보 설정
- 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="570" pageheight="520" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:545px; height:465px; ">
- <caption id="caption5" class="tit_2" style="left:0px; top:6px; width:198px; height:14px; ">유전검사의뢰서(삼성서울병원)</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:540px; y2:20px; "/>
- <caption id="caption25" class="cell_1" style="left:0px; top:25px; width:110px; height:23px; text-align:left; vertical-align:middle; ">의뢰병원</caption>
- <caption id="caption1" class="cell_1" style="left:0px; top:50px; width:110px; height:23px; text-align:left; vertical-align:middle; ">담당의사</caption>
- <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/trustcncl" style="left:112px; top:26px; width:155px; height:19px; "/>
- <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/doct" style="left:112px; top:51px; width:155px; height:19px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:48px; x2:540px; y2:48px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:73px; x2:540px; y2:73px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:98px; x2:540px; y2:98px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:123px; x2:540px; y2:123px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:148px; x2:540px; y2:148px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:173px; x2:540px; y2:173px; "/>
- <line id="line9" class="line_3" style="x1:0px; y1:198px; x2:540px; y2:198px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:365px; x2:540px; y2:365px; "/>
- <line id="line11" class="line_3" style="x1:0px; y1:298px; x2:540px; y2:298px; "/>
- <caption id="caption18" class="cell_1" style="left:270px; top:50px; width:100px; height:23px; text-align:left; vertical-align:middle; ">의뢰일</caption>
- <caption id="caption19" class="cell_1" style="left:270px; top:25px; width:100px; height:23px; text-align:left; vertical-align:middle; ">진료과</caption>
- <input id="input12" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dept" style="left:372px; top:26px; width:168px; height:19px; "/>
- <input id="input13" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqdd" class="input_s_essential" inputtype="date" style="left:372px; top:51px; width:165px; height:19px; font-weight:normal; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:75px; width:110px; height:23px; text-align:left; vertical-align:middle; ">전화번호</caption>
- <input id="input14" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/hostel" style="left:112px; top:76px; width:155px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:270px; top:75px; width:100px; height:23px; text-align:left; vertical-align:middle; ">팩스번호</caption>
- <caption id="caption3" class="cell_1" style="left:270px; top:100px; width:100px; height:23px; text-align:left; vertical-align:middle; ">E-mail</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:100px; width:110px; height:23px; text-align:left; vertical-align:middle; ">휴대전화번호</caption>
- <input id="input15" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/phone" style="left:112px; top:101px; width:155px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:125px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">환자이름</caption>
- <caption id="caption6" class="cell_1" style="left:270px; top:125px; width:100px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">주민등록번호</caption>
- <input id="input17" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patnm" style="left:112px; top:126px; width:155px; height:19px; "/>
- <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fax" style="left:372px; top:76px; width:168px; height:19px; "/>
- <input id="input16" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/email" style="left:372px; top:101px; width:168px; height:19px; "/>
- <input id="input18" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/rrgstno" style="left:372px; top:126px; width:168px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:175px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">주소</caption>
- <input id="input20" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/homeaddr" style="left:112px; top:176px; width:430px; height:19px; "/>
- <line id="line17" class="line_3" style="x1:0px; y1:223px; x2:540px; y2:223px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:200px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">진단명</caption>
- <input id="input21" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/testcmt" style="left:112px; top:201px; width:430px; height:19px; "/>
- <caption id="caption22" class="cell_1" style="left:0px; top:150px; width:110px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">전화번호</caption>
- <caption id="caption23" class="cell_1" style="left:270px; top:150px; width:100px; height:23px; text-align:left; vertical-align:middle; background-color:#99ccff; ">키 / 몸무게</caption>
- <input id="input19" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pattel" style="left:112px; top:151px; width:155px; height:19px; "/>
- <input id="input22" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdht" style="left:372px; top:151px; width:58px; height:19px; "/>
- <caption id="caption24" class="cell_1" style="left:0px; top:225px; width:110px; height:73px; text-align:left; vertical-align:middle; background-color:#99ccff; ">
- <![CDATA[자문의뢰목적
- (해당항목에 표시)]]>
- </caption>
- <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cureyy" style="left:215px; top:305px; width:25px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:300px; width:110px; height:65px; text-align:left; vertical-align:middle; background-color:#99ccff; ">투약력</caption>
- <line id="line19" class="line_3" style="x1:0px; y1:431px; x2:540px; y2:431px; "/>
- <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cbc1" style="left:150px; top:370px; width:55px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:367px; width:110px; height:64px; text-align:left; vertical-align:middle; background-color:#99ccff; ">관련검사결과</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:433px; width:110px; height:24px; text-align:left; vertical-align:middle; background-color:#99ccff; ">검사명</caption>
- <input id="input6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/testcd" style="left:112px; top:436px; width:428px; height:19px; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:457px; x2:540px; y2:457px; "/>
- <input id="input10" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdwt" style="left:460px; top:151px; width:58px; height:19px; "/>
- <caption id="caption14" style="left:435px; top:155px; width:20px; height:15px; ">cm</caption>
- <caption id="caption15" style="left:520px; top:155px; width:15px; height:20px; ">kg</caption>
- <caption id="caption11" style="left:115px; top:305px; width:90px; height:20px; ">치료시작 날짜 :</caption>
- <caption id="caption13" style="left:200px; top:305px; width:15px; height:20px; ">20</caption>
- <caption id="caption16" style="left:240px; top:305px; width:15px; height:20px; ">.</caption>
- <input id="input7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/curemm" style="left:250px; top:305px; width:25px; height:19px; "/>
- <input id="input8" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/curedd" style="left:285px; top:305px; width:25px; height:19px; "/>
- <caption id="caption17" style="left:275px; top:305px; width:15px; height:20px; ">.</caption>
- <caption id="caption27" style="left:115px; top:325px; width:208px; height:20px; ">자문의뢰 약물 용법 (용량, 간격, 용법)</caption>
- <input id="input9" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqmedi" style="left:325px; top:325px; width:215px; height:19px; "/>
- <caption id="caption28" style="left:115px; top:345px; width:60px; height:20px; ">병용약제 :</caption>
- <input id="input11" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/withmedi" style="left:177px; top:345px; width:363px; height:19px; "/>
- <caption id="caption26" style="left:115px; top:370px; width:40px; height:20px; ">CBC :</caption>
- <caption id="caption29" style="left:115px; top:390px; width:50px; height:20px; ">PT/PTT:</caption>
- <caption id="caption30" style="left:115px; top:410px; width:86px; height:20px; ">AST/ALT/ALP:</caption>
- <caption id="caption31" style="left:205px; top:370px; width:15px; height:20px; ">-</caption>
- <input id="input23" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cbc2" style="left:220px; top:370px; width:55px; height:19px; "/>
- <caption id="caption32" style="left:275px; top:370px; width:15px; height:20px; ">-</caption>
- <input id="input24" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cbc3" style="left:290px; top:370px; width:55px; height:19px; "/>
- <caption id="caption33" style="left:355px; top:370px; width:40px; height:20px; ">K :</caption>
- <input id="input25" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/k" style="left:385px; top:370px; width:55px; height:19px; "/>
- <input id="input26" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pt" style="left:165px; top:390px; width:55px; height:19px; "/>
- <input id="input27" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ptt" style="left:225px; top:390px; width:55px; height:19px; "/>
- <input id="input28" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ast" style="left:200px; top:410px; width:55px; height:19px; "/>
- <input id="input29" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/alt" style="left:260px; top:410px; width:55px; height:19px; "/>
- <input id="input30" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/alp" style="left:320px; top:410px; width:55px; height:19px; "/>
- <caption id="caption34" style="left:355px; top:390px; width:49px; height:20px; ">BUN/Cr:</caption>
- <input id="input31" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bun" style="left:405px; top:390px; width:55px; height:19px; "/>
- <input id="input32" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/cr" style="left:465px; top:390px; width:55px; height:19px; "/>
- <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal1" overflow="visible" appearance="full" style="left:115px; top:230px; width:140px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>투약용법적정성확인</label>
- <value>V</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal2" overflow="visible" appearance="full" style="left:115px; top:247px; width:135px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>치료효과미흡</label>
- <value>V</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal3" overflow="visible" appearance="full" style="left:115px; top:264px; width:120px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>독성의심</label>
- <value>V</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/reqgoal4" overflow="visible" appearance="full" style="left:115px; top:281px; width:100px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>Compliance</label>
- <value>V</value>
- </item>
- </choices>
- </select>
- </group>
- <group id="group3" style="left:0px; top:470px; width:545px; height:27px; ">
- <line id="line2" class="line_2" style="x1:0px; y1:0px; x2:490px; y2:0px; "/>
- <button id="btn_close" class="btn4_letter2" style="left:489px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetClose();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:430px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClinicSave();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|