change type of resource parameter to ResourceRender.build

This commit is contained in:
Grahame Grieve 2020-08-07 11:28:18 +10:00
parent 800e381629
commit a12b1bdc93
1 changed files with 1 additions and 1 deletions

View File

@ -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;