searchSchedules method

Future<Result<Schedule>> searchSchedules(
  1. String baseUri, {
  2. String version = 'baseR4',
  3. int? count,
  4. String? serviceType,
})

Search for Schedules

Implementation

Future<Result<Schedule>> searchSchedules(
  String baseUri, {
  String version = 'baseR4',
  int? count,
  String? serviceType,
}) async =>
    search(
      baseUri,
      resourceType: ResourceType.schedule,
      version: version,
      queryString: _queryString([
        if (count != null) MapEntry('_count', count.toString()),
        if (serviceType != null) MapEntry('service-type', serviceType),
      ]),
    );