12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <info>
- <brokerip/>
- <brokerport/>
- <durdbverno/>
- <dmd_sw_entp_cd/>
- <servicemodecd/>
- <timeout/>
- <selfchecktime/>
- <prsc_adm_sym/>
- <prsc_adm_nm/>
- <prsc_adm_telno/>
- <prsc_adm_fax_no/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </info>
- <recv>
- <state>
- <ret_cd/>
- <ret_msg/>
- <err_cd/>
- <err_msg/>
- </state>
- <result/>
- </recv>
- <prsc>
- <prsclist>
- <mds_sno>1</mds_sno>
- <cmpt_cd>180001ATB</cmpt_cd>
- <mds_cd>665504280</mds_cd>
- <mds_nm>타가신정(케토롤락트로메타민)</mds_nm>
- <insu_dmd_cd>A</insu_dmd_cd>
- <div_ty_cd>03</div_ty_cd>
- <ihsp_ohsp_cd>1</ihsp_ohsp_cd>
- <prsc_usg/>
- <fq1_mdqty>1.25</fq1_mdqty>
- <dd1_mdc_fq>3.455</dd1_mdc_fq>
- <tot_mdc_dd>30</tot_mdc_dd>
- </prsclist>
- <prsclist>
- <mds_sno>2</mds_sno>
- <cmpt_cd>100901ATB</cmpt_cd>
- <mds_cd>689100940</mds_cd>
- <mds_nm>케페낙정(아세클로페낙)</mds_nm>
- <insu_dmd_cd>A</insu_dmd_cd>
- <div_ty_cd>03</div_ty_cd>
- <ihsp_ohsp_cd>1</ihsp_ohsp_cd>
- <prsc_usg/>
- <fq1_mdqty>1.25</fq1_mdqty>
- <dd1_mdc_fq>3.455</dd1_mdc_fq>
- <tot_mdc_dd>30</tot_mdc_dd>
- </prsclist>
- <prsclist>
- <mds_sno>3</mds_sno>
- <cmpt_cd>222803ATB</cmpt_cd>
- <mds_cd>642902210</mds_cd>
- <mds_nm>큐란정300밀리그람(염산라니티딘)</mds_nm>
- <insu_dmd_cd>A</insu_dmd_cd>
- <div_ty_cd>03</div_ty_cd>
- <ihsp_ohsp_cd>1</ihsp_ohsp_cd>
- <prsc_usg/>
- <fq1_mdqty>1.25</fq1_mdqty>
- <dd1_mdc_fq>3.455</dd1_mdc_fq>
- <tot_mdc_dd>30</tot_mdc_dd>
- </prsclist>
- <prsclist>
- <mds_sno>4</mds_sno>
- <cmpt_cd>176001BIJ</cmpt_cd>
- <mds_cd>654900080</mds_cd>
- <mds_nm>제네틱스300주사(이오비트리돌)</mds_nm>
- <insu_dmd_cd>A</insu_dmd_cd>
- <div_ty_cd>03</div_ty_cd>
- <ihsp_ohsp_cd>1</ihsp_ohsp_cd>
- <prsc_usg/>
- <fq1_mdqty>1.25</fq1_mdqty>
- <dd1_mdc_fq>3.455</dd1_mdc_fq>
- <tot_mdc_dd>30</tot_mdc_dd>
- </prsclist>
- <prsclist>
- <mds_sno>5</mds_sno>
- <cmpt_cd>191502ATB</cmpt_cd>
- <mds_cd>653800580</mds_cd>
- <mds_nm>메토르민정(메트포르민염산염)</mds_nm>
- <insu_dmd_cd>A</insu_dmd_cd>
- <div_ty_cd>03</div_ty_cd>
- <ihsp_ohsp_cd>1</ihsp_ohsp_cd>
- <prsc_usg/>
- <fq1_mdqty>1.25</fq1_mdqty>
- <dd1_mdc_fq>3.455</dd1_mdc_fq>
- <tot_mdc_dd>30</tot_mdc_dd>
- </prsclist>
- </prsc>
- <item>
- <mds_sno/>
- <mds_cd/>
- <mds_nm/>
- <cmpt_cd/>
- <cmpt_nm/>
- <fq1_mdqty/>
- <dd1_mdc_fq/>
- <tot_mdc_dd/>
- <exm_knd_cd/>
- <exm_ty/>
- <exm_rst_grd/>
- <exm_rst_txt/>
- <seft_infm/>
- <rs_cd/>
- <rs_txt/>
- <dp_pcpmd_tp/>
- <dp_prsc_dd/>
- <dp_prsc_hms/>
- <dp_prsc_adm_sym/>
- <dp_prsc_grant_no/>
- <dp_prsc_adm_nm/>
- <dp_prsc_adm_telno/>
- <dp_prsc_adm_fax_no/>
- <dp_prsc_dr_nm/>
- <dp_prsc_dr_lcs_no/>
- <dp_cpmd_dd/>
- <dp_cpmd_hms/>
- <dp_cpmd_adm_sym/>
- <dp_cpmd_adm_nm/>
- <dp_cpmd_adm_telno/>
- <dp_cpmd_phmc_nm/>
- <dp_cpmd_phmc_lcs_no/>
- <dp_mds_sno/>
- <dp_mds_cd/>
- <dp_mds_nm/>
- <dp_cmpt_cd/>
- <dp_cmpt_nm/>
- <dp_fq1_mdqty/>
- <dp_dd1_mdc_fq/>
- <dp_tot_mdc_dd/>
- <prsc_mgmt_no/>
- </item>
- </main>
- <send>
- <pcpmd_tp>M</pcpmd_tp>
- <pat_jumin_no>8505012355556</pat_jumin_no>
- <pat_nm>김수정</pat_nm>
- <pat_telno>02-333-5555</pat_telno>
- <pat_insup_tp>04</pat_insup_tp>
- <pat_prnt_wmn_yn>Y</pat_prnt_wmn_yn>
- <MprscIssueAdmin/>
- <prsc_grant_no/>
- <PrscAdminName/>
- <PrscTel/>
- <PrscFax/>
- <prsc_dd/>
- <prsc_hms/>
- <prsc_lcs_cl_tp>AA</prsc_lcs_cl_tp>
- <prsc_dr_lcs_no>9999</prsc_dr_lcs_no>
- <prsc_medp_nm>홍길동</prsc_medp_nm>
- <prsc_spc_sym>1234</prsc_spc_sym>
- <prsc_dgsbjt_cd>00</prsc_dgsbjt_cd>
- <prsc_msick_cd>00000</prsc_msick_cd>
- <prsc_cpmd_cl_tp>02</prsc_cpmd_cl_tp>
- <prsc_cpmd_ref_itm>외래원외처방</prsc_cpmd_ref_itm>
- <prsc_ijctm_prsc_desc/>
- <prsc_use_ddcnt>7</prsc_use_ddcnt>
- <prsc_usg>식후30분후</prsc_usg>
- <cpmd_adm_sym>22222223</cpmd_adm_sym>
- <MakerAdminName>을지약국</MakerAdminName>
- <cpmd_adm_telno>02-3489-9999</cpmd_adm_telno>
- <cpmd_dd/>
- <cpmd_hms/>
- <cpmd_phmc_lcs_no>CD5559</cpmd_phmc_lcs_no>
- <cpmd_phmc_nm>대장금</cpmd_phmc_nm>
- <cpmd_etc_txt/>
- <AppIssueAdmin/>
- <AppIssueCode/>
- <req_exm_tp>N</req_exm_tp>
- <med/>
- <is_test/>
- <prsc_cncl_rs_cd>M1</prsc_cncl_rs_cd>
- <prsc_cncl_rs/>
- <result/>
- </send>
- <init>
- <comcd>
- <MprscType>
- <cdid>M</cdid>
- <cdnm>처방</cdnm>
- <cdid>P</cdid>
- <cdnm>조제</cdnm>
- </MprscType>
- <InsurerType>
- <cdid>04</cdid>
- <cdnm>건강보험</cdnm>
- <cdid>05</cdid>
- <cdnm>의료급여</cdnm>
- <cdid>07</cdid>
- <cdnm>보훈</cdnm>
- <cdid>04</cdid>
- <cdnm>일반</cdnm>
- <cdid>10</cdid>
- <cdnm>산재보험</cdnm>
- <cdid>11</cdid>
- <cdnm>자동차보험</cdnm>
- <cdid>12</cdid>
- <cdnm>기타</cdnm>
- </InsurerType>
- <YN>
- <cdid>Y</cdid>
- <cdnm>예</cdnm>
- <cdid>N</cdid>
- <cdnm>아니요</cdnm>
- </YN>
- <PrscClCode>
- <cdid>02</cdid>
- <cdnm>외래원외처방</cdnm>
- <cdid>03</cdid>
- <cdnm>약국직접조제</cdnm>
- <cdid>04</cdid>
- <cdnm>약국판매약</cdnm>
- <cdid>05</cdid>
- <cdnm>외래윈내조제</cdnm>
- <cdid>06</cdid>
- <cdnm>퇴원약</cdnm>
- <cdid>07</cdid>
- <cdnm>성분명처방약</cdnm>
- <cdid>08</cdid>
- <cdnm>외래원내조제및원외처방</cdnm>
- </PrscClCode>
- <insudmdtype>
- <cdid>A</cdid>
- <cdnm>보험</cdnm>
- <cdid>B</cdid>
- <cdnm>비보험</cdnm>
- <cdid>C</cdid>
- <cdnm>100/100</cdnm>
- <cdid>D</cdid>
- <cdnm>일반판매약</cdnm>
- </insudmdtype>
- <prscType>
- <cdid>01</cdid>
- <cdnm>수가</cdnm>
- <cdid>03</cdid>
- <cdnm>약가</cdnm>
- <cdid>05</cdid>
- <cdnm>원료</cdnm>
- <cdid>08</cdid>
- <cdnm>재료</cdnm>
- </prscType>
- <ioHsp>
- <cdid>1</cdid>
- <cdnm>원외</cdnm>
- <cdid>2</cdid>
- <cdnm>원내</cdnm>
- </ioHsp>
- <examTypeCD>
- <cdid>M</cdid>
- <cdnm>처방비교</cdnm>
- <cdid>P</cdid>
- <cdnm>조제비교</cdnm>
- <cdid>L</cdid>
- <cdnm>처방전내</cdnm>
- </examTypeCD>
- <reasonCD/>
- <reasonCD_L>
- <cdid>T</cdid>
- <cdnm>Text입력</cdnm>
- </reasonCD_L>
- <reasonCD_8>
- <cdid>A</cdid>
- <cdnm>A</cdnm>
- <cdid>B</cdid>
- <cdnm>B</cdnm>
- <cdid>C</cdid>
- <cdnm>C</cdnm>
- <cdid>F</cdid>
- <cdnm>F</cdnm>
- <cdid>G</cdid>
- <cdnm>G</cdnm>
- <cdid>H</cdid>
- <cdnm>H</cdnm>
- <cdid>I</cdid>
- <cdnm>I</cdnm>
- <cdid>J</cdid>
- <cdnm>J</cdnm>
- <cdid>L</cdid>
- <cdnm>L</cdnm>
- <cdid>K</cdid>
- <cdnm>K</cdnm>
- <cdid>P</cdid>
- <cdnm>P</cdnm>
- <cdid>T</cdid>
- <cdnm>Text 입력</cdnm>
- </reasonCD_8>
- <reasonCD_other>
- <cdid>F</cdid>
- <cdnm>F</cdnm>
- <cdid>G</cdid>
- <cdnm>G</cdnm>
- <cdid>H</cdid>
- <cdnm>H</cdnm>
- <cdid>I</cdid>
- <cdnm>I</cdnm>
- <cdid>J</cdid>
- <cdnm>J</cdnm>
- <cdid>L</cdid>
- <cdnm>L</cdnm>
- <cdid>K</cdid>
- <cdnm>K</cdnm>
- <cdid>P</cdid>
- <cdnm>P</cdnm>
- <cdid>T</cdid>
- <cdnm>Text 입력</cdnm>
- </reasonCD_other>
- <reasonText>
- <cdid>A</cdid>
- <cdnm>
- <![CDATA[환자가 장기 출장이나 여행 등으로 기존 의약품이 소진되기 전 처방을 받아야 하는 경우 ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>B</cdid>
- <cdnm>
- <![CDATA[powder 형태의 조제 등으로 기존 처방의약품 중 특정 성분만을 구분하여 별도 처방할 수 없는 경우]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>C</cdid>
- <cdnm>
- <![CDATA[환자의 귀책 사유 없이 약 복용 중 구토 등으로 인하여 소실,변질 된 경우 ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>F</cdid>
- <cdnm>
- <![CDATA[처방일과 투약일이 다른 경우 ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>G</cdid>
- <cdnm>
- <![CDATA[주 단위 또는 월 단위로 투약하는 약제 ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>H</cdid>
- <cdnm>
- <![CDATA[용법,용량만 변경하여 중복 또는 병용이 발생하는 경우 ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>I</cdid>
- <cdnm>
- <![CDATA[투여일수를 변경하여 중복 또는 병용이 발생하는 경우 ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>J</cdid>
- <cdnm>
- <![CDATA[기존 처방]]>․<![CDATA[조제약을 먹지 않고 있는 경우 (환자 임의) ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>L</cdid>
- <cdnm>
- <![CDATA[기존 처방약을 먹지 않게 한 경우 (의사) ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>K</cdid>
- <cdnm>
- <![CDATA[처방의사 또는 조제약사와 전화통화 안 되는 경우 ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>P</cdid>
- <cdnm>
- <![CDATA[필요시 투약하는 약제 (PRN) ]]>
- </cdnm>
- </reasonText>
- <reasonText>
- <cdid>T</cdid>
- <cdnm>
- <![CDATA[]]>
- </cdnm>
- </reasonText>
- <resultTypeCD>
- <cdid>00</cdid>
- <cdnm>
- <![CDATA[처방전내병용금기 ]]>
- </cdnm>
- <cdid>01</cdid>
- <cdnm>
- <![CDATA[처방전내연령금기 ]]>
- </cdnm>
- <cdid>02</cdid>
- <cdnm>
- <![CDATA[처방전내안전성 ]]>
- </cdnm>
- <cdid>03</cdid>
- <cdnm>
- <![CDATA[처방전내최대용량 ]]>
- </cdnm>
- <cdid>04</cdid>
- <cdnm>
- <![CDATA[처방전내최대기간 ]]>
- </cdnm>
- <cdid>05</cdid>
- <cdnm>
- <![CDATA[처방전내저함량 ]]>
- </cdnm>
- <cdid>06</cdid>
- <cdnm>
- <![CDATA[처방전내임부금기 ]]>
- </cdnm>
- <cdid>07</cdid>
- <cdnm>
- <![CDATA[처방전간 병용금기 ]]>
- </cdnm>
- <cdid>08</cdid>
- <cdnm>
- <![CDATA[처방전간 성분별 중복처방 ]]>
- </cdnm>
- <cdid>20</cdid>
- <cdnm>
- <![CDATA[처방전내 치료중복 ]]>
- </cdnm>
- <cdid>40</cdid>
- <cdnm>
- <![CDATA[처방전간 치료중복 ]]>
- </cdnm>
- <cdid>21</cdid>
- <cdnm>
- <![CDATA[처방전내 2주 병용금기 ]]>
- </cdnm>
- <cdid>41</cdid>
- <cdnm>
- <![CDATA[처방전간 2주 병용금기 ]]>
- </cdnm>
- <cdid>22</cdid>
- <cdnm>
- <![CDATA[처방전내 1성분병용기간금기]]>
- </cdnm>
- <cdid>42</cdid>
- <cdnm>
- <![CDATA[처방전간 1성분병용기간금기]]>
- </cdnm>
- <cdid>23</cdid>
- <cdnm>
- <![CDATA[처방전내 병용연령성별제한 ]]>
- </cdnm>
- <cdid>43</cdid>
- <cdnm>
- <![CDATA[처방전간 병용연령성별제한 ]]>
- </cdnm>
- </resultTypeCD>
- <levelCD>
- <cdid>A</cdid>
- <cdnm>
- <![CDATA[A(정보제공)]]>
- </cdnm>
- <cdid>B</cdid>
- <cdnm>
- <![CDATA[B(사유전송)]]>
- </cdnm>
- <cdid>C</cdid>
- <cdnm>
- <![CDATA[C(절대금기)]]>
- </cdnm>
- <cdid>D</cdid>
- <cdnm>
- <![CDATA[D(정보제공 또는 사유입력 선택)]]>
- </cdnm>
- </levelCD>
- <dpPrscMake>
- <cdid>M</cdid>
- <cdnm>처방</cdnm>
- <cdid>P</cdid>
- <cdnm>조제</cdnm>
- </dpPrscMake>
- <cancelReason>
- <cdid>M1</cdid>
- <cdnm>주민등록번호 착오입력</cdnm>
- <cdid>M2</cdid>
- <cdnm>처방전 발행기관 기호 착오입력</cdnm>
- <cdid>M3</cdid>
- <cdnm>처방전 교부번호 착오입력</cdnm>
- <cdid>M4</cdid>
- <cdnm>의사면허번호 착오입력</cdnm>
- <cdid>M5</cdid>
- <cdnm>처방 또는 조제일자 착오입력</cdnm>
- <cdid>M8</cdid>
- <cdnm>약품 착오입력</cdnm>
- <cdid>MT</cdid>
- <cdnm>기타 착오입력 또는 사유가 2가지 이상인 경우 Text로 입력</cdnm>
- <cdid>V</cdid>
- <cdnm>DUR 팝업 내용 참고 처방전을 취소한 경우</cdnm>
- </cancelReason>
- </comcd>
- <systemlist>
- <system>
- <cdid>his</cdid>
- <cdnm>
- <![CDATA[HIS]]>
- </cdnm>
- </system>
- <system>
- <cdid>crm</cdid>
- <cdnm>
- <![CDATA[CRM]]>
- </cdnm>
- </system>
- <system>
- <cdid>mis</cdid>
- <cdnm>MIS</cdnm>
- </system>
- </systemlist>
- </init>
- <hidden>
- <comcd/>
- <msg/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRZED00101");
-
- // 기본정보 세팅
- var to_day = new Date();
- model.setValue("/root/send/prsc_dd", to_day.getDateFormat("YYYYMMDD"));
- model.setValue("/root/send/prsc_hms", to_day.getDateFormat("hhmmss"));
- model.setValue("/root/send/cpmd_dd", to_day.getDateFormat("YYYYMMDD"));
- model.setValue("/root/send/cpmd_hms", to_day.getDateFormat("hhmmss"));
-
- model.setValue("/root/send/prsc_grant_no", to_day.getDateFormat("YYYYMMDD")+"00001");
- model.removeNodeset("/root/main/recv/result");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-submit-error">
- <![CDATA[
-
- ]]>
- </script>
- <bind id="bind1" ref="/root/main/list/msglist/isselected" readonly="../rsrvyn = '0' or (../rsrvyn = '1' and ../msgstate != 'ZM00')"/>
- <submission id="TRZED00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/send" resultref="/root/main/info"/>
- <submission id="TRTSS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/recv"/>
- <submission id="TRTSS00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/recv"/>
- <submission id="TRTSS00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/recv"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <!-- <script type="javascript" src="../../../tmp/sampleweb/js/DURSample.js"/> -->
- <script type="javascript">
- <![CDATA[
- var _isCheckMode = false; // 점검실시: true, 테스트:false
-
- function sendReason()
- {
- var total_result_cnt = grd_result.rows - 2;
-
- if (!_isCheckMode)
- {
- messageBox("테스트점검은 사유전송할 수 없습니다.", "I000");
- return;
- }
-
- if (total_result_cnt == 0)
- {
- messageBox("전송할 점검 결과가 없습니다", "I000");
- return;
- }
-
- for (var i=1; i<=total_result_cnt; i++)
- {
- var exm_rst_grd = model.getValue("/root/main/recv/result["+ i +"]/exm_rst_grd"); // 점검결과 등급
- var rs_cd = model.getValue("/root/main/recv/result["+ i +"]/rs_cd"); // 사유코드
- var rs_txt = model.getValue("/root/main/recv/result["+ i +"]/rs_txt"); // 사유내용
-
- if (exm_rst_grd == "B" &&
- rs_cd == "" &&
- rs_txt == "")
- {
- messageBox("점검등급이 B(사유전송)이고 사유코드가 입력되지 않은 점검결과가 있습니다. 사유를 입력하시기 바랍니다", "I000");
- return;
- }
-
- if (exm_rst_grd == "C")
- {
- messageBox("처방/조제 금지 약품이 있습니다. 약품을 삭제하거나 수정하여 재 점검해 주십시오.", "I000");
- return;
- }
- }
-
- // 전송데이터 만들기
- var result_node = instance1.selectNodes("/root/main/recv/result");
- var resultdata = getNodeListCSV(result_node);
-
- model.setValue("/root/send/result", resultdata);
- submit("TRTSS00802");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1131;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1132px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">DUR 연계샘플</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:299px; width:1131px; height:656px; ">
- <caption id="caption26" class="tit_2" style="left:11px; top:12px; width:174px; height:13px; ">처방,조제 약품</caption>
- <line id="line9" class="line_1" style="x1:5px; y1:28px; x2:1105px; y2:28px; "/>
- <datagrid id="grd_prsclist" nodeset="/root/main/prsc/prsclist" caption="번호^성분코드^약품코드^약품명^보험청구^분류유형^원내원외^처방용법^1회투약량^1일투여횟수^총투여일수" colwidth="40, 88, 88, 292, 58, 62, 60, 133, 75, 75, 73" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" style="left:5px; top:31px; width:1100px; height:174px; text-align:center; border-color:#808080; ">
- <col ref="mds_sno" type="output" style="text-align:center; "/>
- <col ref="cmpt_cd" type="input" style="text-align:center; "/>
- <col ref="mds_cd" type="input" style="text-align:center; "/>
- <col ref="mds_nm" type="input" style="text-align:center; "/>
- <col ref="insu_dmd_cd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/comcd/insudmdtype">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="div_ty_cd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/comcd/prscType">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ihsp_ohsp_cd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/comcd/ioHsp">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prsc_usg" type="input" style="text-align:center; "/>
- <col ref="fq1_mdqty" type="input" style="text-align:center; "/>
- <col ref="dd1_mdc_fq" type="input" style="text-align:center; "/>
- <col ref="tot_mdc_dd" type="input" style="text-align:center; "/>
- </datagrid>
- <select1 id="radio1" ref="/root/send/req_exm_tp" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:465px; top:8px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>점검</label>
- <value>N</value>
- </item>
- <item>
- <label>수정</label>
- <value>M</value>
- </item>
- </choices>
- </select1>
- <button id="btn_rcptreprint" class="btn4_letter4" visibility="visible" style="left:565px; top:5px; width:80px; height:22px; ">
- <caption>점검실시</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 약품정보
- var med_info_node = instance1.selectNodes("/root/main/prsc/prsclist");
- var med_info = getNodeListCSV(med_info_node);
-
- model.setValue("/root/send/med",med_info);
-
- model.setValue("/root/main/recv/state/ret_cd","");
- model.setValue("/root/main/recv/state/ret_msg","");
- model.setValue("/root/main/recv/state/err_cd","");
- model.setValue("/root/main/recv/state/err_msg","");
-
- model.setValue("/root/send/is_test","N"); // 점검실시
-
- model.refresh();
-
- if(submit("TRTSS00801"))
- {
- _isCheckMode = true;
- btn_modify_row.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter5" visibility="visible" style="left:665px; top:5px; width:92px; height:22px; ">
- <caption>점검테스트</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 약품정보
- var med_info_node = instance1.selectNodes("/root/main/prsc/prsclist");
- var med_info = getNodeListCSV(med_info_node);
-
- model.setValue("/root/send/med",med_info);
-
- model.setValue("/root/main/recv/state/ret_cd","");
- model.setValue("/root/main/recv/state/ret_msg","");
- model.setValue("/root/main/recv/state/err_cd","");
- model.setValue("/root/main/recv/state/err_msg","");
-
- model.setValue("/root/send/is_test","Y"); // 점검테스트
-
- model.refresh();
-
- if(submit("TRTSS00801"))
- {
- _isCheckMode = false;
- btn_modify_row.visible = false;
- }
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter4" visibility="visible" style="left:937px; top:4px; width:80px; height:22px; ">
- <caption>점검취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/prsc_cncl_rs", cmb_cancel_reason.label);
- submit("TRTSS00803");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter4" visibility="visible" style="left:1025px; top:4px; width:80px; height:22px; ">
- <caption>사유전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- sendReason();
- ]]>
- </script>
- </button>
- <line id="line6" class="line_2" style="x1:825px; y1:3px; x2:825px; y2:25px; "/>
- <line id="line3" class="line_1" style="x1:5px; y1:232px; x2:1105px; y2:232px; "/>
- <datagrid id="grd_result" nodeset="/root/main/recv/result" caption="처방관리번호^점검유형^입력약품명^중복약품명^내용^중복처방기관^중복처방일자^중복조제기관^중복조제일자^중복1회투약량^중복1일투여횟수^중복총투여일수^사유코드^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22^caption23^caption24^caption25^caption26^caption27^caption28|처방관리번호^점검유형^입력약품명^중복약품명^내용^중복처방기관^중복처방일자^중복조제기관^중복조제일자^중복1회투약량^중복1일투여횟수^중복총투여일수^사유코드^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22^caption23^caption24^caption25^caption26^caption27^caption28" colwidth="82, 65, 170, 170, 90, 79, 60, 60, 60, 48, 53, 55, 63, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" style="left:5px; top:235px; width:1100px; height:174px; text-align:center; border-color:#808080; ">
- <col ref="prsc_mgmt_no" style="text-align:center; "/>
- <col disabled="true" ref="exm_ty" type="combo">
- <choices>
- <itemset nodeset="/root/init/comcd/examTypeCD">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="mds_nm" style="text-align:center; "/>
- <col ref="dp_mds_nm" style="text-align:center; "/>
- <col ref="exm_rst_txt" style="text-align:left; "/>
- <col ref="dp_prsc_adm_nm"/>
- <col ref="dp_prsc_dd" style="text-align:center; "/>
- <col ref="dp_cpmd_adm_nm" style="text-align:center; "/>
- <col ref="dp_cpmd_dd" style="text-align:center; "/>
- <col ref="dp_fq1_mdqty" style="text-align:center; "/>
- <col ref="dp_dd1_mdc_fq" style="text-align:center; "/>
- <col ref="dp_tot_mdc_dd"/>
- <col ref="rs_cd"/>
- <col ref="mds_sno" visibility="hidden"/>
- <col ref="mds_cd" visibility="hidden"/>
- <col ref="cmpt_cd" visibility="hidden"/>
- <col ref="cmpt_nm" visibility="hidden"/>
- <col ref="fq1_mdqty" visibility="hidden"/>
- <col ref="dd1_mdc_fq" visibility="hidden"/>
- <col ref="tot_mdc_dd" visibility="hidden"/>
- <col ref="exm_knd_cd" visibility="hidden"/>
- <col ref="exm_rst_grd" visibility="hidden"/>
- <col ref="exm_rst_txt" visibility="hidden"/>
- <col ref="seft_infm" visibility="hidden"/>
- <col ref="dp_pcpmd_tp" visibility="hidden"/>
- <col ref="dp_prsc_hms" visibility="hidden"/>
- <col ref="dp_prsc_adm_sym" visibility="hidden"/>
- <col ref="dp_prsc_grant_no" visibility="hidden"/>
- <col ref="dp_prsc_adm_telno" visibility="hidden"/>
- <col ref="dp_prsc_adm_fax_no" visibility="hidden"/>
- <col ref="dp_prsc_dr_nm" visibility="hidden"/>
- <col ref="dp_prsc_dr_lcs_no" visibility="hidden"/>
- <col ref="dp_cpmd_hms" visibility="hidden"/>
- <col ref="dp_cpmd_adm_sym" visibility="hidden"/>
- <col ref="dp_cpmd_adm_telno" visibility="hidden"/>
- <col ref="dp_cpmd_phmc_nm" visibility="hidden"/>
- <col ref="dp_cpmd_phmc_lcs_no" visibility="hidden"/>
- <col ref="dp_mds_sno" visibility="hidden"/>
- <col ref="dp_mds_cd" visibility="hidden"/>
- <col ref="dp_cmpt_cd" visibility="hidden"/>
- <col ref="dp_cmpt_nm" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var cur_row = grd_result.row - 1;
- var temp;
- var formatID;
-
- // 현재 선택된 행의 내용을 폼에 뿌려줌
- if ( cur_row > -1 ) {
- model.copyNode("/root/main/item","/root/main/recv/result["+cur_row+"]");
- }
-
- // 다음 로직에 따라 폼컨트롤 속성 변경
- if (model.getValue("/root/main/item/exm_ty") == "L") // 처방전내 점검일 경우 사유코드에 Text 처방만 세팅한다.
- {
- model.copyNode("/root/init/comcd/reasonCD","/root/init/comcd/reasonCD_L");
- }
- else if (model.getValue("/root/main/item/exm_knd_cd") == "08") // 처방전간 병용금기일 경우 A-P 까지 모두세팅한다.
- {
- model.copyNode("/root/init/comcd/reasonCD","/root/init/comcd/reasonCD_8");
- }
- else // 아닌경우 F-P 까지 세팅
- {
- model.copyNode("/root/init/comcd/reasonCD","/root/init/comcd/reasonCD_other");
- }
-
- // 점검모드에 따라 폼아이템을 다르게 갱신, 점검등급이 B(사유전송) 또는 D(정보제공 또는 사유입력 선택) 일경우에만 사유입력을 활성화
- if(_isCheckMode &&
- (model.getValue("/root/main/item/exm_rst_grd") == "B" ||
- model.getValue("/root/main/item/exm_rst_grd") == "D")
- )
- {
- btn_modify_row.visible = true; // 수정
- }
- else
- {
- btn_modify_row.visible = false; // 체크모드일경우 읽기 전용
- }
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption19" class="tit_2" style="left:10px; top:215px; width:174px; height:13px; ">점검결과</caption>
- <input id="ipt_output21" ref="/root/main/item/exm_rst_txt" style="left:94px; top:509px; width:345px; height:19px; text-align:left; "/>
- <input id="ipt_output25" ref="/root/main/item/dp_mds_nm" style="left:280px; top:483px; width:160px; height:19px; text-align:right; "/>
- <input id="ipt_output35" ref="/root/main/item/mds_nm" style="left:280px; top:459px; width:160px; height:19px; text-align:left; "/>
- <caption id="caption30" class="cell_1" style="left:200px; top:435px; width:75px; height:23px; vertical-align:middle; ">점검종류</caption>
- <caption id="caption31" class="cell_1" style="left:5px; top:435px; width:85px; height:23px; vertical-align:middle; ">점검구분</caption>
- <caption id="caption32" class="tit_2" style="left:10px; top:415px; width:121px; height:14px; ">점검결과상세</caption>
- <caption id="caption33" class="cell_1" style="left:5px; top:555px; width:85px; height:23px; vertical-align:middle; ">사유코드</caption>
- <select1 id="combo2" ref="/root/main/item/exm_rst_grd" appearance="minimal" style="left:555px; top:506px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/levelCD">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:200px; top:459px; width:75px; height:23px; vertical-align:middle; ">입력약품명</caption>
- <caption id="caption35" class="cell_1" style="left:200px; top:483px; width:75px; height:23px; vertical-align:middle; ">중복약품명</caption>
- <caption id="caption36" class="cell_1" style="left:5px; top:459px; width:85px; height:23px; vertical-align:middle; ">입력약품코드</caption>
- <caption id="caption38" class="cell_1" style="left:445px; top:529px; width:105px; height:23px; vertical-align:middle; ">중복처방조제구분</caption>
- <caption id="caption40" class="cell_1" style="left:5px; top:483px; width:85px; height:23px; vertical-align:middle; ">중복약품코드</caption>
- <select1 id="cmb_reason_cd" ref="/root/main/item/rs_cd" appearance="minimal" style="left:94px; top:557px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/reasonCD">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // /root/init/comcd/reasonText
- model.setValue("/root/main/item/rs_txt", model.getValue("/root/init/comcd/reasonText[cdid='"+ cmb_reason_cd.value +"']/cdnm"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption45" class="cell_1" style="left:200px; top:555px; width:75px; height:23px; vertical-align:middle; ">사유내용</caption>
- <caption id="caption46" class="cell_1" style="left:445px; top:457px; width:105px; height:23px; vertical-align:middle; ">입력성분코드</caption>
- <caption id="caption48" class="cell_1" style="left:445px; top:481px; width:105px; height:23px; vertical-align:middle; ">중복성분코드</caption>
- <line id="line5" class="line_3" style="x1:4px; y1:580px; x2:658px; y2:580px; "/>
- <caption id="caption49" class="cell_1" style="left:445px; top:505px; width:105px; height:23px; vertical-align:middle; ">점검등급</caption>
- <caption id="caption50" class="cell_1" style="left:5px; top:507px; width:85px; height:23px; vertical-align:middle; ">점검내용</caption>
- <caption id="caption52" class="cell_1" style="left:5px; top:531px; width:85px; height:23px; vertical-align:middle; ">부작용정보</caption>
- <input id="ipt_output50" ref="/root/main/item/dp_mds_cd" style="left:94px; top:484px; width:101px; height:19px; text-align:left; "/>
- <line id="line8" class="line_1" style="x1:5px; y1:430px; x2:1120px; y2:430px; "/>
- <input id="ipt_output48" ref="/root/main/item/mds_cd" style="left:95px; top:460px; width:101px; height:19px; text-align:left; "/>
- <input id="ipt_output23" ref="/root/main/item/cmpt_cd" style="left:555px; top:459px; width:101px; height:19px; text-align:left; "/>
- <input id="ipt_output26" ref="/root/main/item/dp_cmpt_cd" style="left:555px; top:483px; width:101px; height:19px; text-align:left; "/>
- <caption id="caption23" class="cell_1" style="left:671px; top:532px; width:108px; height:23px; vertical-align:middle; ">중복처방기관팩스</caption>
- <input id="ipt_output24" ref="/root/main/item/dp_prsc_adm_fax_no" style="left:785px; top:534px; width:101px; height:19px; text-align:left; "/>
- <caption id="caption25" class="cell_1" style="left:671px; top:508px; width:108px; height:23px; vertical-align:middle; ">중복처방기관전화</caption>
- <caption id="caption39" class="cell_1" style="left:671px; top:460px; width:109px; height:23px; vertical-align:middle; ">중복처방기관명</caption>
- <caption id="caption42" class="cell_1" style="left:671px; top:484px; width:108px; height:23px; vertical-align:middle; ">중복처방일자</caption>
- <input id="ipt_output27" ref="/root/main/item/dp_prsc_adm_telno" style="left:785px; top:509px; width:101px; height:19px; text-align:left; "/>
- <input id="ipt_output28" ref="/root/main/item/dp_prsc_dd" style="left:785px; top:485px; width:101px; height:19px; text-align:left; "/>
- <caption id="caption47" class="cell_1" style="left:891px; top:484px; width:126px; height:23px; vertical-align:middle; ">중복처방시간</caption>
- <input id="ipt_output31" ref="/root/main/item/dp_prsc_grant_no" style="left:1022px; top:438px; width:83px; height:19px; text-align:left; "/>
- <input id="ipt_output34" ref="/root/main/item/dp_prsc_dr_lcs_no" style="left:1023px; top:509px; width:83px; height:19px; text-align:left; "/>
- <caption id="caption51" class="cell_1" style="left:890px; top:436px; width:126px; height:23px; vertical-align:middle; ">중복처방전교부번호</caption>
- <input id="ipt_output36" ref="/root/main/item/dp_prsc_hms" style="left:1023px; top:485px; width:83px; height:19px; text-align:left; "/>
- <caption id="caption53" class="cell_1" style="left:891px; top:508px; width:127px; height:23px; vertical-align:middle; ">중복처방의사면허번호</caption>
- <caption id="caption55" class="cell_1" style="left:890px; top:460px; width:127px; height:23px; vertical-align:middle; ">중복처방의사명</caption>
- <input id="ipt_output37" ref="/root/main/item/dp_prsc_dr_nm" style="left:1022px; top:462px; width:83px; height:19px; text-align:left; "/>
- <input id="ipt_output38" ref="/root/main/item/dp_cpmd_phmc_lcs_no" style="left:1022px; top:561px; width:83px; height:19px; text-align:left; "/>
- <caption id="caption37" class="cell_1" style="left:890px; top:560px; width:127px; height:23px; vertical-align:middle; ">중복조제약사면허번호</caption>
- <caption id="caption41" class="cell_1" style="left:671px; top:606px; width:108px; height:23px; vertical-align:middle; ">중복조제일자</caption>
- <input id="ipt_output41" ref="/root/main/item/dp_cpmd_hms" style="left:1023px; top:609px; width:83px; height:19px; text-align:left; "/>
- <input id="ipt_output49" ref="/root/main/item/dp_cpmd_phmc_nm" style="left:1023px; top:586px; width:83px; height:19px; text-align:left; "/>
- <caption id="caption43" class="cell_1" style="left:891px; top:584px; width:127px; height:23px; vertical-align:middle; ">중복조제약사명</caption>
- <input id="ipt_output51" ref="/root/main/item/dp_cpmd_adm_telno" style="left:785px; top:631px; width:101px; height:19px; text-align:left; "/>
- <input id="ipt_output52" ref="/root/main/item/dp_cpmd_dd" style="left:785px; top:606px; width:101px; height:19px; text-align:left; "/>
- <caption id="caption54" class="cell_1" style="left:891px; top:608px; width:126px; height:23px; vertical-align:middle; ">중복조제시간</caption>
- <caption id="caption56" class="cell_1" style="left:671px; top:630px; width:108px; height:23px; vertical-align:middle; ">중복조제기관전화</caption>
- <caption id="caption60" class="cell_1" style="left:671px; top:582px; width:109px; height:23px; vertical-align:middle; ">중복조제기관명</caption>
- <input id="ipt_output53" ref="/root/main/item/tot_mdc_dd" style="left:536px; top:592px; width:50px; height:19px; text-align:left; "/>
- <caption id="caption62" class="cell_1" style="left:410px; top:590px; width:119px; height:23px; vertical-align:middle; ">입력약품 총투여일수</caption>
- <input id="ipt_output54" ref="/root/main/item/dd1_mdc_fq" style="left:345px; top:592px; width:50px; height:19px; text-align:left; "/>
- <caption id="caption63" class="cell_1" style="left:245px; top:590px; width:97px; height:23px; vertical-align:middle; ">입력1일투여회수</caption>
- <input id="ipt_output55" ref="/root/main/item/fq1_mdqty" style="left:185px; top:592px; width:50px; height:19px; text-align:left; "/>
- <caption id="caption64" class="cell_1" style="left:75px; top:590px; width:105px; height:23px; vertical-align:middle; ">입력1회투여량</caption>
- <input id="ipt_output56" ref="/root/main/item/dp_tot_mdc_dd" style="left:536px; top:620px; width:50px; height:19px; text-align:left; "/>
- <input id="ipt_output57" ref="/root/main/item/dp_dd1_mdc_fq" style="left:345px; top:620px; width:50px; height:19px; text-align:left; "/>
- <input id="ipt_output58" ref="/root/main/item/dp_fq1_mdqty" style="left:185px; top:620px; width:50px; height:19px; text-align:left; "/>
- <caption id="caption66" class="cell_1" style="left:410px; top:618px; width:120px; height:23px; vertical-align:middle; ">중복약품 총투여일수</caption>
- <caption id="caption67" class="cell_1" style="left:245px; top:618px; width:97px; height:23px; vertical-align:middle; ">중복1일투여회수</caption>
- <caption id="caption72" class="cell_1" style="left:75px; top:618px; width:105px; height:23px; vertical-align:middle; ">중복1회투여량</caption>
- <line id="line10" class="line_3" style="x1:5px; y1:653px; x2:1120px; y2:653px; "/>
- <line id="line11" class="line_3" style="x1:665px; y1:440px; x2:665px; y2:635px; "/>
- <select1 id="combo10" ref="/root/main/item/exm_knd_cd" appearance="minimal" style="left:280px; top:436px; width:375px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/resultTypeCD">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo11" ref="/root/main/item/dp_pcpmd_tp" appearance="minimal" style="left:555px; top:530px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/dpPrscMake">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_output30" ref="/root/main/item/seft_infm" style="left:94px; top:533px; width:345px; height:19px; text-align:left; "/>
- <input id="ipt_output33" ref="/root/main/item/dp_prsc_adm_nm" style="left:785px; top:461px; width:101px; height:19px; text-align:left; "/>
- <input id="ipt_output47" ref="/root/main/item/dp_cpmd_adm_nm" style="left:785px; top:583px; width:101px; height:19px; text-align:left; "/>
- <select1 id="combo3" ref="/root/main/item/exm_ty" disabled="false" appearance="minimal" style="left:95px; top:437px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/examTypeCD">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_input3" ref="/root/main/item/dp_prsc_adm_sym" style="left:785px; top:437px; width:101px; height:19px; text-align:left; "/>
- <caption id="caption73" class="cell_1" style="left:671px; top:436px; width:109px; height:23px; vertical-align:middle; ">중복처방기관기호</caption>
- <input id="input3" ref="/root/main/item/dp_prsc_adm_sym" style="left:785px; top:560px; width:101px; height:19px; text-align:left; "/>
- <caption id="caption74" class="cell_1" style="left:671px; top:558px; width:108px; height:23px; vertical-align:middle; ">중복조제기관기호</caption>
- <button id="button8" class="btn2_letter3" style="left:341px; top:8px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prsclist.addRow(); // 입력할 행 추가.
- var cur_row = grd_prsclist.row; // 추가된 행 번호 가져오기
- var sq_no = grd_prsclist.rows-1;
-
- model.setValue("/root/main/list/prsclist["+cur_row+"]/mds_sno",sq_no);
- model.refresh();
- grd_prsclist.row = cur_row;
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter3" style="left:397px; top:8px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row = grd_prsclist.row; // 행 번호 가져오기
- var iStatus = grd_prsclist.rowstatus(cur_row);
- if(cur_row<0) {
- alert("삭제할 행을 선택해주세요.");
- return;
- }
-
- grd_prsclist.deleteitem(cur_row);
- ]]>
- </script>
- </button>
- <caption id="caption77" class="search_name" style="left:715px; top:210px; width:95px; height:17px; ">오류메시지</caption>
- <input id="input6" ref="/root/main/recv/state/err_msg" disabled="false" editable="false" appearance="input" style="left:815px; top:209px; width:291px; height:19px; text-align:center; "/>
- <caption id="caption78" class="search_name" style="left:580px; top:210px; width:80px; height:17px; ">오류코드</caption>
- <input id="input7" ref="/root/main/recv/state/err_cd" disabled="false" editable="false" appearance="input" style="left:665px; top:210px; width:42px; height:19px; text-align:center; "/>
- <input id="input8" ref="/root/main/recv/state/ret_cd" disabled="false" editable="false" appearance="input" style="left:235px; top:210px; width:40px; height:19px; text-align:center; "/>
- <caption id="caption79" class="search_name" style="left:150px; top:210px; width:80px; height:17px; ">리턴코드</caption>
- <caption id="caption80" class="search_name" style="left:280px; top:210px; width:95px; height:17px; ">리턴메시지</caption>
- <input id="input9" ref="/root/main/recv/state/ret_msg" disabled="false" editable="false" appearance="input" style="left:375px; top:210px; width:180px; height:19px; text-align:center; "/>
- <select1 id="cmb_cancel_reason" ref="/root/send/prsc_cncl_rs_cd" appearance="minimal" style="left:775px; top:5px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/cancelReason">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line12" class="line_3" style="x1:670px; y1:556px; x2:1115px; y2:556px; "/>
- <input id="ipt_reason_text" ref="/root/main/item/rs_txt" editable="true" style="left:280px; top:557px; width:375px; height:19px; text-align:left; "/>
- <button id="btn_modify_row" class="btn2_letter3" visibility="hidden" style="left:1050px; top:410px; width:56px; height:19px; ">
- <caption>행수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row = grd_result.row - 1;
-
- // 현재 수정한 내용을 그리드에 반영
- if ( cur_row > -1 ) {
- model.copyNode("/root/main/recv/result["+cur_row+"]","/root/main/item");
- //grd_result.addStatus(grd_result.row, "update");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" visibility="visible" style="left:960px; top:410px; width:86px; height:19px; ">
- <caption>자동사유입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var n = getNodesetCount( "/root/main/recv/result" );
-
- for (var i=1; i<=n; i++)
- {
- model.setValue("/root/main/recv/result["+i+"]/rs_cd", "F");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1130px; height:280px; ">
- <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:121px; height:13px; ">처방정보</caption>
- <line id="line7" class="line_1" style="x1:5px; y1:25px; x2:1120px; y2:25px; "/>
- <caption id="caption65" class="cell_1" style="left:5px; top:30px; width:149px; height:23px; vertical-align:middle; ">처방조제구분</caption>
- <caption id="caption3" class="cell_1" style="left:5px; top:54px; width:149px; height:23px; vertical-align:middle; ">수진자주민등록번호</caption>
- <caption id="caption4" class="cell_1" style="left:5px; top:78px; width:149px; height:23px; vertical-align:middle; ">수진자성명</caption>
- <caption id="caption8" class="cell_1" style="left:5px; top:102px; width:149px; height:23px; vertical-align:middle; ">수진자전화번호</caption>
- <caption id="caption9" class="cell_1" style="left:5px; top:126px; width:149px; height:23px; vertical-align:middle; ">수진자보험자구분</caption>
- <caption id="caption10" class="cell_1" style="left:299px; top:30px; width:125px; height:23px; vertical-align:middle; ">처방기관기호</caption>
- <caption id="caption11" class="cell_1" style="left:299px; top:54px; width:125px; height:23px; vertical-align:middle; ">처방전교부번호</caption>
- <caption id="caption12" class="cell_1" style="left:299px; top:78px; width:125px; height:23px; vertical-align:middle; ">처방기관명</caption>
- <caption id="caption13" class="cell_1" style="left:299px; top:102px; width:125px; height:23px; vertical-align:middle; ">처방기관 전화번호</caption>
- <caption id="caption14" class="cell_1" style="left:299px; top:126px; width:125px; height:23px; vertical-align:middle; ">처방기관 팩스번호</caption>
- <caption id="caption15" class="cell_1" style="left:570px; top:54px; width:100px; height:23px; vertical-align:middle; ">의사면허번호</caption>
- <caption id="caption16" class="cell_1" style="left:570px; top:78px; width:100px; height:23px; vertical-align:middle; ">처방의료인성명</caption>
- <caption id="caption17" class="cell_1" style="left:570px; top:102px; width:100px; height:23px; vertical-align:middle; ">처방특정기호</caption>
- <caption id="caption18" class="cell_1" style="left:570px; top:30px; width:100px; height:23px; vertical-align:middle; ">처방면허종별</caption>
- <input id="ipt_output3" ref="/root/send/pat_nm" style="left:156px; top:79px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output4" ref="/root/send/pat_telno" style="left:156px; top:104px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output6" ref="/root/main/info/prsc_adm_telno" disabled="true" editable="true" style="left:426px; top:103px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output7" ref="/root/main/info/prsc_adm_sym" disabled="true" editable="true" style="left:426px; top:31px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output8" ref="/root/main/info/prsc_adm_fax_no" disabled="true" editable="true" style="left:426px; top:127px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output9" ref="/root/send/prsc_grant_no" style="left:426px; top:54px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output10" ref="/root/main/info/prsc_adm_nm" disabled="true" editable="true" style="left:426px; top:78px; width:139px; height:19px; text-align:left; "/>
- <!--<object id="CMCWebServCtrl" clsid="{40f98276-90bb-409d-a9cf-124266c805c9}" style="left:90px; top:35px; width:20px; height:20px; "/>-->
- <select1 id="combo1" ref="/root/send/pcpmd_tp" disabled="false" appearance="minimal" style="left:156px; top:31px; width:139px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/MprscType">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption57" class="cell_1" style="left:570px; top:126px; width:100px; height:23px; vertical-align:middle; ">진료과목코드</caption>
- <line id="line4" class="line_3" style="x1:5px; y1:173px; x2:1120px; y2:173px; "/>
- <input id="ipt_output19" ref="/root/send/prsc_dd" style="left:426px; top:151px; width:64px; height:19px; text-align:left; "/>
- <caption id="caption59" class="cell_1" style="left:299px; top:150px; width:125px; height:23px; vertical-align:middle; ">처방일시</caption>
- <input id="ipt_output20" ref="/root/send/prsc_dgsbjt_cd" style="left:675px; top:127px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output1" ref="/root/send/pat_jumin_no" style="left:157px; top:55px; width:138px; height:19px; text-align:left; "/>
- <select1 id="combo4" ref="/root/send/pat_insup_tp" disabled="false" appearance="minimal" style="left:156px; top:128px; width:139px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/InsurerType">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/send/pat_prnt_wmn_yn" appearance="minimal" style="left:156px; top:152px; width:139px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/YN">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="cell_1" style="left:5px; top:150px; width:149px; height:23px; vertical-align:middle; ">수진자임산부여부</caption>
- <input id="ipt_output5" ref="/root/send/prsc_hms" style="left:500px; top:150px; width:64px; height:19px; text-align:left; "/>
- <input id="ipt_output13" ref="/root/send/prsc_lcs_cl_tp" style="left:675px; top:31px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output17" ref="/root/send/prsc_msick_cd" style="left:675px; top:151px; width:155px; height:19px; text-align:left; "/>
- <caption id="caption5" class="cell_1" style="left:570px; top:150px; width:100px; height:23px; vertical-align:middle; ">주상병코드</caption>
- <input id="ipt_output11" ref="/root/send/prsc_dr_lcs_no" style="left:675px; top:55px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output12" ref="/root/send/prsc_medp_nm" style="left:675px; top:80px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output14" ref="/root/send/prsc_spc_sym" style="left:675px; top:104px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output15" ref="/root/send/prsc_usg" style="left:965px; top:127px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output16" ref="/root/send/prsc_cpmd_ref_itm" style="left:965px; top:55px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output18" ref="/root/send/prsc_ijctm_prsc_desc" style="left:965px; top:80px; width:155px; height:19px; text-align:left; "/>
- <input id="ipt_output22" ref="/root/send/prsc_use_ddcnt" style="left:965px; top:104px; width:155px; height:19px; text-align:left; "/>
- <caption id="caption7" class="cell_1" style="left:835px; top:126px; width:125px; height:23px; vertical-align:middle; ">처방용법</caption>
- <caption id="caption68" class="cell_1" style="left:835px; top:54px; width:128px; height:23px; vertical-align:middle; ">처방조제참고사항</caption>
- <caption id="caption69" class="cell_1" style="left:835px; top:78px; width:127px; height:23px; vertical-align:middle; ">처방조주사제처방내역</caption>
- <caption id="caption70" class="cell_1" style="left:835px; top:102px; width:125px; height:23px; vertical-align:middle; ">처방전사용일수</caption>
- <caption id="caption71" class="cell_1" style="left:835px; top:30px; width:128px; height:23px; vertical-align:middle; ">처방조제유형코드</caption>
- <select1 id="combo6" ref="/root/send/prsc_cpmd_cl_tp" appearance="minimal" style="left:965px; top:32px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/PrscClCode">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption20" class="cell_1" style="left:835px; top:200px; width:128px; height:23px; vertical-align:middle; ">조제일시</caption>
- <input id="ipt_output29" ref="/root/main/m2/payRestricDt" style="left:156px; top:201px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output32" ref="/root/send/cpmd_adm_telno" style="left:675px; top:201px; width:155px; height:19px; text-align:left; "/>
- <caption id="caption21" class="cell_1" style="left:299px; top:200px; width:125px; height:23px; vertical-align:middle; ">조제기관명</caption>
- <caption id="caption22" class="cell_1" style="left:5px; top:200px; width:149px; height:23px; vertical-align:middle; ">조제기관기호</caption>
- <caption id="caption24" class="cell_1" style="left:299px; top:224px; width:125px; height:44px; vertical-align:middle; ">조제기타내용</caption>
- <caption id="caption29" class="cell_1" style="left:5px; top:224px; width:149px; height:23px; vertical-align:middle; ">조제약사면허번호</caption>
- <caption id="caption44" class="cell_1" style="left:5px; top:248px; width:149px; height:23px; vertical-align:middle; ">조제약사성명</caption>
- <caption id="caption58" class="cell_1" style="left:570px; top:200px; width:103px; height:23px; vertical-align:middle; ">조제기관전화번호</caption>
- <input id="ipt_output42" ref="/root/send/cpmd_phmc_nm" style="left:156px; top:249px; width:139px; height:19px; text-align:left; "/>
- <line id="line2" class="line_1" style="x1:5px; y1:195px; x2:1120px; y2:195px; "/>
- <caption id="caption61" class="tit_2" style="left:10px; top:180px; width:121px; height:13px; ">조제정보</caption>
- <input id="ipt_output40" ref="/root/send/cpmd_phmc_lcs_no" style="left:155px; top:225px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output43" ref="/root/send/cpmd_adm_sym" style="left:156px; top:201px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output44" ref="/root/send/MakerAdminName" style="left:426px; top:201px; width:139px; height:19px; text-align:left; "/>
- <input id="ipt_output45" ref="/root/send/cpmd_hms" style="left:1040px; top:201px; width:64px; height:19px; text-align:left; "/>
- <input id="ipt_output46" ref="/root/send/cpmd_dd" style="left:966px; top:202px; width:64px; height:19px; text-align:left; "/>
- <textarea id="textarea2" ref="/root/send/cpmd_etc_txt" style="left:426px; top:226px; width:690px; height:42px; "/>
- <line id="line1" class="line_3" style="x1:5px; y1:270px; x2:1120px; y2:270px; "/>
- <input id="input2" ref="/root/main/info/dmd_sw_entp_cd" disabled="true" editable="true" appearance="input" style="left:825px; top:5px; width:291px; height:19px; text-align:center; "/>
- <caption id="caption28" class="search_name" style="left:700px; top:5px; width:138px; height:17px; ">청구SW인증코드</caption>
- <input id="input4" ref="/root/main/info/durdbverno" disabled="true" editable="true" appearance="input" style="left:568px; top:5px; width:112px; height:19px; text-align:center; "/>
- <caption id="caption75" class="search_name" style="left:440px; top:6px; width:138px; height:17px; ">현재기준DB버전</caption>
- <caption id="caption27" class="search_name" style="left:440px; top:6px; width:138px; height:17px; ">현재기준DB버전</caption>
- <input id="input1" ref="/root/main/info/dmd_sw_entp_cd" disabled="true" editable="true" appearance="input" style="left:825px; top:5px; width:291px; height:19px; text-align:center; "/>
- <caption id="caption76" class="search_name" style="left:700px; top:5px; width:138px; height:17px; ">청구SW인증코드</caption>
- <input id="input5" ref="/root/main/info/durdbverno" disabled="true" editable="true" appearance="input" style="left:568px; top:5px; width:112px; height:19px; text-align:center; "/>
- <select1 id="combo9" ref="/root/send/prsc_cpmd_cl_tp" appearance="minimal" style="left:965px; top:32px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/PrscClCode">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|