Paper 4
Paper 4
Abstract: In healthcare services, patient medical records are becoming large in size and the complexity of exchanging patient records
such as prescription detail, referral data, diagnosis status and appointment schedules between various clinic-units can be a problem
without a fully integrated system. Moreover, access to patient records requires privacy. Quite a number of works have been conducted
on healthcare services to address issues such as medical record inconsistency, lack of immediate record storage and retrieval and
paper-based approach. Consequently, this work tries to automate and enhance the clinical services of Sule Lamido University Clinic
by developing a web-based application. The application will allow both the clinicians and patients to have access to electronic records
easily, which will, in turn, minimize the cost, difficulties, and ineffectiveness of working with patients’ records manually and to
enhance the benefits and profits in running the clinic services. It can be used in decision making as it provides complete, reliable,
accessible and understandable information pointing to the clinic progress and shortcomings. Initially, the problems of the current
system were identified, the requirements were however specified and analyzed. Model of the system was designed and implemented
using SDLC and finally, the system was tested and validated. The results revealed that the system complies with the specified
requirements. Hence, the objectives under which the system is defined were achieved.
Keywords: CMS, Clinic, healthcare, HMS, management, System, information system, SLU
The CMS is an integration of patient information systems that           In research projects conducted by [8] and [9], there were no
captures and stores demographic, financial, and medical                 functionalities such as online consultation and report
information from ancillary services such as registration,               generation. However, the systems (mentioned above) need to
billing, lab, radiology, pathology, pharmacy, and                       be adjusted to comply with current requirements needed in
transcription. The CMS also includes the network that links             modern healthcare services. In view of this, functionalities
these systems, databases, interfaces, physician’ order entry,           such as online consultation, appointment scheduling,
electronic communication systems, and the clinical                      diagnosis manager, report generator are added to the new
workstations [2].                                                       system.
Patient medical records accumulate during the clinical                  Hospitals and clinics can be regarded as organizations based
operations, information such as records of patients, treatment          on high technology and information’ intensive processes.
www.ijsea.com                                                                                                                131
                                  International Journal of Science and Engineering Applications
                                      Volume 8–Issue 05,131-135, 2019, ISSN:-2319–7560
Such organizations are not hierarchically structured                      overseen by Pharmacist. The administrative section handles
bureaucracies but are often based on democratic control                   data processing services. Such services are being managed by
mechanisms with institutionalized stakeholder influence in                assistant data processing officer and clerical officer using file
decision processes. It is also expected’ that health care                 processing approach. Therefore, with the ill-equipped
budgets and funding will depend significantly on the                      Information System, the stock cannot be managed properly.
sophisticated patient and diagnosis classifications. The use of           Most of these problems can only be addressed if a proper
IT in diagnostic and treatment’ processes will add to the                 Information System is developed.
development of networks of clinical, hospital and healthcare
processes.                                                                3. THE WEB-BASED CLINIC
A considerable amount of literature has indicated that;                   MANAGEMENT SYSTEM
healthcare management is a growing profession with                        CMS is designed for both patients and practitioners. It will
increasing opportunities in both direct and non-direct care               allow patients to create an appointment, print appointment
settings. [9] similarly opined that direct-care settings are those        card, generate medical reports, search for health tips, view
organizations that provide care directly to’ a patient, resident          doctor’s profile, send emergency reports and chat with doctors
or client who seeks’ services from the organization. Non-                 online. The system will, however, allow practitioners to
direct care settings are not directly involved in providing’ care         confirm, edit or cancel patient appointment request, diagnose
to persons needing health services, but rather support the care           patients, prescribe medicines to the patient, manage inventory,
of individuals through products and services made available to            manage both patient and clinic staff records. As a step toward
direct care settings.                                                     integrating the clinic operations, the proposed system
                                                                          composes of various modules, which are dependent on one
Sule Lamido University clinic is currently operating
                                                                          another. The data flow between subsystems is illustrated in
manually. Its various services include; patient consultation,
                                                                          Figure 1. The sequence diagram of CMS appointment module
resuscitation and admission for observation during working
                                                                          is shown in Figure 2 and Use case diagram of CMS is shown
