Package dev.dsf.fhir.adapter
Class InputHtmlGenerator
java.lang.Object
dev.dsf.fhir.adapter.InputHtmlGenerator
- Direct Known Subclasses:
QuestionnaireResponseHtmlGenerator,SearchBundleHtmlGenerator,TaskHtmlGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final SimpleDateFormatprotected static final SimpleDateFormatprotected static final SimpleDateFormatprotected static final Stringprotected static final Stringprotected static final String -
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)
-
Field Details
-
ELEMENT_TYPE_ROW
- See Also:
-
ELEMENT_TYPE_LINK
- See Also:
-
ELEMENT_TYPE_PATH
- See Also:
-
DATE_FORMAT
-
DATE_TIME_FORMAT
-
DATE_TIME_DISPLAY_FORMAT
-
-
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
-