Skip to content

Commit

Permalink
Update AllergyIntoleranceFhirResourceProvider.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Jul 14, 2020
1 parent 9b1d672 commit 0752a0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public OperationOutcome deleteAllergyIntolerance(@IdParam @NotNull IdType id) {
if (allergyIntolerance == null) {
throw new ResourceNotFoundException("Could not find allergyIntolerance to delete with id " + id.getIdPart());
}
return OperationOutcome30_40.convertOperationOutcome(FhirProviderUtils.buildDelete(allergyIntolerance));
return FhirProviderUtils.buildDelete(AllergyIntolerance30_40.convertAllergyIntolerance(allergyIntolerance)));
}

@Search
Expand Down

0 comments on commit 0752a0c

Please sign in to comment.