Package ca.uhn.fhir.model.dstu2.valueset
Enum GuideResourcePurposeEnum
- java.lang.Object
-
- java.lang.Enum<GuideResourcePurposeEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<GuideResourcePurposeEnum>
public enum GuideResourcePurposeEnum extends Enum<GuideResourcePurposeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DICTIONARYDisplay: Dictionary
Code Value: dictionary The resource contains a dictionary that is part of the implementation guide.EXAMPLEDisplay: Example
Code Value: example The resource is intended as an example.EXTENSIONDisplay: Extension
Code Value: extension The resource defines an extension (StructureDefinition) that is used in the implementation guide.LOGICAL_MODELDisplay: Logical Model
Code Value: logical The resource defines a logical model (in a StructureDefinition) that is used in the implementation guide.PROFILEDisplay: Profile
Code Value: profile The resource defines a profile (StructureDefinition) that is used in the implementation guide.TERMINOLOGYDisplay: Terminology
Code Value: terminology The resource defines a value set or concept map used in the implementation guide.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<GuideResourcePurposeEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: GuideResourcePurpose
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GuideResourcePurposeEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic GuideResourcePurposeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static GuideResourcePurposeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXAMPLE
public static final GuideResourcePurposeEnum EXAMPLE
Display: Example
Code Value: example The resource is intended as an example.
-
TERMINOLOGY
public static final GuideResourcePurposeEnum TERMINOLOGY
Display: Terminology
Code Value: terminology The resource defines a value set or concept map used in the implementation guide.
-
PROFILE
public static final GuideResourcePurposeEnum PROFILE
Display: Profile
Code Value: profile The resource defines a profile (StructureDefinition) that is used in the implementation guide.
-
EXTENSION
public static final GuideResourcePurposeEnum EXTENSION
Display: Extension
Code Value: extension The resource defines an extension (StructureDefinition) that is used in the implementation guide.
-
DICTIONARY
public static final GuideResourcePurposeEnum DICTIONARY
Display: Dictionary
Code Value: dictionary The resource contains a dictionary that is part of the implementation guide.
-
LOGICAL_MODEL
public static final GuideResourcePurposeEnum LOGICAL_MODEL
Display: Logical Model
Code Value: logical The resource defines a logical model (in a StructureDefinition) that is used in the implementation guide.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: GuideResourcePurpose- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<GuideResourcePurposeEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static GuideResourcePurposeEnum[] 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 (GuideResourcePurposeEnum c : GuideResourcePurposeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GuideResourcePurposeEnum 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
-
forCode
public static GuideResourcePurposeEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-