public override StandardReturType ValidateInput()
        {
            if (PersonUuids == null)
            {
                return(StandardReturType.NullInput());
            }
            else
            {
                /*
                 * I'm not entirely sure if any single element is allowed to be empty, but not the entire set or if no element may be empty.
                 * Therefore the two different attempts.
                 */
                // Not any empty elements are allowed
                foreach (Guid person in PersonUuids)
                {
                    if (person == Guid.Empty || person == null)
                    {
                        return(StandardReturType.NullInput());
                    }
                }
                // Random empty elements are allowed, but not the entire set
                int count = 0;
                foreach (Guid person in PersonUuids)
                {
                    if (person != null && person != Guid.Empty)
                    {
                        count++;
                    }
                }
                if (PersonIdentifiers.Length != count)
                {
                    return(StandardReturType.NullInput());
                }
            }


            PersonIdentifiers = PersonMapping.GetPersonIdentifiers(PersonUuids);

            foreach (PersonIdentifier pi in PersonIdentifiers)
            {
                if (pi == null)
                {
                    return(StandardReturType.NullInput());
                }
            }

            return(StandardReturType.OK());
        }
        public SubMethodInfo[] ToSubMethodInfos()
        {
            var personIdentifiers = PersonMapping.GetPersonIdentifiers(UUIDs.Select(uuid => new Guid(uuid)).ToArray());

            return(personIdentifiers.Select(pId =>
                                            new PeriodLookupSubMethodInfo()
            {
                PersonIdentifier = pId,
                EffectDateFrom = EffectDateFrom.Value,
                EffectDateTo = EffectDateTo.Value,
                LocalDataProviderOption = SourceUsageOrder,
                CurrentResult = null,
                FailIfNoDataProvider = true,
                FailOnDefaultOutput = true,
                Method = null,
                UpdateMethod = null
            }
                                            ).ToArray());
        }