Enum Class TypeCode

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

public enum TypeCode extends Enum<TypeCode> implements ValueSetEnumInterfaceAt
  • Enum Constant Details

    • PHYSICIAN_DISCHARGE_SUMMARY

      public static final TypeCode PHYSICIAN_DISCHARGE_SUMMARY
    • NURSE_DISCHARGE_SUMMARY

      public static final TypeCode NURSE_DISCHARGE_SUMMARY
    • CT_UNSPECIFIED_BODY_REGION

      public static final TypeCode CT_UNSPECIFIED_BODY_REGION
    • MR_UNSPECIFIED_BODY_REGION

      public static final TypeCode MR_UNSPECIFIED_BODY_REGION
    • US_UNSPECIFIED_BODY_REGION

      public static final TypeCode US_UNSPECIFIED_BODY_REGION
    • NM_UNSPECIFIED_BODY_REGION

      public static final TypeCode NM_UNSPECIFIED_BODY_REGION
    • PT_UNSPECIFIED_BODY_REGION

      public static final TypeCode PT_UNSPECIFIED_BODY_REGION
    • CARDIAC_CATHETERIZATION_STUDY

      public static final TypeCode CARDIAC_CATHETERIZATION_STUDY
    • US_HEART

      public static final TypeCode US_HEART
    • RADIOLOGY_STUDY_OBSERVATION

      public static final TypeCode RADIOLOGY_STUDY_OBSERVATION
    • COLONOSCOPY_STUDY

      public static final TypeCode COLONOSCOPY_STUDY
    • US_PELVIS_FETUS_FOR_PREGNANCY

      public static final TypeCode US_PELVIS_FETUS_FOR_PREGNANCY
    • PRESCRIPTION_FOR_MEDICAITON

      public static final TypeCode PRESCRIPTION_FOR_MEDICAITON
    • MEDICATION_DISPENDED_EXTENDED_DOCUMENT

      public static final TypeCode MEDICATION_DISPENDED_EXTENDED_DOCUMENT
    • MEDICATION_SUMMARY_DOCUMENT

      public static final TypeCode MEDICATION_SUMMARY_DOCUMENT
    • MEDICATION_PHARMACEUTICAL_ADVICE

      public static final TypeCode MEDICATION_PHARMACEUTICAL_ADVICE
    • ENDOSCOPY_STUDY

      public static final TypeCode ENDOSCOPY_STUDY
    • LABORATORY_REPORT

      public static final TypeCode LABORATORY_REPORT
    • OUTPATIENT_PROGRESS_NOTE

      public static final TypeCode OUTPATIENT_PROGRESS_NOTE
    • IMMUNIZATION_SUMMARY_REPORT

      public static final TypeCode IMMUNIZATION_SUMMARY_REPORT
    • IMMUNIZATION_NOTE

      public static final TypeCode IMMUNIZATION_NOTE
    • TELEHEALTH_PROGRESS_NOTE

      public static final TypeCode TELEHEALTH_PROGRESS_NOTE
    • TELEHEALTH_SUMMARY_NOTE

      public static final TypeCode TELEHEALTH_SUMMARY_NOTE
  • Field Details

  • Method Details

    • values

      public static TypeCode[] 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 TypeCode 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 TypeCode getEnum(String code)
      Gets the Enum with a given code
      Parameters:
      code -
      Returns:
      the enum
    • isDiagnosticImagingStudy

      public static boolean isDiagnosticImagingStudy(String codeValue)
    • isDischargeSummary

      public static boolean isDischargeSummary(String codeValue)
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(String enumName)
      Checks if a given enum is part of this value set.
      Parameters:
      enumName -
      Returns:
      true, if enum is in this value set
    • isImmunizationHistory

      public static boolean isImmunizationHistory(String codeValue)
    • isInValueSet

      public static boolean isInValueSet(String codeValue)
      Checks if a given code value is in this value set.
      Parameters:
      codeValue -
      Returns:
      true, if is in value set
    • isLabReport

      public static boolean isLabReport(String codeValue)
    • isMedications

      public static boolean isMedications(String codeValue)
    • isPhysicianNote

      public static boolean isPhysicianNote(String codeValue)
    • isTelehealthNote

      public static boolean isTelehealthNote(String codeValue)
    • getCodeSystemId

      public String getCodeSystemId()
      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.
      Specified by:
      getCodeSystemName in interface ValueSetEnumInterface
      Returns:
      the code system identifier
    • getCodeValue

      public String getCodeValue()
      Gets the actual Code as string
      Specified by:
      getCodeValue in interface ValueSetEnumInterface
      Returns:
      the code
    • getDisplayNameAt

      public String getDisplayNameAt(LanguageCode languageCode)
      Gets the display name defined by the language param. If there is no english translation, the default display name is returned.
      Specified by:
      getDisplayNameAt in interface ValueSetEnumInterfaceAt
      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 String getValueSetId()
      Gets the value set identifier.
      Specified by:
      getValueSetId in interface ValueSetEnumInterface
      Returns:
      the value set identifier
    • getValueSetName

      public String getValueSetName()
      Gets the value set name.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name