Package org.hl7.fhir.r5.renderers
Class ValueSetRenderer
java.lang.Object
org.hl7.fhir.r5.renderers.Renderer
org.hl7.fhir.r5.renderers.DataRenderer
org.hl7.fhir.r5.renderers.ResourceRenderer
org.hl7.fhir.r5.renderers.TerminologyRenderer
org.hl7.fhir.r5.renderers.ValueSetRenderer
- All Implemented Interfaces:
CodeResolver
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.TerminologyRenderer
TerminologyRenderer.ConceptMapRenderInstructions, TerminologyRenderer.TargetElementComponentWrapper, TerminologyRenderer.UsedConceptMap
Nested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
ResourceRenderer.RendererType, ResourceRenderer.TableData, ResourceRenderer.TableRowData
Nested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.Renderer
Renderer.RenderingStatus
Nested classes/interfaces inherited from interface org.hl7.fhir.r5.renderers.CodeResolver
CodeResolver.CodeResolution
-
Field Summary
Fields inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
multiLangMode, xverManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDesignationsToRow
(ValueSet.ConceptReferenceComponent c, Map<String, String> designations, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) void
addDesignationsToRow
(ValueSet.ValueSetExpansionContainsComponent c, Map<String, String> designations, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) void
addLangaugesToRow
(ValueSet.ConceptReferenceComponent c, List<String> langs, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) void
addLangaugesToRow
(ValueSet.ValueSetExpansionContainsComponent c, List<String> langs, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) void
buildNarrative
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ResourceWrapper r) void
protected void
genSummaryTableContent
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode tbl, CanonicalResource cr) void
render
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ValueSet vs, boolean header) Methods inherited from class org.hl7.fhir.r5.renderers.TerminologyRenderer
addCsRef, addMapHeaders, addTableHeaderRowStandard, AddVsRef, clipboard, display, findMappingsForCode, getCharForRelationship, getDisplayForConcept, getDisplayForConcept, getDisplayForProperty, getDisplayForProperty, getHeader
Methods inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
buildNarrative, buildSummary, canonicalTitle, canRender, checkNarrative, describe, describeStatus, describeStatus, describeStatus, describeStatus, describeStatus, displayCanonical, displayReference, displayReference, findCanonical, findCanonical, generateCopyright, generateCopyrightTableRow, genSummaryTable, genSummaryTable, genSummaryTableContent, getNameForResource, getRendererType, hasAnchorName, inject, isMultiLangMode, makeIdFromBundleEntry, makeInternalBundleLink, markLanguage, parseType, renderCanonical, renderCanonical, renderCanonical, renderCommitteeLink, renderCommitteeLink, renderOrError, renderReference, renderReference, renderReference, renderResource, renderResourceTechDetails, renderResourceTechDetails, renderTable, renderUri, renderUri, resolveReference, resolveReference, setMultiLangMode
Methods inherited from class org.hl7.fhir.r5.renderers.DataRenderer
addMarkdown, addMarkdown, addTelecom, canRenderDataType, checkRenderExtensions, describeLang, describeVersion, display, displayBase, displayCodeableConcept, displayCoding, displayCoding, displayContactDetail, displayContactPoint, displayContactPoint, displayDataType, displayDataType, displayDateTime, displayHumanName, displayIdentifier, displayPeriod, displayQuantity, displayRange, displaySystem, getContext, getLinkForCode, getLocalizedBigDecimalValue, gt, gt, hasRenderableExtensions, hasRenderableExtensions, hasRenderableExtensions, makeAnchor, makeExceptionXhtml, processRelativeUrls, renderAddress, renderAnnotation, renderBase, renderCodeableConcept, renderCodeableReference, renderCoding, renderCoding, renderCoding, renderCoding, renderCodingWithDetails, renderContactPoint, renderDataRequirement, renderDataType, renderDataType, renderExpression, renderExtensionsInList, renderExtensionsInText, renderHumanName, renderIdentifier, renderMoney, renderPeriod, renderPrimitiveWithNoValue, renderPrimitiveWithNoValue, renderQuantity, renderQuantity, renderQuantity, renderRange, renderSampledData, renderTiming, renderTriggerDefinition, renderUsageContext, resolveCode, resolveCode, resolveCode, resolveCode, smartAddText, systemFromCanonical, tail, utail, versionFromCanonical
Methods inherited from class org.hl7.fhir.r5.renderers.Renderer
egt, formatPhrase, genStandardsStatus, getTranslatedCode, renderStatus, renderStatusDiv, renderStatusRow, renderStatusSummary, toStr, toStr, wrap, wrapNC, wrapWC
-
Constructor Details
-
ValueSetRenderer
-
-
Method Details
-
buildNarrative
public void buildNarrative(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ResourceWrapper r) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException, org.hl7.fhir.exceptions.FHIRException, EOperationOutcome - Specified by:
buildNarrative
in classResourceRenderer
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
IOException
org.hl7.fhir.exceptions.FHIRException
EOperationOutcome
-
buildSummary
- Specified by:
buildSummary
in classResourceRenderer
- Throws:
UnsupportedEncodingException
IOException
-
render
public void render(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ValueSet vs, boolean header) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
IOException
-
describe
-
display
-
addDesignationsToRow
public void addDesignationsToRow(ValueSet.ValueSetExpansionContainsComponent c, Map<String, String> designations, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) -
addLangaugesToRow
public void addLangaugesToRow(ValueSet.ValueSetExpansionContainsComponent c, List<String> langs, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) -
addDesignationsToRow
public void addDesignationsToRow(ValueSet.ConceptReferenceComponent c, Map<String, String> designations, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) -
addLangaugesToRow
public void addLangaugesToRow(ValueSet.ConceptReferenceComponent c, List<String> langs, org.hl7.fhir.utilities.xhtml.XhtmlNode tr) -
genSummaryTableContent
protected void genSummaryTableContent(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode tbl, CanonicalResource cr) throws IOException - Overrides:
genSummaryTableContent
in classResourceRenderer
- Throws:
IOException
-