Hospital subsystem database design example