public interface IResourceValidator
| Modifier and Type | Interface and Description |
|---|---|
static class |
IResourceValidator.BestPracticeWarningLevel
whether the validator should enforce best practice guidelines
as defined by various HL7 committees
|
static class |
IResourceValidator.CheckDisplayOption |
static class |
IResourceValidator.IdStatus |
| Modifier and Type | Method and Description |
|---|---|
IResourceValidator.BestPracticeWarningLevel |
getBasePracticeWarningLevel() |
IResourceValidator.CheckDisplayOption |
getCheckDisplay()
how much to check displays for coded elements
|
IResourceValidator.IdStatus |
getResourceIdRule()
whether the resource must have an id or not (depends on context)
|
void |
setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel value) |
void |
setCheckDisplay(IResourceValidator.CheckDisplayOption checkDisplay)
how much to check displays for coded elements
|
void |
setResourceIdRule(IResourceValidator.IdStatus resourceIdRule) |
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(Document document)
Given a DOM document, return a list of errors in the resource
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(Document document,
String profile)
Given a DOM document, return a list of errors in the resource
with regard to the specified profile (by logical identifier)
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(Document document,
StructureDefinition profile)
Given a DOM document, return a list of errors in the resource
with regard to the specified profile
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(Element element)
Given a DOM element, return a list of errors in the resource
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(Element element,
String profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile (by logical identifier)
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(Element element,
StructureDefinition profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(com.google.gson.JsonObject object)
Given a DOM element, return a list of errors in the resource
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(com.google.gson.JsonObject object,
String profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile (by logical identifier)
|
List<org.hl7.fhir.utilities.validation.ValidationMessage> |
validate(com.google.gson.JsonObject object,
StructureDefinition profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile (by logical identifier)
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Document document)
Given a DOM document, return a list of errors in the resource
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Document document,
String profile)
Given a DOM document, return a list of errors in the resource
with regard to the specified profile (by logical identifier)
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Document document,
StructureDefinition profile)
Given a DOM document, return a list of errors in the resource
with regard to the specified profile
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element)
Given a DOM element, return a list of errors in the resource
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element,
String profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile (by logical identifier)
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
Element element,
StructureDefinition profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
com.google.gson.JsonObject object)
Given a JSON Object, return a list of errors in the resource
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
com.google.gson.JsonObject object,
String profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile
|
void |
validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
com.google.gson.JsonObject object,
StructureDefinition profile)
Given a DOM element, return a list of errors in the resource
with regard to the specified profile
|
IResourceValidator.CheckDisplayOption getCheckDisplay()
void setCheckDisplay(IResourceValidator.CheckDisplayOption checkDisplay)
IResourceValidator.IdStatus getResourceIdRule()
void setResourceIdRule(IResourceValidator.IdStatus resourceIdRule)
IResourceValidator.BestPracticeWarningLevel getBasePracticeWarningLevel()
void setBestPracticeWarningLevel(IResourceValidator.BestPracticeWarningLevel value)
void validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) throws Exception
errors - elem - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object) throws Exception
errors - elem - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(Element element) throws Exception
errors - elem - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(com.google.gson.JsonObject object) throws Exception
errors - elem - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) throws Exception
errors - element - profile - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(Element element, String profile) throws Exception
errors - element - profile - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(com.google.gson.JsonObject object, StructureDefinition profile) throws Exception
errors - element - profile - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(com.google.gson.JsonObject object, String profile) throws Exception
errors - element - profile - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, StructureDefinition profile) throws Exception
errors - element - profile - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, StructureDefinition profile) throws Exception
errors - element - profile - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, com.google.gson.JsonObject object, String profile) throws Exception
errors - element - profile - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(Element element, StructureDefinition profile) throws Exception
errors - element - profile - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document) throws Exception
errors - elem - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(Document document) throws Exception
errors - elem - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, String profile) throws Exception
errors - element - profile - ExceptionList<org.hl7.fhir.utilities.validation.ValidationMessage> validate(Document document, String profile) throws Exception
errors - element - profile - Exceptionvoid validate(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, StructureDefinition profile) throws Exception
errors - element - profile - ExceptionCopyright © 2014–2018 University Health Network. All rights reserved.