Add message code

This commit is contained in:
juan.marchionatto 2024-11-27 13:21:00 -05:00
parent 47b78cdc67
commit 558d9bd8e4
1 changed files with 2 additions and 2 deletions

View File

@ -190,11 +190,11 @@ public class ReplaceReferencesProvider {
private List<? extends IBaseResource> findReferencingResourceIds(
IIdType theCurrentTargetIdParam, RequestDetails theRequest) {
IFhirResourceDao<?> dao = getDao(theRequest.getResourceName());
if (dao == null) {
// fixme jm: msg code
throw new InternalErrorException(
Msg.code(0) + "Couldn't obtain DAO for resource type" + theRequest.getResourceName());
Msg.code(2582) + "Couldn't obtain DAO for resource type" + theRequest.getResourceName());
}
SearchParameterMap parameterMap = new SearchParameterMap();