Enum MatchGrade
- java.lang.Object
-
- java.lang.Enum<MatchGrade>
-
- org.hl7.fhir.r4.model.codesystems.MatchGrade
-
- All Implemented Interfaces:
Serializable,Comparable<MatchGrade>
public enum MatchGrade extends Enum<MatchGrade>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTAINThis record meets the matching criteria to be automatically considered as a full match.CERTAINLYNOTThis record is known not to be a match.NULLadded to help the parsersPOSSIBLEThis record may be a matching one.PROBABLEThis record is a close match, but not a certain match.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatchGradefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MatchGradevalueOf(String name)Returns the enum constant of this type with the specified name.static MatchGrade[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CERTAIN
public static final MatchGrade CERTAIN
This record meets the matching criteria to be automatically considered as a full match.
-
PROBABLE
public static final MatchGrade PROBABLE
This record is a close match, but not a certain match. Additional review (e.g. by a human) may be required before using this as a match.
-
POSSIBLE
public static final MatchGrade POSSIBLE
This record may be a matching one. Additional review (e.g. by a human) SHOULD be performed before using this as a match.
-
CERTAINLYNOT
public static final MatchGrade CERTAINLYNOT
This record is known not to be a match. Note that usually non-matching records are not returned, but in some cases records previously or likely considered as a match may specifically be negated by the matching engine.
-
NULL
public static final MatchGrade NULL
added to help the parsers
-
-
Method Detail
-
values
public static MatchGrade[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MatchGrade c : MatchGrade.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatchGrade valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static MatchGrade fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-