toAbstractFilterPatientDto method
AbstractFilterDto<PatientDto>
toAbstractFilterPatientDto()
Implementation
api.AbstractFilterDto<api.PatientDto> toAbstractFilterPatientDto() {
if (this is ComplementFilter<Patient>) {
return (this as ComplementFilter<Patient>).toComplementFilterDto();
}
if (this is UnionFilter<Patient>) {
return (this as UnionFilter<Patient>).toUnionFilterDto();
}
if (this is IntersectionFilter<Patient>) {
return (this as IntersectionFilter<Patient>).toIntersectionFilterDto();
}
if (this is PatientByHcPartyFilter) {
return (this as PatientByHcPartyFilter).toPatientByHcPartyFilterDto();
}
if (this is PatientByHcPartyAndIdentifiersFilter) {
return (this as PatientByHcPartyAndIdentifiersFilter).toPatientByHcPartyAndIdentifiersFilterDto();
}
if (this is PatientByHcPartyAndSsinsFilter) {
return (this as PatientByHcPartyAndSsinsFilter).toPatientByHcPartyAndSsinsFilterDto();
}
if (this is PatientByHcPartyDateOfBirthBetweenFilter) {
return (this as PatientByHcPartyDateOfBirthBetweenFilter).toPatientByHcPartyDateOfBirthBetweenFilterDto();
}
if (this is PatientByHcPartyNameContainsFuzzyFilter) {
return (this as PatientByHcPartyNameContainsFuzzyFilter).toPatientByHcPartyNameContainsFuzzyFilterDto();
}
if (this is PatientByHcPartyGenderEducationProfessionFilter) {
return (this as PatientByHcPartyGenderEducationProfessionFilter).toPatientByHcPartyGenderEducationProfessionDto();
}
if (this is PatientByIdsFilter) {
return (this as PatientByIdsFilter).toPatientByIdsFilterDto();
}
throw FormatException("No mapper for ${this}");
}