Package ca.uhn.fhir.context.support
Class IValidationSupport.CodeValidationResult
java.lang.Object
ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult
- Enclosing interface:
- IValidationSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasLookupCodeResult(String theSearchedForSystem, String theSearchedForCode) getCode()Convenience method that returnsgetSeverity()as an IssueSeverity code stringbooleanisOk()setCodeSystemName(String theCodeSystemName) setCodeSystemVersion(String theCodeSystemVersion) setDisplay(String theDisplay) setMessage(String theMessage) voidsetProperties(List<IValidationSupport.BaseConceptProperty> theProperties) setSeverity(IValidationSupport.IssueSeverity theSeverity) setSeverityCode(String theIssueSeverity) Sets an issue severity as a string code.
-
Constructor Details
-
CodeValidationResult
public CodeValidationResult()
-
-
Method Details
-
getDisplay
-
setDisplay
-
getCode
-
setCode
-
setCodeSystemName
-
getCodeSystemVersion
-
setCodeSystemVersion
-
getMessage
-
setMessage
-
getProperties
-
setProperties
-
getSeverity
-
setSeverity
public IValidationSupport.CodeValidationResult setSeverity(IValidationSupport.IssueSeverity theSeverity) -
isOk
-
asLookupCodeResult
public IValidationSupport.LookupCodeResult asLookupCodeResult(String theSearchedForSystem, String theSearchedForCode) -
getSeverityCode
Convenience method that returnsgetSeverity()as an IssueSeverity code string -
setSeverityCode
Sets an issue severity as a string code. Value must be the name of one of the enum values inIValidationSupport.IssueSeverity. Value is case-insensitive.
-