Package org.hl7.fhir.r5.renderers
Class ExampleScenarioRenderer
java.lang.Object
org.hl7.fhir.utilities.TranslatingUtilities
org.hl7.fhir.r5.utils.TranslatingUtilities
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.ExampleScenarioRenderer
- 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.utils.TranslatingUtilities
TranslatingUtilities.TranslationServices
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
rcontext, xverManager
Fields inherited from class org.hl7.fhir.r5.renderers.Renderer
context, RENDER_BUNDLE_DOCUMENT_CONTENT, RENDER_BUNDLE_ETAG, RENDER_BUNDLE_HEADER_DOC_ENTRY_RD, RENDER_BUNDLE_HEADER_DOC_ENTRY_U, RENDER_BUNDLE_HEADER_DOC_ENTRY_URD, 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
render
(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) boolean
boolean
renderActors
(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) renderDiagram
(ExampleScenario scen) boolean
renderInstances
(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) void
renderProcess
(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario.ExampleScenarioProcessComponent process, String prefix, Map<String, ExampleScenario.ExampleScenarioActorComponent> actors, Map<String, ExampleScenario.ExampleScenarioInstanceComponent> instances) boolean
renderProcesses
(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) protected String
toPlantUml
(ExampleScenario scen) protected String
toPlantUml
(ExampleScenario.ExampleScenarioProcessComponent process, String prefix, ExampleScenario scen, Map<String, String> actorKeys) protected String
toPlantUml
(ExampleScenario.ExampleScenarioProcessStepComponent step, String prefix, ExampleScenario scen, Map<String, Boolean> actorsActive, Map<String, String> actorKeys) protected String
toPlantUml
(ExampleScenario.ExampleScenarioProcessStepOperationComponent op, String prefix, ExampleScenario scen, Map<String, Boolean> actorsActive, Map<String, String> actorKeys) Methods inherited from class org.hl7.fhir.r5.renderers.TerminologyRenderer
addCsRef, addMapHeaders, addTableHeaderRowStandard, AddVsRef, clipboard, display, display, findMappingsForCode, getCharForRelationship, getDisplayForConcept, getDisplayForProperty, getHeader
Methods inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
build, canRender, describe, describe, describeStatus, displayReference, fetchResource, generateCopyright, getProperty, getProperty, getRcontext, getRendererType, inject, makeIdFromBundleEntry, makeInternalBundleLink, parseType, render, render, render, render, render, renderCanonical, renderCanonical, renderCanonical, renderCommitteeLink, renderOrError, renderReference, renderReference, renderReference, renderReference, renderResourceHeader, renderTable, resolveReference, setRcontext, valued
Methods inherited from class org.hl7.fhir.r5.renderers.DataRenderer
addMarkdown, addMarkdown, addTelecom, describeLang, describeSystem, describeVersion, display, display, display, displayBase, displayCodeableConcept, displayCoding, displayCoding, displayContactPoint, displayContactPoint, displayHumanName, displayPeriod, displayQuantity, displayRange, displaySystem, getContext, getLinkForCode, getLocalizedBigDecimalValue, gt, hasRenderableExtensions, hasRenderableExtensions, makeAnchor, makeExceptionXhtml, processRelativeUrls, render, render, renderAddress, renderAnnotation, renderAnnotation, renderBase, renderCodeableConcept, renderCodeableConcept, renderCodeableReference, renderCoding, renderCoding, renderCoding, renderCodingWithDetails, renderContactPoint, renderDataRequirement, renderDate, renderDateTime, renderDateTime, renderExpression, renderExtensionsInList, renderExtensionsInList, renderExtensionsInList, renderExtensionsInText, renderHumanName, renderIdentifier, renderMoney, renderPeriod, renderQuantity, renderQuantity, renderRange, renderSampledData, renderTiming, renderUri, renderUri, renderUsageContext, resolveCode, resolveCode, resolveCode, smartAddText, systemFromCanonical, translate, versionFromCanonical
Methods inherited from class org.hl7.fhir.r5.renderers.Renderer
formatMessage, genStandardsStatus, renderStatus, renderStatusDiv, renderStatusRow, renderStatusSummary
Methods inherited from class org.hl7.fhir.r5.utils.TranslatingUtilities
egt
Methods inherited from class org.hl7.fhir.utilities.TranslatingUtilities
getTranslator, hasTranslator, setTranslator, toStr, toStr, translate
-
Constructor Details
-
ExampleScenarioRenderer
-
-
Method Details
-
render
- Specified by:
render
in classResourceRenderer
- Throws:
IOException
-
render
public boolean render(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
renderDiagram
- Throws:
IOException
-
toPlantUml
- Throws:
IOException
-
toPlantUml
protected String toPlantUml(ExampleScenario.ExampleScenarioProcessComponent process, String prefix, ExampleScenario scen, Map<String, String> actorKeys) throws IOException- Throws:
IOException
-
toPlantUml
protected String toPlantUml(ExampleScenario.ExampleScenarioProcessStepComponent step, String prefix, ExampleScenario scen, Map<String, Boolean> actorsActive, Map<String, throws IOExceptionString> actorKeys) - Throws:
IOException
-
toPlantUml
protected String toPlantUml(ExampleScenario.ExampleScenarioProcessStepOperationComponent op, String prefix, ExampleScenario scen, Map<String, Boolean> actorsActive, Map<String, String> actorKeys) -
renderActors
public boolean renderActors(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws IOException - Throws:
IOException
-
renderInstances
public boolean renderInstances(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws IOException - Throws:
IOException
-
renderProcesses
public boolean renderProcesses(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws IOException - Throws:
IOException
-
renderProcess
public void renderProcess(org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario.ExampleScenarioProcessComponent process, String prefix, Map<String, ExampleScenario.ExampleScenarioActorComponent> actors, Map<String, throws IOExceptionExampleScenario.ExampleScenarioInstanceComponent> instances) - Throws:
IOException
-