Interface HtmlGenerator<R extends org.hl7.fhir.r4.model.BaseResource>

All Known Implementing Classes:
QuestionnaireResponseHtmlGenerator

public interface HtmlGenerator<R extends org.hl7.fhir.r4.model.BaseResource>
  • Method Details

    • getResourceType

      Class<R> getResourceType()
      Returns:
      the resource type supported by this generator
    • writeHtml

      void writeHtml(String basePath, R resource, OutputStreamWriter out) throws IOException
      Parameters:
      basePath - the applications base base, e.g. /fhir/
      resource - the resource, not null
      out - the outputStreamWriter, not null
      Throws:
      IOException