As a result, the inpatient and outpatient fields within this discipline work closely together and complement each other. General internal medicine provides primary medical care in a hospital or family medical practice and plays a key role in the public health system by restoring and improving the health and well-being of patients and the community. It also forms the basis of a wide range of other specialisms.