From 7155b940fd9b9a547be62d8cac2e941d241fbff2 Mon Sep 17 00:00:00 2001 From: Lloyd McKenzie Date: Tue, 8 Aug 2023 14:18:50 -0600 Subject: [PATCH] Added support for pause --- .../java/org/hl7/fhir/r5/renderers/ExampleScenarioRenderer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ExampleScenarioRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ExampleScenarioRenderer.java index 493de71e2..c4ea6a113 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ExampleScenarioRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ExampleScenarioRenderer.java @@ -100,6 +100,8 @@ public class ExampleScenarioRenderer extends TerminologyRenderer { int stepCount = 1; for (ExampleScenarioProcessStepComponent step: process.getStep()) { plantUml += toPlantUml(step, stepPrefix(prefix, step, stepCount), scen, actorsActive, actorKeys); + if (step.getPause()) + plantUml += "... time passes ...\n"; stepCount++; }