You are on page 1of 8

IBIO2240 2015-10

Scientific Programming
Team Project
Lorena Balczar Jimnez, Jos Ignacio Barraquer Lpez, Juan Luis Ramrez Agudelo.

User Guide

In this guide, you will find the specifications about management platform. We
design a centralized information management system for the clinic to display
and analyze all the information available for each patient.

1. Import database:

In first place, you must import the database with the information of patients.
For this, you must to execute the function importDatabase.m and run the
script, and after that, it displays in the screen with this interface:

When you push the button Import Database, you must


search the folder of database in your computer. After that,
you see in the current folder of Matlab the automatic
creation of three structures .mat (Pacientes Archivados and
Exams_patient). Similarly, you can see the automatic
execution of the inferfazPrincipal.m
Important Note: If the database already has filed
loaded patients, in the folder ARCHIVE the patients
information must be in a folder IDS, their exams in the
folder EXAMS (In the same way like folder ACTIVE)

2. Principal interface:
In this interface, you will be able to search patients, add new patients, archive
patients, see graphically the cumulative results of routine exams since the
patient was admit, show the patients MRI and see the archived patients.

To search for a patient you have to select the popup menu, once you selected
the popup menu you will find the list of patients that are currently in the
database, roll the list and select the patient of interest. Alternately, you can
search a patient with the ID that you introduce in the panel Search Patient for
ID. The interface will show you a photo, and the basic information of the
patient.
a. Plot Exams

When you select the option Plot Exams, in the screen will display the
following interface:

In this, you can see the three different graphs of the patient, and you can
interact with this with the options that appear in the left top of the
interface. In the same way, you can see two buttons (Grid and box,) on
the right; with this, you can activate or deactivate a grid/box for the
graphs.

b. Analyzes MRI

Once you have selected the patient you can analyze its MRI, to do so
you have to use the pushbutton Analyzes MRI. This button will open
an interface with the MRI, which is a gray-level image, of the patient
and his information. There you can use two basic image-processing
techniques: enhancing the contrast and selecting a range of intensities of
interest. In the beginning, the interface looks like the image below:
In the interface, you are going to find to principal boxes: range of
intensities and enhance contrast. In the first one, you will find two
sliders and two edit boxes that will show the numbers you select with
the sliders. The first ones are of the low threshold and the second ones
are of the high threshold. With these, you can select a range of
intensities in the enhanced image. Both thresholds are in the range [0 1],
all pixels with intensities below L or above H have a 0 intensity. If you
select the same value for the two thresholds, the image will appear
completely white. It is also important to know that the original image
almost has a low threshold of 0 and a high threshold of 1 by default.
Once you have selected the thresholds (low and high) you can use the
Apply Intensity button to transform the original image.
In the second box, you will find a slider and an edit box that will show
the number you select with the slider. With this, you can transform the
intensity of each pixel of the image. It is important to know that the
values of the slider are in double precision in the range [0 1], if you
select 1 the image will appear black and if you select 0 the image will
appear white. Therefore, you must select values between these two
numbers. Once you have selected your gamma (contrast) you can use
the Apply Contrast button to transform the original image.

c. Add new patient

To add a new patient push the button Add new patient, then displays the
following interface.

Button to upload
photo

Complete all this


information of the
patient.

Button to Add patient

If you do not upload a photo for patient, this


image will assign to him.
In this you must complete all the fields (Name, Gender, Age, Weight), and
upload a photo for the patient of your computer (only with the format
*.png).The ID is automatically assigned consecutively, and the date of
admittance is the current date. When you finish, push the button Add Patient
to database, you have added the patient, and you find his information in the
principal interface, the information in the database/ACTIVE/IDS and the txt
for the exams in /ACTIVE/EXAMS
d. Archive patient

If you want to archive any patient, you must select the option Archive Patient.
When you push this button, the patients information is move to the list
Archive, and your dates in database is move the folder ARCHIVE. In the
example below, we are archive the patient with the ID: 000433 (patient
previously added). You can find now his information in the folder
database/ARCHIVE. The patients Information will be in the folder IDS and
the exams in the folder EXAMS. The folders IDS and EXAMS are
automatically created in the folder ARCHIVE. (If these folders do not exist).

Note: When a patient is archive, you cannot see their graphics of exams and
MRI. You need activate this patient with the button Enable Patient, to see
again their Exams and MRI.

You need push this button to activate this patient and see again their
exams and MRI.
3. Import another database

If you want to change the current database for another, you can do this
by pushing the button Import another database. When you pressing this,
you have two options: move the current database for other different
folder (Select Yes), or overwritten it (select No). We will
recommend, choose the option Yes to save information in Database.

You might also like