public Interfaces.Results.SP.PatientGroupActiveDayNumberPatientAssignments.ISPx GetElementsAt( ISPxResultElementFactory xResultElementFactory, ISPxFactory xFactory, Ipa pa) { return(xFactory.Create( pa.Value .Select( i => xResultElementFactory.Create( i.pIndexElement, i.aIndexElement, this.GetElementAt( i.pIndexElement, i.aIndexElement))) .ToImmutableList())); }