Chapter 4 Design and Methodology
4.2 Medical Image Maintenance System Functionalities
4.2.1 Functions Design
1. Query patient medical treatment records
On the database of HIS system, the medical treatment records of patient are distinguished into three types are inpatient, outpatient and emergency to store. And in those records store identity card (ID) number, medical record number, medical treatment account, attending doctor, and etc. Therefore, we can use ID numbers, medical record number or medical treatment account of the necessary fields does search the patient medical treatment records. Because HIS system for database access is according to Health Level Seven (HL7) standard to carry out, I use as shown in Figure 4.2 approach to search the patient medical treatment records.
Figure 4.2 HL7 message
Because the medical treatment three types, when querying of patient query all medical treatment
produce three HL7 query messages
Web Service to query different types’ medical treatment Web Service will packet the result in the Reply Message and back. And I will show t
drop down list to make doctor
2. Establish patient
It is very important for image record I provide patient ID and set the
Figure 4.2 HL7 message flow chart
Because the medical treatment records of patient are distinguished into ypes, when querying of patient all medical treatment record must query all medical treatment record’s types. At this point we have to hree HL7 query messages by HL7 Library and through HL7 ervice to query different types’ medical treatment records
packet the result in the Reply Message and
back. And I will show the medical treatment records of the patient in the drop down list to make doctors get the information they want
patient medical image records
for any record in the hospital. And in a medical provide doctors can store image file, image comment
the browsing permission. Of course, the
of patient are distinguished into all medical treatment record must types. At this point we have to image file, image comment, the . Of course, the system also
has to automatically record such as upload time, uploader, and the record sequence number
medical record. I have to record in detail the source of it in order to the record can be traced.
database can only save the text
use the FTP server as the Image Database to save image file.
database and FTP server let each record of medical image record to be stored properly.
to automatically record such as upload time, uploader, and the record sequence number, etc. Because each medical image record is a
. I have to record in detail the source of it in order to the
Figure 4.3 Establishing record flow chart
Figure 4.3 is the flow chart of establishing the medical image record.
uses the HL7 to access the database, in storing the medical image record I would first convert the data into the HL7 insert
through HL7 Web Service stores in HIS database. However, database can only save the text and image cannot be efficient use the FTP server as the Image Database to save image file.
database and FTP server let each record of medical image record to be to automatically record such as upload time, uploader, and the etc. Because each medical image record is a . I have to record in detail the source of it in order to the
ing the medical image record.
in storing the I would first convert the data into the HL7 insert HIS database. However, the efficient saved, I use the FTP server as the Image Database to save image file. The use of database and FTP server let each record of medical image record to be
3. On-line image editor
Medical Image Maintenance
a similar painting function is very difficult. But if we Application, it will be easier to achieve this function.
By the survey of the plug
this label can combine the Active control
Therefore, I use this label to embed the Window Form in the Web page to achieve the functions of the on
Window Application and Web Application are two independent programs, so we must
provides a param label can bring parameters to the Web Application from the Window Application
communicates with the Web server I use the Web Service to translate data to the server. So we can reach the two
Window Application and Web Application.
Figure 4.4 is the important code of param label
Figure 4.4 Embedding object cod
line image editor
Maintenance System is a Web Application, so to provide painting function is very difficult. But if we use Window
will be easier to achieve this function.
By the survey of the plug-in technology we found out the OBJECT
combine the Active control in the Web Application.
use this label to embed the Window Form in the Web page to achieve the functions of the on-line image editor.
Window Application and Web Application are two independent must have a bridge to communicate both.
label can bring parameters to the Web Application from the Window Application. And the Window Application the Web server I use the Web Service to translate data to the server. So we can reach the two-way communication of Window Application and Web Application.
Figure 4.4 is the important code of param label and Object label:
Figure 4.4 Embedding object code
System is a Web Application, so to provide use Window
OBJECT label, b Application.
use this label to embed the Window Form in the Web page
Window Application and Web Application are two independent a bridge to communicate both. ASP.NET label can bring parameters to the Web Application . And the Window Application the Web server I use the Web Service to translate way communication of
and Object label:
4. Query and edit patient medical image records
When establishing the patient medical image records, I will store an identification card number, medical record number or account in the record. So I can query patient medical image record according to this information. I need to packet the query data into query message through HL7 Web Service to query HIS Database. And I could get the patient medical image record.
Editing function, I will provide the user can do delete, edit and view on the medical image record. When user deletes the medical image record, the database will mark this record then this record would prohibit users to modify and view. When the user edits the record, I will present the record’s data on the editing page, and the user can reedit the medical image record. After editing is completed I use Web Service to save the record in the database. When a user views a record, I will present the record on the web page to give user to look up.
5. Query medical image record editing history
Because each medical image record is the medical treatment record of the patient, each record must be saved, even if the record is modified, the original medical image record must be properly saved.
In order to record the medical image record’s editing history, I design a source sequence number column in medical image record to
distinguish whether this record is a new record. This column is stored the source sequence number of the edited medical image record. If the record is a new medical image record, this column will automatically be filled with the record sequence number. In this way I can get all the edited medical image records according the same source sequence number and sort the records according the record time. We will get the medical image record’s editing history to make user to refer the history.
6. Medical Image Maintenance System integration
I divide Medical Image Maintenance System into four modules:
1. Query medical treatment record module 2. Establish medical image record module 3. Query medical image record module 4. Edit medical image record module
These four modules have their own independent character, so I separate the system into four modules. Let different record systems could select modules to join.
How can the system be designed for modular. I use ASP.NET’s “User Control Component” to implement the module, because the feature of the component is like an object can be easily reused.
Thus, Medical Image Maintenance System can be easily used in other systems and medical image record can be applied on many record systems.