Package org.hl7.fhir.r5.renderers
Class DataRenderer
java.lang.Object
org.hl7.fhir.r5.renderers.Renderer
org.hl7.fhir.r5.renderers.DataRenderer
- Direct Known Subclasses:
ResourceRenderer
-
Field Summary
Fields inherited from class org.hl7.fhir.r5.renderers.Renderer
context, RENDER_BUNDLE_ETAG, RENDER_BUNDLE_HEADER_ENTRY, RENDER_BUNDLE_HEADER_ENTRY_URL, RENDER_BUNDLE_HEADER_ROOT, RENDER_BUNDLE_IF_MATCH, RENDER_BUNDLE_IF_MOD, RENDER_BUNDLE_IF_NON_MATCH, RENDER_BUNDLE_IF_NONE, RENDER_BUNDLE_LAST_MOD, RENDER_BUNDLE_LOCATION, RENDER_BUNDLE_REQUEST, RENDER_BUNDLE_RESOURCE, RENDER_BUNDLE_RESPONSE, RENDER_BUNDLE_SEARCH, RENDER_BUNDLE_SEARCH_MODE, RENDER_BUNDLE_SEARCH_SCORE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddMarkdown(org.hl7.fhir.utilities.xhtml.XhtmlNode x, String text) protected voidaddTelecom(org.hl7.fhir.utilities.xhtml.XhtmlNode p, ContactPoint c) protected StringdescribeLang(String lang) static StringdescribeSystem(String system) static StringdescribeVersion(String version) static Stringdisplay(IWorkerContext context, DataType type) displayBase(Base b) displayCoding(List<Coding> list) static StringdisplayContactPoint(ContactPoint contact) protected voiddisplayContactPoint(org.hl7.fhir.utilities.xhtml.XhtmlNode p, ContactPoint c) static StringdisplayHumanName(HumanName name) protected StringdisplaySystem(String system) protected StringgetLinkForCode(String system, String version, String code) protected StringgetLocalizedBigDecimalValue(BigDecimal input, Currency c) gt(PrimitiveType value) protected StringmakeAnchor(String codeSystem, String code) org.hl7.fhir.utilities.xhtml.XhtmlNodemakeExceptionXhtml(Exception e, String function) voidvoidrender(org.hl7.fhir.utilities.xhtml.XhtmlNode x, BaseWrappers.BaseWrapper type) protected voidrenderAddress(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Address address) protected voidrenderAnnotation(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Annotation annot) protected voidrenderAnnotation(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Annotation a, boolean showCodeDetails) voidrenderBase(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Base b) protected voidrenderCodeableConcept(org.hl7.fhir.utilities.xhtml.XhtmlNode x, CodeableConcept cc) protected voidrenderCodeableConcept(org.hl7.fhir.utilities.xhtml.XhtmlNode x, CodeableConcept cc, boolean showCodeDetails) protected voidrenderCodeableReference(org.hl7.fhir.utilities.xhtml.XhtmlNode x, CodeableReference e, boolean showCodeDetails) protected voidrenderCoding(org.hl7.fhir.utilities.xhtml.HierarchicalTableGenerator gen, List<org.hl7.fhir.utilities.xhtml.HierarchicalTableGenerator.Piece> pieces, Coding c) protected voidrenderCoding(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Coding c) protected voidrenderCoding(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Coding c, boolean showCodeDetails) protected voidrenderCodingWithDetails(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Coding c) protected voidrenderContactPoint(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ContactPoint contact) voidrenderDataRequirement(org.hl7.fhir.utilities.xhtml.XhtmlNode x, DataRequirement dr) voidrenderDate(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Base e) voidrenderDateTime(org.hl7.fhir.utilities.xhtml.XhtmlNode x, String s) voidrenderDateTime(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Base e) protected voidrenderExpression(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Expression expr) protected voidrenderHumanName(org.hl7.fhir.utilities.xhtml.XhtmlNode x, HumanName name) protected voidrenderIdentifier(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Identifier ii) protected voidrenderMoney(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Money money) voidrenderPeriod(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Period p) protected voidrenderQuantity(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Quantity q) protected voidrenderQuantity(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Quantity q, boolean showCodeDetails) protected voidrenderRange(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Range q) protected voidrenderSampledData(org.hl7.fhir.utilities.xhtml.XhtmlNode x, SampledData sampledData) protected voidrenderTiming(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Timing s) protected voidprotected voidprotected voidsmartAddText(org.hl7.fhir.utilities.xhtml.XhtmlNode p, String text) protected StringsystemFromCanonical(String system) protected Stringprotected StringversionFromCanonical(String system) Methods inherited from class org.hl7.fhir.r5.renderers.Renderer
formatMessage
-
Constructor Details
-
DataRenderer
-
DataRenderer
-
-
Method Details
-
addMarkdown
protected void addMarkdown(org.hl7.fhir.utilities.xhtml.XhtmlNode x, String text) throws org.hl7.fhir.exceptions.FHIRFormatError, IOException, org.hl7.fhir.exceptions.DefinitionException - Throws:
org.hl7.fhir.exceptions.FHIRFormatErrorIOExceptionorg.hl7.fhir.exceptions.DefinitionException
-
smartAddText
-
describeVersion
-
describeSystem
-
displaySystem
-
makeAnchor
-
describeLang
-
translate
-
gt
-
display
-
displayBase
-
display
-
display
-
render
public void render(org.hl7.fhir.utilities.xhtml.XhtmlNode x, BaseWrappers.BaseWrapper type) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionIOException
-
renderBase
public void renderBase(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Base b) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionIOException
-
render
public void render(org.hl7.fhir.utilities.xhtml.XhtmlNode x, DataType type) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionIOException
-
renderDateTime
-
renderDate
-
renderDateTime
-
renderUri
-
renderUri
-
renderAnnotation
-
renderAnnotation
protected void renderAnnotation(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Annotation a, boolean showCodeDetails) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
displayCoding
-
displayCoding
-
renderCoding
-
renderCoding
protected void renderCoding(org.hl7.fhir.utilities.xhtml.HierarchicalTableGenerator gen, List<org.hl7.fhir.utilities.xhtml.HierarchicalTableGenerator.Piece> pieces, Coding c) -
getLinkForCode
-
renderCodingWithDetails
-
renderCoding
protected void renderCoding(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Coding c, boolean showCodeDetails) -
displayCodeableConcept
-
renderCodeableConcept
-
renderCodeableReference
protected void renderCodeableReference(org.hl7.fhir.utilities.xhtml.XhtmlNode x, CodeableReference e, boolean showCodeDetails) -
renderCodeableConcept
protected void renderCodeableConcept(org.hl7.fhir.utilities.xhtml.XhtmlNode x, CodeableConcept cc, boolean showCodeDetails) -
renderIdentifier
-
displayHumanName
-
renderHumanName
-
renderAddress
-
displayContactPoint
-
getLocalizedBigDecimalValue
-
renderMoney
-
renderExpression
-
renderContactPoint
-
displayContactPoint
-
addTelecom
-
displayQuantity
-
renderQuantity
-
renderQuantity
protected void renderQuantity(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Quantity q, boolean showCodeDetails) -
displayRange
-
renderRange
-
displayPeriod
-
renderPeriod
-
renderDataRequirement
public void renderDataRequirement(org.hl7.fhir.utilities.xhtml.XhtmlNode x, DataRequirement dr) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionIOException
-
renderTiming
protected void renderTiming(org.hl7.fhir.utilities.xhtml.XhtmlNode x, Timing s) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
renderSampledData
-
getContext
-
makeExceptionXhtml
-
versionFromCanonical
-
systemFromCanonical
-