Enum MapSourceListMode
- java.lang.Object
-
- java.lang.Enum<MapSourceListMode>
-
- org.hl7.fhir.r4.model.codesystems.MapSourceListMode
-
- All Implemented Interfaces:
Serializable,Comparable<MapSourceListMode>
public enum MapSourceListMode extends Enum<MapSourceListMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRSTOnly process this rule for the first in the list.LASTOnly process this rule for the last in the list.NOTFIRSTProcess this rule for all but the first.NOTLASTProcess this rule for all but the last.NULLadded to help the parsersONLYONEOnly process this rule is there is only item.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapSourceListModefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MapSourceListModevalueOf(String name)Returns the enum constant of this type with the specified name.static MapSourceListMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST
public static final MapSourceListMode FIRST
Only process this rule for the first in the list.
-
NOTFIRST
public static final MapSourceListMode NOTFIRST
Process this rule for all but the first.
-
LAST
public static final MapSourceListMode LAST
Only process this rule for the last in the list.
-
NOTLAST
public static final MapSourceListMode NOTLAST
Process this rule for all but the last.
-
ONLYONE
public static final MapSourceListMode ONLYONE
Only process this rule is there is only item.
-
NULL
public static final MapSourceListMode NULL
added to help the parsers
-
-
Method Detail
-
values
public static MapSourceListMode[] 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 (MapSourceListMode c : MapSourceListMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapSourceListMode 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 MapSourceListMode fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-