Package ca.uhn.fhir.context.support
Class IValidationSupport.CodeValidationIssueCode
java.lang.Object
ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCode
- Enclosing interface:
IValidationSupport
Defines codes in system http://hl7.org/fhir/issue-type.
The binding is enforced as a part of validation logic in the FHIR Core Validation library where an exception is thrown.
Only a sub-set of these codes are defined as constants because they relate to validation,
If there are additional ones that come up, for Remote Terminology they are currently supported via
CodeValidationIssue(String, IssueSeverity, String)
while for internal validators, more constants can be added to make things easier and consistent.
This maps to resource OperationOutcome.issue.code.-
Field Summary
Modifier and TypeFieldDescriptionstatic final IValidationSupport.CodeValidationIssueCode
static final IValidationSupport.CodeValidationIssueCode
static final IValidationSupport.CodeValidationIssueCode
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Retrieve the corresponding code from system http://hl7.org/fhir/issue-type.
-
Field Details
-
NOT_FOUND
-
CODE_INVALID
-
INVALID
-
-
Method Details
-
getCode
Retrieve the corresponding code from system http://hl7.org/fhir/issue-type.- Returns:
- the code
-