public class InstanceValidator extends BaseValidator implements IResourceValidator
| Modifier and Type | Class and Description |
|---|---|
class |
InstanceValidator.ChildIterator |
class |
InstanceValidator.ElementInfo |
IResourceValidator.BestPracticeWarningLevel, IResourceValidator.CheckDisplayOption, IResourceValidator.IdStatussource| Constructor and Description |
|---|
InstanceValidator(IWorkerContext theContext) |
| 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
|
IWorkerContext |
getContext() |
List<String> |
getExtensionDomains() |
IResourceValidator.IdStatus |
getResourceIdRule()
whether the resource must have an id or not (depends on context)
|
boolean |
isAnyExtensionsAllowed() |
boolean |
isSuppressLoincSnomedMessages() |
String |
reportTimes() |
void |
setAnyExtensionsAllowed(boolean anyExtensionsAllowed) |
void |
setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel value) |
void |
setCheckDisplay(IResourceValidator.CheckDisplayOption checkDisplay) |
void |
setResourceIdRule(IResourceValidator.IdStatus resourceIdRule) |
void |
setSuppressLoincSnomedMessages(boolean suppressLoincSnomedMessages) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Document document) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Document document,
String profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Document document,
StructureDefinition profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element,
String profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element,
String profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element,
StructureDefinition profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element,
StructureDefinition profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
InputStream stream,
Manager.FhirFormat format)
Validate suite
you can validate one of the following representations of resources:
stream - provide a format
a native resource
a metamodel resource
a DOM element or Document
a Json Object
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
InputStream stream,
Manager.FhirFormat format,
String profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
InputStream stream,
Manager.FhirFormat format,
StructureDefinition profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
com.google.gson.JsonObject object) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
com.google.gson.JsonObject object,
String profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
com.google.gson.JsonObject object,
StructureDefinition profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Resource resource) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Resource resource,
String profile) |
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Resource resource,
StructureDefinition profile) |
fail, fail, fail, fail, grammarWord, hint, hint, hint, hint, rule, rule, rule, rule, rule, rule, splitByCamelCase, stripPunctuation, suppressedwarning, suppressedwarning, suppressedwarning, suppressedwarning, suppressedwarning, warning, warning, warning, warning, warningpublic InstanceValidator(IWorkerContext theContext)
public void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format) throws Exception
IResourceValidatorvalidate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, String profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, StructureDefinition profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, String profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, StructureDefinition profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, StructureDefinition profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, String profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, StructureDefinition profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, String profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, StructureDefinition profile) throws Exception
validate in interface IResourceValidatorExceptionpublic void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, StructureDefinition profile) throws Exception
validate in interface IResourceValidatorExceptionpublic IResourceValidator.BestPracticeWarningLevel getBasePracticeWarningLevel()
IResourceValidatorgetBasePracticeWarningLevel in interface IResourceValidatorpublic IResourceValidator.CheckDisplayOption getCheckDisplay()
IResourceValidatorgetCheckDisplay in interface IResourceValidatorpublic IWorkerContext getContext()
public List<String> getExtensionDomains()
public boolean isAnyExtensionsAllowed()
public boolean isSuppressLoincSnomedMessages()
public void setAnyExtensionsAllowed(boolean anyExtensionsAllowed)
public void setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel value)
setBestPracticeWarningLevel in interface IResourceValidatorpublic void setCheckDisplay(IResourceValidator.CheckDisplayOption checkDisplay)
setCheckDisplay in interface IResourceValidatorpublic void setSuppressLoincSnomedMessages(boolean suppressLoincSnomedMessages)
public IResourceValidator.IdStatus getResourceIdRule()
IResourceValidatorgetResourceIdRule in interface IResourceValidatorpublic void setResourceIdRule(IResourceValidator.IdStatus resourceIdRule)
setResourceIdRule in interface IResourceValidatorpublic String reportTimes()
Copyright © 2014–2018 University Health Network. All rights reserved.