diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/FhirContext.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/FhirContext.java index 1615e41ea10..6357fcc6c53 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/FhirContext.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/FhirContext.java @@ -357,6 +357,13 @@ public class FhirContext { return new FhirTerser(this); } + /** + * Create a new validator instance. + *

+ * Note on thread safety: Validators are thread safe, you may use a single validator + * in multiple threads. (This is in contrast to parsers) + *

+ */ public FhirValidator newValidator() { return new FhirValidator(this); }