Licensing system for hospitals