Deriving key patient variables: a technical paper for the Hospital Dementia Services Project … Excerpt from: Deriving key patient variables: a technical paper for the Hospital Dementia Services Project