Using the Angular Demo from here, I added a collection of HospitalVisit objects and I wanted to answer the question, "has patient visited an out of state hospital".
Ask you can see I can only compare the HospitalVisit.State field to a string, another field on the same current object (or a dynamic data source), but it can not reference the parent object. How would I do this?
Something like
var p = new Patient();
var homeSate = p.State;
var hasBeenOutOfState = p.HospitalVisits.Any(h=> h.State != homeSate);