賴飛羆臺灣大學:資訊工程學研究所劉昌嘉Liu, Chung-ChiaChung-ChiaLiu2007-11-262018-07-052007-11-262018-07-052007http://ntur.lib.ntu.edu.tw//handle/246246/53929在台大醫院診間資訊系統上線一年多以來,系統已經能穩定運作,從既有的WebService以及HL7 over SOAP架構上進行改進來開發行政系統,為了避免當初診間系統開發期間許多問題,例如:頁面分工的不明確、使用者介面的不一致性、Library的管理、使用者介面功能與實際功能程式的混亂參雜、鑲嵌在程式碼中的SQL command容易造成錯誤以及不容易debug。在進行行政系統開發之初,針對以上等問題,在不更動既有架構及平台為前提的情況下,加入一些規則及方法以改善其系統架構,以期能夠用最小的更動來改進各種在診間系統開發期間的遇到的問題。改進大型軟體系統的架構以及開發流程,使用SQL Parameters、UI code及logic code分離,讓整個開發企畫能夠減少因人為疏忽的錯誤,而順利的進行下去,並且提出開發的software template,相較於傳統template,我們提出的template讓分工更容易,也讓之後開發大型系統的人能有所參考,減少大家在大型系統中一些不必要的失誤,縮短大型系統開發的時間。The National Taiwan University Hospital(NTUH) Health Information System(HIS) has been running for more than one year until now the HIS is working steadily without big problems. NTUH has been developing administration information system based on the existing architecture of WebService and HL7 over SOAP. To avoid the problems encountered during development of HIS, for example: division of labor for pages did not work properly, the user interface of pages are not consistent with each other, the management of library and interleaving of user interface codes with business logical codes made code files in a mess, some embedded SQL command leads to many errors and it was hard to debug. In the beginning of NTUH administration information system development, we targeted on these problems and added some rules and methods to improve these situations with minimal changes of the existing software architecture. For improving development architecture and the design flow of large scale software, we use SQL parameters, division of user interface codes and business logical codes, etc. which decrease mistakes caused by programmers. We offer new software architecture template, which can make division of labor easier, and people to develop a large scale system can follow our steps which help them decrease unnecessary mistakes and development time.Chapter 1 Introduction and related works 1 1.1 Introduction of NTUH and health information system 1 1.1.1 Main architecture: architecture of 3-tier 4 1.1.2 HL7 system 7 1.2 Problems encountered in NTUH clinical information system 12 1.3 Related works 14 1.3.1 Efficient web engineering approaches 14 1.3.2 A general model of software architecture design derived from five industrial approaches 16 Chapter 2 NTUH administration information system (AIS) features and design templates 19 2.1 Features 19 2.2 Our design flowchart 21 2.3 Templates 23 Chapter 3 Improving develop flow and methods 26 3.1 SQL parameters 26 3.1.1 Problems encountered without SQL parameters 26 3.1.2 Using SQL parameters 27 3.2 Division of user interface code and business logical code 30 3.2.1 Problems before the division 30 3.2.2 How to solve this problem 32 3.3 Method of passing parameters through pages 36 3.3.1 State management in ASP.NET 36 3.3.2 Viewstate and session 38 3.3.3 Rules for using session and viewstate 39 3.4 Enhancing exception handling 41 3.4.1 Exception handling with C# in ASP.NET 41 3.4.2 Our method for handling exception management 42 Chapter 4 Conclusion and discussion 44 Reference 45776937 bytesapplication/pdfen-US台大醫院診間資訊系統台大醫院行政資訊系統開發流程使用者介面大型軟體系統分工NTUH Health Information SystemNTUH Administration Information SystemWebServiceHL7 over SOAPdevelopment flowuser interfacelarge scale software systemSQL parametersoftware templatedivision of labor改善大型軟體系統開發架構及流程 – 以台大醫院行政系統為例Improving Development Architecture and Flow of Large Scale Software – Case Study of NTUH Administration Information Systemthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/53929/1/ntu-96-R94922107-1.pdf