inpatient is a modern compound of in (within, indoors) + patient (from Latin patiens 'suffering, enduring', present participle of pati 'to suffer'), denoting a patient admitted to stay in a hospital. Morphologically, the word is best read through the components named in the history, with the modern spelling preserving a compound structure rather than a single unanalyzable stem. In present English, the noun sense is "a patient who stays in a hospital while receiving treatment", so the historical development ends in a clearly identifiable modern dictionary use. The same base also appears in related forms such as patient and outpatient. Its semantic neighborhood includes resident, which helps locate the modern sense without adding a separate etymological claim. The named historical forms include Latin patiens and Latin pati.