123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPADC62901" position="absolute 0 0 761 356" titletext="ADR 유해증상" oninit="SPADC62901_oninit" onload="SPADC62901_onload">
- <Layouts>
- <Layout>
- <Shape id="line10" linetype="horizontal" class="line_2" position="absolute 0 314 759 320"/>
- <Static id="caption31" class="cell_1" position="absolute 306 264 371 314"/>
- <Static id="caption35" text="기타" position="absolute 326 269 366 289"/>
- <Shape id="line5" linetype="vertical" class="line_2" position="absolute 4 18 759 24"/>
- <Button id="button9" taborder="1" text="확인" class="btn5" visible="false" position="absolute 709 290 751 312" onclick="button9_onclick"/>
- <TextArea id="textarea2" taborder="2" enable="false" position="absolute 380 288 706 314"/>
- <CheckBox id="chk_etc" taborder="4" position="absolute 313 290 363 310" text="기타" onclick="chk_etc_onclick" truevalue="99"/>
- <Static id="caption34" text="신장이상" class="cell_1" position="absolute 1 264 66 314"/>
- <Static id="caption2" text="소화기계" class="cell_1" position="absolute 306 179 371 259"/>
- <Static id="caption32" text="신경계" class="cell_1" position="absolute 1 179 66 259"/>
- <Static id="caption11" text="호흡기계" class="cell_1" position="absolute 1 114 66 174"/>
- <Static id="caption6" text="심혈관계" class="cell_1" position="absolute 306 114 371 174"/>
- <Static id="caption33" text="정신증상" class="cell_1" position="absolute 601 114 666 174"/>
- <Static id="caption12" text="혈액이상" class="cell_1" position="absolute 601 24 666 109"/>
- <Static id="caption13" text="전신증상" class="cell_1" position="absolute 306 24 371 109"/>
- <Static id="caption30" text="피부병변" class="cell_1" position="absolute 1 24 66 109"/>
- <Shape id="line1" class="line_1" position="absolute -1 19 759 25"/>
- <Static id="caption1" text="ADR 유해증상" class="tit_2" position="absolute 0 3 202 20"/>
- <Button id="btn_cls" taborder="14" text="닫기" class="btn4" position="absolute 703 325 759 347" onclick="btn_cls_onclick"/>
- <Button id="btn_cfm" taborder="15" text="확인" class="btn4" position="absolute 644 325 700 347" onclick="btn_cfm_onclick"/>
- <cp_checkboxList id="chk_skin" titletext="CheckBox List" taborder="16" text="cp_checkboxList00" scrollbars="none" position="absolute 68 26 231 55" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_body" titletext="CheckBox List" taborder="17" text="cp_checkboxList00" scrollbars="none" position="absolute 373 26 536 55" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_blood" titletext="CheckBox List" taborder="18" text="cp_checkboxList00" scrollbars="none" position="absolute 668 26 755 55" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_breth" titletext="CheckBox List" taborder="19" text="cp_checkboxList00" scrollbars="none" position="absolute 68 114 231 143" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_neur" titletext="CheckBox List" taborder="20" text="cp_checkboxList00" scrollbars="none" position="absolute 68 186 231 215" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_neph" titletext="CheckBox List" taborder="21" text="cp_checkboxList00" scrollbars="none" position="absolute 68 266 231 295" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_heart" titletext="CheckBox List" taborder="22" text="cp_checkboxList00" scrollbars="none" position="absolute 373 114 536 143" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_stom" titletext="CheckBox List" taborder="23" text="cp_checkboxList00" scrollbars="none" position="absolute 373 178 536 207" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_gita" titletext="CheckBox List" taborder="24" text="cp_checkboxList00" scrollbars="none" position="absolute 373 266 536 295" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <cp_checkboxList id="chk_psy" titletext="CheckBox List" taborder="25" text="cp_checkboxList00" scrollbars="none" position="absolute 668 114 755 143" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <Shape id="line00" class="line_1" position="absolute -1 18 759 24"/>
- <Shape id="line02" class="line_1" position="absolute -1 20 759 26"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_sympinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="skin" type="STRING" size="256"/>
- <Column id="breth" type="STRING" size="256"/>
- <Column id="stom" type="STRING" size="256"/>
- <Column id="heart" type="STRING" size="256"/>
- <Column id="blood" type="STRING" size="256"/>
- <Column id="body" type="STRING" size="256"/>
- <Column id="etccd" type="STRING" size="256"/>
- <Column id="etcnm" type="STRING" size="256"/>
- <Column id="neur" type="STRING" size="256"/>
- <Column id="neph" type="STRING" size="256"/>
- <Column id="psy" type="STRING" size="256"/>
- <Column id="gita" type="STRING" size="256"/>
- <Column id="gitanm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="skin"/>
- <Col id="breth"/>
- <Col id="stom"/>
- <Col id="heart"/>
- <Col id="blood"/>
- <Col id="body"/>
- <Col id="etccd"/>
- <Col id="etcnm"/>
- <Col id="neur"/>
- <Col id="neph"/>
- <Col id="psy"/>
- <Col id="gita"/>
- <Col id="gitanm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_popdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="casrslt" type="STRING" size="256"/>
- <Column id="totscr" type="STRING" size="256"/>
- <Column id="koralgo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="casrslt"/>
- <Col id="totscr"/>
- <Col id="koralgo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_skin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">11</Col>
- <Col id="cdnm">발진 :(</Col>
- </Row>
- <Row>
- <Col id="cdid">1A</Col>
- <Col id="cdnm">전신</Col>
- </Row>
- <Row>
- <Col id="cdid">1B</Col>
- <Col id="cdnm">국소)</Col>
- </Row>
- <Row>
- <Col id="cdid">13</Col>
- <Col id="cdnm">가려움 :(</Col>
- </Row>
- <Row>
- <Col id="cdid">1C </Col>
- <Col id="cdnm">전신</Col>
- </Row>
- <Row>
- <Col id="cdid">1D</Col>
- <Col id="cdnm">국소)</Col>
- </Row>
- <Row>
- <Col id="cdid">12</Col>
- <Col id="cdnm">두드러기</Col>
- </Row>
- <Row>
- <Col id="cdid">14</Col>
- <Col id="cdnm">농포</Col>
- </Row>
- <Row>
- <Col id="cdid">15</Col>
- <Col id="cdnm">혈관부종</Col>
- </Row>
- <Row>
- <Col id="cdid">16</Col>
- <Col id="cdnm">수포</Col>
- </Row>
- <Row>
- <Col id="cdid">17</Col>
- <Col id="cdnm">과색소침착</Col>
- </Row>
- <Row>
- <Col id="cdid">18</Col>
- <Col id="cdnm">탈모</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_body" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">61</Col>
- <Col id="cdnm">발열</Col>
- </Row>
- <Row>
- <Col id="cdid">62</Col>
- <Col id="cdnm">어지러움</Col>
- </Row>
- <Row>
- <Col id="cdid">63</Col>
- <Col id="cdnm">의식소실</Col>
- </Row>
- <Row>
- <Col id="cdid">64</Col>
- <Col id="cdnm">체중증가</Col>
- </Row>
- <Row>
- <Col id="cdid">65</Col>
- <Col id="cdnm">식욕감퇴</Col>
- </Row>
- <Row>
- <Col id="cdid">66</Col>
- <Col id="cdnm">전신부종</Col>
- </Row>
- <Row>
- <Col id="cdid">67</Col>
- <Col id="cdnm">관절통</Col>
- </Row>
- <Row>
- <Col id="cdid">68</Col>
- <Col id="cdnm">근육통</Col>
- </Row>
- <Row>
- <Col id="cdid">69</Col>
- <Col id="cdnm">림프절병증</Col>
- </Row>
- <Row>
- <Col id="cdid">6A</Col>
- <Col id="cdnm">전신쇠약</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_blood" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">51</Col>
- <Col id="cdnm">빈혈</Col>
- </Row>
- <Row>
- <Col id="cdid">52</Col>
- <Col id="cdnm">혈소판감소</Col>
- </Row>
- <Row>
- <Col id="cdid">53</Col>
- <Col id="cdnm">백혈구감소</Col>
- </Row>
- <Row>
- <Col id="cdid">54</Col>
- <Col id="cdnm">호산구증가</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_breth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">21</Col>
- <Col id="cdnm">호흡곤란</Col>
- </Row>
- <Row>
- <Col id="cdid">22</Col>
- <Col id="cdnm">천명</Col>
- </Row>
- <Row>
- <Col id="cdid">23</Col>
- <Col id="cdnm">기침</Col>
- </Row>
- <Row>
- <Col id="cdid">24</Col>
- <Col id="cdnm">콧물</Col>
- </Row>
- <Row>
- <Col id="cdid">25</Col>
- <Col id="cdnm">재채기</Col>
- </Row>
- <Row>
- <Col id="cdid">26</Col>
- <Col id="cdnm">코막힘</Col>
- </Row>
- <Row>
- <Col id="cdid">27</Col>
- <Col id="cdnm">객담증가</Col>
- </Row>
- <Row>
- <Col id="cdid">28</Col>
- <Col id="cdnm">쉰목소리</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_stom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">3A</Col>
- <Col id="cdnm">황달</Col>
- </Row>
- <Row>
- <Col id="cdid">35</Col>
- <Col id="cdnm">구토</Col>
- </Row>
- <Row>
- <Col id="cdid">33</Col>
- <Col id="cdnm">오심(메시꺼움)</Col>
- </Row>
- <Row>
- <Col id="cdid">34</Col>
- <Col id="cdnm">간기능이상</Col>
- </Row>
- <Row>
- <Col id="cdid">32</Col>
- <Col id="cdnm">복통</Col>
- </Row>
- <Row>
- <Col id="cdid">36</Col>
- <Col id="cdnm">소화불량</Col>
- </Row>
- <Row>
- <Col id="cdid">37</Col>
- <Col id="cdnm">위장관출혈(상부)</Col>
- </Row>
- <Row>
- <Col id="cdid">38</Col>
- <Col id="cdnm">혈변</Col>
- </Row>
- <Row>
- <Col id="cdid">39</Col>
- <Col id="cdnm">변비</Col>
- </Row>
- <Row>
- <Col id="cdid">31</Col>
- <Col id="cdnm">설사</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_neph" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">91</Col>
- <Col id="cdnm">혈뇨</Col>
- </Row>
- <Row>
- <Col id="cdid">92</Col>
- <Col id="cdnm">신기능이상</Col>
- </Row>
- <Row>
- <Col id="cdid">93</Col>
- <Col id="cdnm">신부전</Col>
- </Row>
- <Row>
- <Col id="cdid">94</Col>
- <Col id="cdnm">당뇨</Col>
- </Row>
- <Row>
- <Col id="cdid">95</Col>
- <Col id="cdnm">배뇨장애</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_heart" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">41</Col>
- <Col id="cdnm">저혈압</Col>
- </Row>
- <Row>
- <Col id="cdid">42</Col>
- <Col id="cdnm">부정맥</Col>
- </Row>
- <Row>
- <Col id="cdid">43</Col>
- <Col id="cdnm">쇽</Col>
- </Row>
- <Row>
- <Col id="cdid">44</Col>
- <Col id="cdnm">빈맥</Col>
- </Row>
- <Row>
- <Col id="cdid">45</Col>
- <Col id="cdnm">서맥</Col>
- </Row>
- <Row>
- <Col id="cdid">46</Col>
- <Col id="cdnm">실신</Col>
- </Row>
- <Row>
- <Col id="cdid">47</Col>
- <Col id="cdnm">가슴통증</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_psy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">81</Col>
- <Col id="cdnm">섬망</Col>
- </Row>
- <Row>
- <Col id="cdid">82</Col>
- <Col id="cdnm">불안</Col>
- </Row>
- <Row>
- <Col id="cdid">83</Col>
- <Col id="cdnm">행동과다</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_neur" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">71</Col>
- <Col id="cdnm">의식저하</Col>
- </Row>
- <Row>
- <Col id="cdid">72</Col>
- <Col id="cdnm">두통</Col>
- </Row>
- <Row>
- <Col id="cdid">73</Col>
- <Col id="cdnm">어지러움</Col>
- </Row>
- <Row>
- <Col id="cdid">74</Col>
- <Col id="cdnm">졸림</Col>
- </Row>
- <Row>
- <Col id="cdid">75</Col>
- <Col id="cdnm">손발떨림</Col>
- </Row>
- <Row>
- <Col id="cdid">76</Col>
- <Col id="cdnm">손발저림</Col>
- </Row>
- <Row>
- <Col id="cdid">77</Col>
- <Col id="cdnm">운동이상증</Col>
- </Row>
- <Row>
- <Col id="cdid">78</Col>
- <Col id="cdnm">보행장애</Col>
- </Row>
- <Row>
- <Col id="cdid">79</Col>
- <Col id="cdnm">수면장애</Col>
- </Row>
- <Row>
- <Col id="cdid">7A</Col>
- <Col id="cdnm">언어장애</Col>
- </Row>
- <Row>
- <Col id="cdid">7B</Col>
- <Col id="cdnm">기억력장애</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_gita" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">A1</Col>
- <Col id="cdnm">성욕감퇴</Col>
- </Row>
- <Row>
- <Col id="cdid">A2</Col>
- <Col id="cdnm">성기능장애</Col>
- </Row>
- <Row>
- <Col id="cdid">A3</Col>
- <Col id="cdnm">청력장애</Col>
- </Row>
- <Row>
- <Col id="cdid">A4</Col>
- <Col id="cdnm">이명</Col>
- </Row>
- <Row>
- <Col id="cdid">A5</Col>
- <Col id="cdnm">시력장애</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="chk_etc" propid="value" datasetid="ds_main_sympinfo" columnid="etccd"/>
- <BindItem id="item1" compid="textarea2" propid="value" datasetid="ds_main_sympinfo" columnid="etcnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SPADC62901_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPADC62901_onload(obj:Form, e:LoadEventInfo)
- {
- //피부병변
- var sProp1="col=3,row=4,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_skin.setInitComp(sProp1, ds_init_skin, "cdid", "cdnm", "fn_skin");
-
- fn_getSkin();
-
- //전신증상
- var sProp1="col=3,row=4,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_body.setInitComp(sProp1, ds_init_body, "cdid", "cdnm", "fn_body");
-
- fn_getBody();
-
- //혈액이상
- var sProp1="col=1,row=4,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_blood.setInitComp(sProp1, ds_init_blood, "cdid", "cdnm", "fn_blood");
-
- fn_getBlood();
-
- //호흡기계
- var sProp1="col=3,row=3,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_breth.setInitComp(sProp1, ds_init_breth, "cdid", "cdnm", "fn_breth");
-
- fn_getBreth();
-
- //심혈관계
- var sProp1="col=3,row=3,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_heart.setInitComp(sProp1, ds_init_heart, "cdid", "cdnm", "fn_heart");
-
- fn_getHeart();
-
- //정신증상
- var sProp1="col=1,row=3,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_psy.setInitComp(sProp1, ds_init_psy, "cdid", "cdnm", "fn_psy");
-
- fn_getPsy();
-
- //신경계
- var sProp1="col=3,row=4,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_neur.setInitComp(sProp1, ds_init_neur, "cdid", "cdnm", "fn_neur");
-
- fn_getNeur();
-
- //소화기계
- var sProp1="col=3,row=4,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_stom.setInitComp(sProp1, ds_init_stom, "cdid", "cdnm", "fn_stom");
-
- fn_getStom();
-
- //신장이상
- var sProp1="col=3,row=2,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_neph.setInitComp(sProp1, ds_init_neph, "cdid", "cdnm", "fn_neph");
-
- fn_getNeph();
-
- //기타
- var sProp1="col=5,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- chk_gita.setInitComp(sProp1, ds_init_gita, "cdid", "cdnm", "fn_gita");
-
- fn_getGita();
- }
- /******************************************************************
- * Argument :
- * Description : 피부병변 setData
- ******************************************************************/
- function fn_skin(){
- var getData = String(chk_skin.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "skin", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 피부병변 getData
- ******************************************************************/
- function fn_getSkin(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "skin"))) {
- var getData = ds_main_sympinfo.getColumn(0, "skin").split(" ");;
- chk_skin.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 전신증상 setData
- ******************************************************************/
- function fn_body(){
- var getData = String(chk_body.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "body", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 전신증상 getData
- ******************************************************************/
- function fn_getBody(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "body"))) {
- var getData = ds_main_sympinfo.getColumn(0, "body").split(" ");;
- chk_body.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 혈액이상 setData
- ******************************************************************/
- function fn_blood(){
- var getData = String(chk_blood.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "blood", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 혈액이상 getData
- ******************************************************************/
- function fn_getBlood(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "blood"))) {
- var getData = ds_main_sympinfo.getColumn(0, "blood").split(" ");;
- chk_blood.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 호흡기계 setData
- ******************************************************************/
- function fn_breth(){
- var getData = String(chk_breth.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "breth", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 호흡기계 getData
- ******************************************************************/
- function fn_getBreth(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "breth"))) {
- var getData = ds_main_sympinfo.getColumn(0, "breth").split(" ");
- chk_breth.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 심혈관계 setData
- ******************************************************************/
- function fn_heart(){
- var getData = String(chk_heart.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "heart", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 심혈관계 getData
- ******************************************************************/
- function fn_getHeart(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "heart"))) {
- var getData = ds_main_sympinfo.getColumn(0, "heart").split(" ");
- chk_heart.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 정신증상 setData
- ******************************************************************/
- function fn_psy(){
- var getData = String(chk_psy.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "psy", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 정신증상 getData
- ******************************************************************/
- function fn_getPsy(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "psy"))) {
- var getData = ds_main_sympinfo.getColumn(0, "psy").split(" ");
- chk_psy.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 신경계 setData
- ******************************************************************/
- function fn_neur(){
- var getData = String(chk_neur.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "neur", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 신경계 getData
- ******************************************************************/
- function fn_getNeur(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "neur"))) {
- var getData = ds_main_sympinfo.getColumn(0, "neur").split(" ");
- chk_neur.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 소화기계 setData
- ******************************************************************/
- function fn_stom(){
- var getData = String(chk_stom.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "stom", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 소화기계 getData
- ******************************************************************/
- function fn_getStom(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "stom"))) {
- var getData = ds_main_sympinfo.getColumn(0, "stom").split(" ");
- chk_stom.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 신장이상 setData
- ******************************************************************/
- function fn_neph(){
- var getData = String(chk_neph.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "neph", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 신장이상 getData
- ******************************************************************/
- function fn_getNeph(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "neph"))) {
- var getData = ds_main_sympinfo.getColumn(0, "neph").split(" ");
- chk_neph.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 기타 setData
- ******************************************************************/
- function fn_gita(){
- var getData = String(chk_gita.getData()).replace(","," ");
- ds_main_sympinfo.setColumn(0, "gita", getData);
- }
- /******************************************************************
- * Argument :
- * Description : 기타 getData
- ******************************************************************/
- function fn_getGita(){
- if(!utlf_isNull(ds_main_sympinfo.getColumn(0, "gita"))) {
- var getData = ds_main_sympinfo.getColumn(0, "gita").split(" ");
- chk_gita.setData(getData);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 기타 button onclick event
- ******************************************************************/
- function chk_etc_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- obj.updateToDataset();
- if( ds_main_sympinfo.getColumn(0, "etccd") == "99" ) {
- textarea2.enable = true;
- ds_main_sympinfo.setColumn(0, "gitanm", "99");
- } else {
- textarea2.enable = false;
- ds_main_sympinfo.setColumn(0, "gitanm", "");
- }
- }
- /******************************************************************
- * Argument :
- * Description : 기타 textarea 확인 button event
- ******************************************************************/
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- var sympcd = "";
- var sympArrcd = "";
- var chkskinVal = ds_main_sympinfo.getColumn(0, "skin");
-
- if( !utlf_isNull(chkskinVal) ) {
- var chkskinArrVal = chkskinVal.split(" ");
- for( var i = 0; i < chkskinArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd) ) {
- sympArrcd = sympArrcd + chkskinArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkskinArrVal[i -1 ];
- }
- }
- }
-
- var chkbrethVal = ds_main_sympinfo.getColumn(0, "breth");
- if( !utlf_isNull(chkbrethVal) ) {
- var chkbrethArrVal = chkbrethVal.split(" ");
- for( var i = 0; i < chkbrethArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd) ) {
- sympArrcd = sympArrcd + chkbrethArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkbrethArrVal[i -1 ];
- }
- }
- }
-
- var chkstomVal = ds_main_sympinfo.getColumn(0, "stom");
- if( !isNull(chkstomVal)) {
- var chkstomArrVal = chkstomVal.split(" ");
- for(var i = 1; i <= chkstomArrVal.length; i++ ) {
- if( isNull(sympArrcd)) {
- sympArrcd = sympArrcd + chkstomArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkstomArrVal[i -1 ];
- }
- }
- }
-
- var chkheartVal = ds_main_sympinfo.getColumn(0, "heart");
- if( !isNull(chkheartVal) ) {
- var chkheartArrVal = chkheartVal.split(" ");
- for( var i = 0; i < chkheartArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd) ) {
- sympArrcd = sympArrcd + chkheartArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkheartArrVal[i -1 ];
- }
- }
- }
-
- var chkbloodVal = ds_main_sympinfo.getColumn(0, "blood");
- if( !utlf_isNull(chkbloodVal) ) {
- var chkbloodArrVal = chkbloodVal.split(" ");
- for( var i = 0; i < chkbloodArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd)) {
- sympArrcd = sympArrcd + chkbloodArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkbloodArrVal[i -1 ];
- }
- }
- }
-
- var chkneurVal = ds_main_sympinfo.getColumn(0, "neur");
- if( !utlf_isNull(chkneurVal) ) {
- var chkneurArrVal = chkneurVal.split(" ");
- for( var i = 0; i < chkneurArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd)) {
- sympArrcd = sympArrcd + chkneurArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkneurArrVal[i -1 ];
- }
- }
- }
- var chknephVal = ds_main_sympinfo.getColumn(0, "neph");
- if( !utlf_isNull(chknephVal) ) {
- var chknephArrVal = chknephVal.split(" ");
- for( var i = 0; i < chknephArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd) ) {
- sympArrcd = sympArrcd + chknephArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chknephArrVal[i -1 ];
- }
- }
- }
- var chkpsyVal = ds_main_sympinfo.getColumn(0, "psy");
- if( !utlf_isNull(chkpsyVal) ) {
- var chkpsyArrVal = chkpsyVal.split(" ");
- for( var i = 0; i < chkpsyArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd) ) {
- sympArrcd = sympArrcd + chkpsyArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkpsyArrVal[i -1 ];
- }
- }
- }
- var chkgitaVal = ds_main_sympinfo.getColumn(0, "gita");
- if( !utlf_isNull(chkgitaVal) ) {
- var chkgitaArrVal = chkgitaVal.split(" ");
- for(var i = 0; i < chkgitaArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd) ) {
- sympArrcd = sympArrcd + chkgitaArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkgitaArrVal[i -1 ];
- }
- }
- }
- var chkbodyVal = ds_main_sympinfo.getColumn(0, "body");
- if( !utlf_isNull(chkbodyVal) ) {
- var chkbodyArrVal = chkbodyVal.split(" ");
- for( var i = 0; i < chkbodyArrVal.length; i++ ) {
- if( utlf_isNull(sympArrcd) ) {
- sympArrcd = sympArrcd + chkbodyArrVal[i -1 ];
- } else {
- sympArrcd = sympArrcd + "|" + chkbodyArrVal[i -1 ];
- }
- }
- }
-
- /* 2016.03.01 사용 되지 않아 전환 안함
- var etccd = "";
- var etcnm = "";
- if( ds_main_cnstinfo.("/root/main/cnstinfo/etccd") == "99") {
- etcnm = model.getValue("/root/main/cnstinfo/cnstcnts23");
- etccd = model.getValue("/root/main/cnstinfo/etccd");
- if (isNull(sympArrcd)) {
- sympArrcd = etccd ;
- } else {
- sympArrcd = sympArrcd + "|" + etccd ;
- }
- }
-
- sympcd = chk_skin.label + chk_breth.label + chk_stom.label + chk_heart.label + chk_blood.label + chk_body.label + etcnm;
- model.setValue("/root/main/cnstinfo/sympcd", sympcd);
- model.setValue("/root/main/cnstinfo/synmflag", sympArrcd);
- model.setValue("/root/main/cnstinfo/etccd", etccd);
- model.setValue("/root/main/cnstinfo/etcnm", etcnm);
- */
- }
- /******************************************************************
- * Argument :
- * Description : 확인 button onclick event
- ******************************************************************/
- function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- ///////선택된 데이타 점검
- var vgitaok = ds_main_sympinfo.getColumn(0, "etccd");
- var vgitaokdesc = ds_main_sympinfo.getColumn(0, "etcnm");
- if( vgitaok == "99" ) {
- if( utlf_isNull(vgitaokdesc) ) {
- alert("기타란의 기타가 체크되어 있습니다. 기타내용을 적어주세요.");
- return;
- }
- }
- if( !utlf_isNull(vgitaokdesc) ) {
- if( vgitaok != "99" ) {
- alert("기타내용이 있습니다. 기타란의 기타를 체크하십시오. ");
- return;
- }
- }
-
- //////유해증상 발진 체크 유무 점검
- var vcnst6 = ds_main_sympinfo.getColumn(0, "skin");
- var v11 = (vcnst6.indexOf("11"));
- var v1A = (vcnst6.indexOf("1A"));
- var v1B = (vcnst6.indexOf("1B"));
- if( v11 >= 0 ) {
- if (v1A == -1 && v1B == -1 ) {
- alert("발진에 대한 범위가 없습니다. 체크하십시오. ");
- return;
- }
- }
- if( v1A >= 0 || v1B >= 0 ) {
- if( v11 < 0 ) {
- alert("발진에 대한 범위가 등록되었습니다. 발진을 체크하십시오. ");
- return;
- }
- if( v1A>= 0 && v1B >= 0 ) {
- alert("발진에 대한 범위 하나만 체크하십시오. ");
- return;
- }
- }
-
- //////유해증상 가려움 체크 유무 점검
- var v13 = (vcnst6.indexOf("13"));
- var v1C = (vcnst6.indexOf("1C"));
- var v1D = (vcnst6.indexOf("1D"));
- if(v13 >= 0) {
- if (v1C == -1 && v1D == -1) {
- alert("가려움에 대한 범위가 없습니다. 체크하십시오. ");
- return;
- }
- }
- if(v1C >= 0 || v1D >= 0) {
- if(v13 < 0) {
- alert("가려움에 대한 범위가 등록되었습니다. 가려움을 체크하십시오. ");
- return;
- }
- if(v1C >= 0 && v1D >= 0) {
- alert("가려움에 대한 범위 하나만 체크하십시오. ");
- return;
- }
- }
- fExeCnfm();
- }
- /******************************************************************
- * Argument : fExeCnfm()
- * Description : 확인 버튼 스크립트 이후 실행 function
- ******************************************************************/
- function fExeCnfm() {
- var sSympCnts = "";
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "skin")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_skin.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_skin.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "breth")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_breth.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_breth.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "stom")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_stom.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_stom.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "heart")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_heart.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_heart.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "blood")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_blood.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_blood.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "neur")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_neur.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_neur.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "neph")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_neph.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_neph.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "psy")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_psy.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_psy.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "body")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_body.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_body.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "gita")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = chk_gita.getLableData();
- } else {
- sSympCnts = sSympCnts + "," + chk_gita.getLableData();
- }
- }
- if( !utlf_isNull( ds_main_sympinfo.getColumn(0, "etcnm")) ) {
- if( utlf_isNull(sSympCnts) ){
- sSympCnts = ds_main_sympinfo.getColumn(0, "etcnm");
- } else {
- sSympCnts = sSympCnts + "," + ds_main_sympinfo.getColumn(0, "etcnm");
- }
- }
-
- opener.ds_temp_returnsymp.addRow();
- if( !utlf_isNull(sSympCnts) ) {
- opener.ds_temp_returnsymp.setColumn(0, "symp", "1");
- opener.ds_temp_returnsymp.setColumn(0, "sympcnts", sSympCnts.toString().replace(","," "));
- } else {
- opener.ds_temp_returnsymp.setColumn(0, "sympcnts", "");
- }
-
- opener.ds_temp_returnsymp.setColumn(0, "cnfmyn", "Y");
-
- this.close();
- }
- function btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|