123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMPMC00900_신체감정.xrw
- * 설 명 : 신체감정
- * 설 계 자 : 이형재
- * 작 성 자 : 이형재
- * 작 성 일 : 2007.12.20
- * 수정이력 :
- * 기 타 : 개발자 변경 김건기->이형재
- -->
- <?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">
- <script type="javascript">
- <![CDATA[
- function fOJBaseInfoRef()
- {
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- } else if ( model.getValue("/root/main/popupendflag") == "pass" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- } else {
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ojpm");
- model.refresh();
- return false;
- }
- /*
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- */
-
- if (submit("TRPMC00902")) {
-
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ojpm");
-
- model.removeNodeset("/root/main/ojodlist");
- model.makeNode("/root/main/ojodlist");
-
- var iptbscnt = getNodesetCount("/root/hidden/rcv/ptbs/ptbs_pid");
-
- if (iptbscnt > 0) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
-
- var capmcnt = getNodesetCount("/root/hidden/rcv/ojpm/ojpm_judgseqno");
-
- if (capmcnt == 1) {
-
- var rtn = messageBox("새로운 감정사항을 입력하실 경우 예(Y) 등록된 감정사항을 조회하실 경우 아니오(N)를 선택해 주십시요!", "Q999");
- if (rtn == 7 ) {
- fGetOJPatInfo("all");
- }
- } else if (capmcnt > 1) {
- fOJInfoRef();
- }
- }
- model.refresh();
- }
- function fOJInfoRef()
- {
- var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
- if (!ptbs_pid == null || !ptbs_pid ==" " || !ptbs_pid == "") {
- model.setValue("/root/send/data1/pid",ptbs_pid);
- modal("../../../pam/patinfomngtweb/xrw/SMPMC00910", "1","150", "150", "SPPMC02500", "/root/send/data1", "/root/send/data1");
- }
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- fGetOJPatInfo();
- } else {
- return false;
- }
- }
-
-
- function fInitialize(gubn)
- {
- submit("TRPMC00907");
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ojpm");
- model.resetInstanceNode("/root/main/ojodlist");
- model.resetInstanceNode("/root/main/list2");
- model.resetInstanceNode("/root/send/data3");
- model.resetInstanceNode("/root/send/data4");
- model.resetInstanceNode("/root/send/data5");
-
- model.removeNodeset("/root/main/ojodlist");
- model.makeNode("/root/main/ojodlist");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- if (gubn == "all") {
-
- model.resetInstanceNode("/root/send/data1");
- model.resetInstanceNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
- model.setValue("/root/send/data1/refcond","0");
- model.setValue("/root/send/data1/judgflag","0");
- model.setValue("/root/send/data1/rsltflag","0");
-
- fSrchCondChng("0");
- }
-
- model.refresh();
- }
- //자체기초코드 조회
- function fComCDRef()
- {
- zbcfGetCodeList(
- new Array("P0002","A0001"),
- new Array("/root/init/P0002list", // 진료구분코드
- "/root/init/A0001list") // 입원경로
- );
- submit("TRPMI00106");
- model.refresh();
- }
-
- function fGetOJPatInfo(gubun)
- {
- if (submit("TRPMC00903")) {
-
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ojpm");
-
- model.removeNodeset("/root/main/ojodlist");
- model.makeNode("/root/main/ojodlist");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- // 환자 인적 사항
- var iptbscnt = getNodesetCount("/root/hidden/rcv/ptbs");
-
- if (iptbscnt > 0) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
-
- // 감정 사항
- var capmcnt = getNodesetCount("/root/hidden/rcv/ojpm");
-
- if (capmcnt > 0) {
- copyNodeType("/root/main/ojpm","/root/hidden/rcv/ojpm","replace");
- }
-
- // 진료과
- var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ojodlist");
-
- if (ojodlistcnt > 0) {
- copyNodeType("/root/main/ojodlist","/root/hidden/rcv/ojodlist","replace");
- }
-
- // 진료 사항
- var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ordfactlist");
- if (ojodlistcnt > 0) {
- copyNodeType("/root/main/ordfactlist","/root/hidden/rcv/ordfactlist","replace");
- }
- if (gubun == "all") {
- var list2cnt = getNodesetCount("/root/hidden/rcv/list2");
-
- if (list2cnt > 0) {
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- }
- }
-
- model.refresh();
- }
-
- function fSrchCondChng(refcond)
- {
- if (refcond == '1' || refcond == '2' || refcond == '3' || refcond == '4' || refcond == '6' ) {
- ipt_refcondnm.attribute("top") = "8xp";
- ipt_refcondnm.attribute("left") = "223px";
- ipt_refcondnm.visible = true;
- ipt_refcondnm1.visible = false;
- ipt_refcondnm2.visible = false;
- caption20.visible = false;
- model.setFocus("ipt_refcondnm");
- } else if (refcond == '5') {
- ipt_refcondnm1.attribute("top") = "8xp";
- ipt_refcondnm1.attribute("left") = "223px";
- ipt_refcondnm.visible = false;
- ipt_refcondnm1.visible = true;
- ipt_refcondnm2.visible = true;
- caption20.visible = true;
- model.setFocus("ipt_refcondnm1");
- //날자 입력 항목에 오늘 날자 세팅
- model.setValue("/root/send/data1/refcondnm1",model.getValue("/root/hidden/currentDate"));
- model.setValue("/root/send/data1/refcondnm2",model.getValue("/root/hidden/currentDate"));
-
- } else if (refcond == '0') {
- ipt_refcondnm.attribute("top") = "8xp";
- ipt_refcondnm.attribute("left") = "223px";
- ipt_refcondnm.visible = false;
- ipt_refcondnm1.visible = false;
- ipt_refcondnm2.visible = false;
- caption20.visible = false;
- model.setFocus("ipt_refcondnm");
- }
-
- cmb_refcond.refresh();
- ipt_refcondnm.refresh();
- ipt_refcondnm1.refresh();
- ipt_refcondnm2.refresh();
- }
-
- ]]>
- </script>
- <xhtml:head>
- <xhtml:title>신체감정</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1>
- <refcond>0</refcond>
- <refcondnm1/>
- <refcondnm2/>
- <judgflag/>
- <rsltflag/>
- <pid/>
- </data1>
- <data2>
- <sess_posinstcd>012</sess_posinstcd>
- </data2>
- <data3>
- </data3>
- <data4>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <autoflag/>
- </data4>
- <data5>
- <pid/>
- <judgseqno/>
- </data5>
- <update>
- <datalist/>
- </update>
- <data6>
- <reffromdd/>
- <reftodd/>
- </data6>
- <data7>
- <refYY/>
- <refMM/>
- </data7>
- </send>
- <main>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_engnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_brthdd/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_forgeryn/>
- <ptbs_recmyn/>
- <ptbs_recmerid/>
- <ptbs_vipyn/>
- <ptbs_religncd/>
- <ptbs_remfact/>
- <ptbs_inhospyn/>
- </ptbs>
- <ojpm>
- <ojpm_status/>
- <ojpm_pid/>
- <ojpm_judgseqno/>
- <ojpm_instcd/>
- <ojpm_judgflag/>
- <ojpm_rsltflag/>
- <ojpm_rsltflag1/>
- <ojpm_rsltflag2/>
- <ojpm_attdataflag/>
- <ojpm_attdataflag1/>
- <ojpm_attdataflag2/>
- <ojpm_acptcmt/>
- <ojpm_delivedd/>
- <ojpm_delivecmt/>
- <ojpm_courtacptdd/>
- <ojpm_courtnmcd/>
- <ojpm_courttel/>
- <ojpm_acdno/>
- <ojpm_lawyernm/>
- <ojpm_platftel/>
- <ojpm_insucmpynmcd/>
- <ojpm_defedtel/>
- <ojpm_defedchrgrnm/>
- <ojpm_defedcnfmdd/>
- <ojpm_orddelivememo/>
- <ojpm_spcffact/>
- <ojpm_fstrgstrid/>
- <ojpm_fstrgstdt/>
- <ojpm_lastupdtrid/>
- <ojpm_lastupdtdt/>
- </ojpm>
- <ojodlist>
- <grdorgnjudglist/>
- </ojodlist>
- <list1>
- <grdpatreflist/>
- </list1>
- <list2>
- <grdordfactlist/>
- </list2>
- <popupendflag/>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <hidden>
- <rcv>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_engnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_brthdd/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_forgeryn/>
- <ptbs_recmyn/>
- <ptbs_recmerid/>
- <ptbs_vipyn/>
- <ptbs_religncd/>
- <ptbs_remfact/>
- <ptbs_inhospyn/>
- </ptbs>
- <ojpm>
- <ojpm_pid/>
- <ojpm_judgseqno/>
- <ojpm_instcd/>
- <ojpm_judgflag/>
- <ojpm_rsltflag/>
- <ojpm_attdataflag1/>
- <ojpm_attdataflag2/>
- <ojpm_acptcmt/>
- <ojpm_delivedd/>
- <ojpm_delivecmt/>
- <ojpm_courtacptdd/>
- <ojpm_courtnmcd/>
- <ojpm_courttel/>
- <ojpm_acdno/>
- <ojpm_lawyernm/>
- <ojpm_platftel/>
- <ojpm_insucmpynmcd/>
- <ojpm_defedtel/>
- <ojpm_defedchrgrnm/>
- <ojpm_defedcnfmdd/>
- <ojpm_orddelivememo/>
- <ojpm_spcffact/>
- <ojpm_fstrgstrid/>
- <ojpm_fstrgstdt/>
- <ojpm_lastupdtrid/>
- <ojpm_lastupdtdt/>
- </ojpm>
- </rcv>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- </roomcd>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- <currentDate/>
- <popup>
- <pid/>
- <srchcond/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </popup>
- </hidden>
- <init>
- <A0001list>
- <A0001>
- <cdid/>
- <cdnm/>
- </A0001>
- </A0001list>
- <P0002list>
- <P0002>
- <cdid/>
- <cdnm/>
- </P0002>
- </P0002list>
- <P0006list>
- <P0006>
- <cdnm/>
- <cdid/>
- </P0006>
- </P0006list>
- <P0015list>
- <P0015>
- <cdnm/>
- <cdid/>
- </P0015>
- </P0015list>
- <P0016list>
- <P0016>
- <cdnm/>
- <cdid/>
- </P0016>
- </P0016list>
- <P0019list>
- <P0019>
- <cdnm/>
- <cdid/>
- </P0019>
- </P0019list>
- <P0021list>
- <P0021>
- <cdnm/>
- <cdid/>
- </P0021>
- </P0021list>
- <P0023list>
- <P0023>
- <cdid/>
- <cdnm/>
- </P0023>
- </P0023list>
- <P0025list>
- <P0025>
- <cdid/>
- <cdnm/>
- </P0025>
- </P0025list>
- <P0026list>
- <P0026>
- <cdid/>
- <cdnm/>
- </P0026>
- </P0026list>
- <P0032list>
- <P0032>
- <cdnm/>
- <cdid/>
- </P0032>
- </P0032list>
- <P0051list>
- <P0051>
- <cdnm/>
- <cdid/>
- </P0051>
- </P0051list>
- <P0149list>
- <P0149>
- <cdid/>
- <cdnm/>
- </P0149>
- </P0149list>
- <P0158list>
- <P0158>
- <cdid/>
- <cdnm/>
- </P0158>
- </P0158list>
- <P0160list>
- <P0160>
- <cdnm/>
- <cdid/>
- </P0160>
- </P0160list>
- <P0297list>
- <P0297>
- <cdnm/>
- <cdid/>
- </P0297>
- </P0297list>
- <P0313list>
- <P0313>
- <cdnm/>
- <cdid/>
- </P0313>
- </P0313list>
- <P0327list>
- <P0327>
- <cdnm/>
- <cdid/>
- </P0327>
- </P0327list>
- <courtlist>
- <court>
- <nm/>
- <cd/>
- </court>
- </courtlist>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
- <submission id="TRPMC00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/update" replace="instance" resultref="/root/hidden/rcv"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 시스템 현재 일자
- model.setValue("/root/hidden/currentDate", getCurrentDate());
-
- fInitialize("all"); // 기본데이터 초기화
- fComCDRef(); // 코드 조회
-
- ]]>
- </script>
- <submission id="TRPMC00907" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/courtlist"/>
- </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/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMO001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:100px; height:14px; ">신체감정관리</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line7" class="line_2" style="x1:0px; y1:100px; x2:530px; y2:100px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:76px; x2:530px; y2:76px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:52px; x2:530px; y2:52px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:260px; x2:530px; y2:260px; "/>
- <line id="line22" class="line_2" style="x1:0px; y1:284px; x2:530px; y2:284px; "/>
- <line id="line21" class="line_2" style="x1:0px; y1:172px; x2:530px; y2:172px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:148px; x2:530px; y2:148px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:124px; x2:530px; y2:124px; "/>
- <line id="line18" class="line_2" style="x1:0px; y1:695px; x2:530px; y2:695px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:513px; x2:530px; y2:513px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:470px; x2:530px; y2:470px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:424px; x2:530px; y2:424px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:378px; x2:530px; y2:378px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:218px; width:195px; height:13px; font-family:돋움; vertical-align:middle; ">감정사항</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:233px; x2:530px; y2:233px; "/>
- <group id="group2" style="left:535px; top:10px; width:659px; height:59px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:659px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:88px; height:17px; ">조회조건 :</caption>
- <button id="btn_srch" class="btn1_letter2" navindex="30" style="left:588px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 환자 조회
- if(submit("TRPMC00901")) {
- var patrefcnt = getNodesetCount("/root/hidden/rcv/list1/grdpatreflist");
- if (patrefcnt > 0) {
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- } else {
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:573px; y1:8px; x2:573px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption32" class="search_name" style="left:15px; top:33px; width:88px; height:17px; ">감정구분 :</caption>
- <select1 id="cmb_refcond" ref="/root/send/data1/refcond" class="combo_search" navindex="26" appearance="minimal" style="left:106px; top:8px; width:114px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>환자번호</label>
- <value>6</value>
- </item>
- <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>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var refcond = model.getValue("/root/send/data1/refcond");
- model.resetInstanceNode("/root/send/data1/refcondnm1");
- model.resetInstanceNode("/root/send/data1/refcondnm2");
- fSrchCondChng(refcond);
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="search_name" style="left:316px; top:33px; width:89px; height:17px; ">결과구분 :</caption>
- <select1 id="cmb_rsltflag" ref="/root/send/data1/rsltflag" class="combo_search" navindex="29" appearance="minimal" style="left:408px; top:32px; width:114px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>사실조회</label>
- <value>1</value>
- </item>
- <item>
- <label>문서송부</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_judgflag" ref="/root/send/data1/judgflag" class="combo_search" navindex="28" appearance="minimal" style="left:106px; top:32px; width:114px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>신체감정</label>
- <value>1</value>
- </item>
- <item>
- <label>필름감정</label>
- <value>2</value>
- </item>
- <item>
- <label>진료기록감정</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_refcondnm" ref="/root/send/data1/refcondnm1" class="input_search" navindex="27" style="left:223px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- inputEnterKey("btn_srch", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_refcondnm1" ref="/root/send/data1/refcondnm1" class="input_search" navindex="27" visibility="hidden" inputtype="date" style="left:225px; top:30px; width:90px; height:19px; "/>
- <input id="ipt_refcondnm2" ref="/root/send/data1/refcondnm2" class="input_search" navindex="27" visibility="hidden" inputtype="date" style="left:331px; top:8px; width:90px; height:19px; "/>
- <caption id="caption20" visibility="hidden" style="left:316px; top:11px; width:12px; height:16px; vertical-align:middle; ">~</caption>
- </group>
- <caption id="caption5" class="cell_1" style="left:0px; top:238px; width:100px; height:23px; vertical-align:middle; ">일련번호</caption>
- <select1 id="rdo_judgflag" ref="/root/main/ojpm/ojpm_judgflag" navindex="4" appearance="full" cols="3" overflow="visible" style="left:103px; top:267px; width:242px; height:16px; 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>
- </choices>
- </select1>
- <caption id="caption28" class="cell_1" style="left:0px; top:472px; width:100px; height:40px; vertical-align:middle; ">메모전달</caption>
- <caption id="caption29" class="cell_1" style="left:0px; top:698px; width:100px; height:40px; vertical-align:middle; ">특이사항</caption>
- <caption id="caption30" class="tit_2" style="left:540px; top:521px; width:88px; height:13px; font-family:돋움; vertical-align:middle; ">진료사항</caption>
- <output id="opt_judgseqno" ref="/root/main/ojpm/ojpm_judgseqno" class="output_fix" style="left:103px; top:239px; width:136px; height:19px; "/>
- <input id="ipt_acptcmt" ref="/root/main/ojpm/ojpm_acptcmt" class="input_default" navindex="7" maxlength="100" style="left:151px; top:311px; width:117px; height:19px; "/>
- <output id="opt_ptbs_zipcd1" ref="/root/main/ptbs/ptbs_zipcd1" class="output_fix" appearance="output" style="left:128px; top:127px; width:42px; height:19px; "/>
- <output id="opt_ptbs_zipcd2" ref="/root/main/ptbs/ptbs_zipcd2" class="output_fix" appearance="output" style="left:173px; top:127px; width:42px; height:19px; "/>
- <output id="opt_ptbs_zipnm" ref="/root/main/ptbs/ptbs_zipnm" class="output_fix" appearance="output" style="left:241px; top:127px; width:288px; height:19px; "/>
- <output id="opt_ptbs_age" ref="/root/main/ptbs/ptbs_age" class="output_fix" appearance="output" style="left:476px; top:31px; width:54px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:126px; width:125px; height:23px; vertical-align:middle; ">우편번호</caption>
- <output id="opt_ptbs_mpphontel" ref="/root/main/ptbs/ptbs_mpphontel" class="output_fix" appearance="output" style="left:331px; top:103px; width:199px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:54px; width:125px; height:23px; vertical-align:middle; ">성명[한/영]</caption>
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">인적사항</caption>
- <output id="opt_ptbs_detladdr" ref="/root/main/ptbs/ptbs_detladdr" class="output_fix" appearance="output" style="left:128px; top:151px; width:402px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:150px; width:125px; height:23px; vertical-align:middle; ">하위주소</caption>
- <input id="ipt_ptbs_rrgstno1" ref="/root/main/ptbs/ptbs_rrgstno1" class="input_s_essential" navindex="3" style="left:128px; top:79px; width:77px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- model.setValue("/root/send/data4/autoflag","Y");
- inputEnterKey("btn_ptbsrrgstno", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption14" class="cell_1" style="left:0px; top:78px; width:125px; height:23px; vertical-align:middle; ">주민번호</caption>
- <output id="opt_ptbs_brthdd" ref="/root/main/ptbs/ptbs_brthdd" class="output_fix" appearance="output" style="left:419px; top:79px; width:111px; height:19px; "/>
- <output id="opt_ptbs_hometel" ref="/root/main/ptbs/ptbs_hometel" class="output_fix" appearance="output" style="left:128px; top:103px; width:200px; height:19px; "/>
- <input id="ipt_ptbs_pid" ref="/root/main/ptbs/ptbs_pid" class="input_s_essential" navindex="1" maxlength="10" appearance="input" style="left:128px; top:31px; width:161px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
-
- // popup open 없이 조회로 변경
- model.setFocus("btn_ojpid");
-
- model.makeNode("/root/main/popupendflag");
- model.setValue("/root/main/popupendflag","pass");
-
- fOJBaseInfoRef();
-
- /*
- model.setValue("/root/send/data4/autoflag","Y");
- inputEnterKey("btn_ojpid", "DOMActivate");
- */
- }
- ]]>
- </script>
- </input>
- <input id="ipt_ptbs_hngnm" ref="/root/main/ptbs/ptbs_hngnm" class="input_s_essential" navindex="2" style="left:128px; top:55px; width:161px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- model.setValue("/root/send/data4/autoflag","Y");
- inputEnterKey("btn_ptbshngnm", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption7" class="cell_1" style="left:0px; top:30px; width:125px; height:23px; vertical-align:middle; ">환자번호</caption>
- <output id="opt_ptbs_sex" ref="/root/main/ptbs/ptbs_sex" class="output_fix" appearance="output" style="left:419px; top:31px; width:54px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:311px; top:30px; width:105px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <caption id="caption26" class="cell_1" style="left:311px; top:78px; width:105px; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption34" class="cell_1" style="left:0px; top:102px; width:125px; height:23px; vertical-align:middle; ">연락처/휴대폰</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:530px; y2:25px; "/>
- <output id="opt_ptbs_engnm" ref="/root/main/ptbs/ptbs_engnm" class="output_fix" appearance="output" style="left:311px; top:55px; width:219px; height:19px; "/>
- <textarea id="tar_spcffact" ref="/root/main/ojpm/ojpm_spcffact" navindex="22" maxlength="250" style="left:103px; top:700px; width:427px; height:37px; "/>
- <textarea id="tar_orddelivememo" ref="/root/main/ojpm/ojpm_orddelivememo" navindex="21" maxlength="250" style="left:103px; top:473px; width:427px; height:37px; "/>
- <line id="line5" class="line_1" style="x1:535px; y1:536px; x2:1194px; y2:536px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:334px; width:100px; height:45px; vertical-align:middle; ">법원관련</caption>
- <caption id="caption27" class="cell_2" style="left:103px; top:334px; width:92px; height:23px; vertical-align:middle; ">접수일자</caption>
- <caption id="caption35" class="cell_2" style="left:198px; top:334px; width:142px; height:23px; vertical-align:middle; ">법원명</caption>
- <caption id="caption36" class="cell_2" style="left:343px; top:334px; width:92px; height:23px; vertical-align:middle; ">사건번호</caption>
- <caption id="caption37" class="cell_2" style="left:438px; top:334px; width:92px; height:23px; vertical-align:middle; ">전화번호</caption>
- <input id="ipt_courtacptdd" ref="/root/main/ojpm/ojpm_courtacptdd" class="input_default" navindex="11" inputtype="date" style="left:103px; top:358px; width:92px; height:19px; "/>
- <input id="ipt_acdno" ref="/root/main/ojpm/ojpm_acdno" class="input_default" navindex="13" maxlength="20" style="left:343px; top:358px; width:92px; height:19px; "/>
- <caption id="caption38" class="cell_2" style="left:198px; top:380px; width:142px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption39" class="cell_1" style="left:0px; top:380px; width:100px; height:45px; vertical-align:middle; ">원고측</caption>
- <caption id="caption40" class="cell_2" style="left:103px; top:380px; width:92px; height:23px; vertical-align:middle; ">변호사</caption>
- <caption id="caption41" class="cell_2" style="left:198px; top:426px; width:142px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption42" class="cell_1" style="left:0px; top:426px; width:100px; height:45px; vertical-align:middle; ">피고측</caption>
- <caption id="caption43" class="cell_2" style="left:343px; top:426px; width:92px; height:23px; vertical-align:middle; ">담당자</caption>
- <caption id="caption44" class="cell_2" style="left:438px; top:426px; width:92px; height:23px; vertical-align:middle; ">확인일자</caption>
- <caption id="caption45" class="cell_2" style="left:103px; top:426px; width:92px; height:23px; vertical-align:middle; ">피고인</caption>
- <input id="ipt_lawyernm" ref="/root/main/ojpm/ojpm_lawyernm" class="input_default" navindex="15" maxlength="20" style="left:103px; top:404px; width:92px; height:19px; "/>
- <input id="ipt_platftelt" ref="/root/main/ojpm/ojpm_platftel" class="input_default" navindex="16" maxlength="20" style="left:198px; top:404px; width:142px; height:19px; "/>
- <input id="ipt_defedchrgrnm" ref="/root/main/ojpm/ojpm_defedchrgrnm" class="input_default" navindex="19" maxlength="20" style="left:343px; top:450px; width:92px; height:19px; "/>
- <input id="ipt_defedcnfmdd" ref="/root/main/ojpm/ojpm_defedcnfmdd" class="input_default" navindex="20" inputtype="date" style="left:438px; top:450px; width:92px; height:19px; "/>
- <input id="ipt_defedte" ref="/root/main/ojpm/ojpm_defedtel" class="input_default" navindex="18" maxlength="20" style="left:198px; top:450px; width:142px; height:19px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:308px; x2:530px; y2:308px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:262px; width:100px; height:23px; vertical-align:middle; ">감정구분</caption>
- <line id="line11" class="line_2" style="x1:0px; y1:332px; x2:530px; y2:332px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:310px; width:100px; height:23px; vertical-align:middle; ">첨부자료구분</caption>
- <line id="line19" class="line_3" style="x1:0px; y1:740px; x2:530px; y2:740px; "/>
- <caption id="caption16" class="tit_2" style="left:540px; top:79px; width:105px; height:13px; font-family:돋움; vertical-align:middle; ">감정내역조회</caption>
- <line id="line20" class="line_1" style="x1:535px; y1:94px; x2:1194px; y2:94px; "/>
- <textarea id="textarea3" ref="/root/main/ptbs/ptbs_remfact" scroll="vertical" maxlength="150" style="left:128px; top:175px; width:402px; height:30px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:174px; width:125px; height:34px; vertical-align:middle; ">참고사항</caption>
- <line id="line13" class="line_3" style="x1:0px; y1:208px; x2:530px; y2:208px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:286px; width:100px; height:23px; vertical-align:middle; ">결과구분</caption>
- <select id="chk_rsltflag1" ref="/root/main/ojpm/ojpm_rsltflag1" navindex="5" overflow="visible" appearance="full" style="left:103px; top:289px; width:67px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>사실조회</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="chk_rsltflag2" ref="/root/main/ojpm/ojpm_rsltflag2" navindex="5" overflow="visible" appearance="full" style="left:173px; top:289px; width:67px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>문서송부</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <select id="chk_attdataflag1" ref="/root/main/ojpm/ojpm_attdataflag1" navindex="6" overflow="visible" appearance="full" style="left:103px; top:313px; width:45px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>접수</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="chk_attdataflag2" ref="/root/main/ojpm/ojpm_attdataflag2" navindex="8" overflow="visible" appearance="full" style="left:271px; top:313px; width:45px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>발송</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <input id="ipt_delivecmt" ref="/root/main/ojpm/ojpm_delivecmt" class="input_default" navindex="9" maxlength="100" style="left:319px; top:311px; width:117px; height:19px; "/>
- <input id="ipt_delivedd" ref="/root/main/ojpm/ojpm_delivedd" class="input_default" navindex="10" inputtype="date" style="left:439px; top:311px; width:91px; height:19px; "/>
- <output id="opt_ptbs_zipcdseq" ref="/root/main/ptbs/ptbs_zipcdseq" class="output_fix" appearance="output" style="left:218px; top:127px; width:20px; height:19px; "/>
- <output id="opt_ptbs_rrgstno2" ref="/root/main/ptbs/ptbs_rrgstno2" class="output_fix" appearance="output" style="left:208px; top:79px; width:81px; height:19px; "/>
- <button id="btn_ojpid" class="icon_search" style="left:292px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* */
- var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
-
- if (ptbs_pid == null || ptbs_pid ==" " || ptbs_pid == "") {
- model.resetInstanceNode("/root/send/data4");
- } else {
- model.setValue("/root/send/data4/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data4/srchcond","1");
- }
-
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
-
- fOJBaseInfoRef();
- ]]>
- </script>
- </button>
- <button id="btn_ptbshngnm" class="icon_search" style="left:292px; top:56px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_hngnm = model.getValue("/root/main/ptbs/ptbs_hngnm");
-
- if (ptbs_hngnm == null || ptbs_hngnm ==" " || ptbs_hngnm == "") {
- model.resetInstanceNode("/root/send/data4");
- } else {
- model.setValue("/root/send/data4/hngnm",model.getValue("/root/main/ptbs/ptbs_hngnm"));
- model.setValue("/root/send/data4/srchcond","2");
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
- fOJBaseInfoRef();
- ]]>
- </script>
- </button>
- <button id="btn_ptbsrrgstno" class="icon_search" style="left:292px; top:80px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var ptbs_rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
-
- if ((ptbs_rrgstno1 == null || ptbs_rrgstno1 ==" " || ptbs_rrgstno1 == "") && (ptbs_rrgstno2 == null || ptbs_rrgstno2 ==" " || ptbs_rrgstno2 == "")) {
- model.resetInstanceNode("/root/send/data4");
- } else {
- model.setValue("/root/send/data4/rrgstno1",model.getValue("/root/main/ptbs/ptbs_rrgstno1"));
- model.setValue("/root/send/data4/rrgstno2",model.getValue("/root/main/ptbs/ptbs_rrgstno2"));
- model.setValue("/root/send/data4/srchcond","3")
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
- fOJBaseInfoRef();
- ]]>
- </script>
- </button>
- <button id="btn_delrow" class="btn2_letter3" navindex="24" style="left:477px; top:516px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currow = grd_orgnjudg.row;
- if (currow < 1)
- {
- messageBox("먼저 삭제할 내역을 선택하십시요!","E999","");
- return;
- }
-
- grd_orgnjudg.deleteitem(currow);
-
- //fReduamtCalc();
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" navindex="23" style="left:421px; top:516px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var pid =model.getValue("/root/main/ptbs/ptbs_pid");
-
- if (pid == null || pid == "" )
- {
- messageBox("감정 사항을 등록할 환자를 조회 후 추가해 주십시요!","E999","");
- return;
- }
-
- grd_orgnjudg.addRow();
-
- var row = grd_orgnjudg.rows -1;
-
- grd_orgnjudg.isReadOnly(row,4) = true;
-
- ]]>
- </script>
- </button>
- <caption id="caption19" class="tit_2" style="left:5px; top:521px; width:195px; height:13px; font-family:돋움; vertical-align:middle; ">진료과</caption>
- <line id="line23" class="line_1" style="x1:0px; y1:536px; x2:530px; y2:536px; "/>
- <datagrid id="grd_patrefl" nodeset="/root/main/list1/grdpatreflist" caption="일련번호^접수일자^발송일자^환자번호^환자성명^감정구분^첨부자료구분" colsep="^" colwidth="80, 87, 87, 87, 87, 104, 104" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:534px; top:99px; width:659px; height:412px; ">
- <col ref="judgseqno" style="text-align:center; "/>
- <col ref="courtacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col disabled="true" ref="judgflag" type="combo">
- <choices>
- <item>
- <label>신체감정</label>
- <value>1</value>
- </item>
- <item>
- <label>필름감정</label>
- <value>2</value>
- </item>
- <item>
- <label>진료기록감정</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="attdataflag" type="combo">
- <choices>
- <item>
- <label>접수/발송</label>
- <value>3</value>
- </item>
- <item>
- <label>접수</label>
- <value>1</value>
- </item>
- <item>
- <label>발송</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_patrefl.isCell(event.target) && grd_patrefl.row >= grd_patrefl.fixedRows) {
-
- fInitialize(""); // 환자 인적 사항, 감정사항 / 진료과, 진료사항 초기화
- var row = grd_patrefl.row ;
- model.setValue("/root/send/data5/pid",grd_patrefl.valueMatrix(row,4));
- model.setValue("/root/send/data5/judgseqno",grd_patrefl.valueMatrix(row,1));
- fGetOJPatInfo("all"); // 환자 인적 사항, 감정사항 / 진료과, 진료사항 조회
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_ordfact" nodeset="/root/main/list2/grdordfactlist" caption="구분^진료/입원일자^퇴원일자^보험유형^진료과^총진료비" colsep="^" colwidth="40, 100, 100, 100, 207, 90" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:535px; top:541px; width:659px; height:203px; ">
- <col ref="ioflag"/>
- <col ref="inoutdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd"/>
- <col ref="totordamt" format="#,###" style="text-align:right; "/>
- </datagrid>
- <datagrid id="grd_orgnjudg" nodeset="/root/main/ojodlist/grdorgnjudglist" caption="환자번호^일련번호^진료과Key^진료과^전문의^법원보관금^결과작성일^예약일시" colsep="^" colwidth="0, 0, 0, 152, 75, 85, 90, 125" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="25" style="left:0px; top:541px; width:530px; height:149px; ">
- <col ref="pid"/>
- <col ref="judgseqno"/>
- <col ref="orddeptcdkey"/>
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="atdoctid" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamamt" type="input" format="#,###" maxlength="10" style="text-align:right; "/>
- <col ref="rsltworkdd" type="inputdate"/>
- <col ref="rsrvdd" type="input" format="yyyy-mm-dd hh:nn:ss" maxlength="14"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_orgnjudg.row;
- var col = grd_orgnjudg.col;
- if (col == 3) {
-
- var orddeptcd = grd_orgnjudg.valueMatrix(row,col);
-
- grd_orgnjudg.cellComboNodeset(row,4) = "/root/hidden/init/orddrid[dp = '"+orddeptcd+"']";
- grd_orgnjudg.isReadOnly(row,4) = false;
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter4" style="left:466px; top:5px; width:64px; height:19px; ">
- <caption>환자인적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
-
- if (ptbs_pid == null || ptbs_pid == " " || ptbs_pid == "" ) {
- } else {
- model.setValue("/root/hidden/popup/pid",ptbs_pid);
- model.setValue("/root/hidden/popup/srchcond","1");
- }
- modal("../../../pam/patinfomngtweb/xrw/SMPMC01400", "1","100", "100", "SMPMC01400", "/root/hidden/popup", "/root/hidden/source");
- ]]>
- </script>
- </button>
- <input id="cmb_insucmpynmcd" ref="/root/main/ojpm/ojpm_insucmpynmcd" class="input_default" navindex="13" maxlength="20" style="left:103px; top:450px; width:92px; height:19px; "/>
- <select1 id="combo1" ref="/root/main/ojpm/ojpm_courtnmcd" class="combo_default" navindex="12" appearance="minimal" style="left:198px; top:358px; width:142px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/courtlist/court">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 20100114 수정추가 법원관리에 등록된 전화번호만 가져오기..
- var cmb1value = combo1.value;
-
- combo2.choices.itemset.attribute("nodeset") = "/root/init/courtlist/court[cd = '"+ cmb1value +"']";
-
- combo2.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="combo2" ref="/root/main/ojpm/ojpm_courttel" class="combo_default" navindex="12" appearance="minimal" style="left:438px; top:358px; width:92px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/courtlist/court">
- <label ref="tel"/>
- <value ref="tel"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button2" class="btn4_letter3" navindex="32" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize("all"); // 기본데이터 초기화
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="31" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var rsltflag1 = model.getValue("/root/main/ojpm/ojpm_rsltflag1");
- var rsltflag2 = model.getValue("/root/main/ojpm/ojpm_rsltflag2");
- var attdataflag1 = model.getValue("/root/main/ojpm/ojpm_attdataflag1");
- var attdataflag2 = model.getValue("/root/main/ojpm/ojpm_attdataflag2");
-
- if (rsltflag1 == "1" && rsltflag2 == "2") {
- model.setValue("/root/main/ojpm/ojpm_rsltflag","3");
- } else if (rsltflag1 == "1" ) {
- model.setValue("/root/main/ojpm/ojpm_rsltflag",model.getValue("/root/main/ojpm/ojpm_rsltflag1"));
- } else if (rsltflag2 == "2" ) {
- model.setValue("/root/main/ojpm/ojpm_rsltflag",rsltflag2);
- } else {
- model.setValue("/root/main/ojpm/ojpm_rsltflag","");
- }
-
- if (attdataflag1 == "1" && attdataflag2 == "2") {
- model.setValue("/root/main/ojpm/ojpm_attdataflag","3");
- } else if (attdataflag1 == "1" ) {
- model.setValue("/root/main/ojpm/ojpm_attdataflag",attdataflag1);
- } else if (attdataflag2 == "2" ) {
- model.setValue("/root/main/ojpm/ojpm_attdataflag",attdataflag2);
- } else {
- model.setValue("/root/main/ojpm/ojpm_attdataflag","");
- }
-
- model.setValue("/root/main/ojpm/ojpm_pid",model.getValue("/root/main/ptbs/ptbs_pid"));
-
- model.copyNode("/root/send/data3","/root/main/ojpm");
- if(submit("TXPMC00901")){
-
- // 감정 내용 저장 후 조회
- var ojpmcnt = getNodesetCount("/root/hidden/rcv/ojpm");
- if (ojpmcnt > 0) {
- copyNodeType("/root/main/ojpm","/root/hidden/rcv/ojpm","replace");
- } else {
- model.resetInstanceNode("/root/main/ojpm");
- }
- model.refresh();
-
- // 감정 내용 일련번호
- var judgseqno = model.getValue("/root/main/ojpm/ojpm_judgseqno");
- var row = grd_orgnjudg.rows;
- var status = "";
-
- for (i=1; i<row; i++) {
- status = grd_orgnjudg.rowStatus(i);
- if (status == "3") {
- grd_orgnjudg.valueMatrix(i,0) = model.getValue("/root/main/ptbs/ptbs_pid");
- grd_orgnjudg.valueMatrix(i,1) = judgseqno;
- }
- }
-
- model.setValue("/root/send/update/datalist",grd_orgnjudg.getUpdateData());
-
-
- for(var i=grd_orgnjudg.rows-1 ; i>=1 ; i--){
- if ( grd_orgnjudg.valueMatrix((grd_orgnjudg.rows-1),1) == "" ){
- //messageBox("자료를 " , "C001" );
- grd_orgnjudg.deleteRow(i);
-
- }
- }
- if(submit("TXPMC00902")){
- // 진료과 저장 후 조회
- var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ojodlist");
- if (ojodlistcnt > 0) {
- copyNodeType("/root/main/ojodlist","/root/hidden/rcv/ojodlist","replace");
- } else {
- model.resetInstanceNode("/root/main/ojodlist");
- }
-
-
- }
-
- /* if(submit("TXPMC00902")){
- // 진료과 저장 후 조회
- var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ojodlist");
-
- if (ojodlistcnt > 0) {
- copyNodeType("/root/main/ojodlist","/root/hidden/rcv/ojodlist","replace");
- } else {
- model.resetInstanceNode("/root/main/ojodlist");
- }
- }*/
-
- grd_orgnjudg.rebuild();
- grd_orgnjudg.clearStatus();
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter8" style="left:83px; top:5px; width:128px; height:22px; ">
- <caption>신체감정일정관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../pam/patinfomngtweb/xrw/SPPMC03000", "1","","", "SPPMC03000", "", "");
-
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter6" style="left:214px; top:5px; width:104px; height:22px; ">
- <caption>신체감정현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("SPPMC03100", "1","150","150", "SPPMC03100", "", "");
- modal("../../../pam/patinfomngtweb/xrw/SPPMC03100", "1","","", "SPPMC03100", "", "");
-
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter6" style="left:321px; top:5px; width:104px; height:22px; ">
- <caption>회신기간통계</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/data6/reffromdd",model.getValue("/root/hidden/currentDate"));
- model.setValue("/root/send/data6/reftodd",model.getValue("/root/hidden/currentDate"));
-
- modal("../../../pam/patinfomngtweb/xrw/SPPMC03200", "1","150","150", "SPPMC03200", "/root/send/data6", "/root/send/data1");
-
- ]]>
- </script>
- </button>
- <button id="button10" class="btn3_letter8" style="left:428px; top:5px; width:128px; height:22px; ">
- <caption>신체감정의사관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../pam/patinfomngtweb/xrw/SMPMC03300", "1","","", "SMPMC03300", "", "");
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter4" style="left:0px; top:5px; width:128px; height:22px; ">
- <caption>법원관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //modal("../../../pam/opatmngtweb/xrw/SPPMC04900", "1","","", "SPPMC04900", "", "");
- //modal("SPPMC04900", "1","150","150", "SPPMC04900", "", "");
- modal("../../../pam/patinfomngtweb/xrw/SPPMC04900", "1","","", "SPPMC04900", "", "");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button12" class="btn3_letter4" style="left:559px; top:5px; width:80px; height:22px; ">
- <caption>전화예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../pam/patinfomngtweb/xrw/SMPMO00200", "1","","", "SMPMO00200", "", "");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter9" style="left:642px; top:5px; width:80px; height:22px; ">
- <caption>법원보관금청구현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currentDate = model.getValue("/root/hidden/currentDate");
- // model.setValue("/root/send/data7/refYY",currentDate.substring(0,4));
- // model.setValue("/root/send/data7/refMM",currentDate.substring(4,6));
-
- //modal("SPPMC04300", "1","150","150", "SPPMC04300", "", "");
- modal("../../../pam/patinfomngtweb/xrw/SPPMC04300", "1","","", "SPPMC04300", "", "");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|