Package dev.dsf.fhir.adapter
Class InputHtmlGenerator
java.lang.Object
dev.dsf.fhir.adapter.AbstractHtmlAdapter
dev.dsf.fhir.adapter.InputHtmlGenerator
- Direct Known Subclasses:
QuestionnaireResponseHtmlGenerator,TaskHtmlGenerator
-
Field Summary
Fields inherited from class dev.dsf.fhir.adapter.AbstractHtmlAdapter
DATE_FORMAT, DATE_TIME_DISPLAY_FORMAT, DATE_TIME_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwriteDisplayRow(String text, String elementName, boolean display, OutputStreamWriter out) protected voidwriteInputExtensionFields(List<org.hl7.fhir.r4.model.Extension> extensions, String elementName, int elementIndex, boolean writable, int depth, OutputStreamWriter out) protected voidwriteInputField(org.hl7.fhir.r4.model.Type type, String elementName, int elementIndex, boolean writable, OutputStreamWriter out) protected voidwriteInputLabel(String elementLabel, int elementIndex, Supplier<String> additionalClasses, OutputStreamWriter out) protected voidwriteInputRow(org.hl7.fhir.r4.model.Type type, List<org.hl7.fhir.r4.model.Extension> extensions, String elementName, Map<String, Integer> elemenIndexMap, String elementLabel, boolean display, boolean writable, OutputStreamWriter out) Methods inherited from class dev.dsf.fhir.adapter.AbstractHtmlAdapter
format, formatLastUpdated
-
Constructor Details
-
InputHtmlGenerator
public InputHtmlGenerator()
-
-
Method Details
-
writeDisplayRow
protected void writeDisplayRow(String text, String elementName, boolean display, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeInputRow
protected void writeInputRow(org.hl7.fhir.r4.model.Type type, List<org.hl7.fhir.r4.model.Extension> extensions, String elementName, Map<String, Integer> elemenIndexMap, String elementLabel, boolean display, boolean writable, OutputStreamWriter out) throws IOException- Throws:
IOException
-
writeInputLabel
protected void writeInputLabel(String elementLabel, int elementIndex, Supplier<String> additionalClasses, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeInputExtensionFields
protected void writeInputExtensionFields(List<org.hl7.fhir.r4.model.Extension> extensions, String elementName, int elementIndex, boolean writable, int depth, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeInputField
protected void writeInputField(org.hl7.fhir.r4.model.Type type, String elementName, int elementIndex, boolean writable, OutputStreamWriter out) throws IOException - Throws:
IOException
-