Package org.hl7.fhir.r5.renderers
Class ExampleScenarioRenderer
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.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.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) void
render
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen, ResourceWrapper res) boolean
renderActors
(Renderer.RenderingStatus status, ResourceWrapper res, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) renderDiagram
(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario scen) boolean
renderInstances
(Renderer.RenderingStatus status, ResourceWrapper res, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) void
renderProcess
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario.ExampleScenarioProcessComponent process, String prefix, Map<String, ExampleScenario.ExampleScenarioActorComponent> actors, Map<String, ExampleScenario.ExampleScenarioInstanceComponent> instances) boolean
renderProcesses
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) protected String
toPlantUml
(ExampleScenario.ExampleScenarioProcessStepOperationComponent op, String prefix, ExampleScenario scen, Map<String, Boolean> actorsActive, Map<String, String> actorKeys) protected String
toPlantUml
(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario scen) protected String
toPlantUml
(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario.ExampleScenarioProcessComponent process, String prefix, ExampleScenario scen, Map<String, String> actorKeys) protected String
toPlantUml
(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario.ExampleScenarioProcessStepComponent step, 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, 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, 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, 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, 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
-
ExampleScenarioRenderer
-
-
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, ExampleScenario scen, ResourceWrapper res) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
renderDiagram
public String renderDiagram(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario scen) throws IOException - Throws:
IOException
-
toPlantUml
protected String toPlantUml(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario scen) throws IOException - Throws:
IOException
-
toPlantUml
protected String toPlantUml(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario.ExampleScenarioProcessComponent process, String prefix, ExampleScenario scen, Map<String, String> actorKeys) throws IOException- Throws:
IOException
-
toPlantUml
protected String toPlantUml(Renderer.RenderingStatus status, ResourceWrapper res, 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(Renderer.RenderingStatus status, ResourceWrapper res, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws IOException - Throws:
IOException
-
renderInstances
public boolean renderInstances(Renderer.RenderingStatus status, ResourceWrapper res, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws IOException - Throws:
IOException
-
renderProcesses
public boolean renderProcesses(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws IOException - Throws:
IOException
-
renderProcess
public void renderProcess(Renderer.RenderingStatus status, 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
-