hours, follow-up for hypertensive patients, treatment of minor
                                                                          in Figure 3.
trauma and counseling with medical issues, patient treatment
services such as wound dressing and bandaging. The Clinic
has full stocked pharmacy for provision of drugs and is being
www.ijsea.com                                                                                                                    132
                International Journal of Science and Engineering Applications
                    Volume 8–Issue 05,131-135, 2019, ISSN:-2319–7560
www.ijsea.com                                                                   133
                                   International Journal of Science and Engineering Applications
                                       Volume 8–Issue 05,131-135, 2019, ISSN:-2319–7560
www.ijsea.com                                                                                                                134
                                International Journal of Science and Engineering Applications
                                    Volume 8–Issue 05,131-135, 2019, ISSN:-2319–7560
www.ijsea.com                                                                                                         135
                                    International Journal of Science and Engineering Applications
                                        Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
          Abstract- Nowadays, auto crashes are being recognised        relatively slow, overtaking it is a problem because of its size and
as a major public health problem; with higher fatalities in third      the inability of the driver to see ahead of it. Moreover, Bhumkar
world countries. Wrongful overtaking has been one of the major         et al. (2012) showed that wrong overtaking is the second highest
causes of road traffic accidents (RTAs) especially that involving      leading cause of road accidents. As at the year 2013, in Nigeria,
large sized vehicles (LSVs) or articulated vehicles. Driving behind    6,450 people lost their lives in road accidents (Adedokun, 2015)
such a vehicle has being a nightmare to most drivers especially on     and 183, 531 people were injured as a result of RTAs between
a single – lane highway. Even though the movement of LSV is            2009 – 2013, (Agbokhese et al.2013).
relatively slow, overtaking it is a problem because of its size and       According to Federal Road Safety Commission, FRSC (2015),
the inability of the driver to see ahead of it. However, Real-Time     there were a total of 21,199 road accidents in 2013 out of which
Video Display System (RTVDS) in articulated vehicle for road           1,495 involved articulated vehicles such as tankers, trailers or
safety enhancement provides a solution to such problems; by            buses which represent 7.05 % of the accidents. In 2014, a total of
providing overtaking drivers with visual information on the state of   16,779 vehicles were involved in crashes, out of which 998 were
the road ahead of the articulated vehicle so as to assist the driver   tankers or trailer-related, representing 5.94 % of the total crashes
in deciding on whether to overtake or not. Such information may        that year. As at first quarter of 2015, a total of 1,193 vehicles
also reduce the risk of accidents caused by sudden braking or          caused Road Traffic Crashes (RTCs) out of which 49 were
animals crossing the road.        The system basically consists of a   articulated vehicles, representing 4.11 %, (FRSC, 2015).
digital camera mounted in front of the truck, a control unit           Researchers and vehicle manufacturers have come up with
(raspberry pi - RPi) and an exterior display unit located behind the   different strategies in an effort to curtail RTAs and to ensure
truck. Shaky images captured by the camera were stabilized using       safety on the road. Some safety mechanisms currently used in
Optical Flow algorithm of video stabilization before being             vehicles include (Kannan et al., 2010):
displayed. The design was implemented using Python as the
programming language. Results obtained from the design show that               i. Adaptive Cruise Control
the system is capable of producing stable video images required for
decision making before overtaking. Hence, reducing the rate of                 ii. Collision Avoidance System
RTAs associated with LSVs if fully developed.
                                                                               iii. Lane Departure Warning System
Keywords: Auto Crashes, Articulated Vehicle, Road Safety,
Raspberry Pi, Video Stabilization, Python                                      iv. Driver Drowsiness Detection System
   www.ijcat.com                                                                                                          136
                                        International Journal of Science and Engineering Applications
                                            Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
             Server or Host Vehicle                                           on the rear vehicle). These algorithms provided a new mechanism
                                                    Display Unit              for avoiding accidents due to overtaking by mutual
                                                                              communication between them. The safe range space around the
                                                                              vehicle was considered to be an ellipse shaped boundary. The
                                                                              algorithm refrained to allow overtaking if there was a significant
                                                                              amount of overlap between the ellipse regions of the vehicle.
                                                                              With the simulation result, it was shown that algorithms dynamic
                Proximity Sensor Position                                     implementation in real-time scenario would potentially reduce the
                        Client or Beneficiary Driver
