I don't know if this is null-safe ... or do we care about triggering a NullPointerException if the encounter does not have a patient assigned?