Package ca.uhn.fhir.context.support
Class IValidationSupport.CodeValidationResult
java.lang.Object
ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult
- Enclosing interface:
IValidationSupport
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddCodeValidationIssue
(IValidationSupport.CodeValidationIssue theCodeValidationIssue) asLookupCodeResult
(String theSearchedForSystem, String theSearchedForCode) getCode()
Convenience method that returnsgetSeverity()
as an IssueSeverity code stringThis field may contain information about what the source of the validation information was.boolean
isOk()
setCodeSystemName
(String theCodeSystemName) setCodeSystemVersion
(String theCodeSystemVersion) setCodeValidationIssues
(List<IValidationSupport.CodeValidationIssue> theCodeValidationIssues) setDisplay
(String theDisplay) setMessage
(String theMessage) void
setProperties
(List<IValidationSupport.BaseConceptProperty> theProperties) setSeverity
(IValidationSupport.IssueSeverity theSeverity) setSeverityCode
(String theIssueSeverity) Sets an issue severity as a string code.setSourceDetails
(String theSourceDetails) This field may contain information about what the source of the validation information was.toParameters
(FhirContext theContext)
-
Field Details
-
SOURCE_DETAILS
- See Also:
-
RESULT
- See Also:
-
MESSAGE
- See Also:
-
DISPLAY
- See Also:
-
-
Constructor Details
-
CodeValidationResult
public CodeValidationResult()
-
-
Method Details
-
getSourceDetails
This field may contain information about what the source of the validation information was. -
setSourceDetails
This field may contain information about what the source of the validation information was. -
getDisplay
-
setDisplay
-
getCode
-
setCode
-
getCodeSystemName
-
setCodeSystemName
-
getCodeSystemVersion
-
setCodeSystemVersion
-
getMessage
-
setMessage
-
getProperties
-
setProperties
-
getSeverity
-
setSeverity
public IValidationSupport.CodeValidationResult setSeverity(IValidationSupport.IssueSeverity theSeverity) -
getCodeValidationIssues
-
setCodeValidationIssues
public IValidationSupport.CodeValidationResult setCodeValidationIssues(List<IValidationSupport.CodeValidationIssue> theCodeValidationIssues) -
addCodeValidationIssue
public IValidationSupport.CodeValidationResult addCodeValidationIssue(IValidationSupport.CodeValidationIssue theCodeValidationIssue) -
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. -
toParameters
-