Information Technology Reference
In-Depth Information
Figure 4. Structure of the patients' XML record
#FFFFFF;”+ “}\nbody {background-
color: #000000;}\na{color:yellow;}\
ntable{max-width: ” +
wp.resolution_
width
+ “;max-height: ” +
wp.resolution_height
+ “;}</style>\
n</head>\n<body>\n”);
The following sections elaborate further on the
provision of the resulting web pages.
Dynamic Web Page for the “PC and Laptop”
Terminal Class
This web page is the more resource-demanding
page we provide. It includes all the information
in the patients' record especially formatted. The
special effects it includes are:
•
If a blood report is provided, an associated
hyperlink named “yes” appears. The hy-
perlink directs to a separate table with the
last blood analysis results for the patient.
Indication “N/A” denotes that blood report
is not provided for this patient.
•
Apart from the blood report, a visual repre-
sentation of the current hematocrit value of
each patient is provided. The representation
is in the form of a horizontal bar appear-
ing over a gradient colored background,
the blue region of which denotes the he-
matocrit's low values, the green region the
normal ones and the red region the high.
When the current value of hematocrit is out
of the normal range, the horizontal bar is
painted red. A green horizontal bar denotes
hematocrit within the normal range. The
hematocrit ranges differ according to the
gender of the patient. In case that a hema-
tocrit value is not available, the indication
«No data available» is provided.
parser, by the global declared variables “
reso-
lution_width
” and “
resolution_height
”. These
variables return numerical values; hence, they are
directly placed in the HTML code achieving the
desired result. In fact, they adapt the page dimen-
sions proportionately to the respective capabilities
of the terminal device's monitor. For example:
•
Images related to the patient's condition, or
the indication «no image» is provided.
•
Videos related to the patient's condition, or
the indication «no video» is provided.
out.println(“<style type=\”text/
css\”>\nbody,td,th {color:
Search WWH ::
Custom Search