Factors affecting the oral health of inpatients with advanced cancer in palliative care