searchEncounters method

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

Search for Encounters

Implementation

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