Class QuestionnaireResponseHtmlGenerator

java.lang.Object
dev.dsf.fhir.adapter.InputHtmlGenerator
dev.dsf.fhir.adapter.QuestionnaireResponseHtmlGenerator
All Implemented Interfaces:
HtmlGenerator<org.hl7.fhir.r4.model.QuestionnaireResponse>

public class QuestionnaireResponseHtmlGenerator extends InputHtmlGenerator implements HtmlGenerator<org.hl7.fhir.r4.model.QuestionnaireResponse>
  • Constructor Details

    • QuestionnaireResponseHtmlGenerator

      public QuestionnaireResponseHtmlGenerator()
  • Method Details

    • getResourceType

      public Class<org.hl7.fhir.r4.model.QuestionnaireResponse> getResourceType()
      Specified by:
      getResourceType in interface HtmlGenerator<org.hl7.fhir.r4.model.QuestionnaireResponse>
      Returns:
      the resource type supported by this generator
    • isResourceSupported

      public boolean isResourceSupported(String basePath, URI resourceUri, org.hl7.fhir.r4.model.Resource resource)
      Specified by:
      isResourceSupported in interface HtmlGenerator<org.hl7.fhir.r4.model.QuestionnaireResponse>
      Parameters:
      basePath - the applications base base, e.g. /fhir/
      resourceUri - not null
      resource - not null
      Returns:
      true if this HtmlGenerator supports the given resource for the given uri
    • writeHtml

      public void writeHtml(String basePath, URI resourceUri, org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse, OutputStreamWriter out) throws IOException
      Specified by:
      writeHtml in interface HtmlGenerator<org.hl7.fhir.r4.model.QuestionnaireResponse>
      Parameters:
      basePath - the applications base base, e.g. /fhir/
      resourceUri - not null
      questionnaireResponse - the resource, not null
      out - the outputStreamWriter, not null
      Throws:
      IOException