123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- 2007.08.08 / 최초작성 / 이종찬
- [화면기능]
- 본 업무 화면은 SAM파일 생성을 위해 청구번호를 생성시키고 해당 명세서에 명세서일련번호를 부여한다.
- [개발이력]
- 2007.08.08 사용자 입력값을 서버에 전달
- 2008.01.30 병원기초정보 표시기능 추가
- -->
- <?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>
- <list01>
- <hospinfo>
- <bizmngrgstno/>
- <clamprsdnm/>
- <prsdnm/>
- <clamprsdrrgstno/>
- </hospinfo>
- </list01>
- <list02>
- <comboclamdg>
- <clamdgval/>
- <clamdglab/>
- </comboclamdg>
- </list02>
- </main>
- <send>
- <ioflag/>
- <clamflag/>
- <insurkindflag/>
- <ordfildcd/>
- <clamfromdd/>
- <clamtodd/>
- <clamcretdd/>
- <clamym/>
- <clamdg/>
- </send>
- <init>
- <P0425list>
- <P0425>
- <cdid/>
- <cdnm/>
- </P0425>
- </P0425list>
- <P0408list>
- <P0408>
- <cdid/>
- <cdnm/>
- </P0408>
- </P0408list>
- <dummy>
- <P0235list>
- <P0235>
- <cdid>7</cdid>
- <cdnm>보호정신과정액</cdnm>
- </P0235>
- </P0235list>
- </dummy>
- <!-- ########## 수정추가12:JHP 2008.07.25 ########## -->
- <P0458kindcdlist>
- </P0458kindcdlist>
- <!-- ######### 수정추가12 : 끝 ########### -->
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 2007.10.22 콤보내의 공백 아이템을 제거한다.
- model.removenodeset("/root/init/P0235list/P0235");
-
- fInitialize();
- model.refresh();
-
- CommCode_Load();
-
- // 2008.01.29 병원정보를 로드한다.
- submit("TRPIE00521");
-
- // 2008.01.30 담당자 주민번호 일부를 *로 만든다.
- var rgstno = "";
- rgstno = model.getValue("root/main/list01/hospinfo/clamprsdrrgstno");
- rgstno = rgstno.substr(0,6);
- rgstno = rgstno + "-*******";
- model.setValue("root/main/list01/hospinfo/clamprsdrrgstno",rgstno);
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <!-- ########## 수정추가 12 : JHP 2008.070.25 유형코드 불러오려면 ... 필요 ########## -->
- <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <!-- ########## 수정추가 12 : JHP 끝 ############################################ -->
- <submission id="TXPIE00520" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRPIE00521" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/list01"/>
- <submission id="TRPIE00523" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list02"/>
- </model>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- rdo_ioflag.select(0);
- rdo_insurkindflag.select(0);
- cmb_ordfildcd.value = "";
- cmb_clamflag.value = "";
- cmb_clamdg.value = "";
- model.setValue("/root/send/clamym","");
- model.setValue("/root/send/clamcretdd",getCurrentDate());
- model.setValue("/root/send/clamfromdd",getCurrentDate());
- model.setValue("/root/send/clamtodd",getCurrentDate());
- model.setFocus("cmb_ordfildcd");
-
- model.refresh();
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0425"), new Array("/root/init/P0425list"));
- zbcfGetCodeList(new Array("P0235"), new Array("/root/init/P0235list"));
- zbcfGetCodeList(new Array("P0408"), new Array("/root/init/P0408list"));
- // 2007.10.22 보호정신과정액 항목 추가
- copyNodeType("/root/init/P0235list/P0235","/root/init/dummy/P0235list/P0235","after");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="450" pageheight="380" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:432px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:415px; height:13px; ">청구서생성</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:432px; height:322px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:28px; x2:432px; y2:28px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:13px; width:98px; height:14px; ">생성조건입력</caption>
- <caption id="cap_02" class="cell_1" style="left:54px; top:171px; width:122px; height:22px; ">청구구분 :</caption>
- <caption id="cap_acptno" class="cell_1" style="left:54px; top:219px; width:122px; height:22px; ">청구서생성일 :</caption>
- <caption id="caption10" class="cell_1" style="left:54px; top:98px; width:122px; height:23px; ">내원구분 :</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" appearance="full" cols="2" rows="1" overflow="visible" style="left:179px; top:101px; width:141px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>외래</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption19" class="cell_1" style="left:54px; top:74px; width:122px; height:22px; ">보험유형 :</caption>
- <select1 id="rdo_insurkindflag" ref="/root/send/insurkindflag" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:179px; top:77px; width:226px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>건강보험</label>
- <value>1</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>2</value>
- </item>
- <!-- 수정추가1 : JHP 2008.07.22 보험유형에 산재 자보 추가(rdo_insurkindflag 속성 cols를 2에서 4로 변경)-->
- <item>
- <label>산재</label>
- <value>3</value>
- </item>
- <item>
- <label>자보</label>
- <value>4</value>
- </item>
- <!-- 수정추가1 : 끝 -->
- </choices>
- <!-- 수정추가3 : JHP 2008.07.22 보험유형에서 산재선택시 산재용 내원구분 radio button을 보여준다. -->
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var insurkindflag = model.getValue("/root/send/insurkindflag");
-
- // 보험유형 산재 선택시.. 내원구분 변경, 진료분야글씨 변경, 청구구분 입력콤보 disabled변경
- if(insurkindflag == "3"){
- rdo_ioflag.visible = false;
- rdo_ioflag1.visible = true;
- caption1.visible = false;
- caption13.visible= true;
- cmb_clamflag.disabled= true;
-
- }else{
- rdo_ioflag.visible = true;
- rdo_ioflag1.visible = false;
- caption1.visible= true;
- caption13.visible= false;
- cmb_clamflag.disabled= false;
- }
-
- //보험유형 자보선택시 손보사 콤보박스 disabled 변경
- if(insurkindflag == "4"){
- cmb_claminsucmpy.disabled = false;
- }else{
- cmb_claminsucmpy.disabled = true;
- }
-
- // 보험유형선택시 진료분야(진료구분)의 값을 유형코드별로 변경
- if(insurkindflag == '1'){
- var bizid_list = "P0006";
- }else if(insurkindflag == '2'){
- var bizid_list = "P0007";
- }else if(insurkindflag == '3'){
- var bizid_list = "P0008";
- }else if(insurkindflag == '4'){
- var bizid_list = "P0009";
- }
- var cdgrupid_list = "P0458";
- var kindlistcd = bizid_list+cdgrupid_list;
- model.resetInstanceNode("/root/init/P0458kindcdlist/"+kindlistcd);
-
- zbcfGetKindCodeList(
- new Array(bizid_list),
- new Array(cdgrupid_list),
- new Array("/root/init/P0458kindcdlist"),
- false,
- new Array("dispseq"),
- new Array("asc")
- );
- cmb_ordfildcd.choices.itemset.attribute("nodeset") = "/root/init/P0458kindcdlist/"+kindlistcd;
- cmb_ordfildcd.refresh();
-
- ]]>
- </script>
- <!-- 수정추가3 : 끝 -->
- </select1>
- <caption id="caption3" class="cell_1" visibility="hidden" style="left:54px; top:243px; width:121px; height:22px; ">진료일자(작업일자) :</caption>
- <caption id="caption4" class="cell_1" style="left:4px; top:275px; width:87px; height:19px; ">요양기관기호 :</caption>
- <caption id="caption5" class="cell_1" style="left:212px; top:275px; width:97px; height:19px; ">담당자성명 :</caption>
- <caption id="caption7" class="cell_1" style="left:4px; top:296px; width:87px; height:19px; ">대표자성명 :</caption>
- <caption id="caption8" class="cell_1" style="left:212px; top:296px; width:97px; height:19px; ">담당자주민번호:</caption>
- <shape id="roundrect3" class="roundrect_btnset" appearance="roundrect" style="left:0px; top:35px; width:432px; height:233px; "/>
- <shape id="roundrect1" class="roundrect_btnset" appearance="roundrect" style="left:0px; top:270px; width:432px; height:50px; "/>
- <caption id="caption9" visibility="hidden" style="left:284px; top:248px; width:15px; height:15px; ">~</caption>
- <!-- ########## 수정추가 11 : JHP 2008.07.25 sumtypecd의 보험유형별로 유형코드보여주기 위해서 변경 ########## -->
- <select1 id="cmb_ordfildcd" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:179px; top:149px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0458kindcdlist/">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <!-- ########## 수정추가 11 : JHP 2008.07.25 끝 ############################################################# -->
- <!-- 기존 수정 전
- <select1 id="cmb_ordfildcd" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:174px; top:149px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0425list/P0425">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- -->
- <select1 id="cmb_clamflag" ref="/root/send/clamflag" class="combo_search" appearance="minimal" style="left:179px; top:173px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0408list/P0408">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_clamtodd" ref="/root/send/clamtodd" class="input_search" visibility="hidden" inputtype="date" maxlength="8" required="true" format="yyyy-mm-dd" style="left:299px; top:245px; width:100px; height:19px; "/>
- <input id="ipt_clamfromdd" ref="/root/send/clamfromdd" class="input_search" visibility="hidden" inputtype="date" maxlength="8" required="true" format="yyyy-mm-dd" style="left:179px; top:245px; width:100px; height:19px; "/>
- <input id="ipt_clamcretdd" ref="/root/send/clamcretdd" class="input_search" disabled="true" maxlength="8" required="true" format="yyyy-mm-dd" style="left:179px; top:220px; width:71px; height:19px; "/>
- <input id="ipt_bizmngrgstno" ref="/root/main/list01/hospinfo/bizmngrgstno" class="input_search" disabled="true" maxlength="8" required="true" style="left:94px; top:275px; width:115px; height:19px; "/>
- <input id="ipt_clamprsdnm" ref="/root/main/list01/hospinfo/clamprsdnm" class="input_search" disabled="true" maxlength="8" required="true" style="left:312px; top:275px; width:115px; height:19px; "/>
- <input id="ipt_prsdnm" ref="/root/main/list01/hospinfo/prsdnm" class="input_search" disabled="true" maxlength="8" required="true" style="left:94px; top:295px; width:115px; height:19px; "/>
- <input id="ipt_clamprsdrrgstno" ref="/root/main/list01/hospinfo/clamprsdrrgstno" class="input_search" disabled="true" maxlength="8" required="true" style="left:312px; top:295px; width:115px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:54px; top:195px; width:122px; height:22px; ">청구월/청구차수 :</caption>
- <input id="input1" ref="/root/send/clamym" class="input_search" disabled="false" inputtype="date" required="true" format="yyyy-mm" style="left:179px; top:196px; width:71px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // model.setValue("/root/send/clamdg","");
- // submit("TRPIE00523")
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("cmb_clamdg");
- btn_getclamdg.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //inputEnterKey("btn_getclamdg", "DOMActivate");
- ]]>
- </script>
- <button id="btn_getclamdg" class="btn2_letter11" visibility="hidden" style="left:10px; top:45px; width:141px; height:19px; ">
- <caption>[인풋박스]청구차수받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/clamdg","");
- submit("TRPIE00523")
- ]]>
- </script>
- </button>
- <select1 id="cmb_clamdg" ref="/root/send/clamdg" class="combo_search" appearance="minimal" style="left:253px; top:196px; width:41px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list02/comboclamdg">
- <label ref="clamdglab"/>
- <value ref="clamdgval"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="cell_1" style="left:54px; top:147px; width:122px; height:22px; ">청구분야 :</caption>
- <caption id="caption1" class="cell_1" style="left:54px; top:147px; width:122px; height:22px; ">진료분야 :</caption>
- <select1 id="rdo_ioflag1" ref="/root/send/ioflag" class="radio_search" appearance="full" cols="2" rows="1" overflow="visible" style="left:179px; top:101px; width:86px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>통원</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 산재선택후 내원구분 선택시 해당값을 기존 내원구분값에 매칭
- var ioflag1 = rdo_ioflag1.value;
- model.setValue("/root/send/ioflag",ioflag1);
- ]]>
- </script>
- </select1>
- <select1 id="cmb_claminsucmpy" ref="/root/send/ordfildcd" class="combo_search" disabled="true" appearance="minimal" style="left:179px; top:125px; width:115px; height:19px; ">
- <!-- 주석 -->
- <choices>
- <itemset nodeset="/root/init/P0425list/P0425">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="cell_1" style="left:54px; top:123px; width:122px; height:22px; ">손 보 사 :</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:340px; width:432px; height:27px; ">
- <line id="line33" class="line_6" style="x1:0px; y1:0px; x2:432px; y2:0px; "/>
- <button id="button1" class="btn4_letter2" style="left:319px; top:5px; width:56px; height:22px; ">
- <caption>생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 2008.01.31 생성 명령시 필수 입력사항 입력여부 검사
- if(model.getValue("root/send/ordfildcd") == ""){
- messageBox("[진료분야]를 입력하여주십시오.","C009");
- }else if(model.getValue("root/send/clamflag") == ""){
- messageBox("[청구구분]을 입력하여주십시오.","C009");
- }else if(model.getValue("root/send/clamym") == ""){
- messageBox("[청구년월]을 입력하여주십시오.","C009");
- }else if(model.getValue("root/send/clamdg") == ""){
- messageBox("[청구차수]을 입력하여주십시오.","C009");
- }
- // else if(model.getValue("root/send/clamfromdd") == ""){
- // messageBox("[진료일자(From)]를 입력하여주십시오.","C009");
- // }else if(model.getValue("root/send/clamtodd") == ""){
- // messageBox("[진료일자(To)]를 입력하여주십시오.","C009");
- // }
- else if(model.getValue("root/send/clamcretdd") == ""){
- messageBox("[청구생성일]을 입력하여주십시오.","C009");
- }else{
- if(submit("TXPIE00520")){
- var todd = getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("editrsmrecvmngtmgr.EdiMakeClamBatch",getCurrentDate(),todd.getDateFormat());
- fInitialize();
- // window.close();
- }
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:376px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter4" disabled="true" visibility="hidden" style="left:158px; top:5px; width:80px; height:22px; ">
- <caption>마감설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 필요시 화면 초기화 작업 수행
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter3" visibility="visible" style="left:250px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|