123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID23200_명세서처방복사 .xrw
- * 수정이력
- * - 2010.02.08 / 최초작성 / 김용민
- -->
- <?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>
- <list1>
- <clbs/>
- </list1>
- <list2>
- <cldilist>
- <cldi/>
- </cldilist>
- <clodlist>
- <clod/>
- </clodlist>
- <cloplist>
- <clop/>
- </cloplist>
- </list2>
- </main>
- <send>
- <initparam>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <patnm/>
- <ioflag/>
- <insukind/>
- <suppkind/>
- <orddeptcd/>
- </initparam>
- <item1>
- <m_clamym/>
- <m_clamdg/>
- <m_pid/>
- <m_pidsn/>
- <clamym/>
- <clamdg/>
- <ioflag/>
- <insukind/>
- <suppkind/>
- <orddeptcd/>
- <jobflag/>
- <mclspyn/>
- <mx999yn/>
- <adjtresncd/>
- </item1>
- <save>
- <clbs/>
- <cldi/>
- <clod/>
- <clop/>
- </save>
- <updatedata>
- <clbs/>
- <cldi/>
- <clod/>
- <clop/>
- </updatedata>
- </send>
- <init>
- <item1>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <patnm/>
- <insukind/>
- <suppkind/>
- <orddeptcd/>
- </item1>
- <!-- 보험유형 -->
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- <!-- 보조유형 -->
- <P0010list>
- <P0010>
- <cdnm/>
- <cdid/>
- </P0010>
- </P0010list>
- <!-- 입외구분 -->
- <IOFLAGlist>
- <ioflag>
- <cdnm>외래</cdnm>
- <cdid>O</cdid>
- </ioflag>
- <ioflag>
- <cdnm>입원</cdnm>
- <cdid>I</cdid>
- </ioflag>
- </IOFLAGlist>
- <!-- 청구구분 -->
- <P0155list>
- <P0155>
- <cdnm/>
- <cdid/>
- </P0155>
- </P0155list>
- <!-- 청구완료여무(명세서상태) -->
- <P0430list>
- <P0430>
- <cdnm/>
- <cdid/>
- </P0430>
- </P0430list>
- <!-- 심사상태 -->
- <P0151list>
- <P0151>
- <cdnm/>
- <cdid/>
- </P0151>
- </P0151list>
- <!-- 심사조정사유 -->
- <P0127list>
- <P0127>
- <cdnm/>
- <cdid/>
- </P0127>
- </P0127list>
- <orddeptcd2/>
- <orddrid2/>
- </init>
- <hidden>
- <popupmenu>
- <gridcldi>
- <item>
- <name>선택</name>
- <func>fSetCldiCheckY</func>
- </item>
- <item>
- <name>취소</name>
- <func>fSetCldiCheckN</func>
- </item>
- </gridcldi>
- <gridclop>
- <item>
- <name>선택</name>
- <func>fSetClopCheckY</func>
- </item>
- <item>
- <name>취소</name>
- <func>fSetClopCheckN</func>
- </item>
- </gridclop>
- <gridclod>
- <item>
- <name>선택</name>
- <func>fSetClodCheckY</func>
- </item>
- <item>
- <name>취소</name>
- <func>fSetClodCheckN</func>
- </item>
- </gridclod>
- </popupmenu>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/clamdg"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1/ioflag" resultref="root/hidden/tmp"/>
- <submission id="TRPID20603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/main/list1"/>
- <submission id="TRPID20604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/initparam" resultref="/root/main/list2"/>
- <submission id="TXPID20602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" replace="instance" resultref="/root/hidden/tmp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 테스트용 데이타
- /*
- model.setValue("/root/send/initparam/clamym","201002");
- model.setValue("/root/send/initparam/clamdg","1");
- model.setValue("/root/send/initparam/pid","1200667");
- model.setValue("/root/send/initparam/pidsn","2");
- model.setValue("/root/send/initparam/patnm","전홍덕");
- model.setValue("/root/send/initparam/ioflag","O");
- model.setValue("/root/send/initparam/insukind","11");
- model.setValue("/root/send/initparam/suppkind","00");
- model.setValue("/root/send/initparam/orddeptcd","2010300000");
- */
- // 팝업으로 호출되었으면... 등록번호가 있는경우 조회를 바로한다.
- if (model.getValue("/root/init/item1/pid") != "") {
- model.setValue("/root/send/initparam/ioflag", model.getValue("/root/init/item1/ioflag"));
- model.setValue("/root/send/initparam/clamym", model.getValue("/root/init/item1/clamym"));
- model.setValue("/root/send/initparam/clamdg", model.getValue("/root/init/item1/clamdg"));
- model.setValue("/root/send/initparam/pid", model.getValue("/root/init/item1/pid"));
- model.setValue("/root/send/initparam/pidsn", model.getValue("/root/init/item1/pidsn"));
- model.setValue("/root/send/initparam/patnm", model.getValue("/root/init/item1/patnm"));
- model.setValue("/root/send/initparam/insukind", model.getValue("/root/init/item1/insukind"));
- model.setValue("/root/send/initparam/suppkind", model.getValue("/root/init/item1/suppkind"));
- model.setValue("/root/send/initparam/orddeptcd", model.getValue("/root/init/item1/orddeptcd"));
- }
- // ---------------------------------------------------------------
- // 공통코드를 조회한다.
- // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
- // ---------------------------------------------------------------
- zbcfGetCodeList(
- new Array("P0008" // 보험유형
- ,"P0010" // 보조유형
- ,"P0155" // 청구구분
- ,"P0430" // 청구상태
- ,"P0151" // 심사상태
- ,"P0127" // 심사조정사유
- ),
- new Array("/root/init/P0008list"
- ,"/root/init/P0010list"
- ,"/root/init/P0155list"
- ,"/root/init/P0430list"
- ,"/root/init/P0151list"
- ,"/root/init/P0127list"
- ) );
- // ---------------------------------------------------------------
- // 진료과 주치의 초기화
- // ---------------------------------------------------------------
- submit("TRPID20309", false);
- model.copyNode("/root/init/orddeptcd2", "/root/hidden/tmp/orddeptcd2");
- model.copyNode("/root/init/orddrid2", "/root/hidden/tmp/orddrid2");
- model.removeNodeset("/root/hidden/tmp/orddeptcd");
- model.removeNodeset("/root/hidden/tmp/orddeptcd2");
- model.removeNodeset("/root/hidden/tmp/orddrid");
- model.removeNodeset("/root/hidden/tmp/orddrid2");
-
- fInitialize(); // 초기화
- if ( model.getValue("/root/send/initparam/clamym") != "" ) {
- // 명세서 리스트 조회
- fGetDocuList();
- }
-
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20000.js"/>
- <script type="javascript">
- <![CDATA[
-
- // -----------------------
- // ▶ 화면초기화
- // -----------------------
- function fInitialize() {
-
- model.setValue("/root/send/item1/jobflag","M"); // 이동/복사 중 이동이 기본
- model.setValue("/root/send/item1/mclspyn",""); // 명세서단위 특정내역
- model.setValue("/root/send/item1/mx999yn",""); // 청구메모
-
- // 조회조건 기본값 설정
- if ( model.getValue("/root/send/initparam/clamym") != "" ) {
- model.setValue("/root/send/item1/clamym", model.getValue("/root/send/initparam/clamym"));
- model.setValue("/root/send/item1/clamdg", model.getValue("/root/send/initparam/clamdg"));
- model.setValue("/root/send/item1/ioflag", model.getValue("/root/send/initparam/ioflag"));
- model.setValue("/root/send/item1/insukind", model.getValue("/root/send/initparam/insukind"));
- model.setValue("/root/send/item1/suppkind", model.getValue("/root/send/initparam/suppkind"));
- model.setValue("/root/send/item1/orddeptcd", model.getValue("/root/send/initparam/orddeptcd"));
- pidfGetClamdg();
-
- fGetClodList();
- }
- // 인스턴스 지우기
- model.removeNodeset("/root/main/list1/clbs");
- model.refresh();
- }
- // ----------------------------------------------------------------------
- // ▶ 명세서관리 대상조회
- // ----------------------------------------------------------------------
- function fGetDocuList() {
- if (model.getValue("/root/send/initparam/pid") == "") {
- messageBox("등록번호는", "I003"); ///I003=등록번호는 필수입력입니다.
- return;
- }
- if (model.getValue("/root/send/item1/clamym") == "") {
- messageBox("청구년월은", "I003"); ///I003=청구년월은 필수입력입니다.
- return;
- }
- if (model.getValue("/root/send/item1/clamdg") == "") {
- messageBox("청구차수는", "I003"); ///I003=청구차수는 필수입력입니다.
- return;
- }
-
- model.setValue("/root/send/item1/m_clamym", model.getValue("/root/send/initparam/clamym"));
- model.setValue("/root/send/item1/m_clamdg", model.getValue("/root/send/initparam/clamdg"));
- model.setValue("/root/send/item1/m_pid", model.getValue("/root/send/initparam/pid"));
- model.setValue("/root/send/item1/m_pidsn", model.getValue("/root/send/initparam/pidsn"));
-
- model.removeNodeset("/root/main/list1/clbs");
- submit("TRPID20603");
- }
- function fGetClodList() {
- if (model.getValue("/root/send/initparam/pid") == "") {
- return;
- }
- model.removeNodeset("/root/main/list2");
- submit("TRPID20604");
- }
-
- function fSetGridCheckYN(jgrid,selyn) {
- var nodelist;
- var nodename;
- var i;
-
- if ( jgrid == "CLDI" ) {
- nodename = "/root/main/list2/cldilist/cldi";
- } else if ( jgrid == "CLOP" ) {
- nodename = "/root/main/list2/cloplist/clop";
- } else if ( jgrid == "CLOD" ) {
- nodename = "/root/main/list2/clodlist/clod";
- } else {
- return;
- }
- nodeList = instance1.selectNodes(nodename);
-
- for ( i = 1; i <= nodeList.length; i++ ) {
- model.setValue(nodename + "[" + i + "]/fromchk",selyn);
- }
-
- model.refreshpart(nodename);
- }
-
- function fSetCldiCheckY() {
- var selrow = 0;
- for ( i=0; i < grd_cldi.selectedRows; i++) {
- selrow = grd_cldi.selectedRow(i);
- model.setValue("root/main/list2/cldilist/cldi[" + selrow + "]/fromchk","Y");
- }
- grd_cldi.refresh();
- }
- function fSetCldiCheckN() {
- var selrow = 0;
- for ( i=0; i < grd_cldi.selectedRows; i++) {
- selrow = grd_cldi.selectedRow(i);
- model.setValue("root/main/list2/cldilist/cldi[" + selrow + "]/fromchk","N");
- }
- grd_cldi.refresh();
- }
- function fSetClopCheckY() {
- var selrow = 0;
- for ( i=0; i < grd_clop.selectedRows; i++) {
- selrow = grd_clop.selectedRow(i);
- model.setValue("root/main/list2/cloplist/clop[" + selrow + "]/fromchk","Y");
- }
- grd_clop.refresh();
- }
- function fSetClopCheckN() {
- var selrow = 0;
- for ( i=0; i < grd_clop.selectedRows; i++) {
- selrow = grd_clop.selectedRow(i);
- model.setValue("root/main/list2/cloplist/clop[" + selrow + "]/fromchk","N");
- }
- grd_clop.refresh();
- }
- function fSetClodCheckY() {
- var selrow = 0;
- for ( i=0; i < grd_clod.selectedRows; i++) {
- selrow = grd_clod.selectedRow(i);
- model.setValue("root/main/list2/clodlist/clod[" + selrow + "]/fromchk","Y");
- }
- grd_clod.refresh();
- }
- function fSetClodCheckN() {
- var selrow = 0;
- for ( i=0; i < grd_clod.selectedRows; i++) {
- selrow = grd_clod.selectedRow(i);
- model.setValue("root/main/list2/clodlist/clod[" + selrow + "]/fromchk","N");
- }
- grd_clod.refresh();
- }
- // 저장전 유효성 체크
- function fValidcheck() {
- var clbs_from_cnt = 0;
- var clbs_to_cnt = 0;
- var cldi_cnt = 0;
- var clop_cnt = 0;
- var clod_cnt = 0;
- var clbs_mclspyn = "";
- var clbs_mx999yn = "";
- var i = 0;
- var ans = "";
- var smsg = "";
-
- var from_pid = "";
- var from_clamym = "";
- var from_ioflag = "";
- var from_insukind = "";
- var from_suppkind = "";
- var from_orddeptcd = "";
- var to_pid = "";
- var to_clamym = "";
- var to_ioflag = "";
- var to_insukind = "";
- var to_suppkind = "";
- var to_orddeptcd = "";
- // 명세서 선택 사항 체크
- for ( i = 1; i <= grd_clbsmast.rows; i++) {
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/fromchk") == "Y") {
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/tochk") == "Y") {
- messageBox("송수신명세서를 동시에 선택", "E001"); ///E001=할 수 없습니다.
- return false;
- }
- // 이동시 from 명세서의 송신상태 체크
- if ( model.getValue("/root/send/item1/jobflag") == "M" ) {
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/lockyn") == "Y") {
- messageBox("이동시 잠금설정된 원명세서는 선택", "E001"); ///E001=할 수 없습니다.
- return false;
- }
- if ( model.getValue("/root/main/list1/clbs[ " + i + "]/clamendyn") != "A"
- && model.getValue("/root/main/list1/clbs[ " + i + "]/clamendyn") != "M"
- ) {
- messageBox("이동시 송신된 원명세서는 선택", "E001"); ///E001=할 수 없습니다.
- return false;
- }
- }
-
- clbs_from_cnt++;
-
- from_pid = model.getValue("/root/main/list1/clbs[ " + i + "]/pid");
- from_clamym = model.getValue("/root/main/list1/clbs[ " + i + "]/clamym");
- from_ioflag = model.getValue("/root/main/list1/clbs[ " + i + "]/ioflag");
- from_insukind = model.getValue("/root/main/list1/clbs[ " + i + "]/insukind");
- from_suppkind = model.getValue("/root/main/list1/clbs[ " + i + "]/suppkind");
- from_orddeptcd = model.getValue("/root/main/list1/clbs[ " + i + "]/orddeptcd");
- }
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/tochk") == "Y") {
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/lockyn") == "Y") {
- messageBox("잠금설정된 명세서는 선택", "E001"); ///E001=할 수 없습니다.
- return false;
- }
- if ( model.getValue("/root/main/list1/clbs[ " + i + "]/clamendyn") != "A"
- && model.getValue("/root/main/list1/clbs[ " + i + "]/clamendyn") != "M"
- ) {
- messageBox("송신된 명세서는 선택", "E001"); ///E001=할 수 없습니다.
- return false;
- }
- clbs_to_cnt++;
- to_pid = model.getValue("/root/main/list1/clbs[ " + i + "]/pid");
- to_clamym = model.getValue("/root/main/list1/clbs[ " + i + "]/clamym");
- to_ioflag = model.getValue("/root/main/list1/clbs[ " + i + "]/ioflag");
- to_insukind = model.getValue("/root/main/list1/clbs[ " + i + "]/insukind");
- to_suppkind = model.getValue("/root/main/list1/clbs[ " + i + "]/suppkind");
- to_orddeptcd = model.getValue("/root/main/list1/clbs[ " + i + "]/orddeptcd");
- }
- }
-
- if ( clbs_from_cnt > 1 ) {
- messageBox("송신(FROM)명세서를 동시에 선택", "E001"); ///E001=할 수 없습니다.
- return false;
- }
- if ( clbs_to_cnt > 1 ) {
- messageBox("수신(TO)명세서를 동시에 선택", "E001"); ///E001=할 수 없습니다.
- return false;
- }
- if ( clbs_from_cnt == 0 ) {
- messageBox("선택된 송신(FROM)명세서가 ", "I004"); ///송신(FROM) 명세서가 없습니다.
- return false;
- }
- if ( clbs_to_cnt == 0 ) {
- messageBox("선택된 수신(TO)명세서가 ", "I004"); ///송신(FROM) 명세서가 없습니다.
- return false;
- }
- // 상병 선택 사항 체크
- for ( i = 1; i <= grd_cldi.rows; i++) {
- if (model.getValue("/root/main/list2/cldilist/cldi[ " + i + "]/fromchk") == "Y") {
- cldi_cnt++;
- }
- }
- // 원외처방 선택 사항 체크
- for ( i = 1; i <= grd_clop.rows; i++) {
- if (model.getValue("/root/main/list2/cloplist/clop[ " + i + "]/fromchk") == "Y") {
- clop_cnt++;
- }
- }
- // 처방 선택 사항 체크
- for ( i = 1; i <= grd_clod.rows; i++) {
- if (model.getValue("/root/main/list2/clodlist/clod[ " + i + "]/fromchk") == "Y") {
- clod_cnt++;
- }
- }
- // 명세서단위 특정내역 선택여부
- clbs_mclspyn = model.getValue("/root/send/item1/mclspyn");
- // 청구메모 선택여부
- clbs_mx999yn = model.getValue("/root/send/item1/mx999yn");
- if ( cldi_cnt == 0 && clop_cnt == 0 && clod_cnt == 0 && clbs_mclspyn != "Y" && clbs_mx999yn != "Y" ) {
- messageBox("이동/복사 대상으로 선택된 처방/상병이 ", "I004"); /// 선택된 처방상병이 없습니다.
- return false;
- }
- if ( ( clod_cnt != 0 || clop_cnt != 0 )
- && model.getValue("/root/send/item1/adjtresncd") == ""
- ) {
- messageBox("선택된 조정사유가", "I004"); /// 선택된 조정사유가 없습니다.
- return false;
- }
- // 혹시 모를 등록번호 체크
- if ( from_pid != to_pid ) {
- messageBox("등록번호 가 서로 틀립니다", "");
- return false;
- }
- // 청구년월 체크
- if ( from_clamym != to_clamym ) {
- ans = messageBox("진료과가 서로 틀립니다. 무시하고 작업", "S001");
- if (ans != 6) { // 6: yes
- return false;
- }
- }
- // 입외구분 체크
- if ( from_ioflag != to_ioflag ) {
- ans = messageBox("입원,외래 유형이 서로 틀립니다. 무시하고 작업", "S001");
- if (ans != 6) { // 6: yes
- return false;
- }
- }
- // 보험유형 체크
- if ( from_insukind != to_insukind ) {
- ans = messageBox("보험유형이 서로 틀립니다. 무시하고 작업", "S001");
- if (ans != 6) { // 6: yes
- return false;
- }
- }
- // 보조유형 체크
- if ( from_suppkind != to_suppkind ) {
- ans = messageBox("보조유형이 서로 틀립니다. 무시하고 작업", "S001");
- if (ans != 6) { // 6: yes
- return false;
- }
- }
- // 진료과 체크
- if ( from_orddeptcd != to_orddeptcd ) {
- ans = messageBox("진료과가 서로 틀립니다. 무시하고 작업", "S001");
- if (ans != 6) { // 6: yes
- return false;
- }
- }
- // 사용자 최종확인
- if ( model.getValue("/root/send/item1/jobflag") == "M" ) {
- smsg = " ** 이동 - 원명세서에서는 삭제됩니다. ** " + "\n\n";
- } else if ( model.getValue("/root/send/item1/jobflag") == "C" ) {
- smsg = " ** 복사 - 처방이 똑같이 복사합니다. ** " + "\n\n"
- } else {
- messageBox("error","");
- return false;
- }
- smsg = smsg
- + "상병 - " + cldi_cnt + " 건" + "\n"
- + "처방 - " + clod_cnt + " 건" + "\n"
- + "원외 - " + clop_cnt + " 건" + "\n\n";
- if ( model.getValue("/root/send/item1/jobflag") == "M" ) {
- smsg = smsg + "선택된 내역을 이동";
- } else if ( model.getValue("/root/send/item1/jobflag") == "C" ) {
- smsg = smsg + "선택된 내역을 복사";
- } else {
- messageBox("error","");
- return false;
- }
- ans = messageBox(smsg, "S001");
- if (ans != 6) { // 6: yes
- return false;
- }
- return true;
- }
- // 실제 저장
- function fSetDocuMake() {
- var row = 0;
-
- model.resetInstanceNode("/root/send/save/clbs");
- model.resetInstanceNode("/root/send/save/cldi");
- model.resetInstanceNode("/root/send/save/clod");
- model.resetInstanceNode("/root/send/save/clop");
- model.removenode("/root/send/updatedata/clbs");
- model.removenode("/root/send/updatedata/cldi");
- model.removenode("/root/send/updatedata/clod");
- model.removenode("/root/send/updatedata/clop");
- // 작업유형(이동/복사)
- model.makeValue("/root/send/save/clbs/jobflag",model.getValue("/root/send/item1/jobflag"));
- // 명세서단위 특정내역
- model.makeValue("/root/send/save/clbs/mclspyn",model.getValue("/root/send/item1/mclspyn"));
- // 청구메모
- model.makeValue("/root/send/save/clbs/mx999yn",model.getValue("/root/send/item1/mx999yn"));
- // 심사조정사유
- model.makeValue("/root/send/save/clbs/adjtresncd",model.getValue("/root/send/item1/adjtresncd"));
- // clbs from
- model.makeValue("/root/send/save/clbs/f_clamym",model.getValue("/root/send/initparam/clamym"));
- model.makeValue("/root/send/save/clbs/f_clamdg",model.getValue("/root/send/initparam/clamdg"));
- model.makeValue("/root/send/save/clbs/f_pid",model.getValue("/root/send/initparam/pid"));
- model.makeValue("/root/send/save/clbs/f_pidsn",model.getValue("/root/send/initparam/pidsn"));
- // clbs to
- row = 0;
- for ( i = 1; i <= grd_clbsmast.rows; i++) {
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/tochk") == "Y") {
- row++;
- model.makeValue("/root/send/save/clbs/t_clamym",model.getValue("/root/main/list1/clbs[" + i + "]/clamym"));
- model.makeValue("/root/send/save/clbs/t_clamdg",model.getValue("/root/main/list1/clbs[" + i + "]/clamdg"));
- model.makeValue("/root/send/save/clbs/t_pid",model.getValue("/root/main/list1/clbs[" + i + "]/pid"));
- model.makeValue("/root/send/save/clbs/t_pidsn",model.getValue("/root/main/list1/clbs[" + i + "]/pidsn"));
- }
- }
- if ( row > 0 ) {
- model.makeNode("/root/send/updatedata/clbs");
- model.setValue("/root/send/updatedata/clbs", getNodeListCSV(instance1.selectNodes("/root/send/save/clbs")) );
- }
- // cldi
- row = 0;
- for ( i = 1; i <= grd_cldi.rows; i++) {
- if (model.getValue("/root/main/list2/cldilist/cldi[ " + i + "]/fromchk") == "Y") {
- row++;
- model.makeValue("/root/send/save/cldi[" + row + "]/clamym",model.getValue("/root/main/list2/cldilist/cldi[" + i + "]/clamym"));
- model.makeValue("/root/send/save/cldi[" + row + "]/clamdg",model.getValue("/root/main/list2/cldilist/cldi[" + i + "]/clamdg"));
- model.makeValue("/root/send/save/cldi[" + row + "]/pid",model.getValue("/root/main/list2/cldilist/cldi[" + i + "]/pid"));
- model.makeValue("/root/send/save/cldi[" + row + "]/pidsn",model.getValue("/root/main/list2/cldilist/cldi[" + i + "]/pidsn"));
- model.makeValue("/root/send/save/cldi[" + row + "]/workflag",model.getValue("/root/main/list2/cldilist/cldi[" + i + "]/workflag"));
- model.makeValue("/root/send/save/cldi[" + row + "]/seqno",model.getValue("/root/main/list2/cldilist/cldi[" + i + "]/seqno"));
- }
- }
- if ( row > 0 ) {
- model.makeNode("/root/send/updatedata/cldi");
- model.setValue("/root/send/updatedata/cldi", getNodeListCSV(instance1.selectNodes("/root/send/save/cldi")) );
- }
-
- // clop
- row = 0;
- for ( i = 1; i <= grd_clop.rows; i++) {
- if (model.getValue("/root/main/list2/cloplist/clop[ " + i + "]/fromchk") == "Y") {
- row++;
- model.makeValue("/root/send/save/clop[" + row + "]/clamym",model.getValue("/root/main/list2/cloplist/clop[" + i + "]/clamym"));
- model.makeValue("/root/send/save/clop[" + row + "]/clamdg",model.getValue("/root/main/list2/cloplist/clop[" + i + "]/clamdg"));
- model.makeValue("/root/send/save/clop[" + row + "]/pid",model.getValue("/root/main/list2/cloplist/clop[" + i + "]/pid"));
- model.makeValue("/root/send/save/clop[" + row + "]/pidsn",model.getValue("/root/main/list2/cloplist/clop[" + i + "]/pidsn"));
- model.makeValue("/root/send/save/clop[" + row + "]/workflag",model.getValue("/root/main/list2/cloplist/clop[" + i + "]/workflag"));
- model.makeValue("/root/send/save/clop[" + row + "]/seqno",model.getValue("/root/main/list2/cloplist/clop[" + i + "]/seqno"));
- }
- }
- if ( row > 0 ) {
- model.makeNode("/root/send/updatedata/clop");
- model.setValue("/root/send/updatedata/clop", getNodeListCSV(instance1.selectNodes("/root/send/save/clop")) );
- }
- // clod
- row = 0;
- for ( i = 1; i <= grd_clod.rows; i++) {
- if (model.getValue("/root/main/list2/clodlist/clod[ " + i + "]/fromchk") == "Y") {
- row++;
- model.makeValue("/root/send/save/clod[" + row + "]/clamym",model.getValue("/root/main/list2/clodlist/clod[" + i + "]/clamym"));
- model.makeValue("/root/send/save/clod[" + row + "]/clamdg",model.getValue("/root/main/list2/clodlist/clod[" + i + "]/clamdg"));
- model.makeValue("/root/send/save/clod[" + row + "]/pid",model.getValue("/root/main/list2/clodlist/clod[" + i + "]/pid"));
- model.makeValue("/root/send/save/clod[" + row + "]/pidsn",model.getValue("/root/main/list2/clodlist/clod[" + i + "]/pidsn"));
- model.makeValue("/root/send/save/clod[" + row + "]/workflag",model.getValue("/root/main/list2/clodlist/clod[" + i + "]/workflag"));
- model.makeValue("/root/send/save/clod[" + row + "]/seqno",model.getValue("/root/main/list2/clodlist/clod[" + i + "]/seqno"));
- }
- }
- if ( row > 0 ) {
- model.makeNode("/root/send/updatedata/clod");
- model.setValue("/root/send/updatedata/clod", getNodeListCSV(instance1.selectNodes("/root/send/save/clod")) );
- }
-
- if ( !submit("TXPID20602") ) { return false; }
-
- return true;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1162" pageheight="670" guideline="1,1144;2,727;2,739;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1146px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:195px; height:13px; ">명세서 처방,상병 이동/복사</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1146px; height:637px; ">
- <caption id="cap_judgtrgtman" class="tit_2" style="left:5px; top:77px; width:230px; height:13px; ">이동/복사 대상 명세서 선택 (TO)</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:92px; x2:1145px; y2:92px; "/>
- <group id="group1" style="left:0px; top:4px; width:365px; height:58px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:365px; height:58px; "/>
- <caption id="caption4" class="search_name" style="left:75px; top:7px; width:85px; height:17px; ">청구년월</caption>
- <input id="input2" ref="/root/send/initparam/clamym" disabled="true" style="left:155px; top:6px; width:65px; height:19px; text-align:center; "/>
- <input id="input3" ref="/root/send/initparam/clamdg" disabled="true" style="left:225px; top:6px; width:40px; height:19px; text-align:center; "/>
- <caption id="caption5" class="search_name" style="left:75px; top:32px; width:85px; height:17px; ">등록번호</caption>
- <input id="input4" ref="/root/send/initparam/pid" disabled="true" style="left:155px; top:31px; width:80px; height:19px; text-align:center; "/>
- <input id="input5" ref="/root/send/initparam/patnm" disabled="true" style="left:270px; top:31px; width:80px; height:19px; text-align:center; "/>
- <caption id="caption6" class="tit_2" style="left:10px; top:10px; width:60px; height:13px; ">FROM</caption>
- <input id="input6" ref="/root/send/initparam/pidsn" disabled="true" style="left:240px; top:31px; width:25px; height:19px; text-align:center; "/>
- </group>
- <group id="group2" style="left:372px; top:4px; width:770px; height:58px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:770px; height:58px; "/>
- <caption id="caption30" class="search_name" style="left:60px; top:7px; width:85px; height:17px; ">청구년월</caption>
- <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:141px; top:6px; width:69px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- ]]>
- </script>
- </input>
- <caption id="caption32" class="search_name" style="left:292px; top:8px; width:86px; height:17px; ">보험유형</caption>
- <select1 id="cmb_insukind" ref="/root/send/item1/insukind" class="combo_search" navindex="9" appearance="minimal" style="left:372px; top:7px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <!-- 기존 : /root/InitData2/comccodem => P0287 확인해볼 것 -->
- <button id="btn_select" class="btn1_letter2" navindex="32" style="left:705px; top:18px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetDocuList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_clamdg" ref="/root/send/item1/clamdg" appearance="minimal" style="left:215px; top:6px; width:51px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdg/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:515px; top:8px; width:80px; height:17px; ">내원형태</caption>
- <select1 id="cmb_ioflag" ref="/root/send/item1/ioflag" class="combo_search" navindex="3" appearance="minimal" style="left:596px; top:8px; width:77px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/IOFLAGlist/ioflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_4" style="x1:695px; y1:5px; x2:695px; y2:51px; "/>
- <caption id="caption7" class="tit_2" style="left:10px; top:10px; width:45px; height:13px; ">TO</caption>
- <caption id="caption2" class="search_name" style="left:60px; top:35px; width:80px; height:17px; ">진료과</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/item1/orddeptcd" class="combo_search" navindex="3" appearance="minimal" style="left:141px; top:34px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:292px; top:34px; width:86px; height:17px; ">보조유형</caption>
- <select1 id="cmb_suppkind" ref="/root/send/item1/suppkind" class="combo_search" navindex="9" appearance="minimal" style="left:372px; top:33px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0010list/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="btn_cancel" class="btn4_letter2" style="left:1088px; top:70px; width:56px; height:22px; ">
- <caption>종료</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1016px; top:70px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize(); // 초기화
- ]]>
- </script>
- </button>
- <button id="btn_copy" class="btn4_letter2" style="left:1087px; top:283px; width:56px; height:22px; ">
- <caption>이동</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 작업전 유효성 검사
- if ( fValidcheck() == false ) {
- return;
- }
-
- // 실제저장
- if ( fSetDocuMake() == false ) {
- messageBox("작업오류","");
- return;
- }
- //저장이 완료되면 처방이동상태 확인위해 처방다시 조회
- fGetClodList();
- model.refresh();
- messageBox("요청 작업이","I001");
-
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:5px; top:292px; width:170px; height:13px; ">상병,처방 선택 (FROM)</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:307px; x2:1145px; y2:307px; "/>
- <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" caption="FR
OM^TO^입외
구분^명일련^청구년월^차수^청구구분^등록번호^등록번호^환자명^보험
유형^보조
유형^진료개시일^진료종료일^진료과^진료의^심사상태^청구상태^잠금" colsep="^" colwidth="31, 30, 45, 52, 68, 36, 95, 69, 26, 69, 30, 31, 74, 77, 117, 68, 80, 87, 35" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:96px; width:1145px; height:184px; ">
- <col checkvalue="Y,N" disabled="true" ref="fromchk" type="checkbox"/>
- <col checkvalue="Y,N" ref="tochk" type="checkbox"/>
- <col disabled="true" ref="ioflag" type="combo" style="left:81px; top:32px; width:35px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/IOFLAGlist/ioflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="docuseqno" style="text-align:center; "/>
- <col disabled="true" ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col disabled="true" ref="clamdg" style="text-align:center; "/>
- <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pidsn" style="text-align:center; "/>
- <col ref="patnm" style="left:332px; top:32px; width:53px; height:23px; text-align:center; "/>
- <col ref="insukind" type="output" style="text-align:center; "/>
- <col ref="suppkind" type="output" style="text-align:center; "/>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid2/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clamendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0430list/P0430">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="lockyn" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var icol = grd_clbsmast.col;
- var i;
- var itocnt = 0;
-
- if (icol == grd_clbsmast.colRef("tochk")) {
- for ( i = 1; i <= grd_clbsmast.rows; i++) {
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/tochk") == "Y") {
- itocnt++;
- if (itocnt > 1) {
- messageBox("수신(TO) 명세서를 하나만", "C002"); ///C002=선택하십시오 !
- model.setValue("/root/main/list1/clbs[ " + i + "]/tochk", "N");
- return;
- }
-
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/fromchk") == "Y") {
- messageBox("송수신명세서를 동시에 선택", "E001"); ///E001=할 수 없습니다.
- model.setValue("/root/main/list1/clbs[ " + i + "]/tochk", "N");
- return;
- }
- if (model.getValue("/root/main/list1/clbs[ " + i + "]/lockyn") == "Y") {
- messageBox("잠금설정된 명세서는 선택", "E001"); ///E001=할 수 없습니다.
- model.setValue("/root/main/list1/clbs[ " + i + "]/tochk", "N");
- return;
- }
- }
- }
- }
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption9" class="search_name" style="left:7px; top:312px; width:85px; height:17px; ">상병</caption>
- <datagrid id="grd_cldi" nodeset="/root/main/list2/cldilist/cldi" scroll="auto" caption="선택^R/O^순번^상병코드^상병명^진료개시일" colsep="^" colwidth="30, 31, 30, 62, 253, 70, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" frozencols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:330px; width:480px; height:134px; ">
- <col checkvalue="Y,N" ref="fromchk" type="checkbox"/>
- <col ref="diagkindcd" type="combo" style="text-align:center; "/>
- <choices>
- <item>
- <label>R</label>
- <value>R</value>
- </item>
- </choices>
- <col ref="diagseq" style="text-align:center; "/>
- <col ref="diagcd" style="text-align:center; "/>
- <col ref="diagnm"/>
- <col ref="ordfromdd" style="text-align:center; "/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_cldi.isCell(event.target) && grd_cldi.mouseRow >= grd_cldi.fixedrows) {
- setPopupMenu("grd_cldi", false, "/root/hidden/popupmenu/gridcldi/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption10" class="search_name" style="left:7px; top:467px; width:85px; height:17px; ">원외처방</caption>
- <datagrid id="grd_clop" nodeset="/root/main/list2/cloplist/clop" scroll="auto" caption="선택^투약번호^줄^수가코드^EDI코드^한글명^1회량^횟수^일수" colsep="^" colwidth="30, 94, 27, 76, 68, 149, 44, 37, 37, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:486px; width:480px; height:144px; ">
- <col checkvalue="Y,N" ref="fromchk" type="checkbox"/>
- <col ref="mpsno" style="text-align:center; "/>
- <col ref="edilnno" style="text-align:center; "/>
- <col ref="snglcalcscorcd"/>
- <col ref="edicd" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="edidrugqty" style="text-align:center; "/>
- <col ref="drugtims" style="text-align:center; "/>
- <col ref="edidrugdayno" style="text-align:center; "/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_clop.isCell(event.target) && grd_clop.mouseRow >= grd_clop.fixedrows) {
- setPopupMenu("grd_clop", false, "/root/hidden/popupmenu/gridclop/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption11" class="search_name" style="left:485px; top:313px; width:85px; height:17px; ">처방</caption>
- <datagrid id="grd_clod" nodeset="/root/main/list2/clodlist/clod" caption="선택^줄^항^목^G^그룹코드^수가코드^한글명^1회량^횟수^일수^금액^EDI코드^개시일" colsep="^" colwidth="31, 35, 22, 22, 19, 84, 72, 200, 39, 30, 31, 70, 79, 82, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:481px; top:330px; width:663px; height:300px; ">
- <col checkvalue="Y,N" ref="fromchk" type="checkbox"/>
- <col ref="edilnno" style="text-align:center; "/>
- <col ref="ediitem1" style="text-align:center; "/>
- <col ref="ediitem2" style="text-align:center; "/>
- <col ref="groupyn" style="text-align:center; "/>
- <col ref="grupcalcscorcd"/>
- <col ref="snglcalcscorcd"/>
- <col ref="hngnm"/>
- <col ref="edidrugqty" style="text-align:center; "/>
- <col ref="tims" style="text-align:center; "/>
- <col ref="edidayno" style="text-align:center; "/>
- <col ref="ediamt" format="#,###" style="text-align:right; "/>
- <col ref="edicd"/>
- <col ref="ordfromdd" style="text-align:center; "/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_clod.isCell(event.target) && grd_clod.mouseRow >= grd_clod.fixedrows) {
- setPopupMenu("grd_clod", false, "/root/hidden/popupmenu/gridclod/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect4" appearance="roundrect" style="left:975px; top:281px; width:108px; height:24px; "/>
- <select1 id="rdo_jobflag" ref="/root/send/item1/jobflag" appearance="full" cols="4" _auth="X" overflow="visible" style="left:985px; top:285px; width:90px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>이동</label>
- <value>M</value>
- </item>
- <item>
- <label>복사</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/send/item1/jobflag") == "M" ) {
- btn_copy.value = "이동";
- } else {
- btn_copy.value = "복사";
- }
- ]]>
- </script>
- </select1>
- <button id="btn_cldi_check" class="btn2_letter2" _auth="R" style="left:385px; top:311px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetGridCheckYN("CLDI","Y");
- ]]>
- </script>
- </button>
- <button id="btn_cldi_nocheck" class="btn2_letter2" _auth="R" style="left:429px; top:311px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetGridCheckYN("CLDI","N");
- ]]>
- </script>
- </button>
- <button id="btn_clop_check" class="btn2_letter2" _auth="R" style="left:385px; top:467px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetGridCheckYN("CLOP","Y");
- ]]>
- </script>
- </button>
- <button id="btn_clop_nocheck" class="btn2_letter2" _auth="R" style="left:429px; top:467px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetGridCheckYN("CLOP","N");
- ]]>
- </script>
- </button>
- <button id="btn_clod_check" class="btn2_letter2" _auth="R" style="left:1050px; top:311px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetGridCheckYN("CLOD","Y");
- ]]>
- </script>
- </button>
- <button id="btn_clod_nocheck" class="btn2_letter2" _auth="R" style="left:1094px; top:311px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetGridCheckYN("CLOD","N");
- ]]>
- </script>
- </button>
- <caption id="caption14" class="tit_2" style="left:245px; top:76px; width:440px; height:13px; color:#0000ff; ">기본정보가 틀린경우 진료과, 진료개시일의 정보는 변경될수 있습니다.</caption>
- <caption id="caption12" class="tit_2" style="left:65px; top:314px; width:315px; height:13px; color:#0000ff; ">상병은 이동시에도 원데이타가 삭제되지 않습니다.</caption>
- <select id="chk_mclsp" ref="/root/send/item1/mclspyn" overflow="visible" appearance="full" style="left:465px; top:288px; width:160px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>명세서단위 특정내역 포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_mx999" ref="/root/send/item1/mx999yn" overflow="visible" appearance="full" style="left:635px; top:288px; width:95px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>청구메모 포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption13" class="tit_2" style="left:540px; top:314px; width:315px; height:13px; color:#0000ff; ">처방작업후에는 명세서는 미심으로 변경됩니다.</caption>
- <caption id="caption15" class="tit_2" style="left:190px; top:290px; width:270px; height:13px; color:#0000ff; ">명세서단위 특정내역 중복 제외되지 않음</caption>
- <select1 id="cmb_adjtresncd" ref="/root/send/item1/adjtresncd" class="combo_default" appearance="minimal" showvalue="true" _auth="R" style="left:826px; top:285px; width:134px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0127list/P0127">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[심사조정사유]]>
- </hint>
- </select1>
- <caption id="caption16" class="search_name" style="left:745px; top:286px; width:78px; height:17px; ">조정사유</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|