Enum Class EmedPadvEntryType

java.lang.Object
java.lang.Enum<EmedPadvEntryType>
org.projecthusky.fhir.emed.ch.common.enums.EmedPadvEntryType
All Implemented Interfaces:
Serializable, Comparable<EmedPadvEntryType>, Constable, FhirValueSetEnumInterface

public enum EmedPadvEntryType extends Enum<EmedPadvEntryType> implements FhirValueSetEnumInterface
Enumeration of the different kind of CDA-CH-EMED PADV item entries.
Author:
Quentin Ligier
  • Enum Constant Details

  • Method Details

    • values

      public static EmedPadvEntryType[] 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

      public static EmedPadvEntryType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCoding

      public org.hl7.fhir.r4.model.Coding getCoding()
      Gets the Coding with current enum.
      Specified by:
      getCoding in interface FhirValueSetEnumInterface
      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 interface FhirValueSetEnumInterface
      Returns:
      the CodeableConcept with current enum.
    • isEqualTo

      public boolean isEqualTo(org.hl7.fhir.r4.model.Coding coding)
      Verifies if the current instance and a Coding are the same value in the same system.
      Specified by:
      isEqualTo in interface FhirValueSetEnumInterface
      Parameters:
      coding - The coding to compare.
      Returns:
      true if they are equal, false otherwise.
    • getEnum

      public static @Nullable EmedPadvEntryType getEnum(@Nullable org.hl7.fhir.r4.model.Coding coding)
      Gets the Enum with a given coding.
      Parameters:
      coding - The coding.
      Returns:
      the enum value found or null.