From a12b1bdc9341f7b75298f3dd168852e64d33aa58 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 7 Aug 2020 11:28:18 +1000 Subject: [PATCH] change type of resource parameter to ResourceRender.build --- .../main/java/org/hl7/fhir/r5/renderers/ResourceRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ResourceRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ResourceRenderer.java index 1904b74cd..61fd75c3f 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ResourceRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ResourceRenderer.java @@ -50,7 +50,7 @@ public abstract class ResourceRenderer extends DataRenderer { this.rcontext = rcontext; } - public XhtmlNode build(DomainResource dr) throws FHIRFormatError, DefinitionException, FHIRException, IOException, EOperationOutcome { + public XhtmlNode build(Resource dr) throws FHIRFormatError, DefinitionException, FHIRException, IOException, EOperationOutcome { XhtmlNode x = new XhtmlNode(NodeType.Element, "div"); render(x, dr); return x;