Class Claim

All Implemented Interfaces:
hdi.edi.edient.EdiEntity, ProviderHolder

public class Claim extends ClaimOrPayment implements ProviderHolder
  • Constructor Details

    • Claim

      public Claim()
  • Method Details

    • sourceClaimId

      public String sourceClaimId()
    • id

      public String id()
      Overrides:
      id in class ClaimOrPayment
    • populateFromSegInitial

      public void populateFromSegInitial(EdiSeg seg, EdiParsingResults results)
      Specified by:
      populateFromSegInitial in interface hdi.edi.edient.EdiEntity
      Specified by:
      populateFromSegInitial in class ClaimOrPayment
    • admissionDateOrDateTime

      public Temporal admissionDateOrDateTime()
    • populateFromSeg

      public void populateFromSeg(EdiSeg seg, EdiParsingResults ediParsingResults)
      Specified by:
      populateFromSeg in interface hdi.edi.edient.EdiEntity
    • allCodeEntities

      public List<CodeEntity> allCodeEntities()
    • allClaimLevelCodeEntities

      public List<CodeEntity> allClaimLevelCodeEntities()
    • procCodeEntities

      public List<CodeEntity> procCodeEntities()
    • addCodeEntityForClaim

      public void addCodeEntityForClaim(CodeEntity codeEntity)
    • summaryStringAsParent

      public String summaryStringAsParent()
      Specified by:
      summaryStringAsParent in interface hdi.edi.edient.EdiEntity
    • totalLinesChargeAmount

      public BigDecimal totalLinesChargeAmount()
    • diags

      public List<CodeEntity> diags()
    • procs

      public List<CodeEntity> procs()
    • getPrincipalDiagnosis

      public CodeEntity getPrincipalDiagnosis()
    • prepForApi

      public void prepForApi()
    • copyProvsFromClaimTran

      public void copyProvsFromClaimTran()
    • getProvider

      public OrgOrPerson getProvider(EntityRole entityRole)
      Specified by:
      getProvider in interface ProviderHolder
    • transactionType

      public Claim transactionType(hdi.edi.legacyparser.TransactionType transactionType)
      Returns:
      this.
    • referralNumber

      public Claim referralNumber(String referralNumber)
      Referral number
      Returns:
      this.
    • priorAuthorizationNumber

      public Claim priorAuthorizationNumber(String priorAuthorizationNumber)
      Returns:
      this.
    • repricedReferenceNumber

      public Claim repricedReferenceNumber(String repricedReferenceNumber)
      Returns:
      this.
    • adjustedRepricedReferenceNumber

      public Claim adjustedRepricedReferenceNumber(String adjustedRepricedReferenceNumber)
      Returns:
      this.
    • sourceClaimId

      public Claim sourceClaimId(String sourceClaimId)
      Returns:
      this.
    • sourceClaimVersionId

      public Claim sourceClaimVersionId(String sourceClaimVersionId)
      Returns:
      this.
    • paidDate

      public Claim paidDate(LocalDate paidDate)
      Returns:
      this.
    • accidentState

      public Claim accidentState(String accidentState)
      Returns:
      this.
    • medicalRecordNumber

      public Claim medicalRecordNumber(String medicalRecordNumber)
      Returns:
      this.
    • peerReviewAuthorizationNumber

      public Claim peerReviewAuthorizationNumber(String peerReviewAuthorizationNumber)
      Returns:
      this.
    • demonstrationProjectIdentifier

      public Claim demonstrationProjectIdentifier(String demonstrationProjectIdentifier)
      Returns:
      this.
    • onsetOfCurrentIllnessOrInjuryDate

      public Claim onsetOfCurrentIllnessOrInjuryDate(LocalDate onsetOfCurrentIllnessOrInjuryDate)
      Returns:
      this.
    • initialTreatmentDate

      public Claim initialTreatmentDate(LocalDate initialTreatmentDate)
      Returns:
      this.
    • lastSeenDate

      public Claim lastSeenDate(LocalDate lastSeenDate)
      Returns:
      this.
    • acuteManifestationDate

      public Claim acuteManifestationDate(LocalDate acuteManifestationDate)
      Returns:
      this.
    • accidentDate

      public Claim accidentDate(LocalDate accidentDate)
      Returns:
      this.
    • lastMenstrualPeriodDate

      public Claim lastMenstrualPeriodDate(LocalDate lastMenstrualPeriodDate)
      Returns:
      this.
    • lastXRayDate

      public Claim lastXRayDate(LocalDate lastXRayDate)
      Returns:
      this.
    • prescriptionDate

      public Claim prescriptionDate(LocalDate prescriptionDate)
      Returns:
      this.
    • assumedCareDate

      public Claim assumedCareDate(LocalDate assumedCareDate)
      Returns:
      this.
    • relinquishedCareDate

      public Claim relinquishedCareDate(LocalDate relinquishedCareDate)
      Returns:
      this.
    • disabilityDateFrom

      public Claim disabilityDateFrom(LocalDate disabilityDateFrom)
      Returns:
      this.
    • disabilityDateTo

      public Claim disabilityDateTo(LocalDate disabilityDateTo)
      Returns:
      this.
    • admissionDateAndHour

      public Claim admissionDateAndHour(LocalDateTime admissionDateAndHour)
      Returns:
      this.
    • admissionDate

      public Claim admissionDate(LocalDate admissionDate)
      Returns:
      this.
    • dischargeDate

      public Claim dischargeDate(LocalDate dischargeDate)
      Returns:
      this.
    • dischargeTime

      public Claim dischargeTime(LocalTime dischargeTime)
      Returns:
      this.
    • clearinghouseTraceNumber

      public Claim clearinghouseTraceNumber(String clearinghouseTraceNumber)
      Returns:
      this.
    • admissionTypeCode

      public Claim admissionTypeCode(String admissionTypeCode)
      Returns:
      this.
    • admissionSourceCode

      public Claim admissionSourceCode(String admissionSourceCode)
      Returns:
      this.
    • patientStatusCode

      public Claim patientStatusCode(String patientStatusCode)
      Returns:
      this.
    • originalReferenceNumber

      public Claim originalReferenceNumber(String originalReferenceNumber)
      Returns:
      this.
    • claimFillingIndicatorCode

      public Claim claimFillingIndicatorCode(String claimFillingIndicatorCode)
      Returns:
      this.
    • nonInstitutionalClaimTypeCode

      public Claim nonInstitutionalClaimTypeCode(String nonInstitutionalClaimTypeCode)
      Returns:
      this.
    • drgCode

      public Claim drgCode(String drgCode)
      Returns:
      this.
    • claimNote

      public Claim claimNote(String claimNote)
      Returns:
      this.
    • billingNote

      public Claim billingNote(String billingNote)
      Returns:
      this.
    • billingProvider

      public Claim billingProvider(OrgOrPerson billingProvider)
      Returns:
      this.
    • providers

      public Claim providers(Set<OrgOrPerson> providers)
      Returns:
      this.
    • lineCount

      public Claim lineCount(int lineCount)
      Returns:
      this.
    • checkTimestamp

      public Claim checkTimestamp(LocalDateTime checkTimestamp)
      Returns:
      this.
    • claimTransaction

      public Claim claimTransaction(hdi.model.claim.ClaimTransaction claimTransaction)
      Returns:
      this.
    • diags

      public Claim diags(List<CodeEntity> diags)
      Returns:
      this.
    • procs

      public Claim procs(List<CodeEntity> procs)
      Returns:
      this.
    • occurrences

      public Claim occurrences(List<CodeEntity> occurrences)
      Returns:
      this.
    • occurrenceSpans

      public Claim occurrenceSpans(List<CodeEntity> occurrenceSpans)
      Returns:
      this.
    • conditions

      public Claim conditions(List<CodeEntity> conditions)
      Returns:
      this.
    • valueInfos

      public Claim valueInfos(List<CodeEntity> valueInfos)
      Returns:
      this.
    • tags

      public Claim tags(Set<String> tags)
      Returns:
      this.
    • toString

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

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

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

      public hdi.edi.legacyparser.TransactionType transactionType()
    • referralNumber

      public String referralNumber()
      Referral number
    • priorAuthorizationNumber

      public String priorAuthorizationNumber()
    • repricedReferenceNumber

      public String repricedReferenceNumber()
    • adjustedRepricedReferenceNumber

      public String adjustedRepricedReferenceNumber()
    • sourceClaimVersionId

      public String sourceClaimVersionId()
    • paidDate

      public LocalDate paidDate()
    • accidentState

      public String accidentState()
    • medicalRecordNumber

      public String medicalRecordNumber()
    • peerReviewAuthorizationNumber

      public String peerReviewAuthorizationNumber()
    • demonstrationProjectIdentifier

      public String demonstrationProjectIdentifier()
    • onsetOfCurrentIllnessOrInjuryDate

      public LocalDate onsetOfCurrentIllnessOrInjuryDate()
    • initialTreatmentDate

      public LocalDate initialTreatmentDate()
    • lastSeenDate

      public LocalDate lastSeenDate()
    • acuteManifestationDate

      public LocalDate acuteManifestationDate()
    • accidentDate

      public LocalDate accidentDate()
    • lastMenstrualPeriodDate

      public LocalDate lastMenstrualPeriodDate()
    • lastXRayDate

      public LocalDate lastXRayDate()
    • prescriptionDate

      public LocalDate prescriptionDate()
    • assumedCareDate

      public LocalDate assumedCareDate()
    • relinquishedCareDate

      public LocalDate relinquishedCareDate()
    • disabilityDateFrom

      public LocalDate disabilityDateFrom()
    • disabilityDateTo

      public LocalDate disabilityDateTo()
    • admissionDateAndHour

      public LocalDateTime admissionDateAndHour()
    • admissionDate

      public LocalDate admissionDate()
    • dischargeDate

      public LocalDate dischargeDate()
    • dischargeTime

      public LocalTime dischargeTime()
    • clearinghouseTraceNumber

      public String clearinghouseTraceNumber()
    • admissionTypeCode

      public String admissionTypeCode()
    • admissionSourceCode

      public String admissionSourceCode()
    • patientStatusCode

      public String patientStatusCode()
    • originalReferenceNumber

      public String originalReferenceNumber()
    • claimFillingIndicatorCode

      public String claimFillingIndicatorCode()
    • nonInstitutionalClaimTypeCode

      public String nonInstitutionalClaimTypeCode()
    • drgCode

      public String drgCode()
    • claimNote

      public String claimNote()
    • billingNote

      public String billingNote()
    • billingProvider

      public OrgOrPerson billingProvider()
    • providers

      public Set<OrgOrPerson> providers()
    • lineCount

      public int lineCount()
    • checkTimestamp

      public LocalDateTime checkTimestamp()
    • claimTransaction

      public hdi.model.claim.ClaimTransaction claimTransaction()
    • occurrences

      public List<CodeEntity> occurrences()
    • occurrenceSpans

      public List<CodeEntity> occurrenceSpans()
    • conditions

      public List<CodeEntity> conditions()
    • valueInfos

      public List<CodeEntity> valueInfos()
    • tags

      public Set<String> tags()