Class BundleValidator
- java.lang.Object
-
- org.hl7.fhir.validation.BaseValidator
-
- org.hl7.fhir.validation.instance.type.BundleValidator
-
- All Implemented Interfaces:
org.hl7.fhir.r5.utils.validation.ValidationContextCarrier.IValidationContextResourceLoader
public class BundleValidator extends BaseValidator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hl7.fhir.validation.BaseValidator
BaseValidator.BooleanValue, BaseValidator.TrackedLocationRelatedMessage, BaseValidator.ValidationControl
-
-
Field Summary
Fields Modifier and Type Field Description static StringURI_REGEX3-
Fields inherited from class org.hl7.fhir.validation.BaseValidator
BUNDLE, context, DOCUMENT, ENTRY, FULL_URL, ID, jurisdiction, LAST_UPDATED, LINK, MESSAGE, messagesToRemove, META, NO_RULE_DATE, PATH_ARG, RESOURCE, SEARCHSET, source, timeTracker, trackedMessages, TYPE, xverManager
-
-
Constructor Summary
Constructors Constructor Description BundleValidator(org.hl7.fhir.r5.context.IWorkerContext context, String serverBase, InstanceValidator validator, org.hl7.fhir.r5.utils.XVerExtensionManager xverManager, org.hl7.fhir.r5.model.Coding jurisdiction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmeetsRule(org.hl7.fhir.r5.utils.validation.BundleValidationRule bvr, String rtype, int rcount, int count)booleanvalidateBundle(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.r5.elementmodel.Element bundle, NodeStack stack, boolean checkSpecials, ValidatorHostContext hostContext, PercentageTracker pct, org.hl7.fhir.r5.model.Base.ValidationMode mode)booleanvalidateDocumentReference(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.r5.elementmodel.Element bundle, List<org.hl7.fhir.r5.elementmodel.Element> entries, org.hl7.fhir.r5.elementmodel.Element composition, NodeStack stack, String fullUrl, String id, boolean repeats, String propName, String title)booleanvalidateDocumentSubReference(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.r5.elementmodel.Element bundle, List<org.hl7.fhir.r5.elementmodel.Element> entries, org.hl7.fhir.r5.elementmodel.Element composition, NodeStack stack, String fullUrl, String id, String title, String parent, boolean repeats, String propName)-
Methods inherited from class org.hl7.fhir.validation.BaseValidator
addValidationMessage, addValidationMessage, addValidationMessage, checkMsgId, describeReference, fail, fail, fail, fail, fail, getFromBundle, getLevel, getValidationControl, getXverExt, getXverExt, grammarWord, hint, hint, hint, hint, hintPlural, isHL7, isXverUrl, loadContainedResource, loadFoundResource, removeTrackedMessagesForLocation, resolveBindingReference, resolveInBundle, resolveInBundle, rule, rule, rule, rule, rule, ruleHtml, rulePlural, rulePlural, setLevel, signpost, slicingHint, splitByCamelCase, stripPunctuation, suppressedwarning, suppressedwarning, suppressedwarning, suppressedwarning, suppressedwarning, systemFromCanonical, txHint, txRule, txWarning, txWarningForLaterRemoval, versionFromCanonical, warning, warning, warning, warningHtml, warningHtml, warningOrError, warningOrHint, warningPlural, xverDefn, xverElementId, xverStatus, xverVersion
-
-
-
-
Field Detail
-
URI_REGEX3
public static final String URI_REGEX3
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BundleValidator
public BundleValidator(org.hl7.fhir.r5.context.IWorkerContext context, String serverBase, InstanceValidator validator, org.hl7.fhir.r5.utils.XVerExtensionManager xverManager, org.hl7.fhir.r5.model.Coding jurisdiction)
-
-
Method Detail
-
validateBundle
public boolean validateBundle(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.r5.elementmodel.Element bundle, NodeStack stack, boolean checkSpecials, ValidatorHostContext hostContext, PercentageTracker pct, org.hl7.fhir.r5.model.Base.ValidationMode mode)
-
validateDocumentSubReference
public boolean validateDocumentSubReference(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.r5.elementmodel.Element bundle, List<org.hl7.fhir.r5.elementmodel.Element> entries, org.hl7.fhir.r5.elementmodel.Element composition, NodeStack stack, String fullUrl, String id, String title, String parent, boolean repeats, String propName)
-
validateDocumentReference
public boolean validateDocumentReference(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.r5.elementmodel.Element bundle, List<org.hl7.fhir.r5.elementmodel.Element> entries, org.hl7.fhir.r5.elementmodel.Element composition, NodeStack stack, String fullUrl, String id, boolean repeats, String propName, String title)
-
-