restore broken R4 loading

This commit is contained in:
Grahame Grieve 2023-03-30 08:30:32 +11:00
parent 6a8e425696
commit bb94efa873
1 changed files with 2 additions and 0 deletions

View File

@ -339,6 +339,8 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
public void registerResourceFromPackage(CanonicalResourceProxy r, PackageInformation packageInfo) throws FHIRException {
PackageHackerR5.fixLoadedResource(r, packageInfo);
synchronized (lock) {
if (packageInfo != null) {
packages.put(packageInfo.getVID(), packageInfo);