From b548b98496f06aa4d7f6a7228f37003a5ca2c6ec Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Sat, 10 Feb 2024 23:11:23 +1100 Subject: [PATCH] Split value set validation into 10k batches for very large extensional value sets --- .../hl7/fhir/r5/renderers/utils/RenderingContext.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/RenderingContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/RenderingContext.java index 8d714ec1f..b913cdfbe 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/RenderingContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/utils/RenderingContext.java @@ -215,6 +215,8 @@ public class RenderingContext { private Map links = new HashMap<>(); private Map namedLinks = new HashMap<>(); + private boolean addName = false; + /** * * @param context - access to all related resources that might be needed @@ -728,5 +730,14 @@ public class RenderingContext { this.fixedFormat = fixedFormat; } + public boolean isAddName() { + return addName; + } + + public RenderingContext setAddName(boolean addName) { + this.addName = addName; + return this; + } + } \ No newline at end of file