SPMMD03800_기타알러지등록.xfdl 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMD03800" position="absolute 0 0 1032 695" titletext="부작용 및 알레르기 등록" onclose="SPADC60900_onclose" oninit="SPMMD03800_oninit" onload="SPMMD03800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line22" class="line_2" position="absolute 378 227 380 635" linetype="vertical"/>
  8. <Shape id="line23" linetype="vertical" class="line_2" position="absolute 757 228 759 635"/>
  9. <Shape position="absolute 0 667 1031 673" linetype="horizontal" id="line10" class="line_2"/>
  10. <Shape id="line00" class="line_2" position="absolute 0 632 1031 638"/>
  11. <Shape id="line06" class="line_2" position="absolute 0 560 1030 566"/>
  12. <Shape id="line07" class="line_2" position="absolute 0 471 1030 473"/>
  13. <Shape id="line08" class="line_2" position="absolute 0 414 1030 420"/>
  14. <Shape id="line16" class="line_2" position="absolute 0 359 1030 365"/>
  15. <Shape id="line18" class="line_2" position="absolute -1 304 1030 310"/>
  16. <Shape id="line20" class="line_2" position="absolute 0 249 1031 255"/>
  17. <Static text="기타 알레르기 등록" position="absolute 0 0 146 25" id="caption6" class="tit_1"/>
  18. <Shape position="absolute 0 88 1032 94" linetype="horizontal" id="line5" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  19. <Static text="증상발현일" position="absolute 0 171 115 194" align="align:center middle;" id="caption14" class="cell_1" style="padding:0 0 0 8;align:left;"/>
  20. <Calendar position="absolute 117 171 225 194" id="ipt_startdd" class="input_essential"/>
  21. <Button position="absolute 975 672 1031 694" id="btn_cls" class="btn4" text="닫기" onclick="btn_cls_onclick"/>
  22. <Button position="absolute 917 672 973 694" id="btn_cnst" class="btn4" text="등록" onclick="btn_cnst_onclick"/>
  23. <Button position="absolute 835 672 915 694" id="btn_reqcncl" class="btn4" text="등록취소" onclick="btn_reqcncl_onclick"/>
  24. <Shape position="absolute 0 220 1031 226" linetype="horizontal" id="line3" class="line_2"/>
  25. <Div id="case1" taborder="1" class="div_SA" position="absolute 0 25 1032 88">
  26. <Layouts>
  27. <Layout>
  28. <Static id="caption11" text="등록번호 :" class="search_name" position="absolute 5 11 91 28" anchor="default"/>
  29. <Static id="caption9" text="진 료 과 :" class="search_name" position="absolute 5 36 91 53" anchor="default"/>
  30. <Edit id="output4" taborder="1" readonly="true" class="output_search" position="absolute 78 10 238 29" anchor="default"/>
  31. <Edit id="output5" taborder="2" readonly="true" class="output_search" position="absolute 78 35 238 54" anchor="default"/>
  32. <Static id="caption12" text="성 명 :" class="search_name" position="absolute 353 11 427 28" anchor="default"/>
  33. <Edit id="output2" taborder="3" readonly="true" class="output_search" position="absolute 417 10 550 29" anchor="default"/>
  34. <Edit id="output8" taborder="4" readonly="true" class="output_search" position="absolute 555 10 676 29" anchor="default"/>
  35. <Static id="caption19" text="등록자 :" class="search_name" position="absolute 354 36 444 53" anchor="default"/>
  36. <Edit id="output1" taborder="5" readonly="true" class="output_search" position="absolute 417 34 551 53" anchor="default"/>
  37. <Static id="caption22" text="환자구분 :" class="search_name" position="absolute 775 11 870 28" anchor="default"/>
  38. <Static id="caption21" text="병 실 :" class="search_name" position="absolute 775 36 865 53" anchor="default"/>
  39. <Edit id="output7" taborder="6" readonly="true" class="output_search" position="absolute 850 10 1008 29" anchor="default"/>
  40. <Edit id="output6" taborder="7" readonly="true" class="output_search" position="absolute 850 35 1008 54" anchor="default"/>
  41. </Layout>
  42. </Layouts>
  43. </Div>
  44. <Static text="유해증상" position="absolute 0 199 76 222" align="align:center middle;" id="caption17" class="cell_1" style="padding:0 0 0 0;align:center;"/>
  45. <Static text="구분(원인물질)" position="absolute 0 93 115 116" align="align:center middle;" id="caption18" class="cell_1" style="padding:0 0 0 8;align:left;"/>
  46. <Static id="caption_01" text="피부점막계" class="cell_1" position="absolute 0 253 75 305" style="padding:0 0 0 0;align:center;"/>
  47. <cp_checkboxList id="chk_skin1" titletext="CheckBox List" taborder="14" scrollbars="none" position="absolute 79 254 357 306" style="background:transparent; " col="1" row="6" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  48. <Static id="caption09" text="분류" class="cell_1" position="absolute 0 224 75 250" style="padding:0 0 0 0;align:center;"/>
  49. <Static id="caption_A" text="경증" class="cell_1" position="absolute 77 224 378 250" style="padding:0 0 0 0;align:center;"/>
  50. <Static id="caption_B" text="증등도" class="cell_1" position="absolute 380 224 757 250" style="padding:0 0 0 0;align:center;"/>
  51. <Static id="caption_C" text="중증" class="cell_1" position="absolute 759 224 1029 250" style="padding:0 0 0 0;align:center;"/>
  52. <cp_checkboxList id="chk_skin2" titletext="CheckBox List" taborder="15" scrollbars="none" position="absolute 383 254 746 306" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  53. <cp_checkboxList id="chk_skin3" titletext="CheckBox List" taborder="16" scrollbars="none" position="absolute 764 254 1017 306" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  54. <Static id="caption_02" text="호흡기계" class="cell_1" position="absolute 0 308 75 360" style="padding:0 0 0 0;align:center;"/>
  55. <cp_checkboxList id="chk_breth1" titletext="CheckBox List" taborder="17" scrollbars="none" position="absolute 79 308 357 360" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  56. <cp_checkboxList id="chk_breth2" titletext="CheckBox List" taborder="18" scrollbars="none" position="absolute 383 308 732 360" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  57. <cp_checkboxList id="chk_breth3" titletext="CheckBox List" taborder="19" scrollbars="none" position="absolute 764 308 1017 360" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  58. <Static id="caption_03" text="순환기계" class="cell_1" position="absolute 0 363 75 415" style="padding:0 0 0 0;align:center;"/>
  59. <cp_checkboxList id="chk_heart1" titletext="CheckBox List" taborder="20" scrollbars="none" position="absolute 79 363 357 415" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  60. <cp_checkboxList id="chk_heart2" titletext="CheckBox List" taborder="21" scrollbars="none" position="absolute 383 363 743 415" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  61. <cp_checkboxList id="chk_heart3" titletext="CheckBox List" taborder="22" scrollbars="none" position="absolute 764 363 1017 415" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" onclick="chk_heart3_onclick"/>
  62. <Static id="caption_04" text="소화기계" class="cell_1" position="absolute 0 418 75 470" style="padding:0 0 0 0;align:center;"/>
  63. <cp_checkboxList id="chk_stom1" titletext="CheckBox List" taborder="23" scrollbars="none" position="absolute 79 418 357 470" style="background:transparent; " col="1" row="6" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  64. <cp_checkboxList id="chk_stom2" titletext="CheckBox List" taborder="24" scrollbars="none" position="absolute 383 418 742 470" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  65. <Static id="caption_06" text="신경정신계" class="cell_1" position="absolute 0 509 76 561" style="padding:0 0 0 0;align:center;"/>
  66. <cp_checkboxList id="chk_nur1" titletext="CheckBox List" taborder="25" scrollbars="none" position="absolute 79 509 357 550" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  67. <cp_checkboxList id="chk_nur3" titletext="CheckBox List" taborder="27" scrollbars="none" position="absolute 764 509 1017 550" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  68. <Static id="caption_07" text="혈액계" class="cell_1" position="absolute 0 564 76 597" style="padding:0 0 0 0;align:center;"/>
  69. <Static id="caption25" class="cell_1" position="absolute 0 636 76 668" style="linespace:2;padding:0 0 0 0;align:center;"/>
  70. <CheckBox id="chk_gitayn" taborder="34" text="기타증상" onchanged="chk_gitaok_onchanged" position="absolute 4 641 75 661" style="textpadding:0 0 0 1;" falsevalue="N" truevalue="Y" value="N"/>
  71. <Edit id="textarea_gita" taborder="35" enable="true" position="absolute 80 642 1032 663"/>
  72. <Shape id="line25" class="line_2" position="absolute -1 507 1030 509"/>
  73. <Static id="caption_05" text="신장비뇨기계" class="cell_1" position="absolute 0 473 76 506" style="padding:0 0 0 0;align:center;"/>
  74. <cp_checkboxList id="chk_neph1" titletext="CheckBox List" taborder="36" scrollbars="none" position="absolute 79 473 357 506" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  75. <cp_checkboxList id="chk_neph2" titletext="CheckBox List" taborder="37" scrollbars="none" position="absolute 383 473 741 506" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  76. <cp_checkboxList id="chk_neph3" titletext="CheckBox List" taborder="38" scrollbars="none" position="absolute 764 473 1017 506" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  77. <cp_checkboxList id="chk_blod2" titletext="CheckBox List" taborder="39" scrollbars="none" position="absolute 383 564 744 597" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  78. <Static id="caption_08" text="전신증상" class="cell_1" position="absolute 0 600 76 633" style="padding:0 0 0 0;align:center;"/>
  79. <Shape id="line26" class="line_2" position="absolute 0 596 1030 602"/>
  80. <cp_checkboxList id="chk_abody1" titletext="CheckBox List" taborder="40" scrollbars="none" position="absolute 80 600 358 633" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  81. <cp_checkboxList id="chk_abody2" titletext="CheckBox List" taborder="41" scrollbars="none" position="absolute 383 600 744 633" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  82. <Shape id="line27" linetype="vertical" class="line_2" position="absolute 1030 223 1032 670"/>
  83. <Combo id="cmb_gubun" taborder="44" class="combo_essential" visible="true" position="absolute 117 93 225 116" codecolumn="codecolumn" datacolumn="datacolumn">
  84. <Dataset id="innerdataset">
  85. <ColumnInfo>
  86. <Column id="codecolumn" size="256"/>
  87. <Column id="datacolumn" size="256"/>
  88. </ColumnInfo>
  89. <Rows>
  90. <Row>
  91. <Col id="codecolumn">01</Col>
  92. <Col id="datacolumn">음식</Col>
  93. </Row>
  94. <Row>
  95. <Col id="codecolumn">02</Col>
  96. <Col id="datacolumn">반창고</Col>
  97. </Row>
  98. <Row>
  99. <Col id="codecolumn">04</Col>
  100. <Col id="datacolumn">환경</Col>
  101. </Row>
  102. <Row>
  103. <Col id="codecolumn">05</Col>
  104. <Col id="datacolumn">기타</Col>
  105. </Row>
  106. </Rows>
  107. </Dataset>
  108. </Combo>
  109. <Static id="caption01" text="원인물질 세부내용" class="cell_1" position="absolute 0 117 115 140" style="padding:0 0 0 8;align:left;" align="align:center middle;"/>
  110. <TextArea id="textarea_detail" taborder="45" position="absolute 117 117 604 170" class="text_essential" wordwrap="both" enable="true"/>
  111. <Shape id="line01" class="line_1" position="absolute 0 194 1032 200" style="strokepen:3 solid #33bbbbff;"/>
  112. <cp_checkboxList id="chk_stom3" titletext="CheckBox List" taborder="46" scrollbars="none" position="absolute 764 418 1029 470" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  113. <cp_checkboxList id="chk_nur2" titletext="CheckBox List" taborder="47" scrollbars="none" position="absolute 383 509 757 562" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  114. <cp_checkboxList id="chk_blod1" titletext="CheckBox List" taborder="48" scrollbars="none" position="absolute 79 564 378 597" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  115. <cp_checkboxList id="chk_blod3" titletext="CheckBox List" taborder="49" scrollbars="none" position="absolute 764 564 1031 597" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  116. <cp_checkboxList id="chk_abody3" titletext="CheckBox List" taborder="50" scrollbars="none" position="absolute 764 600 1030 633" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  117. </Layout>
  118. </Layouts>
  119. <Objects>
  120. <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  121. <ColumnInfo>
  122. <Column id="pid" type="STRING" size="256"/>
  123. <Column id="hngnm" type="STRING" size="256"/>
  124. <Column id="prcpflag" type="STRING" size="256"/>
  125. <Column id="reqdeptnm" type="STRING" size="256"/>
  126. <Column id="requsernm" type="STRING" size="256"/>
  127. <Column id="roomcd" type="STRING" size="256"/>
  128. <Column id="sna" type="STRING" size="256"/>
  129. <Column id="recvdeptnm" type="STRING" size="256"/>
  130. <Column id="recvusernm" type="STRING" size="256"/>
  131. </ColumnInfo>
  132. <Rows>
  133. <Row>
  134. <Col id="pid"/>
  135. <Col id="hngnm"/>
  136. <Col id="prcpflag"/>
  137. <Col id="reqdeptnm"/>
  138. <Col id="requsernm"/>
  139. <Col id="roomcd"/>
  140. <Col id="sna"/>
  141. <Col id="recvdeptnm"/>
  142. <Col id="recvusernm"/>
  143. </Row>
  144. </Rows>
  145. </Dataset>
  146. <Dataset id="ds_main_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  147. <ColumnInfo>
  148. <Column id="rgstdd" type="STRING" size="256"/>
  149. <Column id="rgstdeptcd" type="STRING" size="256"/>
  150. <Column id="regstid" type="STRING" size="256"/>
  151. <Column id="ioflag" type="STRING" size="256"/>
  152. <Column id="pid" type="STRING" size="256"/>
  153. <Column id="cretno" type="STRING" size="256"/>
  154. <Column id="gubun" type="STRING" size="256"/>
  155. <Column id="causedetail" type="STRING" size="256"/>
  156. <Column id="startdd" type="STRING" size="256"/>
  157. <Column id="skin1" type="STRING" size="256"/>
  158. <Column id="skin2" type="STRING" size="256"/>
  159. <Column id="skin3" type="STRING" size="256"/>
  160. <Column id="breth1" type="STRING" size="256"/>
  161. <Column id="breth2" type="STRING" size="256"/>
  162. <Column id="breth3" type="STRING" size="256"/>
  163. <Column id="heart1" type="STRING" size="256"/>
  164. <Column id="heart2" type="STRING" size="256"/>
  165. <Column id="heart3" type="STRING" size="256"/>
  166. <Column id="stom1" type="STRING" size="256"/>
  167. <Column id="stom2" type="STRING" size="256"/>
  168. <Column id="stom3" type="STRING" size="256"/>
  169. <Column id="neph1" type="STRING" size="256"/>
  170. <Column id="neph2" type="STRING" size="256"/>
  171. <Column id="neph3" type="STRING" size="256"/>
  172. <Column id="nur1" type="STRING" size="256"/>
  173. <Column id="nur2" type="STRING" size="256"/>
  174. <Column id="nur3" type="STRING" size="256"/>
  175. <Column id="blod1" type="STRING" size="256"/>
  176. <Column id="blod2" type="STRING" size="256"/>
  177. <Column id="blod3" type="STRING" size="256"/>
  178. <Column id="abody1" type="STRING" size="256"/>
  179. <Column id="abody2" type="STRING" size="256"/>
  180. <Column id="abody3" type="STRING" size="256"/>
  181. <Column id="gitayn" type="STRING" size="256"/>
  182. <Column id="symptom" type="STRING" size="256"/>
  183. <Column id="gita" type="STRING" size="256"/>
  184. </ColumnInfo>
  185. <Rows>
  186. <Row/>
  187. </Rows>
  188. </Dataset>
  189. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  190. <Dataset id="ds_send_srchpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="pid" type="STRING" size="256"/>
  193. </ColumnInfo>
  194. <Rows>
  195. <Row/>
  196. </Rows>
  197. </Dataset>
  198. <Dataset id="ds_send_harmfulsymptom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  199. <ColumnInfo>
  200. <Column id="date" type="STRING" size="256"/>
  201. </ColumnInfo>
  202. <Rows>
  203. <Row/>
  204. </Rows>
  205. </Dataset>
  206. <Dataset id="ds_temp_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  207. <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  208. <Dataset id="ds_chk_others1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  209. <ColumnInfo>
  210. <Column id="label" type="STRING" size="256"/>
  211. <Column id="value" type="STRING" size="256"/>
  212. </ColumnInfo>
  213. <Rows>
  214. <Row>
  215. <Col id="label">재채기</Col>
  216. <Col id="value">O1</Col>
  217. </Row>
  218. <Row>
  219. <Col id="label">결막염</Col>
  220. <Col id="value">O2</Col>
  221. </Row>
  222. <Row>
  223. <Col id="label">열감</Col>
  224. <Col id="value">O3</Col>
  225. </Row>
  226. <Row>
  227. <Col id="label">창백함</Col>
  228. <Col id="value">O4</Col>
  229. </Row>
  230. <Row>
  231. <Col id="label">오한</Col>
  232. <Col id="value">O5</Col>
  233. </Row>
  234. <Row>
  235. <Col id="label">떨림</Col>
  236. <Col id="value">O6</Col>
  237. </Row>
  238. </Rows>
  239. </Dataset>
  240. <Dataset id="ds_chk_others3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  241. <ColumnInfo>
  242. <Column id="label" type="STRING" size="256"/>
  243. <Column id="value" type="STRING" size="256"/>
  244. </ColumnInfo>
  245. <Rows>
  246. <Row>
  247. <Col id="label">아나필락시스 쇼크</Col>
  248. <Col id="value">P1</Col>
  249. </Row>
  250. </Rows>
  251. </Dataset>
  252. <Dataset id="ds_prev_cnstcnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="prev_cnstcnts" type="STRING" size="256"/>
  255. </ColumnInfo>
  256. <Rows>
  257. <Row/>
  258. </Rows>
  259. </Dataset>
  260. <Dataset id="ds_chk_skin1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  261. <ColumnInfo>
  262. <Column id="label" type="STRING" size="256"/>
  263. <Column id="value" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. <Rows>
  266. <Row>
  267. <Col id="label">국소적인 가려움증/두드러기</Col>
  268. <Col id="value">B1</Col>
  269. </Row>
  270. <Row>
  271. <Col id="label">국소적인 홍반</Col>
  272. <Col id="value">B2</Col>
  273. </Row>
  274. <Row>
  275. <Col id="label">결막충혈</Col>
  276. <Col id="value">B3</Col>
  277. </Row>
  278. <Row>
  279. <Col id="label">탈모111</Col>
  280. <Col id="value">B4</Col>
  281. </Row>
  282. </Rows>
  283. </Dataset>
  284. <Dataset id="ds_chk_skin2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="label" type="STRING" size="256"/>
  287. <Column id="value" type="STRING" size="256"/>
  288. </ColumnInfo>
  289. <Rows>
  290. <Row>
  291. <Col id="label">광범위한 가려움증/두드러기</Col>
  292. <Col id="value">C1</Col>
  293. </Row>
  294. <Row>
  295. <Col id="label">광범위한 홍반</Col>
  296. <Col id="value">C2</Col>
  297. </Row>
  298. <Row>
  299. <Col id="label">광범위한 혈관부종</Col>
  300. <Col id="value">C3</Col>
  301. </Row>
  302. <Row>
  303. <Col id="label">후두부종</Col>
  304. <Col id="value">C4</Col>
  305. </Row>
  306. <Row>
  307. <Col id="label">안면부종</Col>
  308. <Col id="value">C5</Col>
  309. </Row>
  310. <Row>
  311. <Col id="label">눈 부종</Col>
  312. <Col id="value">C7</Col>
  313. </Row>
  314. </Rows>
  315. </Dataset>
  316. <Dataset id="ds_chk_skin3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  317. <ColumnInfo>
  318. <Column id="label" type="STRING" size="256"/>
  319. <Column id="value" type="STRING" size="256"/>
  320. </ColumnInfo>
  321. <Rows>
  322. <Row>
  323. <Col id="label">호흡곤란을 동반한 심한 부종</Col>
  324. <Col id="value">D1</Col>
  325. </Row>
  326. <Row>
  327. <Col id="label">그렁거림/저산소증을 동반한 후두 부종</Col>
  328. <Col id="value">D2</Col>
  329. </Row>
  330. </Rows>
  331. </Dataset>
  332. <Dataset id="ds_chk_breth1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  333. <ColumnInfo>
  334. <Column id="label" type="STRING" size="256"/>
  335. <Column id="value" type="STRING" size="256"/>
  336. </ColumnInfo>
  337. <Rows>
  338. <Row>
  339. <Col id="label">목(인후두) 가려움</Col>
  340. <Col id="value">E1</Col>
  341. </Row>
  342. <Row>
  343. <Col id="label">기침</Col>
  344. <Col id="value">E2</Col>
  345. </Row>
  346. <Row>
  347. <Col id="label">재채기</Col>
  348. <Col id="value">E3</Col>
  349. </Row>
  350. <Row>
  351. <Col id="label">코막힘</Col>
  352. <Col id="value">E4</Col>
  353. </Row>
  354. <Row>
  355. <Col id="label">콧물</Col>
  356. <Col id="value">E5</Col>
  357. </Row>
  358. </Rows>
  359. </Dataset>
  360. <Dataset id="ds_chk_breth2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  361. <ColumnInfo>
  362. <Column id="label" type="STRING" size="256"/>
  363. <Column id="value" type="STRING" size="256"/>
  364. </ColumnInfo>
  365. <Rows>
  366. <Row>
  367. <Col id="label">목이 붓거나 쉼</Col>
  368. <Col id="value">F1</Col>
  369. </Row>
  370. <Row>
  371. <Col id="label">저산소증이 없는 천명/기도수축</Col>
  372. <Col id="value">F2</Col>
  373. </Row>
  374. <Row>
  375. <Col id="label">호흡곤란</Col>
  376. <Col id="value">F3</Col>
  377. </Row>
  378. </Rows>
  379. </Dataset>
  380. <Dataset id="ds_chk_breth3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  381. <ColumnInfo>
  382. <Column id="label" type="STRING" size="256"/>
  383. <Column id="value" type="STRING" size="256"/>
  384. </ColumnInfo>
  385. <Rows>
  386. <Row>
  387. <Col id="label">저산소증을 동반한 천명/기도수축</Col>
  388. <Col id="value">G1</Col>
  389. </Row>
  390. <Row>
  391. <Col id="label">폐부종</Col>
  392. <Col id="value">G2</Col>
  393. </Row>
  394. <Row>
  395. <Col id="label">호흡정지</Col>
  396. <Col id="value">G3</Col>
  397. </Row>
  398. </Rows>
  399. </Dataset>
  400. <Dataset id="ds_chk_heart1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  401. <ColumnInfo>
  402. <Column id="label" type="STRING" size="256"/>
  403. <Column id="value" type="STRING" size="256"/>
  404. </ColumnInfo>
  405. <Rows>
  406. <Row>
  407. <Col id="label">경증의 고혈압(SBP&lt;160)</Col>
  408. <Col id="value">H1</Col>
  409. </Row>
  410. </Rows>
  411. </Dataset>
  412. <Dataset id="ds_chk_heart3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  413. <ColumnInfo>
  414. <Column id="label" type="STRING" size="256"/>
  415. <Column id="value" type="STRING" size="256"/>
  416. </ColumnInfo>
  417. <Rows>
  418. <Row>
  419. <Col id="label">심한 저혈압(SBP&lt;80)</Col>
  420. <Col id="value">J1</Col>
  421. </Row>
  422. </Rows>
  423. </Dataset>
  424. <Dataset id="ds_chk_heart2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  425. <ColumnInfo>
  426. <Column id="label" type="STRING" size="256"/>
  427. <Column id="value" type="STRING" size="256"/>
  428. </ColumnInfo>
  429. <Rows>
  430. <Row>
  431. <Col id="label">중등도 고혈압(SBP≥160)</Col>
  432. <Col id="value">I1</Col>
  433. </Row>
  434. <Row>
  435. <Col id="label">경증의 저혈압(SBP≥80)</Col>
  436. <Col id="value">I2</Col>
  437. </Row>
  438. <Row>
  439. <Col id="label">가슴통증</Col>
  440. <Col id="value">I3</Col>
  441. </Row>
  442. <Row>
  443. <Col id="label">빈맥</Col>
  444. <Col id="value">I4</Col>
  445. </Row>
  446. <Row>
  447. <Col id="label">서맥</Col>
  448. <Col id="value">I5</Col>
  449. </Row>
  450. </Rows>
  451. </Dataset>
  452. <Dataset id="ds_chk_stom1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  453. <ColumnInfo>
  454. <Column id="label" type="STRING" size="256"/>
  455. <Column id="value" type="STRING" size="256"/>
  456. </ColumnInfo>
  457. <Rows>
  458. <Row>
  459. <Col id="label">메스꺼움</Col>
  460. <Col id="value">K1</Col>
  461. </Row>
  462. <Row>
  463. <Col id="label">맛의 변화</Col>
  464. <Col id="value">K2</Col>
  465. </Row>
  466. <Row>
  467. <Col id="label">복통</Col>
  468. <Col id="value">K3</Col>
  469. </Row>
  470. <Row>
  471. <Col id="label">소화불량</Col>
  472. <Col id="value">K4</Col>
  473. </Row>
  474. <Row>
  475. <Col id="label">설사</Col>
  476. <Col id="value">K5</Col>
  477. </Row>
  478. <Row>
  479. <Col id="label">변비</Col>
  480. <Col id="value">K6</Col>
  481. </Row>
  482. </Rows>
  483. </Dataset>
  484. <Dataset id="ds_chk_stom2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  485. <ColumnInfo>
  486. <Column id="label" type="STRING" size="256"/>
  487. <Column id="value" type="STRING" size="256"/>
  488. </ColumnInfo>
  489. <Rows>
  490. <Row>
  491. <Col id="label">지속되는 구토/메스꺼움</Col>
  492. <Col id="value">L1</Col>
  493. </Row>
  494. <Row>
  495. <Col id="label">활동제한을 동반한 심한 복통</Col>
  496. <Col id="value">L2</Col>
  497. </Row>
  498. <Row>
  499. <Col id="label">간기능이상</Col>
  500. <Col id="value">L3</Col>
  501. </Row>
  502. <Row>
  503. <Col id="label">황달</Col>
  504. <Col id="value">L4</Col>
  505. </Row>
  506. <Row>
  507. <Col id="label">혈변</Col>
  508. <Col id="value">L5</Col>
  509. </Row>
  510. </Rows>
  511. </Dataset>
  512. <Dataset id="ds_chk_nerve1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  513. <ColumnInfo>
  514. <Column id="label" type="STRING" size="256"/>
  515. <Column id="value" type="STRING" size="256"/>
  516. </ColumnInfo>
  517. <Rows>
  518. <Row>
  519. <Col id="label">어지러움</Col>
  520. <Col id="value">M1</Col>
  521. </Row>
  522. <Row>
  523. <Col id="label">두통</Col>
  524. <Col id="value">M2</Col>
  525. </Row>
  526. <Row>
  527. <Col id="label">불안</Col>
  528. <Col id="value">M3</Col>
  529. </Row>
  530. <Row>
  531. <Col id="label">섬망</Col>
  532. <Col id="value">M4</Col>
  533. </Row>
  534. <Row>
  535. <Col id="label">손발떨림</Col>
  536. <Col id="value">M5</Col>
  537. </Row>
  538. <Row>
  539. <Col id="label">수면장애</Col>
  540. <Col id="value">M6</Col>
  541. </Row>
  542. <Row>
  543. <Col id="label">기억력장애</Col>
  544. <Col id="value">M7</Col>
  545. </Row>
  546. </Rows>
  547. </Dataset>
  548. <Dataset id="ds_chk_nerve3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  549. <ColumnInfo>
  550. <Column id="label" type="STRING" size="256"/>
  551. <Column id="value" type="STRING" size="256"/>
  552. </ColumnInfo>
  553. <Rows>
  554. <Row>
  555. <Col id="label">경련</Col>
  556. <Col id="value">N1</Col>
  557. </Row>
  558. <Row>
  559. <Col id="label">의식소실</Col>
  560. <Col id="value">N2</Col>
  561. </Row>
  562. </Rows>
  563. </Dataset>
  564. <Dataset id="ds_chk_neph1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  565. <ColumnInfo>
  566. <Column id="label" type="STRING" size="256"/>
  567. <Column id="value" type="STRING" size="256"/>
  568. </ColumnInfo>
  569. <Rows>
  570. <Row>
  571. <Col id="label">배뇨장애</Col>
  572. <Col id="value">Q1</Col>
  573. </Row>
  574. </Rows>
  575. </Dataset>
  576. <Dataset id="ds_chk_neph2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  577. <ColumnInfo>
  578. <Column id="label" type="STRING" size="256"/>
  579. <Column id="value" type="STRING" size="256"/>
  580. </ColumnInfo>
  581. <Rows>
  582. <Row>
  583. <Col id="label">신기능이상</Col>
  584. <Col id="value">R1</Col>
  585. </Row>
  586. <Row>
  587. <Col id="label">혈뇨</Col>
  588. <Col id="value">R2</Col>
  589. </Row>
  590. </Rows>
  591. </Dataset>
  592. <Dataset id="ds_chk_neph3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  593. <ColumnInfo>
  594. <Column id="label" type="STRING" size="256"/>
  595. <Column id="value" type="STRING" size="256"/>
  596. </ColumnInfo>
  597. <Rows>
  598. <Row>
  599. <Col id="label">신부전</Col>
  600. <Col id="value">S1</Col>
  601. </Row>
  602. </Rows>
  603. </Dataset>
  604. <Dataset id="ds_chk_blod2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  605. <ColumnInfo>
  606. <Column id="label" type="STRING" size="256"/>
  607. <Column id="value" type="STRING" size="256"/>
  608. </ColumnInfo>
  609. <Rows>
  610. <Row>
  611. <Col id="label">빈혈</Col>
  612. <Col id="value">T1</Col>
  613. </Row>
  614. <Row>
  615. <Col id="label">백혈구 감소</Col>
  616. <Col id="value">T2</Col>
  617. </Row>
  618. <Row>
  619. <Col id="label">혈소판 감소</Col>
  620. <Col id="value">T3</Col>
  621. </Row>
  622. <Row>
  623. <Col id="label">호산구 증가</Col>
  624. <Col id="value">T4</Col>
  625. </Row>
  626. </Rows>
  627. </Dataset>
  628. <Dataset id="ds_chk_abody1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  629. <ColumnInfo>
  630. <Column id="label" type="STRING" size="256"/>
  631. <Column id="value" type="STRING" size="256"/>
  632. </ColumnInfo>
  633. <Rows>
  634. <Row>
  635. <Col id="label">식욕감퇴</Col>
  636. <Col id="value">U1</Col>
  637. </Row>
  638. <Row>
  639. <Col id="label">전신쇠약</Col>
  640. <Col id="value">U2</Col>
  641. </Row>
  642. <Row>
  643. <Col id="label">관절통</Col>
  644. <Col id="value">U3</Col>
  645. </Row>
  646. <Row>
  647. <Col id="label">근육통</Col>
  648. <Col id="value">U4</Col>
  649. </Row>
  650. </Rows>
  651. </Dataset>
  652. <Dataset id="ds_chk_abody2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  653. <ColumnInfo>
  654. <Column id="label" type="STRING" size="256"/>
  655. <Column id="value" type="STRING" size="256"/>
  656. </ColumnInfo>
  657. <Rows>
  658. <Row>
  659. <Col id="label">발열</Col>
  660. <Col id="value">V1</Col>
  661. </Row>
  662. <Row>
  663. <Col id="label">오한</Col>
  664. <Col id="value">V2</Col>
  665. </Row>
  666. <Row>
  667. <Col id="label">전신부종</Col>
  668. <Col id="value">V3</Col>
  669. </Row>
  670. </Rows>
  671. </Dataset>
  672. <Dataset id="ds_send_etcallergy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  673. <ColumnInfo>
  674. <Column id="pid" type="STRING" size="256"/>
  675. <Column id="cretno" type="STRING" size="256"/>
  676. </ColumnInfo>
  677. <Rows>
  678. <Row/>
  679. </Rows>
  680. </Dataset>
  681. <Dataset id="ds_chk_stom3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  682. <ColumnInfo>
  683. <Column id="label" type="STRING" size="256"/>
  684. <Column id="value" type="STRING" size="256"/>
  685. </ColumnInfo>
  686. </Dataset>
  687. <Dataset id="ds_chk_nerve2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  688. <ColumnInfo>
  689. <Column id="label" type="STRING" size="256"/>
  690. <Column id="value" type="STRING" size="256"/>
  691. </ColumnInfo>
  692. </Dataset>
  693. <Dataset id="ds_chk_blod1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  694. <ColumnInfo>
  695. <Column id="label" type="STRING" size="256"/>
  696. <Column id="value" type="STRING" size="256"/>
  697. </ColumnInfo>
  698. </Dataset>
  699. <Dataset id="ds_chk_blod3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  700. <ColumnInfo>
  701. <Column id="label" type="STRING" size="256"/>
  702. <Column id="value" type="STRING" size="256"/>
  703. </ColumnInfo>
  704. </Dataset>
  705. <Dataset id="ds_chk_abody3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  706. <ColumnInfo>
  707. <Column id="label" type="STRING" size="256"/>
  708. <Column id="value" type="STRING" size="256"/>
  709. </ColumnInfo>
  710. </Dataset>
  711. <Dataset id="ds_chk_total" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  712. </Objects>
  713. <Bind>
  714. <BindItem id="item0" compid="case1.output4" propid="value" datasetid="ds_main_patinfo" columnid="pid"/>
  715. <BindItem id="item1" compid="case1.output5" propid="value" datasetid="ds_main_patinfo" columnid="reqdeptnm"/>
  716. <BindItem id="item2" compid="case1.output2" propid="value" datasetid="ds_main_patinfo" columnid="hngnm"/>
  717. <BindItem id="item3" compid="case1.output8" propid="value" datasetid="ds_main_patinfo" columnid="sna"/>
  718. <BindItem id="item4" compid="case1.output1" propid="value" datasetid="ds_main_patinfo" columnid="requsernm"/>
  719. <BindItem id="item5" compid="case1.output7" propid="value" datasetid="ds_main_patinfo" columnid="prcpflag"/>
  720. <BindItem id="item6" compid="case1.output6" propid="value" datasetid="ds_main_patinfo" columnid="roomcd"/>
  721. <BindItem id="item21" compid="ipt_startdd" propid="value" datasetid="ds_main_cnstinfo" columnid="startdd"/>
  722. <BindItem id="item20" compid="chk_gitayn" propid="value" datasetid="ds_main_cnstinfo" columnid="gitayn"/>
  723. <BindItem id="item19" compid="textarea_gita" propid="value" datasetid="ds_main_cnstinfo" columnid="gita"/>
  724. <BindItem id="item25" compid="cmb_gubun" propid="value" datasetid="ds_main_cnstinfo" columnid="gubun"/>
  725. <BindItem id="item8" compid="textarea_detail" propid="value" datasetid="ds_main_cnstinfo" columnid="causedetail"/>
  726. </Bind>
  727. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
  728. include "emr_prcpmngtxp::MMOCommon.xjs";
  729. //include "ast_pharmacybasexp::pharmacycombolist.xjs"
  730. //=======================================================================================
  731. // Global Form Variable
  732. //---------------------------------------------------------------------------------------
  733. var sReqUseYN = "N"
  734. var sympcd = "";
  735. var sympArrcd = "";
  736. function SPMMD03800_oninit(obj:Form, e:InitEventInfo)
  737. {
  738. frmf_initForm(obj); // 폼 초기화
  739. }
  740. function SPMMD03800_onload(obj:Form, e:LoadEventInfo)
  741. {
  742. finit();
  743. }
  744. function finit(){
  745. sReqUseYN = opener.frmf_getParameter("SPMMD03800_USEYN");
  746. if( sReqUseYN != "Y") {
  747. fGetPatInfo();
  748. }
  749. //Y : 신규입력, N : 기존자료 조회
  750. var sNew = opener.frmf_getParameter("SPMMD03800_NEW");
  751. if(sNew == "N"){
  752. ds_send_harmfulsymptom.setColumn(0, "date", opener.frmf_getParameter("SPMMD03800_RGSTDT"));
  753. } else {
  754. ds_send_harmfulsymptom.setColumn(0, "date", utlf_getCurrentDate());
  755. }
  756. var oParam = {};
  757. oParam.id = "TPMMD03802";
  758. oParam.service = "prcpmngtapp.AlgyMngt";
  759. oParam.method = "reqGetHarmfulSymptomInfo";
  760. oParam.inds = "req=ds_send_harmfulsymptom";
  761. oParam.outds = "ds_chk_total=result";
  762. oParam.async = false;
  763. tranf_submit(oParam);
  764. ds_chk_total.filter("hardcdno == '6001001'");
  765. ds_chk_skin1.copyData(ds_chk_total, true);
  766. ds_chk_total.filter("hardcdno == '6001002'");
  767. ds_chk_skin2.copyData(ds_chk_total, true);
  768. ds_chk_total.filter("hardcdno == '6001003'");
  769. ds_chk_skin3.copyData(ds_chk_total, true);
  770. ds_chk_total.filter("hardcdno == '6001004'");
  771. ds_chk_breth1.copyData(ds_chk_total, true);
  772. ds_chk_total.filter("hardcdno == '6001005'");
  773. ds_chk_breth2.copyData(ds_chk_total, true);
  774. ds_chk_total.filter("hardcdno == '6001006'");
  775. ds_chk_breth3.copyData(ds_chk_total, true);
  776. ds_chk_total.filter("hardcdno == '6001007'");
  777. ds_chk_heart1.copyData(ds_chk_total, true);
  778. ds_chk_total.filter("hardcdno == '6001008'");
  779. ds_chk_heart2.copyData(ds_chk_total, true);
  780. ds_chk_total.filter("hardcdno == '6001009'");
  781. ds_chk_heart3.copyData(ds_chk_total, true);
  782. ds_chk_total.filter("hardcdno == '6001010'");
  783. ds_chk_stom1.copyData(ds_chk_total, true);
  784. ds_chk_total.filter("hardcdno == '6001011'");
  785. ds_chk_stom2.copyData(ds_chk_total, true);
  786. ds_chk_total.filter("hardcdno == '6001012'");
  787. ds_chk_stom3.copyData(ds_chk_total, true);
  788. ds_chk_total.filter("hardcdno == '6001013'");
  789. ds_chk_neph1.copyData(ds_chk_total, true);
  790. ds_chk_total.filter("hardcdno == '6001014'");
  791. ds_chk_neph2.copyData(ds_chk_total, true);
  792. ds_chk_total.filter("hardcdno == '6001015'");
  793. ds_chk_neph3.copyData(ds_chk_total, true);
  794. ds_chk_total.filter("hardcdno == '6001016'");
  795. ds_chk_nerve1.copyData(ds_chk_total, true);
  796. ds_chk_total.filter("hardcdno == '6001017'");
  797. ds_chk_nerve2.copyData(ds_chk_total, true);
  798. ds_chk_total.filter("hardcdno == '6001018'");
  799. ds_chk_nerve3.copyData(ds_chk_total, true);
  800. ds_chk_total.filter("hardcdno == '6001019'");
  801. ds_chk_blod1.copyData(ds_chk_total, true);
  802. ds_chk_total.filter("hardcdno == '6001020'");
  803. ds_chk_blod2.copyData(ds_chk_total, true);
  804. ds_chk_total.filter("hardcdno == '6001021'");
  805. ds_chk_blod3.copyData(ds_chk_total, true);
  806. ds_chk_total.filter("hardcdno == '6001022'");
  807. ds_chk_abody1.copyData(ds_chk_total, true);
  808. ds_chk_total.filter("hardcdno == '6001023'");
  809. ds_chk_abody2.copyData(ds_chk_total, true);
  810. ds_chk_total.filter("hardcdno == '6001024'");
  811. ds_chk_abody3.copyData(ds_chk_total, true);
  812. // checklist property와 dataset 설정
  813. var sProp_3_4 = "col=3,row=4,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  814. var sProp_1_4 = "col=1,row=4,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  815. var sProp_3_3 = "col=3,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  816. var sProp_1_3 = "col=1,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  817. var sProp_1_2 = "col=1,row=2,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  818. var sProp_3_2 = "col=3,row=2,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  819. var sProp_5_1 = "col=5,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  820. var sProp_1_7 = "col=1,row=7,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  821. var sProp_2_1 = "col=2,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  822. var sProp_2_2 = "col=2,row=2,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  823. var sProp_2_3 = "col=2,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  824. var sProp_3_1 = "col=3,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=16,overflow='visible'";
  825. chk_skin1.setInitComp( sProp_2_3, ds_chk_skin1, "value","label","fn_chk_skin1");
  826. chk_skin2.setInitComp( sProp_2_3, ds_chk_skin2, "value","label","fn_chk_skin2");
  827. chk_skin3.setInitComp( sProp_1_7, ds_chk_skin3, "value","label","fn_chk_skin3");
  828. chk_breth1.setInitComp( sProp_2_3, ds_chk_breth1, "value","label","fn_chk_breth1");
  829. chk_breth2.setInitComp( sProp_1_4, ds_chk_breth2, "value","label","fn_chk_breth2");
  830. chk_breth3.setInitComp( sProp_1_4, ds_chk_breth3, "value","label","fn_chk_breth3");
  831. chk_heart1.setInitComp( sProp_1_4, ds_chk_heart1, "value","label","fn_chk_heart1");
  832. chk_heart2.setInitComp( sProp_2_3, ds_chk_heart2, "value","label","fn_chk_heart2");
  833. chk_heart3.setInitComp( sProp_1_4, ds_chk_heart3, "value","label","fn_chk_heart3");
  834. chk_stom1.setInitComp( sProp_3_3, ds_chk_stom1, "value","label","fn_chk_stom1");
  835. chk_stom2.setInitComp( sProp_2_3, ds_chk_stom2, "value","label","fn_chk_stom2");
  836. chk_stom3.setInitComp( sProp_2_3, ds_chk_stom3, "value","label","fn_chk_stom3");
  837. chk_nur1.setInitComp( sProp_3_2, ds_chk_nerve1, "value","label","fn_chk_nur1");
  838. chk_nur2.setInitComp( sProp_3_2, ds_chk_nerve2, "value","label","fn_chk_nur2");
  839. chk_nur3.setInitComp( sProp_2_1, ds_chk_nerve3, "value","label","fn_chk_nur3");
  840. chk_blod1.setInitComp( sProp_2_3, ds_chk_blod1, "value","label","fn_chk_blod1");
  841. chk_blod2.setInitComp( sProp_2_3, ds_chk_blod2, "value","label","fn_chk_blod2");
  842. chk_blod3.setInitComp( sProp_2_3, ds_chk_blod3, "value","label","fn_chk_blod3");
  843. chk_neph1.setInitComp( sProp_1_2, ds_chk_neph1, "value","label","fn_chk_neph1");
  844. chk_neph2.setInitComp( sProp_1_2, ds_chk_neph2, "value","label","fn_chk_neph2");
  845. chk_neph3.setInitComp( sProp_1_2, ds_chk_neph3, "value","label","fn_chk_neph3");
  846. chk_abody1.setInitComp( sProp_2_2, ds_chk_abody1, "value","label","fn_chk_abody1");
  847. chk_abody2.setInitComp( sProp_3_1, ds_chk_abody2, "value","label","fn_chk_abody2");
  848. chk_abody3.setInitComp( sProp_3_1, ds_chk_abody3, "value","label","fn_chk_abody3");
  849. if(sNew == "N"){
  850. btn_cnst.enable = false;
  851. var sPid = opener.frmf_getParameter("SPMMD03800_PID");
  852. var sCretno = opener.frmf_getParameter("SPMMD03800_CRETNO");
  853. if(utlf_isNull(sPid) || utlf_isNull(sCretno)){
  854. sysf_messageBox("알러지 정보를 조회할 수 없습니다.");
  855. }
  856. ds_send_etcallergy.setColumn(0, "pid" , sPid);
  857. ds_send_etcallergy.setColumn(0, "cretno", sCretno);
  858. var oParam = {};
  859. oParam.id = "TPMMD03801";
  860. oParam.service = "prcpmngtapp.AlgyMngt";
  861. oParam.method = "reqGetEtcAllergyInfo";
  862. oParam.inds = "req=ds_send_etcallergy";
  863. oParam.outds = "ds_main_cnstinfo=result";
  864. oParam.async = false;
  865. tranf_submit(oParam);
  866. var symptomData;
  867. symptomData = ds_main_cnstinfo.getColumn(0, "skin1");
  868. if(!utlf_isNull(symptomData)) chk_skin1.setData(symptomData.split(","));
  869. symptomData = ds_main_cnstinfo.getColumn(0, "skin2");
  870. if(!utlf_isNull(symptomData)) chk_skin2.setData(symptomData.split(","));
  871. symptomData = ds_main_cnstinfo.getColumn(0, "skin3");
  872. if(!utlf_isNull(symptomData)) chk_skin3.setData(symptomData.split(","));
  873. symptomData = ds_main_cnstinfo.getColumn(0, "breth1");
  874. if(!utlf_isNull(symptomData)) chk_breth1.setData(symptomData.split(","));
  875. symptomData = ds_main_cnstinfo.getColumn(0, "breth2");
  876. if(!utlf_isNull(symptomData)) chk_breth2.setData(symptomData.split(","));
  877. symptomData = ds_main_cnstinfo.getColumn(0, "breth3");
  878. if(!utlf_isNull(symptomData)) chk_breth3.setData(symptomData.split(","));
  879. symptomData = ds_main_cnstinfo.getColumn(0, "heart1");
  880. if(!utlf_isNull(symptomData)) chk_heart1.setData(symptomData.split(","));
  881. symptomData = ds_main_cnstinfo.getColumn(0, "heart2");
  882. if(!utlf_isNull(symptomData)) chk_heart2.setData(symptomData.split(","));
  883. symptomData = ds_main_cnstinfo.getColumn(0, "heart3");
  884. if(!utlf_isNull(symptomData)) chk_heart3.setData(symptomData.split(","));
  885. symptomData = ds_main_cnstinfo.getColumn(0, "stom1");
  886. if(!utlf_isNull(symptomData)) chk_stom1.setData(symptomData.split(","));
  887. symptomData = ds_main_cnstinfo.getColumn(0, "stom2");
  888. if(!utlf_isNull(symptomData)) chk_stom2.setData(symptomData.split(","));
  889. symptomData = ds_main_cnstinfo.getColumn(0, "stom3");
  890. if(!utlf_isNull(symptomData)) chk_stom3.setData(symptomData.split(","));
  891. symptomData = ds_main_cnstinfo.getColumn(0, "neph1");
  892. if(!utlf_isNull(symptomData)) chk_neph1.setData(symptomData.split(","));
  893. symptomData = ds_main_cnstinfo.getColumn(0, "neph2");
  894. if(!utlf_isNull(symptomData)) chk_neph2.setData(symptomData.split(","));
  895. symptomData = ds_main_cnstinfo.getColumn(0, "neph3");
  896. if(!utlf_isNull(symptomData)) chk_neph3.setData(symptomData.split(","));
  897. symptomData = ds_main_cnstinfo.getColumn(0, "nur1");
  898. if(!utlf_isNull(symptomData)) chk_nur1.setData(symptomData.split(","));
  899. symptomData = ds_main_cnstinfo.getColumn(0, "nur2");
  900. if(!utlf_isNull(symptomData)) chk_nur2.setData(symptomData.split(","));
  901. symptomData = ds_main_cnstinfo.getColumn(0, "nur3");
  902. if(!utlf_isNull(symptomData)) chk_nur3.setData(symptomData.split(","));
  903. symptomData = ds_main_cnstinfo.getColumn(0, "blod1");
  904. if(!utlf_isNull(symptomData)) chk_blod1.setData(symptomData.split(","));
  905. symptomData = ds_main_cnstinfo.getColumn(0, "blod2");
  906. if(!utlf_isNull(symptomData)) chk_blod2.setData(symptomData.split(","));
  907. symptomData = ds_main_cnstinfo.getColumn(0, "blod3");
  908. if(!utlf_isNull(symptomData)) chk_blod3.setData(symptomData.split(","));
  909. symptomData = ds_main_cnstinfo.getColumn(0, "abody1");
  910. if(!utlf_isNull(symptomData)) chk_abody1.setData(symptomData.split(","));
  911. symptomData = ds_main_cnstinfo.getColumn(0, "abody2");
  912. if(!utlf_isNull(symptomData)) chk_abody2.setData(symptomData.split(","));
  913. symptomData = ds_main_cnstinfo.getColumn(0, "abody3");
  914. if(!utlf_isNull(symptomData)) chk_abody3.setData(symptomData.split(","));
  915. } else {
  916. btn_reqcncl.enable = false;
  917. }
  918. }
  919. //등록 버튼 이벤트 처리
  920. function btn_cnst_onclick(obj:Button, e:ClickEventInfo)
  921. {
  922. if(utlf_isNull(cmb_gubun.text)) {
  923. sysf_messageBox("구문(원인물질)은","I003");
  924. return;
  925. }
  926. if(utlf_isNull(textarea_detail.text)) {
  927. sysf_messageBox("원인물질 세부내용은","I003");
  928. return;
  929. }
  930. if(utlf_isNull(ipt_startdd.value)) {
  931. sysf_messageBox("증상발현일은","I003");
  932. return;
  933. }
  934. if(chk_gitayn.value == "Y" && utlf_isNull(textarea_gita.value)){
  935. sysf_messageBox("기타증상란에 체크되어 있습니다. 기타 내용을 적어주세요.");
  936. return;
  937. }
  938. var strSymptom = "";
  939. if(!utlf_isNull(chk_skin1.getData()) || !utlf_isNull(chk_skin2.getData()) || !utlf_isNull(chk_skin3.getData())){
  940. strSymptom = strSymptom + " " + caption_01.text;
  941. if(!utlf_isNull(chk_skin1.getLableData())){
  942. strSymptom = strSymptom + " " + caption_A.text + " : ";
  943. strSymptom = strSymptom + chk_skin1.getLableData();
  944. }
  945. if(!utlf_isNull(chk_skin2.getLableData())){
  946. strSymptom = strSymptom + " " + caption_B.text + " : ";
  947. strSymptom = strSymptom + chk_skin2.getLableData();
  948. }
  949. if(!utlf_isNull(chk_skin3.getLableData())){
  950. strSymptom = strSymptom + " " + caption_C.text + " : ";
  951. strSymptom = strSymptom + chk_skin3.getLableData();
  952. }
  953. }
  954. if(!utlf_isNull(chk_breth1.getData()) || !utlf_isNull(chk_breth2.getData()) || !utlf_isNull(chk_breth3.getData())){
  955. strSymptom = strSymptom + " " + caption_02.text;
  956. if(!utlf_isNull(chk_breth1.getLableData())){
  957. strSymptom = strSymptom + " " + caption_A.text + " : ";
  958. strSymptom = strSymptom + chk_breth1.getLableData();
  959. }
  960. if(!utlf_isNull(chk_breth2.getLableData())){
  961. strSymptom = strSymptom + " " + caption_B.text + " : ";
  962. strSymptom = strSymptom + chk_breth2.getLableData();
  963. }
  964. if(!utlf_isNull(chk_breth3.getLableData())){
  965. strSymptom = strSymptom + " " + caption_C.text + " : ";
  966. strSymptom = strSymptom + chk_breth3.getLableData();
  967. }
  968. }
  969. if(!utlf_isNull(chk_heart1.getData()) || !utlf_isNull(chk_heart2.getData()) || !utlf_isNull(chk_heart3.getData())){
  970. strSymptom = strSymptom + " " + caption_03.text;
  971. if(!utlf_isNull(chk_heart1.getLableData())){
  972. strSymptom = strSymptom + " " + caption_A.text + " : ";
  973. strSymptom = strSymptom + chk_heart1.getLableData();
  974. }
  975. if(!utlf_isNull(chk_heart2.getLableData())){
  976. strSymptom = strSymptom + " " + caption_B.text + " : ";
  977. strSymptom = strSymptom + chk_heart2.getLableData();
  978. }
  979. if(!utlf_isNull(chk_heart3.getLableData())){
  980. strSymptom = strSymptom + " " + caption_C.text + " : ";
  981. strSymptom = strSymptom + chk_heart3.getLableData();
  982. }
  983. }
  984. if(!utlf_isNull(chk_stom1.getData()) || !utlf_isNull(chk_stom2.getData()) || !utlf_isNull(chk_stom3.getData())){
  985. strSymptom = strSymptom + " " + caption_04.text;
  986. if(!utlf_isNull(chk_stom1.getLableData())){
  987. strSymptom = strSymptom + " " + caption_A.text + " : ";
  988. strSymptom = strSymptom + chk_stom1.getLableData();
  989. }
  990. if(!utlf_isNull(chk_stom2.getLableData())){
  991. strSymptom = strSymptom + " " + caption_B.text + " : ";
  992. strSymptom = strSymptom + chk_stom2.getLableData();
  993. }
  994. if(!utlf_isNull(chk_stom3.getLableData())){
  995. strSymptom = strSymptom + " " + caption_C.text + " : ";
  996. strSymptom = strSymptom + chk_stom3.getLableData();
  997. }
  998. }
  999. if(!utlf_isNull(chk_neph1.getData()) || !utlf_isNull(chk_neph2.getData()) || !utlf_isNull(chk_neph3.getData())){
  1000. strSymptom = strSymptom + " " + caption_05.text;
  1001. if(!utlf_isNull(chk_neph1.getLableData())){
  1002. strSymptom = strSymptom + " " + caption_A.text + " : ";
  1003. strSymptom = strSymptom + chk_neph1.getLableData();
  1004. }
  1005. if(!utlf_isNull(chk_neph2.getLableData())){
  1006. strSymptom = strSymptom + " " + caption_B.text + " : ";
  1007. strSymptom = strSymptom + chk_neph2.getLableData();
  1008. }
  1009. if(!utlf_isNull(chk_neph3.getLableData())){
  1010. strSymptom = strSymptom + " " + caption_C.text + " : ";
  1011. strSymptom = strSymptom + chk_neph3.getLableData();
  1012. }
  1013. }
  1014. if(!utlf_isNull(chk_nur1.getData()) || !utlf_isNull(chk_nur2.getData()) || !utlf_isNull(chk_nur3.getData())){
  1015. strSymptom = strSymptom + " " + caption_06.text;
  1016. if(!utlf_isNull(chk_nur1.getLableData())){
  1017. strSymptom = strSymptom + " " + caption_A.text + " : ";
  1018. strSymptom = strSymptom + chk_nur1.getLableData();
  1019. }
  1020. if(!utlf_isNull(chk_nur2.getLableData())){
  1021. strSymptom = strSymptom + " " + caption_B.text + " : ";
  1022. strSymptom = strSymptom + chk_nur2.getLableData();
  1023. }
  1024. if(!utlf_isNull(chk_nur3.getLableData())){
  1025. strSymptom = strSymptom + " " + caption_C.text + " : ";
  1026. strSymptom = strSymptom + chk_nur3.getLableData();
  1027. }
  1028. }
  1029. if(!utlf_isNull(chk_blod1.getData()) || !utlf_isNull(chk_blod2.getData()) || !utlf_isNull(chk_blod3.getData())){
  1030. strSymptom = strSymptom + " " + caption_07.text;
  1031. if(!utlf_isNull(chk_blod1.getLableData())){
  1032. strSymptom = strSymptom + " " + caption_A.text + " : ";
  1033. strSymptom = strSymptom + chk_blod1.getLableData();
  1034. }
  1035. if(!utlf_isNull(chk_blod2.getLableData())){
  1036. strSymptom = strSymptom + " " + caption_B.text + " : ";
  1037. strSymptom = strSymptom + chk_blod2.getLableData();
  1038. }
  1039. if(!utlf_isNull(chk_blod3.getLableData())){
  1040. strSymptom = strSymptom + " " + caption_C.text + " : ";
  1041. strSymptom = strSymptom + chk_blod3.getLableData();
  1042. }
  1043. }
  1044. if(!utlf_isNull(chk_abody1.getData()) || !utlf_isNull(chk_abody2.getData()) || !utlf_isNull(chk_abody3.getData())){
  1045. strSymptom = strSymptom + " " + caption_08.text;
  1046. if(!utlf_isNull(chk_abody1.getLableData())){
  1047. strSymptom = strSymptom + " " + caption_A.text + " : ";
  1048. strSymptom = strSymptom + chk_abody1.getLableData();
  1049. }
  1050. if(!utlf_isNull(chk_abody2.getLableData())){
  1051. strSymptom = strSymptom + " " + caption_B.text + " : ";
  1052. strSymptom = strSymptom + chk_abody2.getLableData();
  1053. }
  1054. if(!utlf_isNull(chk_abody3.getLableData())){
  1055. strSymptom = strSymptom + " " + caption_C.text + " : ";
  1056. strSymptom = strSymptom + chk_abody3.getLableData();
  1057. }
  1058. }
  1059. //양쪽 공백 제거
  1060. if(!utlf_isNull(strSymptom)){
  1061. strSymptom = strSymptom.trimLeft();
  1062. strSymptom = strSymptom.trimRight();
  1063. }
  1064. if(chk_gitayn.value == "Y"){
  1065. strSymptom = strSymptom + " " + chk_gitayn.text + " : ";
  1066. strSymptom = strSymptom + textarea_gita.text;
  1067. }
  1068. ds_main_cnstinfo.setColumn(0, "symptom", strSymptom);
  1069. if(utlf_isNull(strSymptom)){
  1070. sysf_messageBox("유해증상은","I003");
  1071. return;
  1072. }
  1073. if(utlf_isNull(ds_main_patinfo.getColumn(0,"pid"))){
  1074. sysf_messageBox("선택된 환자가 없습니다.");
  1075. return;
  1076. }
  1077. var oParam = {};
  1078. oParam.id = "TPMMD03801";
  1079. oParam.service = "prcpmngtapp.AlgyMngt";
  1080. oParam.method = "reqExeSaveEtcAllergyInfo";
  1081. oParam.inds = "req=ds_main_cnstinfo";
  1082. oParam.async = false;
  1083. tranf_submit(oParam);
  1084. this.close();
  1085. }
  1086. //닫기 버튼 이벤트
  1087. function btn_cls_onclick(obj:Button, e:ClickEventInfo)
  1088. {
  1089. this.close();
  1090. }
  1091. //등록취소 버튼 이벤트
  1092. function btn_reqcncl_onclick(obj:Button, e:ClickEventInfo)
  1093. {
  1094. var oParam = {};
  1095. oParam.id = "TPMMD03801";
  1096. oParam.service = "prcpmngtapp.AlgyMngt";
  1097. oParam.method = "reqExeDelEtcAllergyInfo";
  1098. oParam.inds = "req=ds_main_cnstinfo";
  1099. oParam.async = false;
  1100. tranf_submit(oParam);
  1101. this.close();
  1102. }
  1103. //상단의 환자 정보 셋팅
  1104. function fGetPatInfo() {
  1105. var pamInfoCvs = sysf_getGlobalVariable("paminfo");
  1106. if(!utlf_isNull(pamInfoCvs)){ //cvs가 null이 아닌 경우에만 처리함.
  1107. dsf_setCSVToDs("ds_paminfo",pamInfoCvs);
  1108. ds_main_patinfo.setColumn(0,"pid",ds_paminfo.getColumn(0,"pid"));
  1109. var sna = ds_paminfo.getColumn(0,"sex") +"/"+ ds_paminfo.getColumn(0,"age");
  1110. ds_main_patinfo.setColumn(0,"sna" , sna);
  1111. ds_main_patinfo.setColumn(0,"hngnm" , ds_paminfo.getColumn(0,"hngnm"));
  1112. if(!utlf_isNull(ds_paminfo.getColumnInfo("roomcd"))){
  1113. ds_main_patinfo.setColumn(0,"roomcd" , ds_paminfo.getColumn(0,"roomcd"));
  1114. }
  1115. ds_main_patinfo.setColumn(0,"reqdeptnm" , ds_paminfo.getColumn(0,"orddeptnm"));
  1116. ds_main_patinfo.setColumn(0,"requsernm" , sysf_getUserName());
  1117. var prcpflag = "";
  1118. var ioflag = ds_paminfo.getColumn(0,"ioflag");
  1119. if(ioflag == "O" || ioflag == "S"){
  1120. prcpflag = "외래";
  1121. }else {
  1122. prcpflag = "입원";
  1123. }
  1124. if(ds_paminfo.getColumn(0,"fsexamflag") == "F"){
  1125. prcpflag += "/초진";
  1126. }else if(ds_paminfo.getColumn(0,"fsexamflag") =="R"){
  1127. prcpflag += "/재진";
  1128. }
  1129. ds_main_patinfo.setColumn(0,"prcpflag", prcpflag);
  1130. ds_main_cnstinfo.setColumn(0, "pid", ds_paminfo.getColumn(0,"pid"));
  1131. ds_main_cnstinfo.setColumn(0,"rgstdeptcd", ds_paminfo.getColumn(0,"orddeptcd"));
  1132. ds_main_cnstinfo.setColumn(0,"rgstdd", utlf_getCurrentDate());
  1133. ds_main_cnstinfo.setColumn(0,"ioflag",ds_paminfo.getColumn(0,"ioflag"));
  1134. }else{
  1135. var msg = sysf_messageBox("환자를 ", "C002");
  1136. return false;
  1137. }
  1138. }
  1139. function fn_chk_skin1() {
  1140. //ds_main_cnstinfo.setColumn(0,"skin1",String(chk_skin1.getData()).replace(","," "));
  1141. ds_main_cnstinfo.setColumn(0,"skin1",chk_skin1.getData());
  1142. }
  1143. function fn_chk_skin2() {
  1144. //ds_main_cnstinfo.setColumn(0,"skin2",String(chk_skin2.getData()).replace(","," "));
  1145. ds_main_cnstinfo.setColumn(0,"skin2",chk_skin2.getData());
  1146. }
  1147. function fn_chk_skin3() {
  1148. //ds_main_cnstinfo.setColumn(0,"skin3",String(chk_skin3.getData()).replace(","," "));
  1149. ds_main_cnstinfo.setColumn(0,"skin3",chk_skin3.getData());
  1150. }
  1151. function fn_chk_breth1() {
  1152. //ds_main_cnstinfo.setColumn(0,"breth1",String(chk_breth1.getData()).replace(","," "));
  1153. ds_main_cnstinfo.setColumn(0,"breth1",chk_breth1.getData());
  1154. }
  1155. function fn_chk_breth2() {
  1156. //ds_main_cnstinfo.setColumn(0,"breth2",String(chk_breth2.getData()).replace(","," "));
  1157. ds_main_cnstinfo.setColumn(0,"breth2",chk_breth2.getData());
  1158. }
  1159. function fn_chk_breth3() {
  1160. //ds_main_cnstinfo.setColumn(0,"breth3",String(chk_breth3.getData()).replace(","," "));
  1161. ds_main_cnstinfo.setColumn(0,"breth3",chk_breth3.getData());
  1162. }
  1163. function fn_chk_heart1() {
  1164. //ds_main_cnstinfo.setColumn(0,"heart1",String(chk_heart1.getData()).replace(","," "));
  1165. ds_main_cnstinfo.setColumn(0,"heart1",chk_heart1.getData());
  1166. }
  1167. function fn_chk_heart2() {
  1168. //ds_main_cnstinfo.setColumn(0,"heart2",String(chk_heart2.getData()).replace(","," "));
  1169. ds_main_cnstinfo.setColumn(0,"heart2",chk_heart2.getData());
  1170. }
  1171. function fn_chk_heart3() {
  1172. //ds_main_cnstinfo.setColumn(0,"heart3",String(chk_heart3.getData()).replace(","," "));
  1173. ds_main_cnstinfo.setColumn(0,"heart3",chk_heart3.getData());
  1174. }
  1175. function fn_chk_stom1() {
  1176. //ds_main_cnstinfo.setColumn(0,"stom1",String(chk_stom1.getData()).replace(","," "));
  1177. ds_main_cnstinfo.setColumn(0,"stom1",chk_stom1.getData());
  1178. }
  1179. function fn_chk_stom2() {
  1180. //ds_main_cnstinfo.setColumn(0,"stom2",String(chk_stom2.getData()).replace(","," "));
  1181. ds_main_cnstinfo.setColumn(0,"stom2",chk_stom2.getData());
  1182. }
  1183. function fn_chk_stom3() {
  1184. //ds_main_cnstinfo.setColumn(0,"stom3",String(chk_stom2.getData()).replace(","," "));
  1185. ds_main_cnstinfo.setColumn(0,"stom3",chk_stom2.getData());
  1186. }
  1187. function fn_chk_nur1() {
  1188. //ds_main_cnstinfo.setColumn(0,"nur1",String(chk_nur1.getData()).replace(","," "));
  1189. ds_main_cnstinfo.setColumn(0,"nur1",chk_nur1.getData());
  1190. }
  1191. function fn_chk_nur2() {
  1192. //ds_main_cnstinfo.setColumn(0,"nur2",String(chk_nur1.getData()).replace(","," "));
  1193. ds_main_cnstinfo.setColumn(0,"nur2",chk_nur2.getData());
  1194. }
  1195. function fn_chk_nur3() {
  1196. //ds_main_cnstinfo.setColumn(0,"nur3",String(chk_nur3.getData()).replace(","," "));
  1197. ds_main_cnstinfo.setColumn(0,"nur3",chk_nur3.getData());
  1198. }
  1199. function fn_chk_neph1() {
  1200. //ds_main_cnstinfo.setColumn(0,"neph1",String(chk_neph1.getData()).replace(","," "));
  1201. ds_main_cnstinfo.setColumn(0,"neph1",chk_neph1.getData());
  1202. }
  1203. function fn_chk_neph2() {
  1204. //ds_main_cnstinfo.setColumn(0,"neph2",String(chk_neph2.getData()).replace(","," "));
  1205. ds_main_cnstinfo.setColumn(0,"neph2",chk_neph2.getData());
  1206. }
  1207. function fn_chk_neph3() {
  1208. //ds_main_cnstinfo.setColumn(0,"neph3",String(chk_neph3.getData()).replace(","," "));
  1209. ds_main_cnstinfo.setColumn(0,"neph3",chk_neph3.getData());
  1210. }
  1211. function fn_chk_blod1() {
  1212. //ds_main_cnstinfo.setColumn(0,"blod1",String(chk_blod.getData()).replace(","," "));
  1213. ds_main_cnstinfo.setColumn(0,"blod1",chk_blod1.getData());
  1214. }
  1215. function fn_chk_blod2() {
  1216. //ds_main_cnstinfo.setColumn(0,"blod2",String(chk_blod2.getData()).replace(","," "));
  1217. ds_main_cnstinfo.setColumn(0,"blod2",chk_blod2.getData());
  1218. }
  1219. function fn_chk_blod3() {
  1220. //ds_main_cnstinfo.setColumn(0,"blod3",String(chk_blod.getData()).replace(","," "));
  1221. ds_main_cnstinfo.setColumn(0,"blod3",chk_blod3.getData());
  1222. }
  1223. function fn_chk_abody1() {
  1224. //ds_main_cnstinfo.setColumn(0,"abody1",String(chk_abody1.getData()).replace(","," "));
  1225. ds_main_cnstinfo.setColumn(0,"abody1",chk_abody1.getData());
  1226. }
  1227. function fn_chk_abody2() {
  1228. //ds_main_cnstinfo.setColumn(0,"abody2",String(chk_abody2.getData()).replace(","," "));
  1229. ds_main_cnstinfo.setColumn(0,"abody2",chk_abody2.getData());
  1230. }
  1231. function fn_chk_abody3() {
  1232. //ds_main_cnstinfo.setColumn(0,"abody3",String(chk_abody3.getData()).replace(","," "));
  1233. ds_main_cnstinfo.setColumn(0,"abody3",chk_abody3.getData());
  1234. }
  1235. ]]></Script>
  1236. </Form>
  1237. </FDL>