searchSlots method

Future<Result<Slot>> searchSlots(
  1. String baseUri, {
  2. String version = 'baseR4',
  3. int? count,
  4. SlotStatus? status,
})

Search for Slots

Implementation

Future<Result<Slot>> searchSlots(
  String baseUri, {
  String version = 'baseR4',
  int? count,
  SlotStatus? status,
}) async =>
    search(
      baseUri,
      resourceType: ResourceType.slot,
      version: version,
      queryString: _queryString([
        if (count != null) MapEntry('_count', count.toString()),
        if (status != null) MapEntry('status', status.code),
      ]),
    );