An optimisation framework for resource allocation in palliative and end-of-life care | Synapse