
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.UsedConceptMapNested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
ResourceRenderer.RendererType, ResourceRenderer.TableData, ResourceRenderer.TableRowDataNested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.Renderer
Renderer.RenderingStatusNested 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
inner, multiLangMode, xverManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildNarrative(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ResourceWrapper r) voidrender(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen, ResourceWrapper res) booleanrenderActors(Renderer.RenderingStatus status, ResourceWrapper res, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) renderDiagram(Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario scen) booleanrenderInstances(Renderer.RenderingStatus status, ResourceWrapper res, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) voidrenderProcess(Map<Element, String> prefixes, Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario.ExampleScenarioProcessComponent process, Map<String, ExampleScenario.ExampleScenarioActorComponent> actors, Map<String, ExampleScenario.ExampleScenarioInstanceComponent> instances) booleanrenderProcesses(Map<Element, String> prefixes, Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) protected StringtoPlantUml(Map<Element, String> prefixes, ExampleScenario.ExampleScenarioProcessStepOperationComponent op, ExampleScenario scen, Map<String, Boolean> actorsActive, Map<String, String> actorKeys) protected StringtoPlantUml(Map<Element, String> prefixes, Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario scen) protected StringtoPlantUml(Map<Element, String> prefixes, Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario.ExampleScenarioProcessComponent process, ExampleScenario scen, Map<String, String> actorKeys) protected StringtoPlantUml(Map<Element, String> prefixes, Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario.ExampleScenarioProcessStepComponent step, 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, getHeaderMethods inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
addContained, 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, isInner, isMultiLangMode, makeIdFromBundleEntry, makeInternalBundleLink, markLanguage, parseType, plateStyle, renderCanonical, renderCanonical, renderCanonical, renderCommitteeLink, renderCommitteeLink, renderingUsesValidation, renderOrError, renderReference, renderReference, renderReference, renderResource, renderResourceTechDetails, renderResourceTechDetails, renderTable, renderUri, renderUri, resolveReference, resolveReference, selfLink, setInner, setMultiLangMode, willRenderIdMethods inherited from class org.hl7.fhir.r5.renderers.DataRenderer
addMarkdown, addMarkdown, addTelecom, canRenderDataType, checkRenderExtensions, describeLang, describeVersion, display, displayBase, displayCodeableConcept, displayCodeSource, displayCoding, displayCoding, displayContactDetail, displayContactPoint, displayContactPoint, displayDataType, displayDataType, displayDateTime, displayHumanName, displayIdentifier, displayPeriod, displayQuantity, displayRange, displaySystem, getContext, getLinkForCode, getLinkForSystem, getLocalizedBigDecimalValue, gt, gt, hasRenderableExtensions, hasRenderableExtensions, hasRenderableExtensions, isInKnownUrlSpace, lookupCode, 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, systemFromCanonical, tail, utail, versionFromCanonicalMethods inherited from class org.hl7.fhir.r5.renderers.Renderer
egt, formatPhrase, genStandardsStatus, getTranslatedCode, markBoilerplate, markGenerated, renderStatus, renderStatusDiv, renderStatusRow, renderStatusSummary, spanIfTracking, toStr, toStr, wrap, wrapNC, wrapWC, xlinkNarrative
-
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:
buildNarrativein classResourceRenderer- Throws:
org.hl7.fhir.exceptions.FHIRFormatErrororg.hl7.fhir.exceptions.DefinitionExceptionIOExceptionorg.hl7.fhir.exceptions.FHIRExceptionEOperationOutcome
-
buildSummary
- Specified by:
buildSummaryin classResourceRenderer- Throws:
UnsupportedEncodingExceptionIOException
-
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(Map<Element, String> prefixes, Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario scen) throws IOException- Throws:
IOException
-
toPlantUml
protected String toPlantUml(Map<Element, String> prefixes, Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario.ExampleScenarioProcessComponent process, ExampleScenario scen, Map<String, throws IOExceptionString> actorKeys) - Throws:
IOException
-
toPlantUml
protected String toPlantUml(Map<Element, String> prefixes, Renderer.RenderingStatus status, ResourceWrapper res, ExampleScenario.ExampleScenarioProcessStepComponent step, ExampleScenario scen, Map<String, throws IOExceptionBoolean> actorsActive, Map<String, String> actorKeys) - Throws:
IOException
-
toPlantUml
protected String toPlantUml(Map<Element, String> prefixes, ExampleScenario.ExampleScenarioProcessStepOperationComponent op, 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(Map<Element, String> prefixes, Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario scen) throws IOException- Throws:
IOException
-
renderProcess
public void renderProcess(Map<Element, String> prefixes, Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ExampleScenario.ExampleScenarioProcessComponent process, Map<String, throws IOExceptionExampleScenario.ExampleScenarioActorComponent> actors, Map<String, ExampleScenario.ExampleScenarioInstanceComponent> instances) - Throws:
IOException
-