123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLRR90300_산전검사의뢰서등록.xrw
- * 설 명 : 산전검사 의뢰서 등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.5.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>
- <title/>
- <pid/>
- <patnm/>
- <rgstno/>
- <address/>
- <telno/>
- <orddd/>
- <depdd/>
- <ioflag/>
- <dephost/>
- <orddept/>
- <orddr/>
- <bcnostyle/>
- <nt/>
- <wt/>
- <firstm/>
- <crl/>
- <child/>
- <bweek/>
- <bdd/>
- <bweek2/>
- <bdd2/>
- <past1/>
- <past2/>
- <past3/>
- <past4/>
- <past5/>
- </inptitem01>
- </reqfrminfo>
- </reqfrmtbl>
- </reqfrm>
- <rtnval>
- <rtnvalinfo>
- <reqno/>
- <instcd/>
- </rtnvalinfo>
- </rtnval>
- </main>
- <send>
- </send>
- <init>
- </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/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="600" pageheight="800" guideline="1,1194;1,567;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:530px; height:500px; ">
- <caption id="caption3" style="left:170px; top:10px; width:200px; height:35px; font-size:14pt; font-weight:bold; text-align:left; ">산부인과 검사 의뢰서</caption>
- <select1 id="combo1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title" appearance="minimal" style="left:175px; top:45px; width:180px; height:19px; ">
- <choices>
- <item>
- <label>Dual Marker</label>
- <value>1</value>
- </item>
- <item>
- <label>Triple Marker</label>
- <value>2</value>
- </item>
- <item>
- <label>Quadri Marker</label>
- <value>3</value>
- </item>
- <item>
- <label>α-Fetoprotein(S)</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" style="left:0px; top:80px; width:435px; height:20px; ">♣ 임신초기 검진항목 ♣ Code : OBDM</caption>
- <caption id="caption2" style="left:0px; top:100px; width:435px; height:20px; ">♣ Dual Marker(Papp-A + Free β-hCG)</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:146px; width:70px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pid" class="input_essential" style="left:73px; top:147px; width:72px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:141px; x2:520px; y2:141px; "/>
- <caption id="caption5" class="cell_1" style="left:150px; top:146px; width:50px; height:23px; text-align:center; vertical-align:middle; ">성 명</caption>
- <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patnm" class="input_essential" style="left:203px; top:147px; width:72px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:280px; top:146px; width:65px; height:23px; text-align:center; vertical-align:middle; ">주민번호</caption>
- <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/rgstno" class="input_essential" style="left:348px; top:147px; width:172px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:171px; width:70px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
- <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/address" class="input_essential" style="left:73px; top:172px; width:272px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:348px; top:171px; width:70px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/telno" class="input_essential" style="left:421px; top:172px; width:99px; height:19px; "/>
- <caption id="caption9" class="tit_2" style="left:0px; top:126px; width:113px; height:13px; ">환자정보</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:216px; x2:520px; y2:216px; "/>
- <caption id="caption10" class="tit_2" style="left:0px; top:201px; width:113px; height:13px; ">진료정보</caption>
- <line id="line5" class="line_3" style="x1:0px; y1:194px; x2:520px; y2:194px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:221px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진료일</caption>
- <caption id="caption12" class="cell_1" style="left:150px; top:221px; width:50px; height:23px; text-align:center; vertical-align:middle; ">의뢰일</caption>
- <caption id="caption13" class="cell_1" style="left:290px; top:221px; width:75px; height:23px; text-align:center; vertical-align:middle; ">진료구분</caption>
- <input id="ipt_usdt" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddd" class="input_s_essential" inputtype="date" style="left:62px; top:223px; width:85px; height:19px; font-weight:normal; "/>
- <input id="input6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/depdd" class="input_s_essential" inputtype="date" style="left:202px; top:223px; width:85px; height:19px; font-weight:normal; "/>
- <select1 id="radio1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ioflag" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:375px; top:225px; width:145px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>외래</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" style="left:0px; top:246px; width:70px; height:23px; text-align:center; vertical-align:middle; ">의뢰병원</caption>
- <caption id="caption15" class="cell_1" style="left:204px; top:246px; width:70px; height:23px; text-align:center; vertical-align:middle; ">진료과</caption>
- <input id="input7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddept" class="input_essential" style="left:278px; top:247px; width:87px; height:19px; "/>
- <input id="input8" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dephost" class="input_essential" style="left:73px; top:247px; width:127px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:370px; top:246px; width:70px; height:23px; text-align:center; vertical-align:middle; ">진료의</caption>
- <input id="input9" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddr" class="input_essential" style="left:443px; top:247px; width:77px; height:19px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:269px; x2:520px; y2:269px; "/>
- <caption id="caption17" class="tit_2" style="left:0px; top:276px; width:113px; height:13px; ">산모정보</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:291px; x2:520px; y2:291px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:296px; width:70px; height:23px; text-align:center; vertical-align:middle; ">검체종류</caption>
- <select1 id="radio2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bcnostyle" appearance="full" cellspacing="0" cols="7" overflow="visible" style="left:75px; top:300px; width:300px; height:15px; 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>
- <item>
- <label>요</label>
- <value>4</value>
- </item>
- <item>
- <label>체액</label>
- <value>5</value>
- </item>
- <item>
- <label>여지</label>
- <value>6</value>
- </item>
- <item>
- <label>축뇨</label>
- <value>7</value>
- </item>
- </choices>
- </select1>
- <input id="input10" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/nt" class="input_essential" style="left:438px; top:297px; width:82px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:380px; top:296px; width:55px; height:23px; text-align:center; vertical-align:middle; ">NT</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:321px; width:55px; height:23px; text-align:center; vertical-align:middle; ">체중</caption>
- <caption id="caption21" class="cell_1" style="left:120px; top:321px; width:75px; height:23px; text-align:center; vertical-align:middle; ">최종월경일</caption>
- <caption id="caption22" class="cell_1" style="left:285px; top:321px; width:40px; height:23px; text-align:center; vertical-align:middle; ">CRL</caption>
- <input id="input12" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/wt" class="input_essential" style="left:58px; top:322px; width:42px; height:19px; "/>
- <input id="input13" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/crl" class="input_essential" style="left:328px; top:322px; width:67px; height:19px; "/>
- <caption id="caption23" style="left:100px; top:325px; width:20px; height:20px; ">Kg</caption>
- <input id="input11" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/firstm" class="input_s_essential" inputtype="date" style="left:197px; top:323px; width:85px; height:19px; font-weight:normal; "/>
- <caption id="caption24" class="cell_1" style="left:400px; top:321px; width:50px; height:23px; text-align:center; vertical-align:middle; ">태아수</caption>
- <input id="input14" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/child" class="input_essential" style="left:453px; top:322px; width:67px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:0px; top:346px; width:101px; height:23px; text-align:center; vertical-align:middle; ">임신주수(LMP)</caption>
- <input id="input15" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek" class="input_essential" style="left:103px; top:347px; width:32px; height:19px; "/>
- <caption id="caption26" style="left:135px; top:350px; width:20px; height:20px; ">주</caption>
- <input id="input16" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd" class="input_essential" style="left:158px; top:347px; width:32px; height:19px; "/>
- <caption id="caption27" style="left:190px; top:350px; width:68px; height:20px; ">일(By LMP)</caption>
- <caption id="caption28" class="cell_1" style="left:265px; top:346px; width:101px; height:23px; text-align:center; vertical-align:middle; ">임신주수(USG)</caption>
- <input id="input17" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek2" class="input_essential" style="left:368px; top:347px; width:32px; height:19px; "/>
- <caption id="caption29" style="left:400px; top:350px; width:20px; height:20px; ">주</caption>
- <input id="input18" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd2" class="input_essential" style="left:418px; top:347px; width:32px; height:19px; "/>
- <caption id="caption30" style="left:450px; top:350px; width:68px; height:20px; ">일(By USG)</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:369px; x2:520px; y2:369px; "/>
- <select1 id="radio3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past1" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:62px; top:398px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>1</value>
- </item>
- <item>
- <label>YES</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line7" class="line_1" style="x1:0px; y1:391px; x2:520px; y2:391px; "/>
- <caption id="caption31" class="tit_2" style="left:0px; top:376px; width:113px; height:13px; ">과거력</caption>
- <caption id="caption32" class="cell_1" style="left:0px; top:396px; width:60px; height:25px; text-align:center; vertical-align:middle; ">Previous</caption>
- <caption id="caption33" class="cell_1" style="left:107px; top:396px; width:60px; height:25px; text-align:center; vertical-align:middle; ">Previous</caption>
- <select1 id="radio4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past2" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:169px; top:398px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>1</value>
- </item>
- <item>
- <label>YES</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:0px; top:419px; width:60px; height:25px; text-align:center; vertical-align:middle; ">Down</caption>
- <caption id="caption35" class="cell_1" style="left:107px; top:421px; width:60px; height:23px; text-align:center; vertical-align:middle; ">NTD</caption>
- <caption id="caption36" class="cell_1" style="left:214px; top:396px; width:40px; height:47px; text-align:center; vertical-align:middle; ">IDDM</caption>
- <select1 id="radio5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past3" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:256px; top:398px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>1</value>
- </item>
- <item>
- <label>YES</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption37" class="cell_1" style="left:302px; top:396px; width:60px; height:25px; text-align:center; vertical-align:middle; ">선천성</caption>
- <caption id="caption38" class="cell_1" style="left:302px; top:421px; width:60px; height:23px; text-align:center; vertical-align:middle; ">이상</caption>
- <select1 id="radio6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past4" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:364px; top:398px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>1</value>
- </item>
- <item>
- <label>YES</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption39" class="cell_1" style="left:410px; top:396px; width:60px; height:25px; text-align:center; vertical-align:middle; ">염색체</caption>
- <caption id="caption40" class="cell_1" style="left:410px; top:421px; width:60px; height:23px; text-align:center; vertical-align:middle; ">이상</caption>
- <select1 id="radio7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past5" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:474px; top:398px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>1</value>
- </item>
- <item>
- <label>YES</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line9" class="line_3" style="x1:0px; y1:444px; x2:520px; y2:444px; "/>
- <caption id="caption41" style="left:0px; top:455px; width:305px; height:20px; ">♣ 판독에 결정걱 영향을 주므로 Nuchal Transluency을</caption>
- <caption id="caption43" style="left:305px; top:455px; width:15px; height:20px; font-weight:bold; ">꼭</caption>
- <caption id="caption44" style="left:323px; top:455px; width:120px; height:20px; ">적어주시기 바랍니다.</caption>
- <caption id="caption42" style="left:0px; top:475px; width:310px; height:20px; ">♣ 판독에 결정걱 영향을 주므로 초음파에 의한 제태령을</caption>
- <caption id="caption45" style="left:310px; top:475px; width:15px; height:20px; font-weight:bold; ">꼭</caption>
- <caption id="caption46" style="left:328px; top:475px; width:120px; height:20px; ">적어주시기 바랍니다.</caption>
- </group>
- <group id="group3" style="left:5px; top:505px; width:530px; height:25px; ">
- <line id="line8" class="line_6" style="x1:0px; y1:0px; x2:530px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" visibility="visible" style="left:411px; top:0px; 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:470px; top:0px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetClose();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|