Generally I'd expect this to take a Location object as an argument, rather than a uuid. (And the method below ought to be assignPatientToBed(Patient, Bed) or something like that...