mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 09:29:13 +00:00
Another XIG fix
This commit is contained in:
parent
84c28fd4f9
commit
71ff6a81db
@ -32,6 +32,9 @@ public class ExampleScenarioRenderer extends TerminologyRenderer {
|
||||
|
||||
public boolean render(XhtmlNode x, ExampleScenario scen) throws FHIRException {
|
||||
try {
|
||||
if (context.getScenarioMode() == null) {
|
||||
return renderActors(x, scen);
|
||||
} else {
|
||||
switch (context.getScenarioMode()) {
|
||||
case ACTORS:
|
||||
return renderActors(x, scen);
|
||||
@ -42,6 +45,7 @@ public class ExampleScenarioRenderer extends TerminologyRenderer {
|
||||
default:
|
||||
throw new FHIRException("Unknown ExampleScenario Renderer Mode " + context.getScenarioMode());
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new FHIRException("Error rendering ExampleScenario " + scen.getUrl(), e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user