Enum DefinitionUse
- java.lang.Object
-
- java.lang.Enum<DefinitionUse>
-
- org.hl7.fhir.r4.model.codesystems.DefinitionUse
-
- All Implemented Interfaces:
Serializable,Comparable<DefinitionUse>
public enum DefinitionUse extends Enum<DefinitionUse>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHETYPEThis structure captures an analysis of a domainCUSTOMRESOURCEThis structure is intended to be treated like a FHIR resource (e.g.DAMThis structure captures an analysis of a domainFHIRSTRUCTUREThis structure is defined as part of the base FHIR SpecificationNULLadded to help the parsersTEMPLATEThis structure is a template (n.b: 'template' has many meanings)WIREFORMATThis structure represents and existing structure (e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefinitionUsefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static DefinitionUsevalueOf(String name)Returns the enum constant of this type with the specified name.static DefinitionUse[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FHIRSTRUCTURE
public static final DefinitionUse FHIRSTRUCTURE
This structure is defined as part of the base FHIR Specification
-
CUSTOMRESOURCE
public static final DefinitionUse CUSTOMRESOURCE
This structure is intended to be treated like a FHIR resource (e.g. on the FHIR API)
-
DAM
public static final DefinitionUse DAM
This structure captures an analysis of a domain
-
WIREFORMAT
public static final DefinitionUse WIREFORMAT
This structure represents and existing structure (e.g. CDA, HL7 v2)
-
ARCHETYPE
public static final DefinitionUse ARCHETYPE
This structure captures an analysis of a domain
-
TEMPLATE
public static final DefinitionUse TEMPLATE
This structure is a template (n.b: 'template' has many meanings)
-
NULL
public static final DefinitionUse NULL
added to help the parsers
-
-
Method Detail
-
values
public static DefinitionUse[] 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 (DefinitionUse c : DefinitionUse.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefinitionUse 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 DefinitionUse fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-