rawFindDeletedPatientsWithHttpInfo method
Find deleted patients
Returns a list of deleted patients, within the specified time period, if any.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> rawFindDeletedPatientsWithHttpInfo({ int? startDate, int? endDate, bool? desc, String? startDocumentId, int? limit, }) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/patient/deleted/byDate';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (startDate != null) {
queryParams.addAll(_queryParams('', 'startDate', startDate));
}
if (endDate != null) {
queryParams.addAll(_queryParams('', 'endDate', endDate));
}
if (desc != null) {
queryParams.addAll(_queryParams('', 'desc', desc));
}
if (startDocumentId != null) {
queryParams.addAll(_queryParams('', 'startDocumentId', startDocumentId));
}
if (limit != null) {
queryParams.addAll(_queryParams('', 'limit', limit));
}
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}