@Wyclif, those methods were transferred from allergyapi module in TRUNK-4747.
@darius, DELETE patient/uuid/allergy as a way of deleting all allergies is proving difficult to implement. DelegatingSubResource does not have a method which can be overridden to implement this behavior as its getAll method can be used to implement GET patient/uuid/allergy. Even if we assume in DelegatingSubResource.delete(allergy, reason, context) that the allergy parameter is null, I can’t see a way to access the parent Patient without which the list of allergies can’t be retrieved. An alternative is to require the client to delete all allergies one by one. What is the way to go?