Package org.hl7.fhir.r5.renderers
Class ProfileDrivenRenderer
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.ProfileDrivenRenderer
- All Implemented Interfaces:
CodeResolver
-
Nested Class Summary
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
buildNarrative
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ResourceWrapper r) boolean
void
generateElementByProfile
(Renderer.RenderingStatus status, ResourceWrapper res, StructureDefinition profile, org.hl7.fhir.utilities.xhtml.XhtmlNode x, String path, boolean showCodeDetails, int indent, ResourceWrapper.NamedResourceWrapperList p, ElementDefinition child, boolean round2) generateResourceSummary
(ResourceWrapper res, StructureDefinition sd, ElementDefinition ed, boolean showCodeDetails, boolean canLink) boolean
protected String
protected String
Methods inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
buildNarrative, buildSummary, canonicalTitle, checkNarrative, describe, describeStatus, describeStatus, describeStatus, describeStatus, describeStatus, displayCanonical, displayReference, displayReference, findCanonical, findCanonical, generateCopyright, generateCopyrightTableRow, genSummaryTable, genSummaryTable, genSummaryTableContent, genSummaryTableContent, getNameForResource, 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, 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
-
ProfileDrivenRenderer
-
-
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 - Specified by:
buildNarrative
in classResourceRenderer
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
IOException
-
buildSummary
- Specified by:
buildSummary
in classResourceRenderer
- Throws:
UnsupportedEncodingException
IOException
-
generateResourceSummary
public String generateResourceSummary(ResourceWrapper res, StructureDefinition sd, ElementDefinition ed, boolean showCodeDetails, boolean canLink) throws org.hl7.fhir.exceptions.FHIRException, UnsupportedEncodingException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRException
UnsupportedEncodingException
IOException
-
generateElementByProfile
public void generateElementByProfile(Renderer.RenderingStatus status, ResourceWrapper res, StructureDefinition profile, org.hl7.fhir.utilities.xhtml.XhtmlNode x, String path, boolean showCodeDetails, int indent, ResourceWrapper.NamedResourceWrapperList p, ElementDefinition child, boolean round2) throws UnsupportedEncodingException, IOException, EOperationOutcome -
isExtension
-
tail
- Overrides:
tail
in classDataRenderer
-
utail
- Overrides:
utail
in classDataRenderer
-
canRender
- Overrides:
canRender
in classResourceRenderer
-
getRendererType
- Overrides:
getRendererType
in classResourceRenderer
-