123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLRR91900_AMH검사의뢰서등록.xrw
- * 설 명 : AMH검사의뢰서등록
- * 설 계 자 :
- * 작 성 자 : 박정은(ACK)
- * 작 성 일 : 2010.12.15
- * 수정이력 :
- * 기 타 :
- -->
- <?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>AMH검사의뢰서등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reqfrm>
- <reqfrmtbl>
- <reqfrminfo>
- <choispc>
- <choispclist>
- <choi/>
- <spcseqno/>
- <spccd/>
- <spccd2/>
- </choispclist>
- </choispc>
- <reqcnts>일반적인 난소 나이 평가를 위해</reqcnts>
- <inptitem01>있다</inptitem01>
- <inptitem02/>
- <inptitem03/>
- <inptitem04/>
- <inptitem05>
- <aa/>
- <bb/>
- <cc/>
- <dd/>
- <ee/>
- <ff/>
- </inptitem05>
- <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="520" pageheight="570" style="font-weight:bold; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:500px; height:525px; ">
- <caption id="caption5" class="tit_2" style="left:0px; top:1px; width:152px; height:14px; ">AMH검사 의뢰서</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:490px; y2:15px; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:47px; x2:490px; y2:47px; "/>
- <caption id="caption2" class="tit_2" style="left:1px; top:32px; width:152px; height:13px; ">검사목적</caption>
- <caption id="caption3" class="tit_2" style="left:5px; top:122px; width:152px; height:13px; ">난소수술기왕력</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:137px; x2:490px; y2:137px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:308px; width:215px; height:14px; ">다낭성난포증후군(PCOS)의 소견</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:323px; x2:490px; y2:323px; "/>
- <select1 id="rdo_histyn" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01" appearance="full" cellspacing="40" cols="2" vcellspacing="8" overflow="visible" style="left:10px; top:145px; width:155px; height:25px; border-style:none; ">
- <choices>
- <item>
- <label>있다</label>
- <value>있다</value>
- </item>
- <item>
- <label>없다</label>
- <value>없다</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01")=="2"){
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
- input1.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="radio1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts" appearance="full" vcellspacing="8" overflow="visible" style="left:10px; top:55px; width:370px; height:50px; border-style:none; ">
- <choices>
- <item>
- <label>일반적인 난소 나이 평가를 위해</label>
- <value>일반적인 난소 나이 평가를 위해</value>
- </item>
- <item>
- <label>불임 검사의 일환으로서 난소기능 평가</label>
- <value>불임 검사의 일환으로서 난소기능 평가</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" style="left:10px; top:180px; width:410px; height:112px; ">
- <![CDATA[※ 난소수술을 받은 적이 있다면 다음 내용을 체크하여 주십시오.
- 있다면,
- 어느쪽,
- 수술 후 확인된 진단명 : ]]>
- </caption>
- <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03" style="left:169px; top:268px; width:300px; height:19px; "/>
- <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02" overflow="visible" appearance="full" cellspacing="20" cols="2" vcellspacing="10" style="left:90px; top:208px; width:245px; height:50px; border-style:none; ">
- <choices>
- <item>
- <label>낭종제거술</label>
- <value>낭종제거술</value>
- </item>
- <item>
- <label>난소제거술</label>
- <value>난소제거술</value>
- </item>
- <item>
- <label>한쪽 (좌,우)</label>
- <value>한쪽 (좌,우)</value>
- </item>
- <item>
- <label>양쪽</label>
- <value>양쪽</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem04" overflow="visible" appearance="full" cols="2" vcellspacing="10" style="left:5px; top:330px; width:435px; height:55px; border-style:none; ">
- <choices>
- <item>
- <label>없다</label>
- <value>없다</value>
- </item>
- <item>
- <label>Oligmenorrhea(희발월경)</label>
- <value>Oligmenorrhea(희발월경)</value>
- </item>
- <item>
- <label>Hyperandrogenism(안드로젠과잉증)</label>
- <value>Hyperandrogenism(안드로젠과잉증)</value>
- </item>
- <item>
- <label>초음파소견</label>
- <value>초음파소견</value>
- </item>
- </choices>
- </select>
- <caption id="caption6" class="tit_2" style="left:5px; top:398px; width:215px; height:14px; ">출산력 (Parity)</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:413px; x2:490px; y2:413px; "/>
- <caption id="caption7" style="left:10px; top:423px; width:80px; height:20px; ">만삭출산수:</caption>
- <caption id="caption8" style="left:221px; top:423px; width:55px; height:20px; ">조산수:</caption>
- <caption id="caption9" style="left:10px; top:475px; width:82px; height:20px; ">유산 총 횟수</caption>
- <caption id="caption10" style="left:100px; top:460px; width:45px; height:20px; ">자연:</caption>
- <caption id="caption11" style="left:100px; top:490px; width:45px; height:20px; ">인공:</caption>
- <caption id="caption12" style="left:310px; top:460px; width:30px; height:20px; ">남:</caption>
- <caption id="caption13" style="left:310px; top:490px; width:30px; height:20px; ">여:</caption>
- <caption id="caption14" style="left:245px; top:470px; width:65px; height:20px; ">생존아수</caption>
- <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/aa" style="left:85px; top:423px; width:70px; height:19px; "/>
- <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/bb" style="left:280px; top:423px; width:70px; height:19px; "/>
- <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/cc" style="left:139px; top:459px; width:45px; height:19px; "/>
- <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/dd" style="left:140px; top:489px; width:45px; height:19px; "/>
- <input id="input6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/ee" style="left:339px; top:459px; width:45px; height:19px; "/>
- <input id="input7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem05/ff" style="left:340px; top:489px; width:45px; height:19px; "/>
- </group>
- <group id="group3" style="left:0px; top:525px; width:500px; 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:434px; 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:375px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClinicSave();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|