123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLRR90100_골수검사의뢰서등록.xrw
- * 설 명 : 골수검사의뢰서 등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.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>
- <inptitem01>
- <initial/>
- <fu/>
- <others/>
- </inptitem01>
- <inptitem02>
- <initial/>
- <chemo/>
- <bmt/>
- <bmtdt/>
- <ro/>
- <others/>
- </inptitem02>
- <inptitem03/>
- </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", "00000010");
- //model.setValue("/root/hidden/reqfrminfo/prcpcd", "T2");
- //model.setValue("/root/hidden/reqfrminfo/spccd", "TC2003");
- //model.setValue("/root/hidden/reqfrminfo/reqno", "1");
-
- //model.setValue("/root/hidden/reqfrminfo/pid", "56605");
- //model.setValue("/root/hidden/reqfrminfo/prcpcd", "LHB002");
- //model.setValue("/root/hidden/reqfrminfo/spccd", "015");
- //model.setValue("/root/hidden/reqfrminfo/reqno", 27);
-
-
- //----------------------------------------------
- // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
- //alert("aa= " + model.getValue("/root/hidden/reqfrminfo/reqno"));
-
- 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");
-
- if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/initial") != "") { //Initial 내용 있음
- fSetRadioSelect("1");
- } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fu") != "") { //FU 내용 있음
- fSetRadioSelect("2");
- } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/others") != "") { //Other 내용 있음
- fSetRadioSelect("3");
- }
- } else { //의뢰지 번호 없어.!
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
- model.setValue("/root/hidden/reqfrminfo/reqno", "0");
-
- group4.disabled = true; //FU 선택전 체크할수 없음
- group5.disabled = true; //Initial 선택전 체크 할수 없음
- tar_others.disabled ="true"; //Others 선택전 입력 불가
- }
- } 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으로 복사
-
- if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/initial") != "") { //Initial 내용 있음
- fSetRadioSelect("1");
- } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fu") != "") { //FU 내용 있음
- fSetRadioSelect("2");
- } else if(model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/others") != "") { //Other 내용 있음
- fSetRadioSelect("3");
- }
- }
- //-------------
- model.refresh();
- }
-
- // 골수검사 의뢰 이유 선택 시 체크 불가, 가능 설정
- function fSetRadioSelect(Ref){
- var Ref = Ref;
-
- if(Ref == "1"){ //Initial
- rdo_initial.value ="Initial";
- rdo_fu.value = "";
- rdo_others.value ="";
-
- group4.disabled = true; //FU 선택전 체크할수 없음
- group5.disabled = false; //initial 체크 가능
- tar_others.disabled ="true"; //Others 선택전 입력 불가
-
- }else if(Ref == "2"){
- rdo_initial.value = "";
- rdo_fu.value = "F/U";
- rdo_others.value ="";
-
- group4.disabled = false; //FU 체크 가능
- group5.disabled = true; //Initial 선택전 체크 할수 없음
- tar_others.disabled ="true"; //Others 선택전 입력 불가
-
- }else if(Ref == "3"){
- rdo_initial.value = "";
- rdo_fu.value = "";
- rdo_others.value ="Others";
-
- group4.disabled = true; //FU 선택전 체크할수 없음
- group5.disabled = true; //Initial 선택전 체크 할수 없음
- tar_others.disabled ="false"; //Others 입력 가능
-
- }
- }
-
- // 확인버튼 클릭시 저장
- 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="640" guideline="1,1194;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:13px; width:500px; height:577px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:490px; y2:26px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:205px; width:30px; height:13px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:220px; x2:490px; y2:220px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:195px; x2:490px; y2:195px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:456px; width:26px; height:13px; "/>
- <line id="line6" class="line_1" style="x1:0px; y1:471px; x2:490px; y2:471px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:476px; width:100px; height:47px; vertical-align:middle; ">Others</caption>
- <line id="line7" class="line_3" style="x1:0px; y1:522px; x2:490px; y2:522px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:11px; width:25px; height:13px; "/>
- <select1 id="rdo_initial" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/initial" appearance="full" overflow="visible" style="left:19px; top:9px; width:79px; height:13px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>Initial</label>
- <value>Initial</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02");
- fSetRadioSelect("1");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_fu" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/fu" appearance="full" overflow="visible" style="left:19px; top:203px; width:55px; height:13px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>F/U</label>
- <value>F/U</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02");
- fSetRadioSelect("2");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_others" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/others" appearance="full" overflow="visible" style="left:19px; top:454px; width:75px; height:13px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>Others</label>
- <value>Others</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02");
- fSetRadioSelect("3");
- ]]>
- </script>
- </select1>
- <textarea id="tar_others" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/others" style="left:102px; top:476px; width:388px; height:45px; "/>
- <group id="group4" style="left:0px; top:225px; width:495px; height:230px; ">
- <input id="ipt_bmt" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/bmtdt" class="input_default" inputtype="date" format="yyyy-mm" style="left:264px; top:187px; width:80px; height:19px; "/>
- <select id="chk_ro" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/ro" overflow="visible" appearance="full" cellspacing="40" cols="1" rows="10" sep="," vcellspacing="3" style="left:337px; top:5px; width:160px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>R/O relapse</label>
- <value>R/O relapse</value>
- </item>
- </choices>
- </select>
- <select id="chk_chem" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/chemo" overflow="visible" appearance="full" cellspacing="40" cols="1" rows="10" sep="," vcellspacing="3" style="left:10px; top:29px; width:160px; height:200px; border-style:none; ">
- <choices>
- <item>
- <label>ChemoTx 7일째</label>
- <value>ChemoTx 7일째</value>
- </item>
- <item>
- <label>Induction 후</label>
- <value>Induction 후</value>
- </item>
- <item>
- <label>CR 여부</label>
- <value>CR 여부</value>
- </item>
- <item>
- <label>After consolidation</label>
- <value>After consolidation</value>
- </item>
- <item>
- <label>Before consolidation</label>
- <value>Before consolidation</value>
- </item>
- <item>
- <label>After maintenance</label>
- <value>After maintenance</value>
- </item>
- <item>
- <label>Before maintenance</label>
- <value>Before maintenance</value>
- </item>
- <item>
- <label>ChemoTx 종결</label>
- <value>ChemoTx 종결</value>
- </item>
- <item>
- <label>APL mainTx 중</label>
- <value>APL mainTx 중</value>
- </item>
- <item>
- <label>APL mainTx 후</label>
- <value>APL mainTx 후</value>
- </item>
- </choices>
- </select>
- <select id="chk_bmt" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/bmt" overflow="visible" appearance="full" cellspacing="40" cols="1" rows="10" sep="," vcellspacing="3" style="left:165px; top:29px; width:160px; height:178px; border-style:none; ">
- <choices>
- <item>
- <label>PreBMT(보험신청)</label>
- <value>PreBMT(보험신청)</value>
- </item>
- <item>
- <label>uBMT</label>
- <value>uBMT</value>
- </item>
- <item>
- <label>alloBMT</label>
- <value>alloBMT</value>
- </item>
- <item>
- <label>autoBMT</label>
- <value>autoBMT</value>
- </item>
- <item>
- <label>uPBSCT</label>
- <value>uPBSCT</value>
- </item>
- <item>
- <label>alloPBSCT</label>
- <value>alloPBSCT</value>
- </item>
- <item>
- <label>autoPBSCT</label>
- <value>autoPBSCT</value>
- </item>
- <item>
- <label>cordBMT</label>
- <value>cordBMT</value>
- </item>
- <item>
- <label>BMT 시행시기</label>
- <value>BMT 시행시기</value>
- </item>
- </choices>
- </select>
- <caption id="caption2" class="cell_1" style="left:165px; top:0px; width:164px; height:23px; text-align:center; vertical-align:middle; ">BMT</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:0px; width:164px; height:23px; text-align:center; vertical-align:middle; ">ChemoTx 후</caption>
- </group>
- <group id="group5" style="left:0px; top:31px; width:490px; height:164px; ">
- <select id="chk_initial" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02/initial" overflow="visible" appearance="full" cellspacing="50" cols="3" rows="8" sep="," vcellspacing="3" style="left:0px; top:0px; width:480px; height:161px; border-style:none; ">
- <choices>
- <item>
- <label>Acute leukemia</label>
- <value>Acute leukemia</value>
- </item>
- <item>
- <label>MM</label>
- <value>MM</value>
- </item>
- <item>
- <label>Aplastic Anemia</label>
- <value>Aplastic Anemia</value>
- </item>
- <item>
- <label>AML</label>
- <value>AML</value>
- </item>
- <item>
- <label>CLL</label>
- <value>CLL</value>
- </item>
- <item>
- <label>ITP</label>
- <value>ITP</value>
- </item>
- <item>
- <label>ALL</label>
- <value>ALL</value>
- </item>
- <item>
- <label>Leukocytosis</label>
- <value>Leukocytosis</value>
- </item>
- <item>
- <label>HLH</label>
- <value>HLH</value>
- </item>
- <item>
- <label>MDS</label>
- <value>MDS</value>
- </item>
- <item>
- <label>Thrombocytopenia</label>
- <value>Thrombocytopenia</value>
- </item>
- <item>
- <label>FUO</label>
- <value>FUO</value>
- </item>
- <item>
- <label>CML</label>
- <value>CML</value>
- </item>
- <item>
- <label>Leukopenia</label>
- <value>Leukopenia</value>
- </item>
- <item>
- <label>Lymphoma 골수침법</label>
- <value>Lymphoma 골수침법</value>
- </item>
- <item>
- <label>ET</label>
- <value>ET</value>
- </item>
- <item>
- <label>Anemia</label>
- <value>Anemia</value>
- </item>
- <item>
- <label>Non-lymphoma 골수침범</label>
- <value>Non-lymphoma 골수침범</value>
- </item>
- <item>
- <label>PV</label>
- <value>PV</value>
- </item>
- <item>
- <label>Pancytopenia</label>
- <value>Pancytopenia</value>
- </item>
- <item>
- <label>Others</label>
- <value>Others</value>
- </item>
- <item>
- <label>CMPD</label>
- <value>CMPD</value>
- </item>
- </choices>
- </select>
- </group>
- <group id="group6" style="left:5px; top:525px; width:488px; height:45px; ">
- <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:4px; top:5px; width:415px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>HEPATOSPLENOMEGALY</label>
- <value>*HEPATOSPLENOMEGALY</value>
- </item>
- <item>
- <label>LYMPHADENOPATHY</label>
- <value>*LYMPHADENOPATHY</value>
- </item>
- <item>
- <label>EASY BRUISABILITY</label>
- <value>*EASY BRUISABILITY</value>
- </item>
- <item>
- <label>G-CSF사용</label>
- <value>*G-CSF사용</value>
- </item>
- </choices>
- </select>
- </group>
- </group>
- <group id="group2" style="left:0px; top:0px; width:500px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">골수검사 의뢰서</caption>
- </group>
- <group id="group3" style="left:0px; top:593px; width:500px; height:27px; ">
- <line id="line8" class="line_6" style="x1:0px; y1:0px; x2:489px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" visibility="visible" style="left:375px; top:5px; 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:434px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 닫기
- fSetClose();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|