deleteHealthcareProfessionals method
Deletes a list of existing healthcare professionals.
Deletes the healthcare professionals identified by the provided unique hcpIds.
Parameters:
- List hcpIds (required): The list of UUIDs that uniquely identify the healthcare professionals to be deleted.
Implementation
@override
Future<List<String>?> deleteHealthcareProfessionals(List<String> hcpIds) async {
return (await api.baseHealthcarePartyApi.deleteHealthcareParties(base_api.ListOfIdsDto(ids: hcpIds)))?.map((e) => e.rev!).toList();
}