Inpatient module (proprietary)

I created the Inpatient module, creating beds within wards, rooms and floors. I can assign a patient to a bed and release him. I keep an account with bed daily cost and accumulated cost. There are also reports on inpatients, released patients and empty beds.
The programming is quite basic, and I have not followed the proper standards to integrate the modules to the system. It just works.
Of course, there is much more to be done in terms of standards and features…