Class Coverage
- 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.Coverage
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class Coverage extends DomainResourceFinancial instrument which may be used to reimburse or pay for health care products and services. Includes both insurance and self-payment.Maturity level: FMM2 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCoverage.Builderstatic classCoverage.ClassA suite of underwriter specific classifiers.static classCoverage.CostToBeneficiaryA suite of codes indicating the cost category and associated amount which have been detailed in the policy and may have been included on the health card.
-
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 Coverage.Builderbuilder()booleanequals(java.lang.Object obj)ReferencegetBeneficiary()The party who benefits from the insurance coverage; the patient when products and/or services are provided.java.util.List<Coverage.Class>getClazz()A suite of underwriter specific classifiers.java.util.List<Reference>getContract()The policy(s) which constitute this insurance coverage.java.util.List<Coverage.CostToBeneficiary>getCostToBeneficiary()A suite of codes indicating the cost category and associated amount which have been detailed in the policy and may have been included on the health card.StringgetDependent()A unique identifier for a dependent under the coverage.java.util.List<Identifier>getIdentifier()A unique identifier assigned to this coverage.StringgetNetwork()The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' terms and conditions apply.PositiveIntgetOrder()The order of applicability of this coverage relative to other coverages which are currently in force.java.util.List<Reference>getPayor()The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements.PeriodgetPeriod()Time period during which the coverage is in force.ReferencegetPolicyHolder()The party who 'owns' the insurance policy.CodeableConceptgetRelationship()The relationship of beneficiary (patient) to the subscriber.CoverageStatusgetStatus()The status of the resource instance.BooleangetSubrogation()When 'subrogation=true' this insurance instance has been included not for adjudication but to provide insurers with the details to recover costs.ReferencegetSubscriber()The party who has signed-up for or 'owns' the contractual relationship to the policy or to whom the benefit of the policy for services rendered to them or their family is due.StringgetSubscriberId()The insurer assigned ID for the Subscriber.CodeableConceptgetType()The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.booleanhasChildren()inthashCode()Coverage.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 coverage.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public CoverageStatus getStatus()
The status of the resource instance.- Returns:
- An immutable object of type
CoverageStatusthat is non-null.
-
getType
public CodeableConcept getType()
The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getPolicyHolder
public Reference getPolicyHolder()
The party who 'owns' the insurance policy.- Returns:
- An immutable object of type
Referencethat may be null.
-
getSubscriber
public Reference getSubscriber()
The party who has signed-up for or 'owns' the contractual relationship to the policy or to whom the benefit of the policy for services rendered to them or their family is due.- Returns:
- An immutable object of type
Referencethat may be null.
-
getSubscriberId
public String getSubscriberId()
The insurer assigned ID for the Subscriber.- Returns:
- An immutable object of type
Stringthat may be null.
-
getBeneficiary
public Reference getBeneficiary()
The party who benefits from the insurance coverage; the patient when products and/or services are provided.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getDependent
public String getDependent()
A unique identifier for a dependent under the coverage.- Returns:
- An immutable object of type
Stringthat may be null.
-
getRelationship
public CodeableConcept getRelationship()
The relationship of beneficiary (patient) to the subscriber.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getPeriod
public Period getPeriod()
Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.- Returns:
- An immutable object of type
Periodthat may be null.
-
getPayor
public java.util.List<Reference> getPayor()
The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat is non-empty.
-
getClazz
public java.util.List<Coverage.Class> getClazz()
A suite of underwriter specific classifiers.- Returns:
- An unmodifiable list containing immutable objects of type
Coverage.Classthat may be empty.
-
getOrder
public PositiveInt getOrder()
The order of applicability of this coverage relative to other coverages which are currently in force. Note, there may be gaps in the numbering and this does not imply primary, secondary etc. as the specific positioning of coverages depends upon the episode of care.- Returns:
- An immutable object of type
PositiveIntthat may be null.
-
getNetwork
public String getNetwork()
The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' terms and conditions apply.- Returns:
- An immutable object of type
Stringthat may be null.
-
getCostToBeneficiary
public java.util.List<Coverage.CostToBeneficiary> getCostToBeneficiary()
A suite of codes indicating the cost category and associated amount which have been detailed in the policy and may have been included on the health card.- Returns:
- An unmodifiable list containing immutable objects of type
Coverage.CostToBeneficiarythat may be empty.
-
getSubrogation
public Boolean getSubrogation()
When 'subrogation=true' this insurance instance has been included not for adjudication but to provide insurers with the details to recover costs.- Returns:
- An immutable object of type
Booleanthat may be null.
-
getContract
public java.util.List<Reference> getContract()
The policy(s) which constitute this insurance coverage.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat 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 Coverage.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static Coverage.Builder builder()
-
-