Self-hosted healthcare solution to facilitate clinicians and patients. Let’s learn how to deploy free Hospitalrun on the localhost by following simple steps.

Hospital Management System


We recently published a blog post on How Online Healthcare Software Empowers Healthcare Industry that describes the impact of open source hospital management system on the healthcare industry. The global healthcare software industry is gaining worth with the passage of time. Matter of fact is that technology has transformed every field of life. The number of patients and staff members is gone so high that it has become a hassle to manage such huge data. On the other hand, there are many time-consuming tasks that take place every day and healthcare entities repeatedly perform those tasks. Therefore, the open-source source community has developed open source medical software that come with many helpful modules to address healthcare needs.

Open-source medical software are developed to manage patient records regarding their medical history as well as the provisions for hospital management. In addition, open source healthcare software are leveraging artificial intelligence to provide advanced levels of services. Most of the disease treatments are now being handled by the software that not only diagnoses the problems but also provides assistance in the cure. However, there are many emerging software for hospitals. In this blog post, we will cover the following points.

What is HospitalRun?

HospitalRun is a free open-source hospital information management system. This free healthcare solution is environment friendly as users can make full use of this free software even if there is no internet connectivity. It provides many features such as user management, patient registrations, appointments, billing system, patient discharge system, and more. The user interface of this open source ehealth system is logical where users can navigate through different elements easily. In addition, it is easy to set up and offers a Docker image where developers can deploy it using a Docker image.

This hospital management system offers provision to integrate labs to centralize the patient’s medical records. Moreover, it also lets users maintain records of patient visits, medication, and assessments. This ehealth record system is secure, flexible and offers integrations with third party applications. There is a very vibrant community that provides support for Hospitalrun. Further, there is a complete patient discharge system. This open source medical software is completely written in JavaScript. Moreover, there is comprehensive documentation available regarding development and deployment. In fact, this open source medical software provides different dashboards for different departments such as the support department, clinical department, and administrative department. All these roles come with different levels of permission and access.

What are the features of HospitalRun?

In this section, we will go through some of the following key features of this eHealth system.

  • Self-Hosted: Hospitalrun comes with self-hosting capabilities and requires fewer efforts to deploy on servers.
  • Appointment Scheduling: This Health system lets users schedule appointments. There is a complete module for appointments available on the dashboard. Further, users can search the appointments with the help of filters.
  • Patient Discharge System: This hospital management system maintains the record of patients who have been discharged.
  • Drug Management: This ehealth record system enables users to record complete data of medication of a particular patient.
  • Patient Records Management: There is a complete module for patients record management. Users can record the details of new patients, admitted patients against their complete medical history such as medicine, reports and visits.
  • Customized Billing System: There is a rich billing system available in this open source healthcare software. It lets users generate and manage invoices with complete details such as lab prices, ward charges, imaging prices and etc.
  • Electronic Medical Records: This open source medical software provides all necessary modules to maintain medical and administrative records.
  • Flexible: HospitalRun is flexible and extensible enough that developers can extend its functionality to meet the needed functionalities.

Installation steps of HospitalRun?

This section of the blog post describes the installation steps of HospitalRun.

Before we begin, first install the following pre-requisites:

Once pre-requisites are installed, download the source code from this link.

After that, open the terminal and run the following commands:

cd generic
cd server

Now, change the password on row 8,9 of `conf/` and the password on row 7 of config-demo.js.

Then, run the following command to make build and run the application:

docker-compose build && docker-compose up

After that, it will spin up the Docker container as shown in the image below:

Hospital Management System

Finally, you can access this healthcare solution in the browser at http://localhost/#/login. It will show the following login screen.

Hospital Management System


This is the end of this tutorial article. This patient record system really helps to automate healthcare services. Modern open source hospital management system comes with data analytical tools that help healthcare workers to take necessary actions for better healthcare facilities. This blog post will really help you if you are seriously looking to deploy a ehealth system for your hospital/clinic. These open-source solutions are cost-effective as they are integrated with labs and other clinics and also minimize the paperwork by computerizing every process. Open source healthcare solution allows users to have visuals of all the healthcare operations such as patients’ medication, discharge, reports, and billing management. Moreover, you can focus on other important tasks such as resource planning and risk evaluation. However, there are many other enterprise-level software for hospitals that are mentioned in the “Explore” section below.

In the end, is intended to write on further open source products. Therefore, stay in touch with this Healthcare Technologies category for the latest updates.


You may find the following links relevant: