Who is considered to be your next-of-kin/closest?

According to the law, a person´s ‘closest’ is defined as the ones the pasient him-/herself has specified as his/her next-of-kin. If the patient is not able to do this, the next-of-kin are defined as those who the deceased was closest to while alive. If the deceased did not have someone close, then it will be those who have had, to the greatest extent, prolonged contact with the deceased when they were alive, in the following order: spouse, partner, a person that lived in a relationship with the patient, children over 18 years, parents, siblings over 18 years, grandparents, other family members, or guardians.