Developer Manual For Bayanno Hospital Management System

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 14

Bayanno Hospital Management
System
Advanced management software for hospital, clinic
Developer Manual
copyright 2015 Creativeitem. All rights reserverd.
http://www.creativeitem.com
Index of Contents
Installation*
Source*code*structure*
Source*code*description**
Installation Manual
Unzip the downloaded folder
Copy the files inside folder : "Bayanno-Hospital-Management-System"
into your server
The auto web installer will start
Make sure application/config/database.php to be writtable
Make sure application/config/routes.php to be writtable
Make sure CURL is enabled in your server
Enter codecanyon username and purchase code.
Here is how to find your purchase code :
https://help.market.envato.com/hc/en-us/articles/202822600-Where-
can-I-find-my-Purchase-Code-
Enter your database settings
Enter your admin settings
Press the Run installerbutton.
Thats it!
For installation support, contact to our support center.
Source Code Structure
The application is developed on Codeigniter framework and completely
follows MVC. The details of this framework can be found in
http://www.codeigniter.com/
The root directory contains
- Application
contains the core files of the application
- Assets
contains all css styles and javascript files
- system
contains all the configurations and library files of
the framework
- uploads
- admin_image
contains the profile image uploaded by admin
himself
- doctor_image
contains the uploaded images of doctors
- patient_image
contains the uploaded images of patients
- nurse_image
contains the uploaded images of nurses
- pharmacist_image
contains the uploaded images of pharmacists
- laboratorist_image
contains the uploaded images of laboratorists
- accountant_image
contains the uploaded images of accountants
- receptionist_image
contains the uploaded images of receptionists
- diagnosis_report
contains the uploaded documents of diagnosis reports
- index.php
this file on loading calls all the codeigniter functions
application
- config
contains the configuration files of the application
- controllers
- admin.php
- doctor.php
- patient.php
- nurse.php
- pharmacist.php
- laboratorist.php
- accountant.php
- receptionist.php
- error.php
- login.php
- modal.php
- payment.php
- helpers
- libraries
- models
- crud_model.php
- email_model.php
- sms_model.php
- views
- backend
- admin
contains all the view files of admin panel
- doctor
contains all the view files of doctor panel
- patient
contains all the view files of patient panel
- nurse
contains all the view files of nurse panel
- pharmacist
contains all the view files of pharmacist panel
- laboratorist
contains all the view files of laboratorist panel
- accountant
contains all the view files of accountant panel
- receptionist
contains all the view files of receptionist panel
- footer.php
- header.php
- includes_bottom.php
contains links to javascript files
- includes_top.php
contains links to css files
- index.html
- index.php
- login.php
the login page
- modal.php
Source code description
Doctor Controller ( /application/controllers/doctor.php )
Manage Appointments
appointment function contains the logical expressions of
showing all appointments created by logged in doctor, creating
a new appointment, editing the informations of an existing
appointment and deleting appointment informations from the
database. The parameters define the form action in which the
data is to be created, edited or deleted. An sms is sent to the
patient when a new appointment is created or edited by calling
send_sms function with message and receiver phone number
as parameters which is defined in /application/models/
sms_model.php
Send SMS
Clickatell user, password and api_id is fetched from the
database and an authentication call is made to check if the
user is valid. If valid then an sms is sent to the receiver phone
number with the message that was passed on to the function
as parameters.
Private Messaging
Function message holds the logical expressions for sending
new messages, replying to any existing message thread between
any patient who has appointments with the logged in doctor.
Messages are tracked by message thread code which is defined
in the send_new_private_message function located in
/application/models/crud_model.php.
Accountant Controller ( /application/controllers/accountant.php )
Add Invoice
invoice_add function contains the logical expressions for
creating a new invoice. This is done by calling create_invoice
function which is defined in /application/models/ crud_model.php.
A random invoice number is generated for each invoice. Multiple
invoice entries can be created for a single invoice.
Receptionist Controller ( /application/controllers/receptionist.php )
Manage Appointments
appointment function contains the logical expressions of
showing all appointments, creating a new appointment and
filtering appointment informations based on doctor and time
periods. By default appointments of the last 30 days for all
doctors are shown. The parameters define the form action in
which the data is to be created or filtered. An sms is sent to the
patient when a new appointment is created by calling
send_sms function with message and receiver phone number
as parameters which is defined in /application/models/
sms_model.php.
Approve Appointments
appointment_requested function contains the logical
expressions of showing all requested appointments and
approving an appointment. The parameters define the form action
in which the data is to be approved. An sms is sent to the patient
when a requested appointment is approved by calling send_sms
function with message and receiver phone number as parameters
which is defined in /application/models/ sms_model.php
Login Controller ( /application/controllers/login.php )
function ajax_login holds the logical expressions for
- matching email and password for different users
- setting the login type for different users
- setting session data which are used for other views
function reset_password
- matches email address to saved email address
- generates a new password
- sends email to that address with the newly generated
password
function logout
- unsets current session and destroys all session data
saved for that session
The Model Files ( /application/models )
- crud_model.php
contains the basic functions for creating, retrieving, updating
and deleting which works in association with controllers and
views.
- email_model.php
contains the functions that send email on different events.
- sms_model.php
contains the function that sends sms on different events.
The View Files ( /application/views )
- backend
- admin
contains all the view files of admin panel
- doctor
contains all the view files of doctor panel
- patient
contains all the view files of patient panel
- nurse
contains all the view files of nurse panel
- pharmacist
contains all the view files of pharmacist panel
- laboratorist
contains all the view files of laboratorist panel
- accountant
contains all the view files of accountant panel
- receptionist
contains all the view files of receptionist panel
- footer.php
contains the footer informations of the application
- header.php
contains the header view of the application
- includes_bottom.php
contains links to javascript files
- includes_top.php
contains links to css files
- index.html
- index.php
includes the footer, header, javascript, css, modals at
the time of page loading
- login.php
the login page
- modal.php
contains the modal views which are used in the view
of different panels

Navigation menu