Package ca.uhn.fhir.context.support
Class IValidationSupport.CodeValidationIssue
java.lang.Object
ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssue
- Enclosing interface:
IValidationSupport
This is a hapi-fhir internal version agnostic object holding information about a validation issue.
An alternative (which requires significant refactoring) would be to use org.hl7.fhir.r5.terminologies.utilities.ValidationResult instead.
-
Constructor Summary
ConstructorDescriptionCodeValidationIssue
(String theDiagnostics, IValidationSupport.IssueSeverity theSeverity, IValidationSupport.CodeValidationIssueCode theTypeCode) CodeValidationIssue
(String theDiagnostics, IValidationSupport.IssueSeverity theSeverity, IValidationSupport.CodeValidationIssueCode theType, IValidationSupport.CodeValidationIssueCoding theDetailsCoding) CodeValidationIssue
(String theDiagnostics, IValidationSupport.IssueSeverity theSeverity, String theTypeCode) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Deprecated.Deprecated.Please usegetDetails()
instead.Deprecated.Please usegetDiagnostics()
instead.getType()
boolean
hasIssueDetailCode
(String theCode) void
-
Constructor Details
-
CodeValidationIssue
public CodeValidationIssue(String theDiagnostics, IValidationSupport.IssueSeverity theSeverity, IValidationSupport.CodeValidationIssueCode theTypeCode) -
CodeValidationIssue
public CodeValidationIssue(String theDiagnostics, IValidationSupport.IssueSeverity theSeverity, String theTypeCode) -
CodeValidationIssue
public CodeValidationIssue(String theDiagnostics, IValidationSupport.IssueSeverity theSeverity, IValidationSupport.CodeValidationIssueCode theType, IValidationSupport.CodeValidationIssueCoding theDetailsCoding)
-
-
Method Details
-
getMessage
Deprecated.Please usegetDiagnostics()
instead. -
getDiagnostics
-
getSeverity
-
getCode
Deprecated.Please usegetType()
instead. -
getType
-
getCoding
Deprecated.Please usegetDetails()
instead. That has support for multiple codings. -
setDetails
-
getDetails
-
hasIssueDetailCode
-
getType()
instead.