
Interface IResourceValidator
Deprecated.
Interface to the instance validator. This takes a resource, in one of many forms, and
checks whether it is valid
- Author:
- Grahame Grieve
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.whether the validator should enforce best practice guidelines as defined by various HL7 committeesDeprecated.how much to check displays for coded elementsDeprecated.Deprecated.Deprecated.whether the resource must have an id or not (depends on context)boolean
Deprecated.Whether being unable to resolve a profile in found in Resource.meta.profile or ElementDefinition.type.profile or targetProfile is an error or just a warningboolean
Deprecated.boolean
Deprecated.boolean
Deprecated.Deprecated.void
setCheckDisplay
(CheckDisplayOption checkDisplay) Deprecated.void
setErrorForUnknownProfiles
(boolean errorForUnknownProfiles) Deprecated.Deprecated.setNoBindingMsgSuppressed
(boolean noBindingMsgSuppressed) Deprecated.setNoInvariantChecks
(boolean value) Deprecated.setNoTerminologyChecks
(boolean noTerminologyChecks) Deprecated.setPolicyAdvisor
(IValidationPolicyAdvisor advisor) Deprecated.void
setResourceIdRule
(IdStatus resourceIdRule) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, String profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, StructureDefinition profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, ValidationProfileSet profiles) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, String profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, StructureDefinition profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, ValidationProfileSet profiles) Deprecated.void
validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) Deprecated.Validate suite you can validate one of the following representations of resources: stream - provide a format - this is the preferred choice Use one of these two if the content is known to be valid XML/JSON, and already parsed - a DOM element or Document - a Json Object In order to use these, the content must already be parsed - e.g.void
validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) Deprecated.void
validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, StructureDefinition profile) Deprecated.void
validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, ValidationProfileSet profiles) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, String profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, StructureDefinition profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, ValidationProfileSet profiles) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, String profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, StructureDefinition profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, ValidationProfileSet profiles) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, StructureDefinition profile) Deprecated.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, ValidationProfileSet profiles) Deprecated.
-
Method Details
-
getCheckDisplay
Deprecated.how much to check displays for coded elements- Returns:
-
setCheckDisplay
Deprecated. -
getResourceIdRule
Deprecated.whether the resource must have an id or not (depends on context)- Returns:
-
setResourceIdRule
Deprecated. -
getBasePracticeWarningLevel
Deprecated.whether the validator should enforce best practice guidelines as defined by various HL7 committees -
setBestPracticeWarningLevel
Deprecated. -
getFetcher
Deprecated. -
setFetcher
Deprecated. -
getPolicyAdvisor
Deprecated. -
setPolicyAdvisor
Deprecated. -
isNoBindingMsgSuppressed
boolean isNoBindingMsgSuppressed()Deprecated. -
setNoBindingMsgSuppressed
Deprecated. -
isNoInvariantChecks
boolean isNoInvariantChecks()Deprecated. -
setNoInvariantChecks
Deprecated. -
isNoTerminologyChecks
boolean isNoTerminologyChecks()Deprecated. -
setNoTerminologyChecks
Deprecated. -
isErrorForUnknownProfiles
boolean isErrorForUnknownProfiles()Deprecated.Whether being unable to resolve a profile in found in Resource.meta.profile or ElementDefinition.type.profile or targetProfile is an error or just a warning- Returns:
-
setErrorForUnknownProfiles
Deprecated. -
validate
void validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.Validate suite you can validate one of the following representations of resources: stream - provide a format - this is the preferred choice Use one of these two if the content is known to be valid XML/JSON, and already parsed - a DOM element or Document - a Json Object In order to use these, the content must already be parsed - e.g. it must syntactically valid - a native resource - a elementmodel resource in addition, you can pass one or more profiles ti validate beyond the base standard - as structure definitions or canonical URLs- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
validate
void validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, ValidationProfileSet profiles) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated void validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated void validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, StructureDefinition profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, ValidationProfileSet profiles) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, String profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, StructureDefinition profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, ValidationProfileSet profiles) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, String profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, StructureDefinition profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, ValidationProfileSet profiles) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, StructureDefinition profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, ValidationProfileSet profiles) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, String profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, StructureDefinition profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, ValidationProfileSet profiles) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, String profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
validate
@Deprecated Element validate(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, StructureDefinition profile) throws org.hl7.fhir.exceptions.FHIRException, IOException Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-