黃衛(wèi)平,李軍,張渝
第三軍醫(yī)大學(xué)附屬新橋醫(yī)院 計算機(jī)中心, 重慶 400037
我院排隊(duì)叫號管理系統(tǒng)與HIS系統(tǒng)數(shù)據(jù)接口的實(shí)現(xiàn)
黃衛(wèi)平,李軍,張渝
第三軍醫(yī)大學(xué)附屬新橋醫(yī)院 計算機(jī)中心, 重慶 400037
本文對我院外掛的門診叫號管理系統(tǒng)與HIS系統(tǒng)實(shí)現(xiàn)技術(shù)作了簡要的介紹,并給出了相應(yīng)的SQL語句。
HIS;門診掛號;門診叫號系統(tǒng);數(shù)據(jù)庫接口
目前我院各科室門診量日益增大,為提高服務(wù)效率,改善服務(wù)質(zhì)量,徹底解決患者就醫(yī)無序的排隊(duì)現(xiàn)象,營造公平、合理、有效的就診環(huán)境,提升醫(yī)院良好的窗口服務(wù)形象,同時為緩解門診醫(yī)生和護(hù)士的工作壓力,減輕其工作強(qiáng)度,希望能通過排隊(duì)系統(tǒng)進(jìn)行有序的管理。在專業(yè)公司的協(xié)助下,開發(fā)了排隊(duì)叫號管理系統(tǒng)。該系統(tǒng)由硬件(語音呼叫系統(tǒng)、顯示系統(tǒng)、號票打印系統(tǒng)、硬件叫號系統(tǒng))和軟件(醫(yī)院分診排隊(duì)系統(tǒng)軟件)兩部分組成。尤其在軟件開發(fā)過程中,要求做到與我院現(xiàn)有的HIS即軍字一號系統(tǒng)的ORACLE數(shù)據(jù)庫進(jìn)行信息共享,其中接口方案是實(shí)現(xiàn)與HIS系統(tǒng)對接的關(guān)鍵之處。我院排隊(duì)叫號系統(tǒng)與HIS系統(tǒng)數(shù)據(jù)接口方案采用觸發(fā)器+臨時表+接口軟件的模式。
在HIS系統(tǒng)上建立一張臨時數(shù)據(jù)表,在相應(yīng)主表上建立部分事件的觸發(fā)器從而將排隊(duì)系統(tǒng)需要的數(shù)據(jù)存放在這張臨時表中,接口軟件各在一定的時間來讀取一次臨時表中的數(shù)據(jù)到排隊(duì)系統(tǒng),并將已經(jīng)讀取過的記錄從臨時表中刪除。
1.1 數(shù)據(jù)接口的目的
將HIS系統(tǒng)中產(chǎn)生的數(shù)據(jù)按照一定的規(guī)則提取到排隊(duì)叫號系統(tǒng)中來,自動形成排隊(duì)叫號數(shù)據(jù),達(dá)到數(shù)據(jù)傳輸?shù)淖詣踊椭悄芑瑢?shí)現(xiàn)信息共享和多重應(yīng)用。
1.2 數(shù)據(jù)接口方式
接口主要是針對HIS門診掛號數(shù)據(jù)。由于HIS系統(tǒng)每天所產(chǎn)生的掛號數(shù)據(jù)量比較大,為了減少數(shù)據(jù)庫連接數(shù)及資源開銷,因此采用觸發(fā)器+臨時表+接口軟件的模式。
數(shù)據(jù)流程如圖1所示:
圖 1 數(shù)據(jù)流程示意圖
主要是在HIS數(shù)據(jù)庫上建立臨時表、觸發(fā)器以及連接用戶等數(shù)據(jù)庫對象。
2.1 新建臨時表
CLINIC_MASTER_S2000
作用:用于存放HIS系統(tǒng)中門診掛號、退號以用已就診主記錄數(shù)據(jù)。
說明:除STATUS字段外,其它字段的意義與HIS系統(tǒng)的就診主記錄的相應(yīng)字段意義相同。
STATUS字段用于存放數(shù)據(jù)狀態(tài):①表示該記錄是新掛號插入的數(shù)據(jù);②表示退號記錄;③表示已就診記錄。
2.2 觸發(fā)器
在表CLININ_MASTER上建立兩個觸發(fā)器。
作用:用于將掛號和退號數(shù)據(jù)寫入臨時表CLINIC_MASTER_S2000。
(2) RETURNED_OPERATOR 字段的更新事件(將退號的就診記錄寫入臨時表)
2.3 在表OUTP_WAIT_QUEUE上建立觸發(fā)器
WORKED_INDICATOR字段的更新事件(當(dāng)該字段值被更新為“已經(jīng)就診”狀態(tài)時將其就診記錄寫入臨時表)
2.4 連接用戶
作用:供數(shù)據(jù)接口軟件和護(hù)士站排隊(duì)管理系統(tǒng)軟件連接HIS數(shù)據(jù)庫讀去取數(shù)據(jù)使用。
權(quán)限:
(1)可以讀寫臨時表:CLINIC_MASTER_S2000接口軟件通過定時輪循方式讀取該表中的數(shù)據(jù),每讀取完成一條就將其刪除。
(2)可以讀取HIS中的表:CLINIC_MASTER_USERS。護(hù)士站排隊(duì)管理軟件在配置基本數(shù)據(jù)(隊(duì)列和員工信息)時需要讀取這兩張表的數(shù)據(jù),從而使用排隊(duì)系統(tǒng)中的基礎(chǔ)數(shù)據(jù)更準(zhǔn)確更合理。
2.5 建同義詞
作用:以便于直接訪問這個臨時表而不需要帶表的所異丙酚在病人體內(nèi)的平穩(wěn),克服不同個體對麻醉藥物的敏感性差異和相同血藥濃度對于不同個體麻醉深度所帶來的不利因素,達(dá)到了本研究所需要的目的。因此,基于BIS指數(shù)的實(shí)時閉環(huán)麻醉系統(tǒng)可以大大提高或改善原先傳統(tǒng)的TCI靶控輸注給藥效果,達(dá)到了精確靶控輸注的要求,對個體化合理用藥具有實(shí)際指導(dǎo)意義。同時在研究過程中還發(fā)現(xiàn),由于人體是一個復(fù)雜的有機(jī)系統(tǒng),手術(shù)病人麻醉過程中評價麻醉深淺的因素除了主要的BIS指數(shù)以外尚有其他的相關(guān)性臨床指數(shù),多參數(shù)聯(lián)合控制下的閉環(huán)麻醉給藥系統(tǒng)的研究可作為本研究的持續(xù)改進(jìn)方案。
[1] Marsh B,White M,Morton N,et al.Pharmacokinetic model driven infusion of propofol in children[J].Br J Anaesth,1991,67:41-48.
[2] Coetzee JF,Glen JB,Wium CA,et al.Phatmackinetic model selection for tatget controlled infusions of propofol:Assessment of three parameter sets[J].Anesthesiology,1995,82:1328-1345.
[3] Wakelong HG,Zimmerman JB,Howell S,et al.Targeting.effect compartment or central compartment concentration of propofol:what predicts loss of consciousness[J].Anesthesiology,1999,90:92-97.
[4] Walton RT,Harvey E,Dovey S,Freemantle N,et al.Computerised advice on drug dosage to improve prescribing practice[J].Cochrane Database Syst Rev,2001(1):CD002894.
[5] Struys MM,De Smet T,Versichelen LF,et al. Comparison of Closed-loop Controlled Administration of Propofol Using Bispectral Index as the Controlled Variable versus "Standard Practice" Controlled Administration[J].Anesthesiology,2001,95:6-17.
[6] Liu N,Chazot T,Trillat B,et al.Feasibility of closed-loop titration of propofol guided by the Bispectral Index for general anaesthesia induction: a prospective randomized study[J].Eur J A naesthesiology,2006,23(6):465-469.
[7] Liu N,Chazot T,Genty A,et al.Titration of propofol for anesthetic induction maintenance guided by the bispectral index:closed-loop versus manual control:a prostective,randomized, multicenter study[J].Anesthesiology,2006,104(4):686-695.
[8] Locher S,Stadler KS,Boehlen T,et al.A new closed-loop control system for isoflurane using bispectral index outperforms manual control[J].Anesthesiology,2004,101(3):591-602.
[9] Leslie K,Ablsalom A,Kenny GN.Closed loop control of sedation for colonoscopy using the Bispectral Index[J].Anaesthesia,2002,57(7):693-697.
[10] Absalom A,Kenny GN.Closed-loop control of propofol anaesthesia using bispectral indexTM:performance assessment in patients receiving computer-controlled propofol and manually controlled remifentanil infusions for minor surgery[J].Br J Anaesth,2003,90(6):737-741.
[11] Hang Chen, Xuan Wang,Xin-Zhong Chen.A novel PBPK/PD model with automatic nervous system in anesthesia[J].Conf Proc IEEE Eng Med Biol Soc,2005(1):66-69.
[12] Chen X,Chen H,Lou A,et al.Dose-response study of spinal hyperbaric ropivaeainl for cesarean section[J].Zhejiang Univ SCIENCE B,2006,7(12):992-997.
[13] 陳杭,王選,陳新忠,等.基于PID閉環(huán)控制算法的麻醉靶控輸注給藥的研究[J].中國生物醫(yī)學(xué)工程學(xué)報,2007,26(2):204-207.
[14] 李玉紅,芮建中,周永剛,等.國人異丙酚群體藥代動力學(xué)參數(shù)[J].中華麻醉學(xué)雜志,2003,23(3):173-177.
[15] 梁文權(quán).生物藥劑學(xué)與藥物動力學(xué)[M].北京:人民衛(wèi)生出版社,2000:195-217.
Realization of Interface of the Clinic Calling Management System and HIS in Our Hospital
HUANG Wei-ping,LI Jun,ZHANG Yu Computer Center,Xinqiao Hospital of the 3rd Military Medical University,Chongqing 400037,China
TP311.52
A
10.3969/j.issn.1674-1633.2010.05.012
1674-1633(2010)05-0042-02
2009-11-19
作者郵箱:hwp55662@163.com
Abstract: This paper introduces the realization of interface of the clinic calling management system and HIS in our hospital,and gives the SQL language.
Key words: HIS; clinic registration;clinic calling system;database interface