123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLRR90300_산전검사의뢰서등록.xrw
- * 설 명 : 산전검사 의뢰서 등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.5.21
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>산전검사 의뢰서 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reqfrm>
- <reqfrmtbl>
- <reqfrminfo>
- <choispc>
- <choispclist>
- <choi/>
- <spcseqno/>
- <spccd/>
- <spccd2/>
- </choispclist>
- </choispc>
- <reqcnts/>
- <inptitem01>
- <title/>
- <titlenm/>
- <pid/>
- <patnm/>
- <rgstno/>
- <address/>
- <telno/>
- <orddd/>
- <depdd/>
- <ioflag/>
- <dephost/>
- <orddept/>
- <orddr/>
- <bcnostyle>혈액</bcnostyle>
- <nt/>
- <nt2/>
- <nt3/>
- <nt4/>
- <nt5/>
- <wt/>
- <firstm/>
- <crl/>
- <crl2/>
- <crl3/>
- <crl4/>
- <crl5/>
- <childm>1</childm>
- <bweek/>
- <bdd/>
- <bweek2/>
- <bdd2/>
- <bweek3/>
- <bdd3/>
- <bweek4/>
- <bdd4/>
- <bweek5/>
- <bdd5/>
- <bweek6/>
- <bdd6/>
- <past1>NO</past1>
- <past2>NO</past2>
- <past3>NO</past3>
- <past4>NO</past4>
- <past5>NO</past5>
- <ultradd/>
- </inptitem01>
- </reqfrminfo>
- </reqfrmtbl>
- </reqfrm>
- <rtnval>
- <rtnvalinfo>
- <reqno/>
- <instcd/>
- </rtnvalinfo>
- </rtnval>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden>
- <reqfrminfo>
- <pid/>
- <prcpcd/>
- <prcpnm/>
- <opnm/>
- <spccd/>
- <spcnm/>
- <reqno/>
- <reqhistno/>
- </reqfrminfo>
- <param>
- </param>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TXLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
- <submission id="TRLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
- <submission id="TRLRR91001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/param"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 산전검사 의뢰서 팝업화면
- * @ver : 2007.05.21
- * @by : 박정은(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 Initialize함수
- */
- function fExeInitialize() {
-
- // 산부인과 검사 의뢰 목록 조회
- model.makeValue("/root/send/codeflag", "0127|"); // 0127= 의뢰서 서식이 산전검사의뢰서 선택되어진 항목
- submit("TRLZZ00101");
-
- //model.makeValue("/root/hidden/reqfrminfo/scrnno", "10");
- //----------------------------------------------------------------
- // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
- if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
- btn_save.visible = true;
- btn_prt.visible = false;
-
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddr", getUserName());
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dephost", getUserInfo("dutplceinstnm"));
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddept", getUserInfo("dutplcenm"));
- var ininfo = getPatientInfo("ininfo");
- if(ininfo.indexOf("입원일") == -1){
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ioflag", "외래");
- }else{
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ioflag", "입원");
- }
-
-
-
- model.makeValue("/root/send/pid", getPatientInfo("pid"));
- submit("TRLRR91001");
- model.removenode("/root/send/pid");
- } else {
- btn_save.visible = false;
- btn_prt.visible = true;
- }
-
- //-------------
- // Test용 자료
- /*model.setValue("/root/hidden/reqfrminfo/pid", "19749051");
- model.setValue("/root/hidden/reqfrminfo/prcpcd", "NNM0005G");
- model.setValue("/root/hidden/reqfrminfo/spccd", "800");
- model.setValue("/root/hidden/reqfrminfo/reqno", "2");*/
- /*model.setValue("/root/hidden/reqfrminfo/pid", "1561231");
- model.setValue("/root/hidden/reqfrminfo/prcpcd", "NNM0005G");
- model.setValue("/root/hidden/reqfrminfo/spccd", "800");
- model.setValue("/root/hidden/reqfrminfo/reqno", "0");*/
-
-
- //----------------------------------------------
- // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
- if(getNodesetCount("/root/hidden/reqfrminfo/reqcnts") <= 0) { //내용이 없다
- if (model.getValue("/root/hidden/reqfrminfo/reqno") != "0") { //의뢰지번호 존재시
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
- model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
- submit("TRLRR90201");
- } else { //의뢰지번호 없다..!!
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
- model.setValue("/root/hidden/reqfrminfo/reqno", "0");
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pid", model.getValue("/root/hidden/param/pid"));
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patnm", model.getValue("/root/hidden/param/patnm"));
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/rgstno", model.getValue("/root/hidden/param/rgstno"));
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/address", model.getValue("/root/hidden/param/address"));
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/telno", model.getValue("/root/hidden/param/telno"));
- var toDay = getCurrentDate();
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddd", toDay);
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/depdd", toDay);
-
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title" , model.getValue("/root/hidden/reqfrminfo/prcpcd"));
- model.refresh();
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/titlenm" , cbo_title.label); //의뢰서 저장 데이터에 처방명 넣기위해
- //model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/titlenm" , model.getValue("/root/init/LB0127/[ cd = cbo_title.value ]/nm"));
- /*if(model.getValue("/root/hidden/reqfrminfo/prcpcd") == "NC732701G"){
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title", "Quadri Marker");
- }else if(model.getValue("/root/hidden/reqfrminfo/prcpcd") == "NC732702G"){
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title", "Triple Marker");
- }else if(model.getValue("/root/hidden/reqfrminfo/prcpcd") == "NNM0005G"){
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title", "Dual Marker");
- }else if(model.getValue("/root/hidden/reqfrminfo/prcpcd") == "NC742103"){
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title", "α-Fetoprotein(S)");
- }*/
- }
- }else { //내용이 있다(ex> 특수에서 의뢰서 띄울때 처럼)
- model.removeNodeset("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
- model.makeNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
-
- copyNodesetType("/root/main/reqfrm/reqfrmtbl/reqfrminfo", "/root/hidden/reqfrminfo/reqcnts/reqfrminfo"); //의뢰서 내용 main으로 복사
- }
- //-------------
- model.refresh();
- }
-
-
- // 확인버튼 클릭시 저장
- function fExeClinicSave(){
- /*
- var title = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title");
- var nt = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/nt");
- var pid = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pid");
- var patnm = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patnm");
- var rgstno = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/rgstno");
- var address = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/address");
- var telno = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/telno");
- var orddd = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddd");
- var depdd = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/depdd");
- var ioflag = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ioflag");
- var dephost = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dephost");
- var orddept = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddept");
- var orddr = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddr");
- var bcnostyle = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bcnostyle");
- var wt = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/wt");
- var firstm = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/firstm");
- var crl = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/crl");
- var child = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/childm");
- var bweek = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek");
- var bdd = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd");
- var bweek2 = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek2");
- var bdd2 = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd2");
- var past1 = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past1");
- var past2 = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past2");
- var past3 = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past3");
- var past4 = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past4");
- var past5 = model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past5");*/
-
-
-
- var xPath = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01";
- var nNode = model.instances(0).selectSingleNode(xPath);
- var max = nNode.childNodes.length;
-
- var objNm, chkflag, objContNm;
-
- if (model.getValue(xPath + "/pid") == "") {
- messageBox("환자등록번호를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/pid");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/patnm") == "") {
- messageBox("환자성명을 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/patnm");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/rgstno") == "") {
- messageBox("주민등록번호를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/rgstno");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/address") == "") {
- messageBox("주소를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/address");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/telno") == "") {
- messageBox("전화번호를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/telno");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/wt") == "") {
- messageBox("체중을 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/wt");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/firstm") == "") {
- messageBox("최종월경일을 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/firstm");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/bweek") == "") {
- messageBox("임신주수(LMP)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bweek");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/bdd") == "") {
- messageBox("임신주수(LMP)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bdd");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/bweek2") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bweek2");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/bdd2") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bdd2");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/nt") == "") {
- if(model.getValue(xPath + "/title") == "NNM0005G"){
- messageBox("Dual Marker 검사 의뢰서 작성시 NT 값을 반드시 입력해야 합니다.", "E999", "");
- objContNm = fControlFind(xPath + "/nt");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- }
-
- //두명일때
- if (model.getValue(xPath + "/childm") == "2") {
-
- if (model.getValue(xPath + "/nt2") == "") {
- if(model.getValue(xPath + "/title") == "NNM0005G"){
- messageBox("Dual Marker 검사 의뢰서 작성시 NT 값을 반드시 입력해야 합니다.", "E999", "");
- objContNm = fControlFind(xPath + "/nt2");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- }
- if (model.getValue(xPath + "/bweek3") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bweek3");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/bdd3") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bdd3");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
-
- }
-
- //세명일때 네명이 이상은 귀찮음 ㅋㅋ
- if (model.getValue(xPath + "/childm") == "3") {
-
- if (model.getValue(xPath + "/nt2") == "") {
- if(model.getValue(xPath + "/title") == "NNM0005G"){
- messageBox("Dual Marker 검사 의뢰서 작성시 NT 값을 반드시 입력해야 합니다.", "E999", "");
- objContNm = fControlFind(xPath + "/nt2");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- }
- if (model.getValue(xPath + "/bweek3") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bweek3");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/bdd3") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bdd3");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/nt3") == "") {
- if(model.getValue(xPath + "/title") == "NNM0005G"){
- messageBox("Dual Marker 검사 의뢰서 작성시 NT 값을 반드시 입력해야 합니다.", "E999", "");
- objContNm = fControlFind(xPath + "/nt3");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- }
- if (model.getValue(xPath + "/bweek4") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bweek4");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
- if (model.getValue(xPath + "/bdd4") == "") {
- messageBox("임신주수(USG)를 입력하세요.", "E999", "");
- objContNm = fControlFind(xPath + "/bdd4");
- if(objContNm != "") {
- model.setFocus(objContNm);
- }
- return false;
- }
-
- }
- /*
- if(title == "NNM0005G"){
- if(nt == ""){
- alert("Dual Marker 검사 의뢰서 작성시 NT 값을 반드시 입력해야 합니다.");
- return;
- }
- }
-
- if(pid == "" || patnm == "" || rgstno == "" || address == "" || telno == "" || orddd == "" || depdd == ""
- || ioflag == "" || orddept == "" || bcnostyle == "" || wt == "" || firstm == "" || child == ""
- || bweek2 == "" || bdd2 == "" || past1 == "" || past2 == "" || past3 == "" || past4 == ""
- || past5 == "" || title == ""){
- alert("필수 입력 사항에 누락된 항목이 있습니다.");
- return;
- } */
-
-
-
-
-
-
-
- var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
- var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo"); //xml 저장을 위해 노드로 만듦
- // 검체 추가정보 설정
- model.makeValue(strNode + "/choi", "true");
- model.makeValue(strNode + "/spcseqno", "001");
- model.makeValue(strNode + "/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
- model.makeValue(strNode + "/spccd2", model.getValue("/root/hidden/reqfrminfo/spccd"));
-
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
- model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
- model.makeValue("/root/send/reqcnts", node.xml, true);
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
-
-
- //------------------------
- if (!submit("TXLRR90201")) {
- messageBox("의뢰지 저장을", "E009");
- return false;
- }
-
- //------------------
- // 의뢰지번호 Return
- opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
-
- //------------
- model.close();
- }
-
- // control 찾기
- function fControlFind(xPath) {
- var childObjCnt = document.controls.length;
- var childObj;
-
- for (var i=0; i < childObjCnt; i++) {
- childObj = document.controls.item(i);
- var ref = childObj.attribute("ref");
-
- if (ref == xPath) {
- return childObj.attribute("id");
- break;
- }
- }
- return "";
- }
- // 닫기
- function fSetClose(){
- window.close();
- }
-
- function fReport(){
- var title = cbo_title.value;
- var titlenm = cbo_title.label;
- //코드로 된 검사 명칭을 검사명으로 바꿔줌
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title" , titlenm);
- exeReportPreview("RPLRR91000", "XMLSTR");
- //본래코드로 원복
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title" , title);
- model.refresh();
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="600" pageheight="640" guideline="1,1194;1,567;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:540px; height:600px; ">
- <caption id="caption3" style="left:170px; top:10px; width:200px; height:35px; font-size:14pt; font-weight:bold; text-align:left; ">산부인과 검사 의뢰서</caption>
- <select1 id="cbo_title" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/title" disabled="true" appearance="minimal" style="left:175px; top:45px; width:180px; height:19px; font-weight:bold; ">
- <choices>
- <itemset nodeset="/root/init/LB0127">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" style="left:0px; top:95px; width:435px; height:20px; ">♣ 임신초기 검진항목 ♣ Code : OBDM</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:146px; width:70px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/pid" class="input_essential" style="left:72px; top:147px; width:100px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:141px; x2:520px; y2:141px; "/>
- <caption id="caption5" class="cell_1" style="left:174px; top:146px; width:50px; height:23px; text-align:center; vertical-align:middle; ">성 명</caption>
- <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/patnm" class="input_essential" style="left:226px; top:148px; width:100px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:328px; top:146px; width:65px; height:23px; text-align:center; vertical-align:middle; ">주민번호</caption>
- <input id="input3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/rgstno" class="input_essential" style="left:395px; top:147px; width:125px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:171px; width:70px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
- <input id="input4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/address" class="input_essential" style="left:72px; top:172px; width:272px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:346px; top:171px; width:70px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <input id="input5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/telno" class="input_essential" style="left:418px; top:172px; width:102px; height:19px; "/>
- <caption id="caption9" class="tit_2" style="left:0px; top:126px; width:113px; height:13px; ">환자정보</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:216px; x2:520px; y2:216px; "/>
- <caption id="caption10" class="tit_2" style="left:0px; top:201px; width:113px; height:13px; ">진료정보</caption>
- <line id="line5" class="line_3" style="x1:0px; y1:194px; x2:520px; y2:194px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:221px; width:70px; height:23px; text-align:center; vertical-align:middle; ">진료일</caption>
- <caption id="caption12" class="cell_1" style="left:174px; top:221px; width:50px; height:23px; text-align:center; vertical-align:middle; ">의뢰일</caption>
- <caption id="caption13" class="cell_1" style="left:327px; top:221px; width:67px; height:23px; text-align:center; vertical-align:middle; ">진료구분</caption>
- <input id="ipt_usdt" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddd" class="input_s_essential" inputtype="date" style="left:72px; top:223px; width:100px; height:19px; font-weight:normal; "/>
- <input id="input6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/depdd" class="input_s_essential" inputtype="date" style="left:226px; top:223px; width:100px; height:19px; font-weight:normal; "/>
- <select1 id="radio1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ioflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:396px; top:225px; width:120px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>입원</value>
- </item>
- <item>
- <label>외래</label>
- <value>외래</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" style="left:0px; top:246px; width:70px; height:23px; text-align:center; vertical-align:middle; ">의뢰병원</caption>
- <caption id="caption15" class="cell_1" style="left:201px; top:246px; width:70px; height:23px; text-align:center; vertical-align:middle; ">진료과</caption>
- <input id="input7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddept" class="input_essential" style="left:273px; top:248px; width:94px; height:19px; "/>
- <input id="input8" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/dephost" style="left:73px; top:247px; width:126px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:370px; top:246px; width:70px; height:23px; text-align:center; vertical-align:middle; ">진료의</caption>
- <input id="input9" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/orddr" style="left:443px; top:247px; width:77px; height:19px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:269px; x2:520px; y2:269px; "/>
- <caption id="caption17" class="tit_2" style="left:0px; top:276px; width:113px; height:13px; ">산모정보</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:291px; x2:520px; y2:291px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:296px; width:73px; height:23px; text-align:center; vertical-align:middle; ">검체종류</caption>
- <select1 id="radio2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bcnostyle" appearance="full" cellspacing="0" cols="7" overflow="visible" style="left:75px; top:300px; width:300px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>혈액</label>
- <value>혈액</value>
- </item>
- <item>
- <label>혈청</label>
- <value>혈청</value>
- </item>
- <item>
- <label>혈장</label>
- <value>혈장</value>
- </item>
- <item>
- <label>요</label>
- <value>요</value>
- </item>
- <item>
- <label>체액</label>
- <value>체액</value>
- </item>
- <item>
- <label>여지</label>
- <value>여지</value>
- </item>
- <item>
- <label>축뇨</label>
- <value>축뇨</value>
- </item>
- </choices>
- </select1>
- <input id="input10" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/nt" class="input_essential" style="left:208px; top:348px; width:44px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:171px; top:346px; width:35px; height:23px; text-align:center; vertical-align:middle; ">NT</caption>
- <caption id="caption20" class="cell_1" style="left:393px; top:296px; width:55px; height:23px; text-align:center; vertical-align:middle; ">체중</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:321px; width:73px; height:23px; text-align:center; vertical-align:middle; ">최종월경일</caption>
- <caption id="caption22" class="cell_1" style="left:86px; top:347px; width:35px; height:23px; text-align:center; vertical-align:middle; ">BPD</caption>
- <input id="input12" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/wt" class="input_essential" style="left:451px; top:297px; width:42px; height:19px; "/>
- <input id="input13" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/crl" style="left:123px; top:348px; width:44px; height:19px; "/>
- <caption id="caption23" style="left:493px; top:300px; width:20px; height:20px; ">Kg</caption>
- <input id="input11" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/firstm" class="input_s_essential" inputtype="date" style="left:75px; top:323px; width:97px; height:19px; font-weight:normal; "/>
- <caption id="caption24" class="cell_1" style="left:0px; top:346px; width:43px; height:23px; text-align:center; vertical-align:middle; ">태아수</caption>
- <select1 id="cmb_cm" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/childm" class="combo_search" appearance="minimal" style="left:45px; top:348px; width:37px; height:19px; ">
- <choices>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- <item>
- <label>4</label>
- <value>4</value>
- </item>
- <item>
- <label>5</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption25" class="cell_1" style="left:280px; top:321px; width:91px; height:23px; text-align:center; vertical-align:middle; ">임신주수(LMP)</caption>
- <input id="input15" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek" class="input_essential" style="left:373px; top:322px; width:32px; height:19px; "/>
- <caption id="caption26" style="left:406px; top:325px; width:20px; height:20px; ">주</caption>
- <input id="input16" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd" class="input_essential" style="left:423px; top:322px; width:32px; height:19px; "/>
- <caption id="caption27" style="left:455px; top:325px; width:68px; height:20px; ">일(By LMP)</caption>
- <caption id="caption28" class="cell_1" style="left:280px; top:346px; width:91px; height:23px; text-align:center; vertical-align:middle; ">임신주수(BPD)</caption>
- <input id="input17" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek2" class="input_essential" style="left:373px; top:347px; width:32px; height:19px; "/>
- <caption id="caption29" style="left:405px; top:350px; width:20px; height:20px; ">주</caption>
- <input id="input18" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd2" class="input_essential" style="left:423px; top:347px; width:32px; height:19px; "/>
- <caption id="caption30" style="left:455px; top:350px; width:56px; height:20px; ">일(첫째)</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:369px; x2:520px; y2:369px; "/>
- <select1 id="radio3" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past1" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:62px; top:498px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>NO</value>
- </item>
- <item>
- <label>YES</label>
- <value>YES</value>
- </item>
- </choices>
- </select1>
- <line id="line7" class="line_1" style="x1:0px; y1:491px; x2:520px; y2:491px; "/>
- <caption id="caption31" class="tit_2" style="left:0px; top:476px; width:113px; height:13px; ">과거력</caption>
- <caption id="caption32" class="cell_1" style="left:0px; top:496px; width:60px; height:25px; text-align:center; vertical-align:middle; ">Previous</caption>
- <caption id="caption33" class="cell_1" style="left:107px; top:496px; width:60px; height:25px; text-align:center; vertical-align:middle; ">Previous</caption>
- <select1 id="radio4" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past2" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:169px; top:498px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>NO</value>
- </item>
- <item>
- <label>YES</label>
- <value>YES</value>
- </item>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:0px; top:519px; width:60px; height:25px; text-align:center; vertical-align:middle; ">Down</caption>
- <caption id="caption35" class="cell_1" style="left:107px; top:521px; width:60px; height:23px; text-align:center; vertical-align:middle; ">NTD</caption>
- <caption id="caption36" class="cell_1" style="left:214px; top:496px; width:40px; height:47px; text-align:center; vertical-align:middle; ">IDDM</caption>
- <select1 id="radio5" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past3" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:256px; top:498px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>NO</value>
- </item>
- <item>
- <label>YES</label>
- <value>YES</value>
- </item>
- </choices>
- </select1>
- <caption id="caption37" class="cell_1" style="left:302px; top:496px; width:60px; height:25px; text-align:center; vertical-align:middle; ">선천성</caption>
- <caption id="caption38" class="cell_1" style="left:302px; top:521px; width:60px; height:23px; text-align:center; vertical-align:middle; ">이상</caption>
- <select1 id="radio6" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past4" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:364px; top:498px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>NO</value>
- </item>
- <item>
- <label>YES</label>
- <value>YES</value>
- </item>
- </choices>
- </select1>
- <caption id="caption39" class="cell_1" style="left:410px; top:496px; width:60px; height:25px; text-align:center; vertical-align:middle; ">염색체</caption>
- <caption id="caption40" class="cell_1" style="left:410px; top:521px; width:60px; height:23px; text-align:center; vertical-align:middle; ">이상</caption>
- <select1 id="radio7" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/past5" appearance="full" rows="2" vcellspacing="5" overflow="visible" style="left:474px; top:498px; width:43px; height:45px; border-style:none; ">
- <choices>
- <item>
- <label>NO</label>
- <value>NO</value>
- </item>
- <item>
- <label>YES</label>
- <value>YES</value>
- </item>
- </choices>
- </select1>
- <line id="line9" class="line_3" style="x1:0px; y1:544px; x2:520px; y2:544px; "/>
- <caption id="caption41" style="left:0px; top:555px; width:307px; height:20px; ">♣ 판독에 결정적 영향을 주므로 Nuchal Transluency을</caption>
- <caption id="caption43" style="left:305px; top:555px; width:15px; height:20px; font-weight:bold; ">꼭</caption>
- <caption id="caption44" style="left:323px; top:555px; width:120px; height:20px; ">적어주시기 바랍니다.</caption>
- <caption id="caption42" style="left:0px; top:575px; width:310px; height:20px; ">♣ 판독에 결정적 영향을 주므로 초음파에 의한 제태령을</caption>
- <caption id="caption45" style="left:310px; top:575px; width:15px; height:20px; font-weight:bold; ">꼭</caption>
- <caption id="caption46" style="left:328px; top:575px; width:120px; height:20px; ">적어주시기 바랍니다.</caption>
- <caption id="caption2" style="left:255px; top:350px; width:25px; height:20px; ">mm</caption>
- <caption id="caption47" style="left:455px; top:375px; width:56px; height:20px; ">일</caption>
- <input id="input19" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek3" style="left:373px; top:372px; width:32px; height:19px; "/>
- <input id="input20" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd3" style="left:423px; top:372px; width:32px; height:19px; "/>
- <caption id="caption48" class="cell_1" style="left:280px; top:371px; width:91px; height:23px; text-align:center; vertical-align:middle; ">임신주수(USG)</caption>
- <caption id="caption49" style="left:405px; top:375px; width:20px; height:20px; ">주</caption>
- <line id="line10" class="line_3" style="x1:87px; y1:394px; x2:518px; y2:394px; "/>
- <line id="line11" class="line_3" style="x1:87px; y1:419px; x2:518px; y2:419px; "/>
- <input id="input21" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd4" style="left:423px; top:397px; width:32px; height:19px; "/>
- <caption id="caption50" style="left:455px; top:400px; width:56px; height:20px; ">일(둘째)</caption>
- <caption id="caption51" class="cell_1" style="left:280px; top:396px; width:91px; height:23px; text-align:center; vertical-align:middle; ">임신주수(BPD)</caption>
- <caption id="caption52" style="left:405px; top:400px; width:20px; height:20px; ">주</caption>
- <input id="input22" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek4" style="left:373px; top:397px; width:32px; height:19px; "/>
- <line id="line12" class="line_3" style="x1:87px; y1:444px; x2:518px; y2:444px; "/>
- <input id="input23" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bdd5" style="left:423px; top:422px; width:32px; height:19px; "/>
- <caption id="caption53" style="left:455px; top:425px; width:56px; height:20px; ">일</caption>
- <caption id="caption54" class="cell_1" style="left:280px; top:421px; width:91px; height:23px; text-align:center; vertical-align:middle; ">임신주수(USG)</caption>
- <caption id="caption55" style="left:405px; top:425px; width:20px; height:20px; ">주</caption>
- <input id="input24" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/bweek5" style="left:373px; top:422px; width:32px; height:19px; "/>
- <input id="input14" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/nt2" style="left:208px; top:372px; width:44px; height:19px; "/>
- <caption id="caption59" style="left:255px; top:374px; width:25px; height:20px; ">mm</caption>
- <caption id="caption60" class="cell_1" style="left:86px; top:371px; width:35px; height:23px; text-align:center; vertical-align:middle; ">CRL</caption>
- <input id="input27" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/crl2" style="left:123px; top:372px; width:44px; height:19px; "/>
- <caption id="caption61" class="cell_1" style="left:171px; top:370px; width:35px; height:23px; text-align:center; vertical-align:middle; ">NT</caption>
- <caption id="caption62" class="cell_1" style="left:86px; top:395px; width:35px; height:23px; text-align:center; vertical-align:middle; ">BPD</caption>
- <caption id="caption63" class="cell_1" style="left:171px; top:394px; width:35px; height:23px; text-align:center; vertical-align:middle; ">NT</caption>
- <input id="input28" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/nt3" style="left:208px; top:396px; width:44px; height:19px; "/>
- <input id="input29" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/crl3" style="left:123px; top:396px; width:44px; height:19px; "/>
- <caption id="caption64" style="left:255px; top:398px; width:25px; height:20px; ">mm</caption>
- <caption id="caption65" class="cell_1" style="left:86px; top:420px; width:35px; height:23px; text-align:center; vertical-align:middle; ">CRL</caption>
- <caption id="caption66" class="cell_1" style="left:171px; top:419px; width:35px; height:23px; text-align:center; vertical-align:middle; ">NT</caption>
- <caption id="caption67" style="left:255px; top:423px; width:25px; height:20px; ">mm</caption>
- <input id="input30" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/nt4" style="left:208px; top:421px; width:44px; height:19px; "/>
- <input id="input31" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/crl4" style="left:123px; top:421px; width:44px; height:19px; "/>
- <caption id="caption56" class="tit_2" style="left:0px; top:455px; width:113px; height:13px; ">초음파시행일</caption>
- <input id="input25" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01/ultradd" class="input_s_essential" inputtype="date" style="left:100px; top:453px; width:100px; height:14px; font-weight:normal; "/>
- <line id="line13" class="line_3" style="x1:0px; y1:473px; x2:520px; y2:473px; "/>
- </group>
- <group id="group3" style="left:0px; top:600px; width:530px; height:25px; ">
- <line id="line8" class="line_6" style="x1:0px; y1:0px; x2:530px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" visibility="visible" style="left:411px; top:0px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeClinicSave();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:470px; top:0px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetClose();
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" style="left:0px; top:0px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fReport();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|