Class ExplanationOfBenefit
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.ExplanationOfBenefit
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class ExplanationOfBenefit extends DomainResourceThis resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.Maturity level: FMM2 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExplanationOfBenefit.AccidentDetails of a accident which resulted in injuries which required the products and services listed in the claim.static classExplanationOfBenefit.AddItemThe first-tier service adjudications for payor added product or service lines.static classExplanationOfBenefit.BenefitBalanceBalance by Benefit Category.static classExplanationOfBenefit.Builderstatic classExplanationOfBenefit.CareTeamThe members of the team who provided the products and services.static classExplanationOfBenefit.DiagnosisInformation about diagnoses relevant to the claim items.static classExplanationOfBenefit.InsuranceFinancial instruments for reimbursement for the health care products and services specified on the claim.static classExplanationOfBenefit.ItemA claim line.static classExplanationOfBenefit.PayeeThe party to be reimbursed for cost of the products and services according to the terms of the policy.static classExplanationOfBenefit.PaymentPayment details for the adjudication of the claim.static classExplanationOfBenefit.ProcedureProcedures performed on the patient relevant to the billing items with the claim.static classExplanationOfBenefit.ProcessNoteA note that describes or explains adjudication results in a human readable form.static classExplanationOfBenefit.RelatedOther claims which are related to this claim such as prior submissions or claims for related services or for the same event.static classExplanationOfBenefit.SupportingInfoAdditional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.static classExplanationOfBenefit.TotalCategorized monetary totals for the adjudication.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static ExplanationOfBenefit.Builderbuilder()booleanequals(java.lang.Object obj)ExplanationOfBenefit.AccidentgetAccident()Details of a accident which resulted in injuries which required the products and services listed in the claim.java.util.List<ExplanationOfBenefit.AddItem>getAddItem()The first-tier service adjudications for payor added product or service lines.java.util.List<ExplanationOfBenefit.Item.Adjudication>getAdjudication()The adjudication results which are presented at the header level rather than at the line-item or add-item levels.java.util.List<ExplanationOfBenefit.BenefitBalance>getBenefitBalance()Balance by Benefit Category.PeriodgetBenefitPeriod()The term of the benefits documented in this response.PeriodgetBillablePeriod()The period for which charges are being submitted.java.util.List<ExplanationOfBenefit.CareTeam>getCareTeam()The members of the team who provided the products and services.ReferencegetClaim()The business identifier for the instance of the adjudication request: claim predetermination or preauthorization.ReferencegetClaimResponse()The business identifier for the instance of the adjudication response: claim, predetermination or preauthorization response.DateTimegetCreated()The date this resource was created.java.util.List<ExplanationOfBenefit.Diagnosis>getDiagnosis()Information about diagnoses relevant to the claim items.StringgetDisposition()A human readable description of the status of the adjudication.ReferencegetEnterer()Individual who created the claim, predetermination or preauthorization.ReferencegetFacility()Facility where the services were provided.AttachmentgetForm()The actual form, by reference or inclusion, for printing the content or an EOB.CodeableConceptgetFormCode()A code for the form to be used for printing the content.CodeableConceptgetFundsReserve()A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom.CodeableConceptgetFundsReserveRequested()A code to indicate whether and for whom funds are to be reserved for future claims.java.util.List<Identifier>getIdentifier()A unique identifier assigned to this explanation of benefit.java.util.List<ExplanationOfBenefit.Insurance>getInsurance()Financial instruments for reimbursement for the health care products and services specified on the claim.ReferencegetInsurer()The party responsible for authorization, adjudication and reimbursement.java.util.List<ExplanationOfBenefit.Item>getItem()A claim line.ReferencegetOriginalPrescription()Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products.RemittanceOutcomegetOutcome()The outcome of the claim, predetermination, or preauthorization processing.ReferencegetPatient()The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for forecast reimbursement is sought.ExplanationOfBenefit.PayeegetPayee()The party to be reimbursed for cost of the products and services according to the terms of the policy.ExplanationOfBenefit.PaymentgetPayment()Payment details for the adjudication of the claim.java.util.List<String>getPreAuthRef()Reference from the Insurer which is used in later communications which refers to this adjudication.java.util.List<Period>getPreAuthRefPeriod()The timeframe during which the supplied preauthorization reference may be quoted on claims to obtain the adjudication as provided.PositiveIntgetPrecedence()This indicates the relative order of a series of EOBs related to different coverages for the same suite of services.ReferencegetPrescription()Prescription to support the dispensing of pharmacy, device or vision products.CodeableConceptgetPriority()The provider-required urgency of processing the request.java.util.List<ExplanationOfBenefit.Procedure>getProcedure()Procedures performed on the patient relevant to the billing items with the claim.java.util.List<ExplanationOfBenefit.ProcessNote>getProcessNote()A note that describes or explains adjudication results in a human readable form.ReferencegetProvider()The provider which is responsible for the claim, predetermination or preauthorization.ReferencegetReferral()A reference to a referral resource.java.util.List<ExplanationOfBenefit.Related>getRelated()Other claims which are related to this claim such as prior submissions or claims for related services or for the same event.ExplanationOfBenefitStatusgetStatus()The status of the resource instance.CodeableConceptgetSubType()A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.java.util.List<ExplanationOfBenefit.SupportingInfo>getSupportingInfo()Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.java.util.List<ExplanationOfBenefit.Total>getTotal()Categorized monetary totals for the adjudication.CodeableConceptgetType()The category of claim, e.g.UsegetUse()A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.booleanhasChildren()inthashCode()ExplanationOfBenefit.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
A unique identifier assigned to this explanation of benefit.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public ExplanationOfBenefitStatus getStatus()
The status of the resource instance.- Returns:
- An immutable object of type
ExplanationOfBenefitStatusthat is non-null.
-
getType
public CodeableConcept getType()
The category of claim, e.g. oral, pharmacy, vision, institutional, professional.- Returns:
- An immutable object of type
CodeableConceptthat is non-null.
-
getSubType
public CodeableConcept getSubType()
A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getUse
public Use getUse()
A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.- Returns:
- An immutable object of type
Usethat is non-null.
-
getPatient
public Reference getPatient()
The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for forecast reimbursement is sought.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getBillablePeriod
public Period getBillablePeriod()
The period for which charges are being submitted.- Returns:
- An immutable object of type
Periodthat may be null.
-
getCreated
public DateTime getCreated()
The date this resource was created.- Returns:
- An immutable object of type
DateTimethat is non-null.
-
getEnterer
public Reference getEnterer()
Individual who created the claim, predetermination or preauthorization.- Returns:
- An immutable object of type
Referencethat may be null.
-
getInsurer
public Reference getInsurer()
The party responsible for authorization, adjudication and reimbursement.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getProvider
public Reference getProvider()
The provider which is responsible for the claim, predetermination or preauthorization.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getPriority
public CodeableConcept getPriority()
The provider-required urgency of processing the request. Typical values include: stat, routine deferred.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getFundsReserveRequested
public CodeableConcept getFundsReserveRequested()
A code to indicate whether and for whom funds are to be reserved for future claims.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getFundsReserve
public CodeableConcept getFundsReserve()
A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getRelated
public java.util.List<ExplanationOfBenefit.Related> getRelated()
Other claims which are related to this claim such as prior submissions or claims for related services or for the same event.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.Relatedthat may be empty.
-
getPrescription
public Reference getPrescription()
Prescription to support the dispensing of pharmacy, device or vision products.- Returns:
- An immutable object of type
Referencethat may be null.
-
getOriginalPrescription
public Reference getOriginalPrescription()
Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products.- Returns:
- An immutable object of type
Referencethat may be null.
-
getPayee
public ExplanationOfBenefit.Payee getPayee()
The party to be reimbursed for cost of the products and services according to the terms of the policy.- Returns:
- An immutable object of type
ExplanationOfBenefit.Payeethat may be null.
-
getReferral
public Reference getReferral()
A reference to a referral resource.- Returns:
- An immutable object of type
Referencethat may be null.
-
getFacility
public Reference getFacility()
Facility where the services were provided.- Returns:
- An immutable object of type
Referencethat may be null.
-
getClaim
public Reference getClaim()
The business identifier for the instance of the adjudication request: claim predetermination or preauthorization.- Returns:
- An immutable object of type
Referencethat may be null.
-
getClaimResponse
public Reference getClaimResponse()
The business identifier for the instance of the adjudication response: claim, predetermination or preauthorization response.- Returns:
- An immutable object of type
Referencethat may be null.
-
getOutcome
public RemittanceOutcome getOutcome()
The outcome of the claim, predetermination, or preauthorization processing.- Returns:
- An immutable object of type
RemittanceOutcomethat is non-null.
-
getDisposition
public String getDisposition()
A human readable description of the status of the adjudication.- Returns:
- An immutable object of type
Stringthat may be null.
-
getPreAuthRef
public java.util.List<String> getPreAuthRef()
Reference from the Insurer which is used in later communications which refers to this adjudication.- Returns:
- An unmodifiable list containing immutable objects of type
Stringthat may be empty.
-
getPreAuthRefPeriod
public java.util.List<Period> getPreAuthRefPeriod()
The timeframe during which the supplied preauthorization reference may be quoted on claims to obtain the adjudication as provided.- Returns:
- An unmodifiable list containing immutable objects of type
Periodthat may be empty.
-
getCareTeam
public java.util.List<ExplanationOfBenefit.CareTeam> getCareTeam()
The members of the team who provided the products and services.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.CareTeamthat may be empty.
-
getSupportingInfo
public java.util.List<ExplanationOfBenefit.SupportingInfo> getSupportingInfo()
Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.SupportingInfothat may be empty.
-
getDiagnosis
public java.util.List<ExplanationOfBenefit.Diagnosis> getDiagnosis()
Information about diagnoses relevant to the claim items.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.Diagnosisthat may be empty.
-
getProcedure
public java.util.List<ExplanationOfBenefit.Procedure> getProcedure()
Procedures performed on the patient relevant to the billing items with the claim.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.Procedurethat may be empty.
-
getPrecedence
public PositiveInt getPrecedence()
This indicates the relative order of a series of EOBs related to different coverages for the same suite of services.- Returns:
- An immutable object of type
PositiveIntthat may be null.
-
getInsurance
public java.util.List<ExplanationOfBenefit.Insurance> getInsurance()
Financial instruments for reimbursement for the health care products and services specified on the claim.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.Insurancethat is non-empty.
-
getAccident
public ExplanationOfBenefit.Accident getAccident()
Details of a accident which resulted in injuries which required the products and services listed in the claim.- Returns:
- An immutable object of type
ExplanationOfBenefit.Accidentthat may be null.
-
getItem
public java.util.List<ExplanationOfBenefit.Item> getItem()
A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.Itemthat may be empty.
-
getAddItem
public java.util.List<ExplanationOfBenefit.AddItem> getAddItem()
The first-tier service adjudications for payor added product or service lines.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.AddItemthat may be empty.
-
getAdjudication
public java.util.List<ExplanationOfBenefit.Item.Adjudication> getAdjudication()
The adjudication results which are presented at the header level rather than at the line-item or add-item levels.- Returns:
- An unmodifiable list containing immutable objects of type
Adjudicationthat may be empty.
-
getTotal
public java.util.List<ExplanationOfBenefit.Total> getTotal()
Categorized monetary totals for the adjudication.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.Totalthat may be empty.
-
getPayment
public ExplanationOfBenefit.Payment getPayment()
Payment details for the adjudication of the claim.- Returns:
- An immutable object of type
ExplanationOfBenefit.Paymentthat may be null.
-
getFormCode
public CodeableConcept getFormCode()
A code for the form to be used for printing the content.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getForm
public Attachment getForm()
The actual form, by reference or inclusion, for printing the content or an EOB.- Returns:
- An immutable object of type
Attachmentthat may be null.
-
getProcessNote
public java.util.List<ExplanationOfBenefit.ProcessNote> getProcessNote()
A note that describes or explains adjudication results in a human readable form.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.ProcessNotethat may be empty.
-
getBenefitPeriod
public Period getBenefitPeriod()
The term of the benefits documented in this response.- Returns:
- An immutable object of type
Periodthat may be null.
-
getBenefitBalance
public java.util.List<ExplanationOfBenefit.BenefitBalance> getBenefitBalance()
Balance by Benefit Category.- Returns:
- An unmodifiable list containing immutable objects of type
ExplanationOfBenefit.BenefitBalancethat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public ExplanationOfBenefit.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static ExplanationOfBenefit.Builder builder()
-
-