diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/DirectWrappers.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/DirectWrappers.java index b7c72d40f..78d4eb7ec 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/DirectWrappers.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/DirectWrappers.java @@ -110,7 +110,7 @@ public class DirectWrappers { @Override public ResourceWrapper getAsResource() { - throw new Error("Not implemented yet"); + return new ResourceWrapperDirect(context, (Resource) wrapped.getValues().get(0)); } @Override