An implementation of a basic hospital interface with object oriented programming principles