deleteHealthcareElement method

  1. @override
Future<String?> deleteHealthcareElement(
  1. String id
)
override

Delete a Healthcare Element

Parameters:

Implementation

@override
Future<String?> deleteHealthcareElement(String id) async {
  return (await api.baseHealthElementApi.rawDeleteHealthElements(base_api.ListOfIdsDto(ids: [id])))?.single.rev ??
      throwFormatException("An error occurred when deleting this HealthcareElement. Id: ${id}");
}