Front Mounted Camera Unit                                                     number of accidents occurring due to overtaking. However, this
        Figure 1 Conceptual Diagram of Real-Time Video                        model is still in the development stage and requires more work
                                                                              before it can be implemented on real roads.
        Display System
                                                                                 In an effort to warn or alert other drivers that a collision may
2.0 RELATED WORK                                ON        ROAD                take place, Mutya and Rudra, (2015) came up with a safety
                                                                              mechanism for accident prevention during overtaking. The
TRAFFIC SAFETY                                                                system consists of proximity sensors, a camera, microcontroller
                                                                              and a display unit for sensing, capturing, image processing and
   Telematic technology, which is the art of processing and                   displaying of the processed images respectively. This system
transmitting computer data over long distance, was introduced as              also employed mechanical switches and indicators as human
vehicular digital video recorder system, for the recording of driver’s        controlled sub-system. The design was cheap and gave the
behaviour during journey (Lin and Wang, 2010; RoSPA, 2013). An                required result on road safety. However, the manual operation
embedded microcontroller was employed as the hardware system. It              of the switches is a distraction which a driver may forget to
operated online and in real-time, it also supports an offline video data      switch ON or give a wrong command which may lead to a
viewer. The video data recorder was waterproofed to prevent it from           serious problem. Thus, this work unveiled a cheap and
being tempered with. Results from the application of this system              automated model that will guide drivers in their decision making
indicated that rate of accident was reduced by 20 % and rate of               during overtaking of LSVs using Raspberry pi platform.
specific unsafe driving behaviours were reduced up to 82 % (RoSPA,
2013). Information from the offline video viewer can be used to
reveal facts on the status of the vehicle when accident occurred much         2.1     Related Work on Image Stabilization
like those of air craft flight data recorder. Other than safety, the device
also increased savings in maintenance cost. The major obstacles to                Video images captured from moving vehicle consist of
the system were its installation and maintenance costs and lack of            unwanted translations due to vibration from the vehicle engine
acceptance by drivers; other challenges were handling and analyzing           and uneven nature of the road. Thus, image stabilization is
the data and ensuring that the technology was not used for negative           required to compensate the frames and to avoid losing of any
assessments and punitive actions.                                             useful information during image capturing. Various approaches
                                                                              have been used for the stabilization of captured images. These
    Similarly, on driver assisted systems, Kannan et al. (2010)               can be broadly classified as (Rawat and Singhai, 2013):
proposed an “Intelligent Driver Assistance System” (I-DAS) for
alerting driver during critical situations, using an ontology modelling                         i.         Mechanical stabilization
method (a method of modelling which interprets information in an                                ii.        Optical stabilization
intelligent and decisive manner). The design was aimed at developing                            iii.       Digital image stabilization
a system which focused on generating alert messages based on
context aware parameters such as driving situations, dynamics of the              Both the mechanical and the optical methods were
                                                                              considered as hardware techniques (Reddy et al., 2015).
vehicle, driver activity as well as environment. The parameter
representations, consisting of date/maintenance of the system were            Mechanical stabilizer adopted gyroscopic sensor to stabilize the
managed in extensible mark up language, XML format while                      entire camera while Optical stabilization approach activated an
ontology modelling was applied for the interpretation of critical             optical system to adjust camera motion sensor. On the other
condition. Simulation of the system also incorporated other related           hand, the mechanical methods are not suitable for small camera
safety technologies such as Collision Avoidance System, Adaptive              modules due to their bulk nature and cost associated with it.
Cruise Control, Drowsiness Detection System, and Parking                      Thus, image processing approach tries to smooth and
Assistance System, which generated warning and alert to driver                compensate the undesired motions through digital video
continuously. Java framework was used for the simulation test bed to          processes.
generate safety alerts in various driving conditions. Best, average and
                                                                                  Digital image stabilization (DIS) techniques, as opposed to
worst cases of the simulation were studied to determine the effective
                                                                              mechanical or optical devices, are most preferable due to their
