SPLRR91800_기생충검사의뢰서등록.xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPLRR91800" position="absolute 0 0 611 612" titletext="기생충검사의뢰서" onload="SPLRR91800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" taborder="30" position="absolute -15 576 604 605">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_close" taborder="5" text="닫기" onclick="group3_btn_close_onclick" class="btn4" position="absolute 558 1 614 21" anchor="default"/>
  11. <Button id="btn_save" taborder="6" text="확인" class="btn4" position="absolute 499 1 555 21" anchor="default" onclick="group3_btn_save_onclick"/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Static id="caption21" text="기생충 항체 검사의뢰서" class="tit_1" position="absolute 12 11 216 36"/>
  16. <Static id="cpt_pid" text="Chief Complaint(주증상)" class="cell_1" position="absolute 13 42 160 66"/>
  17. <Static id="cpt_pid00" text="Onset(발병시기)" class="cell_1" position="absolute 13 67 160 91"/>
  18. <Static id="cpt_pid01" text="PMHx(과거력)" class="cell_1" position="absolute 13 92 160 116"/>
  19. <Edit id="input1" taborder="31" position="absolute 165 45 604 65"/>
  20. <Edit id="input2" taborder="32" position="absolute 165 69 604 89"/>
  21. <Edit id="input3" taborder="33" position="absolute 165 93 604 113"/>
  22. <Static id="cpt_pid02" text="PHx(가족력)" class="cell_1" position="absolute 13 117 159 141"/>
  23. <CheckBox id="chk_PHx1" taborder="35" text="DM(당뇨)" position="absolute 256 119 332 139" columncount="1" truevalue="DM(당뇨)"/>
  24. <CheckBox id="chk_PHx0" taborder="36" text="Tb(결핵)" position="absolute 168 119 244 139" columncount="1" truevalue="Tb(결핵)"/>
  25. <CheckBox id="chk_PHx2" taborder="37" text="HT(고혈압)" position="absolute 344 119 433 139" columncount="1" truevalue="HT(고혈압)"/>
  26. <Static id="cpt_pid03" text="Habit(식습관)" class="cell_1" position="absolute 13 142 159 166"/>
  27. <CheckBox id="chk_Habit0" taborder="38" text="육회" position="absolute 168 143 224 163" columncount="1" truevalue="육회"/>
  28. <CheckBox id="chk_Habit1" taborder="39" text="생선회" position="absolute 223 143 279 163" columncount="1" truevalue="생선회"/>
  29. <CheckBox id="chk_Habit2" taborder="40" text="민물게장" position="absolute 290 143 360 163" columncount="1" truevalue="민물게장"/>
  30. <CheckBox id="chk_Habit4" taborder="42" text="개구리" position="absolute 408 143 464 163" columncount="1" truevalue="개구리"/>
  31. <CheckBox id="chk_Habit5" taborder="43" text="간천엽" position="absolute 474 143 530 163" columncount="1" truevalue="간천엽"/>
  32. <CheckBox id="chk_Habit3" taborder="44" text="뱀" position="absolute 366 143 422 163" columncount="1" truevalue="뱀"/>
  33. <Static id="cpt_pid04" text="동물사육여부" class="cell_1" position="absolute 13 166 159 190"/>
  34. <Static id="cpt_pid05" text="S.R(신경학적 반응)" class="cell_1" position="absolute 13 190 159 214"/>
  35. <CheckBox id="chk_Animal0" taborder="45" text="개" position="absolute 168 166 224 186" columncount="1" truevalue="개"/>
  36. <CheckBox id="chk_Animal1" taborder="46" text="고양이" position="absolute 223 166 279 186" columncount="1" truevalue="고양이"/>
  37. <CheckBox id="chk_Animal2" taborder="47" text="기타" position="absolute 290 166 360 186" columncount="1" truevalue="기타"/>
  38. <CheckBox id="chk_SR0" taborder="48" text="Seizure(간질)" position="absolute 168 191 277 211" columncount="1" truevalue="Seizure(간질)"/>
  39. <CheckBox id="chk_SR1" taborder="49" text="Headache(두통)" position="absolute 290 191 416 211" columncount="1" truevalue="Headache(두통)"/>
  40. <CheckBox id="chk_SR2" taborder="50" text="Nuchal rigidity(목덜미 경추)" position="absolute 419 191 604 211" columncount="1" truevalue="Nuchal rigidity(목덜미 경추)"/>
  41. <Static id="cpt_pid06" text="P/E(이학적 소견)" class="cell_1" position="absolute 13 213 159 313"/>
  42. <CheckBox id="chk_PE0" taborder="51" text="Blurred vision(시아흐림)" position="absolute 168 214 338 234" columncount="1" truevalue="Blurred vision(시아흐림)"/>
  43. <CheckBox id="chk_PE1" taborder="52" text="N(오심)" position="absolute 359 214 442 234" columncount="1" truevalue="N(오심)"/>
  44. <CheckBox id="chk_PE2" taborder="53" text="D(설사)" position="absolute 168 232 243 252" columncount="1" truevalue="D(설사)"/>
  45. <CheckBox id="chk_PE3" taborder="54" text="C(변비)" position="absolute 359 232 436 252" columncount="1" truevalue="C(변비)"/>
  46. <CheckBox id="chk_PE4" taborder="55" text="기타" position="absolute 168 250 224 270" columncount="1" truevalue="기타"/>
  47. <CheckBox id="chk_PE5" taborder="56" text="Subcutaneous nodules(피하결절)" position="absolute 359 250 581 270" columncount="1" truevalue="Subcutaneous nodules(피하결절)"/>
  48. <CheckBox id="chk_PE6" taborder="57" text="부위" position="absolute 168 268 224 288" columncount="1" truevalue="부위"/>
  49. <CheckBox id="chk_PE7" taborder="58" text="Hemoptysis(객혈)" position="absolute 359 268 493 288" columncount="1" truevalue="Hemoptysis(객혈)"/>
  50. <CheckBox id="chk_PE8" taborder="59" text="Hepatomegaly(간비대)" position="absolute 168 286 325 306" columncount="1" truevalue="Hepatomegaly(간비대)"/>
  51. <CheckBox id="chk_PE9" taborder="60" text="Proglotted discharge(편절분비물)" position="absolute 359 286 569 306" columncount="1" truevalue="Proglotted discharge(편절분비물)"/>
  52. <Static id="cpt_pid07" text="CBC(혈액학소견)" class="cell_1" position="absolute 13 313 159 337"/>
  53. <Static id="cpt_10spc" text="WBC-HB-Pit" position="absolute 175 315 248 335"/>
  54. <Edit id="input4" taborder="61" class="input_default" position="absolute 252 315 296 335"/>
  55. <Edit id="input5" taborder="62" class="input_default" position="absolute 300 315 344 335"/>
  56. <Edit id="input6" taborder="63" class="input_default" position="absolute 348 315 392 335"/>
  57. <Static id="cpt_10spc00" text="Eosinophil %" position="absolute 415 315 583 335"/>
  58. <Edit id="input7" taborder="64" class="input_default" position="absolute 460 315 504 335"/>
  59. <Static id="cpt_pid08" text="LET(간기능 검사 소견)" class="cell_1" position="absolute 13 337 159 361"/>
  60. <Edit id="input8" taborder="65" position="absolute 165 339 604 359"/>
  61. <Static id="cpt_pid10" text="Stool(분변검사 소견)" class="cell_1" position="absolute 13 362 159 386"/>
  62. <Edit id="input9" taborder="66" position="absolute 165 364 604 384"/>
  63. <Static id="cpt_pid09" text="Chest PA(흉부X선 소견)" class="cell_1" position="absolute 13 387 159 411"/>
  64. <Edit id="input10" taborder="67" position="absolute 165 388 604 408"/>
  65. <Static id="cpt_pid11" text="Chest PA(흉부X선 소견)" class="cell_1" position="absolute 13 411 159 435"/>
  66. <Edit id="input11" taborder="68" position="absolute 165 413 604 433"/>
  67. <Static id="cpt_pid12" text="Brain CT or MRI" class="cell_1" position="absolute 13 411 159 435"/>
  68. <Static id="caption00" text="기타 참고사항" class="tit_2" position="absolute 12 440 216 460"/>
  69. <TextArea id="textarea1" taborder="69" oneditclick="group1_textarea1_oneditclick" position="absolute 12 458 604 568" scrollbars="autovert"/>
  70. <Shape id="line" position="absolute 18 566 544 578" class="line_2" type="line"/>
  71. <Shape id="line00" class="line_3" position="absolute 13 430 604 442"/>
  72. <Shape id="line01" class="line_3" position="absolute 13 405 604 417"/>
  73. <Shape id="line02" class="line_3" position="absolute 13 381 604 393"/>
  74. <Shape id="line03" class="line_3" position="absolute 13 356 604 368"/>
  75. <Shape id="line04" class="line_3" position="absolute 14 332 605 344"/>
  76. <Shape id="line05" class="line_3" position="absolute 13 307 604 319"/>
  77. <Shape id="line06" class="line_3" position="absolute 13 207 604 219"/>
  78. <Shape id="line07" class="line_3" position="absolute 13 110 604 122"/>
  79. <Shape id="line08" class="line_3" position="absolute 13 135 604 147"/>
  80. <Shape id="line09" class="line_3" position="absolute 13 160 604 172"/>
  81. <Shape id="line10" class="line_3" position="absolute 13 85 604 97"/>
  82. <Shape id="line11" class="line_3" position="absolute 13 62 604 74"/>
  83. <Shape id="line12" class="line_1" position="absolute 13 36 604 40" style="border:2 solid cadetblue ;"/>
  84. <Shape id="line13" class="line_3" position="absolute 13 185 604 197"/>
  85. </Layout>
  86. </Layouts>
  87. <Objects>
  88. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  89. <Dataset id="ds_hidden_reqfrminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  90. <ColumnInfo>
  91. <Column id="pid" type="STRING" size="256"/>
  92. <Column id="prcpcd" type="STRING" size="256"/>
  93. <Column id="prcpnm" type="STRING" size="256"/>
  94. <Column id="opnm" type="STRING" size="256"/>
  95. <Column id="spccd" type="STRING" size="256"/>
  96. <Column id="spcnm" type="STRING" size="256"/>
  97. <Column id="reqno" type="STRING" size="256"/>
  98. <Column id="reqhistno" type="STRING" size="256"/>
  99. </ColumnInfo>
  100. <Rows>
  101. <Row>
  102. <Col id="pid"/>
  103. <Col id="prcpcd"/>
  104. <Col id="prcpnm"/>
  105. <Col id="opnm"/>
  106. <Col id="spccd"/>
  107. <Col id="spcnm"/>
  108. <Col id="reqno"/>
  109. <Col id="reqhistno"/>
  110. </Row>
  111. </Rows>
  112. </Dataset>
  113. <Dataset id="ds_rtnvalinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  114. <ColumnInfo>
  115. <Column id="reqno" type="STRING" size="256"/>
  116. <Column id="instcd" type="STRING" size="256"/>
  117. </ColumnInfo>
  118. </Dataset>
  119. <Dataset id="ds_reqfrminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  120. <ColumnInfo>
  121. <Column id="reqcnts" type="STRING" size="256"/>
  122. <Column id="inptitem01" type="STRING" size="256"/>
  123. <Column id="inptitem02" type="STRING" size="256"/>
  124. <Column id="inptitem03" type="STRING" size="256"/>
  125. <Column id="inptitem04" type="STRING" size="256"/>
  126. <Column id="etc" type="STRING" size="256"/>
  127. <Column id="claim" type="STRING" size="256"/>
  128. </ColumnInfo>
  129. <Rows>
  130. <Row>
  131. <Col id="reqcnts">일반적인 난소 나이 평가를 위해</Col>
  132. <Col id="inptitem01">있다</Col>
  133. <Col id="inptitem02"/>
  134. <Col id="inptitem03"/>
  135. <Col id="inptitem04"/>
  136. <Col id="etc"/>
  137. <Col id="claim"/>
  138. </Row>
  139. </Rows>
  140. </Dataset>
  141. </Objects>
  142. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  143. * System Name :
  144. * Job Name :
  145. * Creator :
  146. * Make Date : 2015-05-27
  147. * Description :
  148. *---------------------------------------------------------------------------------------
  149. * Modify Date Modifier Modify Description
  150. *---------------------------------------------------------------------------------------
  151. * 2015-05-27 Live Converter TF->XP
  152. *
  153. *---------------------------------------------------------------------------------------
  154. ****************************************************************************************/
  155. include "com_commonxp::comm_main.xjs";
  156. var objDomParser;
  157. var objDOM;
  158. var oFlag;
  159. function cbf_SPLRR91800(sSvcId, nErrorCode, sErrorMsg) {
  160. if(nErrorCode < 0) return;
  161. }
  162. function fExeClinicSave(){
  163. fmakeData();
  164. // 검체 추가정보 설정
  165. rptf_setValueToDOM(objDOM, "/reqfrminfo/choispc/choispclist/choi", "true");
  166. rptf_setValueToDOM(objDOM, "/reqfrminfo/choispc/choispclist/spcseqno", "001");
  167. rptf_setValueToDOM(objDOM, "/reqfrminfo/choispc/choispclist/spccd", ds_hidden_reqfrminfo.getColumn(0,"spccd"));
  168. rptf_setValueToDOM(objDOM, "/reqfrminfo/choispc/choispclist/spccd2", ds_hidden_reqfrminfo.getColumn(0,"spccd"));
  169. var objParam = new Object();
  170. objParam.xml_data_XML1 = objDOM.documentElement.source;
  171. // 검체 추가정보 설정
  172. ds_send.clear();
  173. dsf_makeValue(ds_send,"pid", "string", ds_hidden_reqfrminfo.getColumn(0,"pid"));
  174. dsf_makeValue(ds_send,"reqno", "string", ds_hidden_reqfrminfo.getColumn(0,"reqno"));
  175. dsf_makeValue(ds_send,"reqcnts", "string", objParam.xml_data_XML1.replace("<![CDATA[","").replace("]]]]><![CDATA[>",""));
  176. dsf_makeValue(ds_send,"instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  177. //------------------------
  178. var oParam = {};
  179. oParam.id = "TXLRR90201";
  180. oParam.service = "diagtestapplib.LisCommon";
  181. oParam.method = "reqExeReqFrmInfo";
  182. oParam.inds = "refData=ds_send";
  183. oParam.outds = "ds_rtnvalinfo=reflist";
  184. oParam.transaction = true;
  185. oParam.async = false;
  186. oParam.callback = "cf_TXLRR90201";
  187. tranf_submit(oParam);
  188. if (arErrorCode.pop("TXLRR90201") < 0) {
  189. sysf_messageBox("의뢰지 저장을", "E009");
  190. return false;
  191. }
  192. //------------------
  193. // 의뢰지번호 Return
  194. opener.ds_hidden_reqfrminfo.setColumn(0,"reqno", ds_rtnvalinfo.getColumn(0,"reqno"));
  195. //------------
  196. close();
  197. }
  198. function cf_TXLRR90201(sSvcId, nErrorCode, sErrorMsg) {
  199. arErrorCode.push(sSvcId, nErrorCode);
  200. }
  201. function fExeInitialize() {
  202. // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
  203. if (ds_hidden_reqfrminfo.getColumn(0,"scrnno") == "10") {
  204. group3.btn_save.visible = true;
  205. } else {
  206. group3.btn_save.visible = false;
  207. }
  208. // 의뢰지번호가 존재할 경우 의뢰지내용을 조회
  209. if(utlf_isNull(ds_hidden_reqfrminfo.getColumn(0,"reqcnts"))) { //내용이 없다
  210. if (ds_hidden_reqfrminfo.getColumn(0,"reqno") != "0") { //의뢰지번호 존재시
  211. dsf_makeValue(ds_send,"instcd", "string",sysf_getUserInfo("dutplceinstcd"));
  212. dsf_makeValue(ds_send,"pid", "string", ds_hidden_reqfrminfo.getColumn(0,"pid"));
  213. dsf_makeValue(ds_send,"reqno", "string", ds_hidden_reqfrminfo.getColumn(0,"reqno"));
  214. var oParam = {};
  215. oParam.id = "TRLRR90201";
  216. oParam.service = "diagtestapplib.LisCommon";
  217. oParam.method = "reqGetReqFrmInfo";
  218. oParam.inds = "refData=ds_send";
  219. oParam.outds = "ds_reqfrminfo=refrslt";
  220. oParam.async = false;
  221. oParam.callback = "cbf_SPLRR92400";
  222. tranf_submit(oParam);
  223. } else { //의뢰지 번호 없어.!
  224. objDomParser = new DomParser;
  225. objDOM = objDomParser.parseFromString("<reqfrminfo></reqfrminfo>");
  226. rptf_setValueToDOM(objDOM, "/reqfrminfo/inptitem01", "");
  227. rptf_setValueToDOM(objDOM, "/reqfrminfo/inptitem02", "");
  228. rptf_setValueToDOM(objDOM, "/reqfrminfo/inptitem03", "");
  229. rptf_setValueToDOM(objDOM, "/reqfrminfo/reqcnts", "");
  230. ds_hidden_reqfrminfo.setColumn(0,"reqno", "0");
  231. }
  232. } else { //내용이 있다(ex> 특수에서 의뢰서 띄울때 처럼)
  233. var nRow = ds_reqfrminfo.addRow();
  234. ds_reqfrminfo.setColumn(nRow, "reqcnts", ds_hidden_reqfrminfo.getColumn(0, "reqcnts"));
  235. fsetData();
  236. }
  237. }
  238. function fsetData(){
  239. objDomParser = new DomParser;
  240. objDOM = objDomParser.parseFromString(ds_reqfrminfo.getColumn(0, "reqcnts"));
  241. input1.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para1");
  242. input2.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para2");
  243. input3.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para3");
  244. input4.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para30");
  245. input5.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para31");
  246. input6.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para32");
  247. input7.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para33");
  248. input8.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para34");
  249. input9.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para35");
  250. input10.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para36");
  251. input11.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para37");
  252. textarea1.value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para38");
  253. var chk_value = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para4").split(",");
  254. for(var i = 0; i < chk_value.length; i++){
  255. switch (chk_value[i]){
  256. case chk_PHx0.text : {
  257. chk_PHx0.value = chk_value[i];
  258. break;
  259. }
  260. case chk_PHx1.text : {
  261. chk_PHx1.value = chk_value[i];
  262. break;
  263. }
  264. case chk_PHx2.text : {
  265. chk_PHx2.value = chk_value[i];
  266. break;
  267. }
  268. }
  269. }
  270. var chk_value1 = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para7").split(",");
  271. for(var i = 0; i < chk_value1.length; i++){
  272. switch (chk_value1[i]){
  273. case chk_Habit0.text : {
  274. chk_Habit0.value = chk_value1[i];
  275. break;
  276. }
  277. case chk_Habit1.text : {
  278. chk_Habit1.value = chk_value1[i];
  279. break;
  280. }
  281. case chk_Habit2.text : {
  282. chk_Habit2.value = chk_value1[i];
  283. break;
  284. }
  285. case chk_Habit3.text : {
  286. chk_Habit3.value = chk_value1[i];
  287. break;
  288. }
  289. case chk_Habit4.text : {
  290. chk_Habit4.value = chk_value1[i];
  291. break;
  292. }
  293. case chk_Habit5.text : {
  294. chk_Habit5.value = chk_value1[i];
  295. break;
  296. }
  297. }
  298. }
  299. var chk_value2 = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para13").split(",");
  300. for(var i = 0; i < chk_value2.length; i++){
  301. switch (chk_value2[i]){
  302. case chk_Animal0.text : {
  303. chk_Animal0.value = chk_value2[i];
  304. break;
  305. }
  306. case chk_Animal1.text : {
  307. chk_Animal1.value = chk_value2[i];
  308. break;
  309. }
  310. case chk_Animal2.text : {
  311. chk_Animal2.value = chk_value2[i];
  312. break;
  313. }
  314. }
  315. }
  316. var chk_value3 = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para16").split(",");
  317. for(var i = 0; i < chk_value3.length; i++){
  318. switch (chk_value3[i]){
  319. case chk_SR0.text : {
  320. chk_SR0.value = chk_value3[i];
  321. break;
  322. }
  323. case chk_SR1.text : {
  324. chk_SR1.value = chk_value3[i];
  325. break;
  326. }
  327. case chk_SR2.text : {
  328. chk_SR2.value = chk_value3[i];
  329. break;
  330. }
  331. }
  332. }
  333. var chk_value4 = rptf_getValueFromDOM(objDOM,"/reqfrminfo/inptitem01/para19").split(",");
  334. for(var i = 0; i < chk_value4.length; i++){
  335. switch (chk_value4[i]){
  336. case chk_PE0.text : {
  337. chk_PE0.value = chk_value4[i];
  338. break;
  339. }
  340. case chk_PE1.text : {
  341. chk_PE1.value = chk_value4[i];
  342. break;
  343. }
  344. case chk_PE2.text : {
  345. chk_PE2.value = chk_value4[i];
  346. break;
  347. }
  348. case chk_PE3.text : {
  349. chk_PE3.value = chk_value4[i];
  350. break;
  351. }
  352. case chk_PE4.text : {
  353. chk_PE4.value = chk_value4[i];
  354. break;
  355. }
  356. case chk_PE5.text : {
  357. chk_PE5.value = chk_value4[i];
  358. break;
  359. }
  360. case chk_PE6.text : {
  361. chk_PE6.value = chk_value4[i];
  362. break;
  363. }
  364. case chk_PE7.text : {
  365. chk_PE7.value = chk_value4[i];
  366. break;
  367. }
  368. case chk_PE8.text : {
  369. chk_PE8.value = chk_value4[i];
  370. break;
  371. }
  372. case chk_PE9.text : {
  373. chk_PE9.value = chk_value4[i];
  374. break;
  375. }
  376. }
  377. }
  378. }
  379. function fmakeData()
  380. {
  381. objDomParser = new DomParser;
  382. objDOM = objDomParser.parseFromString("<reqfrminfo></reqfrminfo>");
  383. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para1",utlf_transNullToEmpty(input1.value));
  384. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para2",utlf_transNullToEmpty(input2.value));
  385. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para3",utlf_transNullToEmpty(input3.value));
  386. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para30",utlf_transNullToEmpty(input4.value ));
  387. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para31",utlf_transNullToEmpty(input5.value));
  388. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para32",utlf_transNullToEmpty(input6.value));
  389. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para33",utlf_transNullToEmpty(input7.value));
  390. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para34",utlf_transNullToEmpty(input8.value));
  391. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para35",utlf_transNullToEmpty(input9.value));
  392. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para36",utlf_transNullToEmpty(input10.value));
  393. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para37",utlf_transNullToEmpty(input11.value));
  394. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para38",utlf_transNullToEmpty(textarea1.value));
  395. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para4", "");
  396. var chk_value0 = new Array();
  397. chk_value0[0] = chk_PHx0;
  398. chk_value0[1] = chk_PHx1;
  399. chk_value0[2] = chk_PHx2;
  400. for(i = 0; i < 3; i++){
  401. switch (chk_value0[i].value){
  402. case chk_PHx0.text : {
  403. fmakeInptitemPara("/reqfrminfo/inptitem01/para4",chk_PHx0.text );
  404. break;
  405. }
  406. case chk_PHx1.text : {
  407. fmakeInptitemPara("/reqfrminfo/inptitem01/para4",chk_PHx1.text );
  408. break;
  409. }
  410. case chk_PHx2.text :{
  411. fmakeInptitemPara("/reqfrminfo/inptitem01/para4",chk_PHx2.text );
  412. break;
  413. }
  414. }
  415. }
  416. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para7", "");
  417. var chk_value1 = new Array();
  418. chk_value1[0] = chk_Habit0;
  419. chk_value1[1] = chk_Habit1;
  420. chk_value1[2] = chk_Habit2;
  421. chk_value1[3] = chk_Habit3;
  422. chk_value1[4] = chk_Habit4;
  423. chk_value1[5] = chk_Habit5;
  424. for(i = 0; i < 6; i++){
  425. switch (chk_value1[i].value){
  426. case chk_Habit0.text : {
  427. fmakeInptitemPara("/reqfrminfo/inptitem01/para7",chk_Habit0.text );
  428. break;
  429. }
  430. case chk_Habit1.text : {
  431. fmakeInptitemPara("/reqfrminfo/inptitem01/para7",chk_Habit1.text );
  432. break;
  433. }
  434. case chk_Habit2.text :{
  435. fmakeInptitemPara("/reqfrminfo/inptitem01/para7",chk_Habit2.text );
  436. break;
  437. }
  438. case chk_Habit3.text : {
  439. fmakeInptitemPara("/reqfrminfo/inptitem01/para7",chk_Habit3.text );
  440. break;
  441. }
  442. case chk_Habit4.text : {
  443. fmakeInptitemPara("/reqfrminfo/inptitem01/para7",chk_Habit4.text );
  444. break;
  445. }
  446. case chk_Habit5.text :{
  447. fmakeInptitemPara("/reqfrminfo/inptitem01/para7",chk_Habit5.text );
  448. break;
  449. }
  450. }
  451. }
  452. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para13", "");
  453. var chk_value2 = new Array();
  454. chk_value2[0] = chk_Animal0;
  455. chk_value2[1] = chk_Animal1;
  456. chk_value2[2] = chk_Animal2;
  457. for(i = 0; i < 3; i++){
  458. switch (chk_value2[i].value){
  459. case chk_Animal0.text : {
  460. fmakeInptitemPara("/reqfrminfo/inptitem01/para13",chk_Animal0.text );
  461. break;
  462. }
  463. case chk_Animal1.text : {
  464. fmakeInptitemPara("/reqfrminfo/inptitem01/para13",chk_Animal1.text );
  465. break;
  466. }
  467. case chk_Animal2.text :{
  468. fmakeInptitemPara("/reqfrminfo/inptitem01/para13",chk_Animal2.text );
  469. break;
  470. }
  471. }
  472. }
  473. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para16", "");
  474. var chk_value3 = new Array();
  475. chk_value3[0] = chk_SR0;
  476. chk_value3[1] = chk_SR1;
  477. chk_value3[2] = chk_SR2;
  478. for(i = 0; i < 3; i++){
  479. switch (chk_value3[i].value){
  480. case chk_SR0.text : {
  481. fmakeInptitemPara("/reqfrminfo/inptitem01/para16",chk_SR0.text );
  482. break;
  483. }
  484. case chk_SR1.text : {
  485. fmakeInptitemPara("/reqfrminfo/inptitem01/para16",chk_SR1.text );
  486. break;
  487. }
  488. case chk_SR2.text :{
  489. fmakeInptitemPara("/reqfrminfo/inptitem01/para16",chk_SR2.text );
  490. break;
  491. }
  492. }
  493. }
  494. rptf_setValueToDOM(objDOM,"/reqfrminfo/inptitem01/para19", "");
  495. var chk_value4 = new Array();
  496. chk_value4[0] = chk_PE0;
  497. chk_value4[1] = chk_PE1;
  498. chk_value4[2] = chk_PE2;
  499. chk_value4[3] = chk_PE3;
  500. chk_value4[4] = chk_PE4;
  501. chk_value4[5] = chk_PE5;
  502. chk_value4[6] = chk_PE6;
  503. chk_value4[7] = chk_PE7;
  504. for(i = 0; i < 8; i++){
  505. switch (chk_value4[i].value){
  506. case chk_PE0.text : {
  507. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE0.text );
  508. break;
  509. }
  510. case chk_PE1.text : {
  511. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE1.text );
  512. break;
  513. }
  514. case chk_PE2.text :{
  515. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE2.text );
  516. break;
  517. }
  518. case chk_PE3.text : {
  519. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE3.text );
  520. break;
  521. }
  522. case chk_PE4.text : {
  523. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE4.text );
  524. break;
  525. }
  526. case chk_PE5.text :{
  527. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE5.text );
  528. break;
  529. }
  530. case chk_PE6.text : {
  531. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE6.text );
  532. break;
  533. }
  534. case chk_PE7.text :{
  535. fmakeInptitemPara("/reqfrminfo/inptitem01/para19",chk_PE7.text );
  536. break;
  537. }
  538. }
  539. }
  540. }
  541. function fmakeInptitemPara(strObj,Str){
  542. if(utlf_isNull(rptf_getValueFromDOM(strObj, Str))){
  543. rptf_setValueToDOM(objDOM,strObj, Str);
  544. }else{
  545. rptf_setValueToDOM(objDOM,strObj, rptf_getValueFromDOM(objDOM,strObj + "," + Str));
  546. }
  547. }
  548. function fsetClose(){
  549. this.close();
  550. }
  551. function SPLRR91800_onload(obj:Form, e:LoadEventInfo){
  552. frmf_initForm(obj);
  553. ds_hidden_reqfrminfo.copyData(arg_ds_hidden_reqfrminfo);
  554. //의뢰지초기 셋팅
  555. fExeInitialize();
  556. }
  557. function btn_exit_onclick(obj:Button, e:ClickEventInfo)
  558. {
  559. this.close();
  560. }
  561. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
  562. {
  563. fExeClinicSave();
  564. }
  565. ]]></Script>
  566. </Form>
  567. </FDL>