searchPatients method
Search for Patients
Implementation
Future<Result<Patient>> searchPatients(
String baseUri, {
String version = 'baseR4',
int? count,
}) async =>
search(
baseUri,
resourceType: ResourceType.patient,
version: version,
queryString: _queryString([
if (count != null) MapEntry('_count', count.toString()),
]),
);