performance of the driving scenarios in different modes like day and
                                                                              compact nature, fast response and lower cost (Naidu et al.,
night for single, 2-way and 4-way road scenario; the approach showed
                                                                              2016). This technique uses feature tracking method to obtain
that the simulation can be implemented on all vehicles in real-time
                                                                              camera motion path using suitable motion model and motion
scenario. However, this system lacks knowledge base on overtaking
                                                                              compensation to stabilize the video. Generally, all digital video
situation.
                                                                              stabilization algorithm consist of three stages (Lim et al., 2017):
    Mounica et al. (2014) came up with “The Intelligent
                                                                                                  i.       Motion estimation (ME)
Overtaking Model for Reducing Road Accidents Based on
                                                                                                  ii.      Motion smoother (MS)
Animal Group Behaviour” by mapping the behaviour of Zoo
                                                                                                  iii.     Motion compensation (MC)
Planktons to that of traffic on the road; in which safe distances
were given high priority. Two novel algorithms were developed:
                                                                                      The flow of the process is shown in Figure 2.
the overtaking possibility check (OPC) algorithm (operating on
the front vehicle) and the overtaking (OT) algorithm (operating
        www.ijcat.com                                                                                                                    137
                                       International Journal of Science and Engineering Applications
                                           Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
               ME               MS                   MC                    3.4    Materials
  Shaky                                                       Stabilized
  video                                                       video           Table 1 shows the list of materials used for the
        Figure 2 Video Stabilization Process Flow                          implementation of the RTVDS system.
        www.ijcat.com                                                                                                              138
                                      International Journal of Science and Engineering Applications
                                          Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
3.4.1.1 Configuration of the Raspberry Pi b. The Formatting Tool was Installed and run
      Every Raspberry Pi requires an operating system (OS),                 c.        “FORMAT SIZE ADJUSTMENT” option
 which need to be installed, to enable it function as expected.                       was set to “ON” in the “options” menu
 This is because the RPi does not come with an OS. The
 traditional OS of the RPi is called raspbian operating system;             d.         The SD card inserted was then inspected to
 it is contained in software called New out of box software                           ensured it matches the one selected by the
 (NOOBS). NOOBS is an operating system manager that                                   Tool
 makes it easy to download, install, and set up RPi.
                                                                            e.        The “Format” button was then Clicked
3.4.1.1.1 Steps for the installation of NOOBS                               ii.     The files contained in NOOBS zip file were
                                                                                    extracted and copied onto the formatted SD card
   Materials used for the installation were:
                                                                            iii.    Raspbian OS was then down loaded from the
                                                                                    official          website        of        RPi
               i.          Keyboard
                                                                                    (https://downloads.raspberrypi.org/raspbian_lat
               ii. 32GB micro SD card
                                                                                    est) and installed onto the 32GB SD card
               iii.        Laptop
                                                                            iv.     The raspbian image was also written onto the
               iv.         HDMI Cable
                                                                                    32GB SD card using Win32Disk imager
               v. USB Cable
                                                                            v.      The SD Card was then inserted in the micro SD
               vi.         5V power supply
                                                                                    Card slot of the raspberry pi
The above materials were set up as shown in Plate 2; all
                                                                            vi.     After plugging the peripherals (keyboard, mouse
      connected to the RPi.
                                                                                    and HDMI Display) the system was powered
                                                                                    using a 5V power supply unit
       https://www.sdcard.org/downloads/formatter_4/eula_w
       indows/
       www.ijcat.com                                                                                                         139
                                       International Journal of Science and Engineering Applications
                                           Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
camera module.
Sudo raspi-config
    A camera Rpi NoIR Module was used for the implementation              The main advantage of ultrasonic sensor is that it provides
of this unit. It is a camera designed specifically for raspberry pi   highest reliability in getting proximity and has lesser absorption
interface. It has a field of vision of about 56 degrees (Myklebust,   than RF and IR frequencies (Vidhya et al., 2016).
2015), a full high definition (HD) recording capability
(Kaundaya et al., 2017), a resolution of 8MP and video                3.4.2.2       Implementation of the Sensor Unit
resolution of 1080p30, 720p60 and 640 x 480p30. The camera
was plugged to its dedicated camera serial interface (CSI) port           The three sensors were connected together with their
on the raspberry pi via its 15pin ribbon cable. Plate 4 shows the     respective pins to the general purpose input and output (GPIO)
                                                                      header as outlined below:
                                                                               a.       Vcc to 5V supply
                                                                               b.       Ground to Ground
                                                                               c.       Trigger terminals to GPIO 21
                                                                               d.       Echo pins to GPIO 20, GPIO 19 and GPIO 6
        www.ijcat.com                                                                                                           140
                                          International Journal of Science and Engineering Applications
                                              Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
  terminals from high 5V supply since the GPIO header are rated                              ii.   The terminal was then lunched and
  3.3V. Final Implementation was carried out on a dedicated PCB                  the following commands were executed:
  before being connected to the RPi via a three input OR gate;
  which was executed in software form. See Plate 6.                                          Extraction of the drivers
chmod +x LCD32-show./LCD32-show
          www.ijcat.com                                                                                                             141
                                       International Journal of Science and Engineering Applications
                                           Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
4.0 RESULTS
                                                                                                                                ACTUAL
                    Smoothing Camera Motion                                   3
                                                                                                                                RANGE
                                                                              2
                                                                                                                                DESIRED
                                                                              1                                                 RANGE
                           Image Warping                                      0
                                                                                         1 2 3 4 5 6 7 8
                                                                      .                           Number of Readings
                      Stabilized Output Video
          www.ijcat.com                                                                                                                   142
                                          International Journal of Science and Engineering Applications
                                              Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
          www.ijcat.com                                                                                                        143
                                      International Journal of Science and Engineering Applications
                                          Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
       using the Optical Flow algorithm, when the host vehicle                         Kalivaradhan, R. (2010). An Intelligent Driver
       is in motion. With this, the beneficiary driver can get the                     Assistance System ( I-DAS ) for Vehicle
       right information that will assist him during overtaking                        Safety Modelling using Ontology Approach.
       scenario at real-time.                                                          International Journal of UbiComp (IJU), 1(3).
                                                                                (8)    Kaundanya, C., Pathak, O., Nalawade, A., and
       5.0 CONCLUSION                                      AND                         Parode, S. (2017). Smart Surveillance System
                                                                                       using Raspberry Pi and Face Recognition.
       RECOMMENDATIONS                                                                 Ijarcce,              6(4),            621–624.
                                                                                       http://doi.org/10.17148/IJARCCE.2017.6411
            From the results obtained, a novel road safety                             7
       system for overtaking manoeuvre was implemented.                         (9)    Kumar, A. Sunil and Reddy, P. . R. (2016). An
       This system is capable of providing an overtaking driver                        Internet of Things Approach for Motion
       with detail information on the state of the road ahead of                       Detection using Raspberry Pi. International
       the articulated vehicle; for judgement on whether to                            Journal of Advanced Technology and
       overtake or not. If fully developed in real-live scenario,                      Innovative Research, 8(19), 3622–3627.
       loss of lives and properties as a result of road traffic                 (10)   Lim, A., Ramesh, B., Yang, Y., Xiang, C.,
       accidents especially those involving large sized vehicles                       Gao, Z., and Lin, F. (2017). Real-Time
       will be greatly reduced; thus, contributing to improve                          Optical flow-based Video Stabilization for
       safety on our roads as declared by WHO for decade of                            Unmanned Aerial Vehicles. Real-Time Image
       action on road safety.                                                          Processing Manuscript. Retrieved from
                                                                                       http://arxiv.org/abs/1701.03572
            Future work using wireless sensors and utilizing the
                                                                                (11)   Lin, C. C., and Wang, M. S. (2010). An
       WI-FI or Bluetooth facility of the RPi for remote
                                                                                       implementation of a vehicular digital video
       accessing of the signal from the server vehicle in the
                                                                                       recorder system. Proceedings - 2010
       client vehicles will make the system more compact with
                                                                                       IEEE/ACM International Conference on
       higher performance. In addition, pre-recorded video of
                                                                                       Green Computing and Communications,
       advertisement can be incorporated in the system using
                                                                                       GreenCom          2010,     2010     IEEE/ACM
       sensor switch for playback, as advertising medium to
                                                                                       International Conference on Cyber, Physical
       other road users at halt state, during traffic waiting time.
                                                                                       and Social Computing, CPSCom 2010, 907–
                                                                                       911.         http://doi.org/10.1109/GreenCom-
6.0 ACKNOWLEDGEMENT                                                                    CPSCom.2010.78
                                                                                (12)   Mounica, U., Spandana, V., Mande, P.,
     We, the Authors, especially want to acknowledge Dr Iliya                          Mugada, S., and Uttam, M. (2014). The
Tuku of School of Engineering and Engineering Technology of                            intelligent overtaking model for reducing road
MAUTEC Yola and Engineer Ahmed Tijani of AJISAT Nigeria                                accidents based on animal group behavior.
LTD Yola for their contribution to the success of this work.                           2014 IEEE International Conference on
                                                                                       Vehicular Electronics and Safety, ICVES
                                                                                       2014,                                    55–60.
                                                                                       http://doi.org/10.1109/ICVES.2014.7063724
             7.0 REFERENCES                                                     (13)   Mutya, K. V., and Rudra, S. (2015). Road
                                                                                       Safety Mechanism to Prevent Overtaking
            (1) Adedokun, A. (2015). Road Accidents in                                 Accidents.       International     Journal   of
                Nigeria, Analysis And Discussion.                                      Engineering Trends and Technology (IJETT),
            (2) Agbonkhese, O; Yisa, G.L.; Agbonkhese,                                 28(5), 219–222.
                E.G.; Akanbi, D.O.; Aka, E.O.; Mondigha, E.                     (14)   Myklebust, V. R. (2015). Driver Interface for
                B. (2013). Road Traffic Accidents in Nigeria :                         Shell Eco Marathon Vehicles. Norwegian
                Causes and Preventive measures. Civil and                              University of Science and Technology.
                Environmental Research, 3(13), 90–100.                          (15)   Naidu, Kumar.M.C; Lokesha. H; and
            (3) Bhumkar, S.P., V.V. Deotare, and R. V.                                 Ashwathappa, H. (2016). Implementation of a
                Babar. “Accident Avoidance and Detection on                            Robust Video Stabilization System on
                Highways.” International Journal of                                    Raspberry pi. International Journal of
                Engineering Trends and Technology 3.2                                  Innovative Research in Advanced Engineering
                (2012): 247-249.                                                       (IJIRAE), 3(4), 132–137.
            (4) Deepa, M. A., and Parkavi, M. P. M. (2016).                     (16)   Rawat, P., and Singhai, J. (2013). Efficient
                Live video streaming system using raspberry                            Video Stabilization Technique for Hand Held
                pi with cloud server. International Journal of                         Mobile Videos. International Journal of
                Advanced Information and Communication                                 Signal Processing, Image Procesing and
                Technology,          2(11),        1075–1077.                          Pattern Recognition, 6(3), 17–32.
                http://doi.org/01.0401/ijaict.2016.11.01                        (17)   Reddy, K. S. L. H. and A. S. (2015). Video
            (5) Fleet, D., and Weiss, Y. (2005). Optical Flow                          Stabilization for Micro Air Vehicles.
                Estimation. Mathematical Models for                                    International Journal of Advanced Research
                Computer Vision: The Handbook, 239–257.                                in      Computer        and     Communication
                http://doi.org/10.1109/TIP.2009.2032341                                Engineering,        Vol.     4(4),     442–445.
            (6) FRSC. (2015). Road Safety Annual Report                                http://doi.org/10.17148/IJARCCE.2015.4410
                2015 Road Safety Annual Report 2015                                    1
                Summary.                                                        (18)   RoSPA. (2013). ROAD SAFETY AND IN-
            (7) Kannan,      S.,    Thangavelu,     A.,   and                          VEHICLE MONITORING ( BLACK BOX )
       www.ijcat.com                                                                                                          144
                            International Journal of Science and Engineering Applications
                                Volume 8–Issue 05,136-145, 2019, ISSN:-2319–7560
www.ijcat.com 145