Enum CodeSystemHierarchyMeaning.ValueSet
- java.lang.Object
-
- java.lang.Enum<CodeSystemHierarchyMeaning.ValueSet>
-
- com.ibm.fhir.model.type.code.CodeSystemHierarchyMeaning.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<CodeSystemHierarchyMeaning.ValueSet>
- Enclosing class:
- CodeSystemHierarchyMeaning
public static enum CodeSystemHierarchyMeaning.ValueSet extends Enum<CodeSystemHierarchyMeaning.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSIFIED_WITHClassified WithGROUPED_BYGrouped ByIS_AIs-APART_OFPart Of
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeSystemHierarchyMeaning.ValueSetfrom(String value)Factory method for creating CodeSystemHierarchyMeaning.ValueSet values from a passed string value.Stringvalue()static CodeSystemHierarchyMeaning.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static CodeSystemHierarchyMeaning.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROUPED_BY
public static final CodeSystemHierarchyMeaning.ValueSet GROUPED_BY
Grouped ByNo particular relationship between the concepts can be assumed, except what can be determined by inspection of the definitions of the elements (possible reasons to use this: importing from a source where this is not defined, or where various parts of the hierarchy have different meanings).
-
IS_A
public static final CodeSystemHierarchyMeaning.ValueSet IS_A
Is-AA hierarchy where the child concepts have an IS-A relationship with the parents - that is, all the properties of the parent are also true for its child concepts. Not that is-a is a property of the concepts, so additional subsumption relationships may be defined using properties or the [subsumes](extension-codesystem-subsumes.html) extension.
-
PART_OF
public static final CodeSystemHierarchyMeaning.ValueSet PART_OF
Part OfChild elements list the individual parts of a composite whole (e.g. body site).
-
CLASSIFIED_WITH
public static final CodeSystemHierarchyMeaning.ValueSet CLASSIFIED_WITH
Classified WithChild concepts in the hierarchy may have only one parent, and there is a presumption that the code system is a "closed world" meaning all things must be in the hierarchy. This results in concepts such as "not otherwise classified.".
-
-
Method Detail
-
values
public static CodeSystemHierarchyMeaning.ValueSet[] 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 (CodeSystemHierarchyMeaning.ValueSet c : CodeSystemHierarchyMeaning.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeSystemHierarchyMeaning.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static CodeSystemHierarchyMeaning.ValueSet from(String value)
Factory method for creating CodeSystemHierarchyMeaning.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-