matchPatients method

  1. @override
Future<List<String>?> matchPatients(
  1. Filter filter
)
override

Load patient ids from the database by filtering them using the provided filter.

Filters are complex selectors that are built by combining basic building blocks. Examples of filters available for Patient are AllPatientsFilter and PatientsByIdsFilter. This method returns the list of the ids of the users matching the filter.

Parameters:

  • Filter filter (required): The Filter object that describes which condition(s) the elements whose the ids should be returned must fulfill

Implementation

@override
Future<List<String>?> matchPatients(Filter filter) {
  return _api.basePatientApi.rawMatchPatientsBy(filter.toAbstractFilterDto());
}