From 7f358434401ecca5760d2364dfe1033180bc7265 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 6 Dec 2022 16:22:08 +1100 Subject: [PATCH] all-profiles related fixes --- .../org/hl7/fhir/validation/cli/services/ValidationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/cli/services/ValidationService.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/cli/services/ValidationService.java index 6a6928680..47c16604a 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/cli/services/ValidationService.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/cli/services/ValidationService.java @@ -463,7 +463,7 @@ public class ValidationService { CanonicalResource cr = validator.loadCanonicalResource(cliContext.getSources().get(0), cliContext.getSv()); boolean ok = true; if (cr instanceof StructureDefinition) { - new StructureDefinitionSpreadsheetGenerator(validator.getContext(), false, false).renderStructureDefinition((StructureDefinition) cr).finish(new FileOutputStream(cliContext.getOutput())); + new StructureDefinitionSpreadsheetGenerator(validator.getContext(), false, false).renderStructureDefinition((StructureDefinition) cr, false).finish(new FileOutputStream(cliContext.getOutput())); } else if (cr instanceof CodeSystem) { new CodeSystemSpreadsheetGenerator(validator.getContext()).renderCodeSystem((CodeSystem) cr).finish(new FileOutputStream(cliContext.getOutput())); } else if (cr instanceof ValueSet) {