Without a prescribed standard, these CAD drawings are non standard under many
aspects like the criteria used to name layers, the physical positioning of additional
data, the updating level, etc. This matter is overcome by recasting each DWG file,
creating a new reserved layer to SACS software, in which the rooms are outlined by
closed polylines.
The purpose of this work was to insert the whole information directly inside the DWG
file, forcing its use as a database. The external HIS database can still be used, but just
as a “reading key” to translate the synthetic information held by the DWG file, using
some support tables to describe the various parameters. This approach makes it
possible to rebuild anytime the whole information having nothing but the DWG file.
Polyline colour is used as a parameter to identify the destination of use. Hence, the
software is provided with a module to make multiple selections on the DWG file and
to give to selected polylines a colour index (using the colour property of the
AcadPolyline object) chosen by a list (dbList) of 22 destinations of use (DU) coming
from a database accessed via ODBC.
One of the purposes of the proposed system is to compare the space reserved to the
various functions with that suggested by literature standards. To do that, it must be
introduced in the model the concept of “main destination of use” (MDU). This
parameter considers each room in the operative context in which it is inserted.
Therefore some rooms are linked together by a functional connection.
The software implements this approach by using Autocad groups feature. Polylines
are grouped by homogeneous functional areas; group name is then used as an array of
fields separated by underscores according to following syntax:
FLOOR_GPDESC_MDU_UNITS_BEDS_DEPT_STRUCT_ACTAREA
where
- FLOOR is the level inside the building, useful for multi-floor drawings
- GPDESC is a brief description of the polylines group
- MDU is the prevalent destination of use (each group is generally made by
polylines with different DU)
- UNITS is the actual number of rooms in the group with DU=PDU; this
number can be different from the mere automatic count of polylines and is
intended to be use as a “fine manual adjust”
- BEDS is the total number of ward beds in the group
- DEPT is the department code (useful when the actual amount of structures
that use the rooms is unknown)
- STRUCT is a combination of codes representing the operative structures that
use the rooms. When they belong to different departments, the DEPT field is
left blank.
- ACTAREA is a number code that represents the Activity Area. The whole
hospital is divided by activity areas that belong to a single department.
2.2 Data Update and Output
The most demanding phase in the whole process is the first one, as described above in
Section 2.1. Actually the proposed method shows its biggest power in the subsequent
15