public interface IResourceValidator
| Modifier and Type | Interface and Description |
|---|---|
static class |
IResourceValidator.BestPracticeWarningLevel |
static class |
IResourceValidator.CheckDisplayOption |
static class |
IResourceValidator.IdStatus |
static interface |
IResourceValidator.IValidatorResourceFetcher |
static class |
IResourceValidator.ReferenceValidationPolicy |
| Modifier and Type | Method and Description |
|---|---|
IResourceValidator.BestPracticeWarningLevel |
getBasePracticeWarningLevel()
whether the validator should enforce best practice guidelines
as defined by various HL7 committees
|
IResourceValidator.CheckDisplayOption |
getCheckDisplay()
how much to check displays for coded elements
|
IResourceValidator.IValidatorResourceFetcher |
getFetcher() |
IResourceValidator.IdStatus |
getResourceIdRule()
whether the resource must have an id or not (depends on context)
|
boolean |
isErrorForUnknownProfiles()
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
|
boolean |
isNoBindingMsgSuppressed() |
boolean |
isNoInvariantChecks() |
boolean |
isNoTerminologyChecks() |
IResourceValidator |
setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel value) |
void |
setCheckDisplay(IResourceValidator.CheckDisplayOption checkDisplay) |
void |
setErrorForUnknownProfiles(boolean errorForUnknownProfiles) |
IResourceValidator |
setFetcher(IResourceValidator.IValidatorResourceFetcher value) |
IResourceValidator |
setNoBindingMsgSuppressed(boolean noBindingMsgSuppressed) |
IResourceValidator |
setNoInvariantChecks(boolean value) |
IResourceValidator |
setNoTerminologyChecks(boolean noTerminologyChecks) |
void |
setResourceIdRule(IResourceValidator.IdStatus resourceIdRule) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
Document document) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
Document document,
String profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
Document document,
StructureDefinition profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
Document document,
ValidationProfileSet profiles) |
void |
validate(Object Context,
List<ValidationMessage> errors,
Element element)
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.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
Element element) |
void |
validate(Object Context,
List<ValidationMessage> errors,
Element element,
String profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
Element element,
String profile)
Deprecated.
|
void |
validate(Object Context,
List<ValidationMessage> errors,
Element element,
StructureDefinition profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
Element element,
StructureDefinition profile)
Deprecated.
|
void |
validate(Object Context,
List<ValidationMessage> errors,
Element element,
ValidationProfileSet profiles) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
Element element,
ValidationProfileSet profiles) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
InputStream stream,
Manager.FhirFormat format) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
InputStream stream,
Manager.FhirFormat format,
String profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
InputStream stream,
Manager.FhirFormat format,
StructureDefinition profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
InputStream stream,
Manager.FhirFormat format,
ValidationProfileSet profiles) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
com.google.gson.JsonObject object) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
com.google.gson.JsonObject object,
String profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
com.google.gson.JsonObject object,
StructureDefinition profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
com.google.gson.JsonObject object,
ValidationProfileSet profiles) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
Resource resource) |
Element |
validate(Object Context,
List<ValidationMessage> errors,
Resource resource,
String profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
Resource resource,
StructureDefinition profile)
Deprecated.
|
Element |
validate(Object Context,
List<ValidationMessage> errors,
Resource resource,
ValidationProfileSet profiles) |
IResourceValidator.CheckDisplayOption getCheckDisplay()
void setCheckDisplay(IResourceValidator.CheckDisplayOption checkDisplay)
IResourceValidator.IdStatus getResourceIdRule()
void setResourceIdRule(IResourceValidator.IdStatus resourceIdRule)
IResourceValidator.BestPracticeWarningLevel getBasePracticeWarningLevel()
IResourceValidator setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel value)
IResourceValidator.IValidatorResourceFetcher getFetcher()
IResourceValidator setFetcher(IResourceValidator.IValidatorResourceFetcher value)
boolean isNoBindingMsgSuppressed()
IResourceValidator setNoBindingMsgSuppressed(boolean noBindingMsgSuppressed)
boolean isNoInvariantChecks()
IResourceValidator setNoInvariantChecks(boolean value)
boolean isNoTerminologyChecks()
IResourceValidator setNoTerminologyChecks(boolean noTerminologyChecks)
boolean isErrorForUnknownProfiles()
void setErrorForUnknownProfiles(boolean errorForUnknownProfiles)
void validate(Object Context, List<ValidationMessage> errors, Element element) throws FHIRException, IOException
IOExceptionFHIRExceptionvoid validate(Object Context, List<ValidationMessage> errors, Element element, ValidationProfileSet profiles) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated void validate(Object Context, List<ValidationMessage> errors, Element element, String profile) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated void validate(Object Context, List<ValidationMessage> errors, Element element, StructureDefinition profile) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, InputStream stream, Manager.FhirFormat format) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, ValidationProfileSet profiles) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, String profile) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, StructureDefinition profile) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, Resource resource) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, Resource resource, ValidationProfileSet profiles) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, Resource resource, String profile) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, Resource resource, StructureDefinition profile) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, Element element) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, Element element, ValidationProfileSet profiles) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, Element element, String profile) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, Element element, StructureDefinition profile) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, Document document) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, Document document, ValidationProfileSet profiles) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, Document document, String profile) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, Document document, StructureDefinition profile) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, com.google.gson.JsonObject object) throws FHIRException, IOException
FHIRExceptionIOExceptionElement validate(Object Context, List<ValidationMessage> errors, com.google.gson.JsonObject object, ValidationProfileSet profiles) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, com.google.gson.JsonObject object, String profile) throws FHIRException, IOException
FHIRExceptionIOException@Deprecated Element validate(Object Context, List<ValidationMessage> errors, com.google.gson.JsonObject object, StructureDefinition profile) throws FHIRException, IOException
FHIRExceptionIOExceptionCopyright © 2014–2017 University Health Network. All rights reserved.