Package hdi.codeent

Class CodeEntity

java.lang.Object
hdi.codeent.CodeEntity

public class CodeEntity extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • id

      public String id()
    • presentOnAdmissionIndicatorAsYesNo

      public String presentOnAdmissionIndicatorAsYesNo()
    • createId

      public static String createId(Object q, String code)
    • isModifiersAllowed

      public boolean isModifiersAllowed()
    • codeAndType

      public String codeAndType()
    • isUnknownCode

      public boolean isUnknownCode()
    • containsCategory

      public boolean containsCategory(CodeEntity catCodeEnt)
    • formattedCode

      public String formattedCode()
    • codeAndDescription

      public String codeAndDescription()
    • codeTypeAndDesc

      public String codeTypeAndDesc()
    • isLineLevel

      public boolean isLineLevel()
    • header

      public String header()
    • shortDesc

      public CodeEntity shortDesc(String shortDescription)
    • fullDescOrDesc

      public String fullDescOrDesc()
    • shortDescOrDesc

      public String shortDescOrDesc()
    • containsModifiers

      public boolean containsModifiers()
    • mapFromEdi

      public void mapFromEdi(List<Elt> elts)
    • addModifier

      public void addModifier(CodeEntity modifierCodeEnt)
    • adjustQualifierBasedOnCode

      public EdiQualifier adjustQualifierBasedOnCode(EdiQualifier qualifier, String code)
    • isSameCode

      public static boolean isSameCode(CodeEntity codeEnt1, CodeEntity codeEnt2)
    • modifierCodes

      public Set<String> modifierCodes()
    • isWithoutDesc

      public boolean isWithoutDesc()
    • isPresentOnAdmission

      public boolean isPresentOnAdmission()
    • isNotLoadedDataSet

      public static boolean isNotLoadedDataSet(EdiQualifier ediQualifier)
    • getCategoriesRenderingInfo

      public CategoriesRenderingInfo getCategoriesRenderingInfo()
    • index

      public int index()
    • eltSet

      public EltSet eltSet()
    • type

      public PrimaryCodeType type()
    • subType

      public EdiQualifier subType()
    • code

      public String code()
    • desc

      public String desc()
    • fullDesc

      public String fullDesc()
    • instructionDesc

      public String instructionDesc()
    • shortDesc

      public String shortDesc()
    • category

      public String category()
    • startDate

      public LocalDate startDate()
    • endDate

      public LocalDate endDate()
    • presentOnAdmissionIndicator

      public String presentOnAdmissionIndicator()
    • occurrenceDate

      public LocalDate occurrenceDate()
    • occurrenceEndDate

      public LocalDate occurrenceEndDate()
    • amount

      public BigDecimal amount()
    • descFromClaim

      public String descFromClaim()
    • issuingOrg

      public String issuingOrg()
    • modifiers

      public List<CodeEntity> modifiers()
    • searchWords

      public Set<String> searchWords()
    • editsHolder

      public hdi.codeedit.CodeEditRule editsHolder()
    • line

      public ServiceLine line()
    • categories

      public List<CodeEntity> categories()
    • fileName

      public String fileName()
    • id

      public CodeEntity id(String id)
      Returns:
      this.
    • index

      public CodeEntity index(int index)
      Returns:
      this.
    • eltSet

      public CodeEntity eltSet(EltSet eltSet)
      Returns:
      this.
    • type

      public CodeEntity type(PrimaryCodeType type)
      Returns:
      this.
    • subType

      public CodeEntity subType(EdiQualifier subType)
      Returns:
      this.
    • code

      public CodeEntity code(String code)
      Returns:
      this.
    • desc

      public CodeEntity desc(String desc)
      Returns:
      this.
    • fullDesc

      public CodeEntity fullDesc(String fullDesc)
      Returns:
      this.
    • instructionDesc

      public CodeEntity instructionDesc(String instructionDesc)
      Returns:
      this.
    • category

      public CodeEntity category(String category)
      Returns:
      this.
    • startDate

      public CodeEntity startDate(LocalDate startDate)
      Returns:
      this.
    • endDate

      public CodeEntity endDate(LocalDate endDate)
      Returns:
      this.
    • formattedCode

      public CodeEntity formattedCode(String formattedCode)
      Returns:
      this.
    • presentOnAdmissionIndicator

      public CodeEntity presentOnAdmissionIndicator(String presentOnAdmissionIndicator)
      Returns:
      this.
    • occurrenceDate

      public CodeEntity occurrenceDate(LocalDate occurrenceDate)
      Returns:
      this.
    • occurrenceEndDate

      public CodeEntity occurrenceEndDate(LocalDate occurrenceEndDate)
      Returns:
      this.
    • amount

      public CodeEntity amount(BigDecimal amount)
      Returns:
      this.
    • descFromClaim

      public CodeEntity descFromClaim(String descFromClaim)
      Returns:
      this.
    • issuingOrg

      public CodeEntity issuingOrg(String issuingOrg)
      Returns:
      this.
    • modifiers

      public CodeEntity modifiers(List<CodeEntity> modifiers)
      Returns:
      this.
    • searchWords

      public CodeEntity searchWords(Set<String> searchWords)
      Returns:
      this.
    • isModifiersAllowed

      public CodeEntity isModifiersAllowed(Boolean isModifiersAllowed)
      Returns:
      this.
    • editsHolder

      public CodeEntity editsHolder(hdi.codeedit.CodeEditRule editsHolder)
      Returns:
      this.
    • categories

      public CodeEntity categories(List<CodeEntity> categories)
      Returns:
      this.
    • fileName

      public CodeEntity fileName(String fileName)
      Returns:
      this.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • line

      public CodeEntity line(ServiceLine line)
      Returns:
      this.