searchAppointments method

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

Search for Appointments

Implementation

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