nursing home vs sanitarium

nursing home

noun
  • A place of residence for people who require constant nursing care and have significant deficiencies with activities of daily living, such as the elderly and younger adults with physical disabilities. 

sanitarium

How often have the words nursing home and sanitarium occurred in a corpus of books? (source: Google Ngram Viewer )