public enum DiscriminatorType extends Enum<DiscriminatorType>
Enum Constant and Description |
---|
EXISTS
The slices are differentiated by the presence or absence of the nominated element
|
NULL
added to help the parsers
|
PATTERN
The slices have different values in the nominated element, as determined by testing them against the applicable ElementDefinition.pattern[x]
|
PROFILE
The slices are differentiated by conformance of the nominated element to a specifed profile
|
TYPE
The slices are differentiated by type of the nominated element to a specifed profile
|
VALUE
The slices have different values in the nominated element
|
Modifier and Type | Method and Description |
---|---|
static DiscriminatorType |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static DiscriminatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscriminatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscriminatorType VALUE
public static final DiscriminatorType EXISTS
public static final DiscriminatorType PATTERN
public static final DiscriminatorType TYPE
public static final DiscriminatorType PROFILE
public static final DiscriminatorType NULL
public static DiscriminatorType[] values()
for (DiscriminatorType c : DiscriminatorType.values()) System.out.println(c);
public static DiscriminatorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DiscriminatorType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRException
public String toCode()
public String getSystem()
public String getDefinition()
public String getDisplay()
Copyright © 2014–2019 University Health Network. All rights reserved.