Enum Class ObservationInterpretation

java.lang.Object
java.lang.Enum<ObservationInterpretation>
org.projecthusky.common.enums.ObservationInterpretation
All Implemented Interfaces:
Serializable, Comparable<ObservationInterpretation>, Constable, CodedMetadataEnumInterface, TranslatedEnumInterface, ValueSetEnumInterface

public enum ObservationInterpretation extends Enum<ObservationInterpretation> implements ValueSetEnumInterface
The Enum containing the supported ObservationInterpretation codes.
Codesystem: HL7 ObservationInterpretation (OID: 2.16.840.1.113883.5.83).
Domaine de valeurs pour « Code d’interprétation »
  • Enum Constant Details

  • Field Details

    • CODE_SYSTEM_NAME

      public static final String CODE_SYSTEM_NAME
      Name of the Code System
      Name des Codes Systems
      See Also:
    • CODE_SYSTEM_OID

      public static final String CODE_SYSTEM_OID
      Identifier of the Code System
      Identifikator für das Code System
      See Also:
  • Method Details

    • values

      public static ObservationInterpretation[] 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 ObservationInterpretation 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
    • getEnum

      public static ObservationInterpretation getEnum(String code)
      Gets the Enum with a given code
      Liefert den Enum anhand eines gegebenen codes
      Parameters:
      code -
      code
      Returns:
      the enum
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(String enumName)
      Checks if a given enum is part of this value set.
      Prüft, ob der gegebene enum Teil dieses Value Sets ist.
      Parameters:
      enumName -
      enumName
      Returns:
      true, if enum is in this value set
    • isInValueSet

      public static boolean isInValueSet(String codeValue)
      Checks if a given code value is in this value set.
      Prüft, ob der gegebene code in diesem Value Set vorhanden ist.
      Parameters:
      codeValue -
      code
      Returns:
      true, if is in value set
    • getCodeSystemName

      public String getCodeSystemName()
      Gets the code system name.
      Liefert code system name.
      Specified by:
      getCodeSystemName in interface ValueSetEnumInterface
      Returns:
      the code system name
    • getCodeSystemId

      public @NonNull String getCodeSystemId()
      Gets the code system id.
      Liefert die code system id.
      Specified by:
      getCodeSystemId in interface ValueSetEnumInterface
      Returns:
      the code system id
    • getCodeValue

      public String getCodeValue()
      Gets the actual Code as string
      Liefert den eigentlichen Code als String
      Specified by:
      getCodeValue in interface ValueSetEnumInterface
      Returns:
      the code
    • getDisplayName

      public String getDisplayName()
      Gets the display name.
      Liefert display name.
      Specified by:
      getDisplayName in interface TranslatedEnumInterface
      Returns:
      the display name
    • getDisplayName

      public @NonNull String getDisplayName(@Nullable LanguageCode languageCode)
      Gets the display name defined by the language param. If language is unknow, german name is returned
      Liefert display name gemäss Parameter, falls die Sprache unbekannt ist, wird standartmässig deutsch geliefert.
      Specified by:
      getDisplayName in interface TranslatedEnumInterface
      Parameters:
      languageCode - the language code to get the display name for
      Returns:
      returns the display name in the desired language. if language not found, display name in german will returned
    • getValueSetId

      public @NonNull String getValueSetId()
      Description copied from interface: ValueSetEnumInterface
      Gets the value set identifier.
      Specified by:
      getValueSetId in interface ValueSetEnumInterface
      Returns:
      the value set identifier.
    • getValueSetName

      public @NonNull String getValueSetName()
      Description copied from interface: ValueSetEnumInterface
      Gets the value set name.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name.