Enum Class EmedPadvEntryType
- All Implemented Interfaces:
Serializable
,Comparable<EmedPadvEntryType>
,Constable
,FhirValueSetEnumInterface
Enumeration of the different kind of CDA-CH-EMED PADV item entries.
- Author:
- Quentin Ligier
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.CodeableConcept
Gets the CodeableConcept with current enum.org.hl7.fhir.r4.model.Coding
Gets the Coding with current enum.static @Nullable EmedPadvEntryType
getEnum
(@Nullable org.hl7.fhir.r4.model.Coding coding) Gets the Enum with a given coding.boolean
isEqualTo
(org.hl7.fhir.r4.model.Coding coding) Verifies if the current instance and aCoding
are the same value in the same system.static EmedPadvEntryType
Returns the enum constant of this class with the specified name.static EmedPadvEntryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
-
COMMENT
-
CANCEL
-
SUSPEND
-
REFUSE
-
CHANGE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCoding
public org.hl7.fhir.r4.model.Coding getCoding()Gets the Coding with current enum.- Specified by:
getCoding
in interfaceFhirValueSetEnumInterface
- Returns:
- the Coding with current enum.
-
getCodeableConcept
public org.hl7.fhir.r4.model.CodeableConcept getCodeableConcept()Gets the CodeableConcept with current enum.- Specified by:
getCodeableConcept
in interfaceFhirValueSetEnumInterface
- Returns:
- the CodeableConcept with current enum.
-
isEqualTo
public boolean isEqualTo(org.hl7.fhir.r4.model.Coding coding) Verifies if the current instance and aCoding
are the same value in the same system.- Specified by:
isEqualTo
in interfaceFhirValueSetEnumInterface
- Parameters:
coding
- The coding to compare.- Returns:
true
if they are equal,false
otherwise.
-
getEnum
Gets the Enum with a given coding.- Parameters:
coding
- The coding.- Returns:
- the enum value found or
null
.
-