finished the write functionality for hospitals