How does a hospital operate?