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 DomainResource
Financial 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 class
Coverage.Builder
static class
Coverage.Class
A suite of underwriter specific classifiers.static class
Coverage.CostToBeneficiary
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.
-
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 void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Coverage.Builder
builder()
boolean
equals(java.lang.Object obj)
Reference
getBeneficiary()
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.String
getDependent()
A unique identifier for a dependent under the coverage.java.util.List<Identifier>
getIdentifier()
A unique identifier assigned to this coverage.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.PositiveInt
getOrder()
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.Period
getPeriod()
Time period during which the coverage is in force.Reference
getPolicyHolder()
The party who 'owns' the insurance policy.CodeableConcept
getRelationship()
The relationship of beneficiary (patient) to the subscriber.CoverageStatus
getStatus()
The status of the resource instance.Boolean
getSubrogation()
When 'subrogation=true' this insurance instance has been included not for adjudication but to provide insurers with the details to recover costs.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.String
getSubscriberId()
The insurer assigned ID for the Subscriber.CodeableConcept
getType()
The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.boolean
hasChildren()
int
hashCode()
Coverage.Builder
toBuilder()
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
Identifier
that may be empty.
-
getStatus
public CoverageStatus getStatus()
The status of the resource instance.- Returns:
- An immutable object of type
CoverageStatus
that 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
CodeableConcept
that may be null.
-
getPolicyHolder
public Reference getPolicyHolder()
The party who 'owns' the insurance policy.- Returns:
- An immutable object of type
Reference
that 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
Reference
that may be null.
-
getSubscriberId
public String getSubscriberId()
The insurer assigned ID for the Subscriber.- Returns:
- An immutable object of type
String
that 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
Reference
that is non-null.
-
getDependent
public String getDependent()
A unique identifier for a dependent under the coverage.- Returns:
- An immutable object of type
String
that may be null.
-
getRelationship
public CodeableConcept getRelationship()
The relationship of beneficiary (patient) to the subscriber.- Returns:
- An immutable object of type
CodeableConcept
that 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
Period
that 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
Reference
that 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.Class
that 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
PositiveInt
that 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
String
that 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.CostToBeneficiary
that 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
Boolean
that 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
Reference
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept 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:
accept
in interfaceVisitable
- Specified by:
accept
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public Coverage.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static Coverage.Builder builder()
-
-