Esempio n. 1
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new CompositePersonSpecification(
                context.IdentifierDtoMarshaller.ConvertToIdentifiers(Identifiers)
                .Select(_ => new PersonIdentifierSpecification(_))
                ));
 }
Esempio n. 2
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new AgencyIdentifierPersonSpecification(Agency, PersonAgencyId));
 }
Esempio n. 3
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new CompositePersonSpecification(
                Specifications.Select(_ => _.ToPersonSpecification(context))
                ));
 }
Esempio n. 4
0
 public abstract IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context);
Esempio n. 5
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new ConsentedPersonSpecification(new StudyIdentity(StudyId)));
 }