Enum Class ConfidentialityCode

java.lang.Object
java.lang.Enum<ConfidentialityCode>
org.projecthusky.communication.ch.enums.vacd.v140.ConfidentialityCode
All Implemented Interfaces:
Serializable, Comparable<ConfidentialityCode>, Constable, CodedMetadataEnumInterface, TranslatedEnumInterface, ValueSetEnumInterface

public enum ConfidentialityCode extends Enum<ConfidentialityCode> implements ValueSetEnumInterface
Dieser Code definiert die Vertraulichkeitsstufe des XDS Dokuments. Dabei finden drei medizinische Stufen Anwendung: Nützliche Daten mit einer breiten Zugänglichkeit, z.B. für den Notfall, medizinische Daten im Sinne von Daten für die Behandelnden und sensible Daten im Sinne von Daten für den Behandelnden des Vertrauens oder die Person des Vertrauens. Diese drei Stufen werden zum Einen ergänzt mit einer Stufe für administrative Daten. Diese ist zwingend notwendig. Zum Anderen werden sie ergänzt mit der Stufe geheim, die zwar möglichst wenig zum Einsatz kommen sollte, aber für die Akzeptanz wichtig ist (mit dieser Stufe ist sichergestellt, dass der Patient seine Daten niemandem offenlegen muss).
  • Enum Constant Details

    • ADMINISTRATIVE_DATEN

      public static final ConfidentialityCode ADMINISTRATIVE_DATEN
      administrative Daten
      données administratives
      dati amministrativi
    • GEHEIME_DATEN

      public static final ConfidentialityCode GEHEIME_DATEN
      geheime Daten
      données secrètes
      dati segreti
    • MEDIZINISCHE_DATEN

      public static final ConfidentialityCode MEDIZINISCHE_DATEN
      medizinische Daten
      données médicales
      dati medici
    • NUTZLICHE_DATEN

      public static final ConfidentialityCode NUTZLICHE_DATEN
      nützliche Daten
      données utiles
      dati utilitari
    • SENSIBLE_DATEN

      public static final ConfidentialityCode SENSIBLE_DATEN
      sensible Daten
      données sensibles
      dati stigmatizzanti
  • Field Details

    • ADMINISTRATIVE_DATEN_CODE

      public static final String ADMINISTRATIVE_DATEN_CODE
      Code für administrative Daten
      Code de données administratives
      Code per dati amministrativi
      See Also:
    • 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:
    • GEHEIME_DATEN_CODE

      public static final String GEHEIME_DATEN_CODE
      Code für geheime Daten
      Code de données secrètes
      Code per dati segreti
      See Also:
    • MEDIZINISCHE_DATEN_CODE

      public static final String MEDIZINISCHE_DATEN_CODE
      Code für medizinische Daten
      Code de données médicales
      Code per dati medici
      See Also:
    • NUTZLICHE_DATEN_CODE

      public static final String NUTZLICHE_DATEN_CODE
      Code für nützliche Daten
      Code de données utiles
      Code per dati utilitari
      See Also:
    • SENSIBLE_DATEN_CODE

      public static final String SENSIBLE_DATEN_CODE
      Code für sensible Daten
      Code de données sensibles
      Code per dati stigmatizzanti
      See Also:
  • Method Details

    • values

      public static ConfidentialityCode[] 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 ConfidentialityCode 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 ConfidentialityCode 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 one enum of this valueset contains the given code
    • getCode

      public Code getCode()
      Gets the husky Code Object
      Liefert das husky Code Objekt
      Specified by:
      getCode in interface ValueSetEnumInterface
      Returns:
      the code
    • getIpfCode

      public org.openehealth.ipf.commons.ihe.xds.core.metadata.Code getIpfCode()
      Gets the IPF Code Object
      Liefert das IPF Code Objekt
      Specified by:
      getIpfCode in interface CodedMetadataEnumInterface
      Specified by:
      getIpfCode in interface ValueSetEnumInterface
      Returns:
      the code
    • getCodeSystemId

      public String getCodeSystemId()
      Description copied from interface: ValueSetEnumInterface
      Gets the code system identifier.
      Specified by:
      getCodeSystemId in interface ValueSetEnumInterface
      Returns:
      the code system identifier.
    • getCodeSystemName

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

      public String getCodeSystemOid()
      Gets the code system id.
      Liefert die code system id.
      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 String getDisplayName(LanguageCode languageCode)
      Description copied from interface: TranslatedEnumInterface
      Gets the display name defined by the language param.
      Specified by:
      getDisplayName in interface TranslatedEnumInterface
      Parameters:
      languageCode - The language code to get the display name for, null to get the default display name.
      Returns:
      the display name in the desired language.
    • getValueSetId

      public 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 String getValueSetName()
      Description copied from interface: ValueSetEnumInterface
      Gets the value set name.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name.