Package com.ibm.fhir.model.resource
Class InsurancePlan
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.InsurancePlan
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class InsurancePlan extends DomainResource
Details of a Health Insurance product/plan provided by an organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InsurancePlan.Builder
static class
InsurancePlan.Contact
The contact for the health insurance product for a certain purpose.static class
InsurancePlan.Coverage
Details about the coverage offered by the insurance product.static class
InsurancePlan.Plan
Details about an insurance plan.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static InsurancePlan.Builder
builder()
boolean
equals(Object obj)
Reference
getAdministeredBy()
An organization which administer other services such as underwriting, customer service and/or claims processing on behalf of the health insurance product owner.List<String>
getAlias()
A list of alternate names that the product is known as, or was known as in the past.List<InsurancePlan.Contact>
getContact()
The contact for the health insurance product for a certain purpose.List<InsurancePlan.Coverage>
getCoverage()
Details about the coverage offered by the insurance product.List<Reference>
getCoverageArea()
The geographic region in which a health insurance product's benefits apply.List<Reference>
getEndpoint()
The technical endpoints providing access to services operated for the health insurance product.List<Identifier>
getIdentifier()
Business identifiers assigned to this health insurance product which remain constant as the resource is updated and propagates from server to server.String
getName()
Official name of the health insurance product as designated by the owner.List<Reference>
getNetwork()
Reference to the network included in the health insurance product.Reference
getOwnedBy()
The entity that is providing the health insurance product and underwriting the risk.Period
getPeriod()
The period of time that the health insurance product is available.List<InsurancePlan.Plan>
getPlan()
Details about an insurance plan.PublicationStatus
getStatus()
The current state of the health insurance product.List<CodeableConcept>
getType()
The kind of health insurance product.boolean
hasChildren()
int
hashCode()
InsurancePlan.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
Business identifiers assigned to this health insurance product which remain constant as the resource is updated and propagates from server to server.- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that may be empty.
-
getStatus
public PublicationStatus getStatus()
The current state of the health insurance product.- Returns:
- An immutable object of type
PublicationStatus
that may be null.
-
getType
public List<CodeableConcept> getType()
The kind of health insurance product.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getName
public String getName()
Official name of the health insurance product as designated by the owner.- Returns:
- An immutable object of type
String
that may be null.
-
getAlias
public List<String> getAlias()
A list of alternate names that the product is known as, or was known as in the past.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getPeriod
public Period getPeriod()
The period of time that the health insurance product is available.- Returns:
- An immutable object of type
Period
that may be null.
-
getOwnedBy
public Reference getOwnedBy()
The entity that is providing the health insurance product and underwriting the risk. This is typically an insurance carriers, other third-party payers, or health plan sponsors comonly referred to as 'payers'.- Returns:
- An immutable object of type
Reference
that may be null.
-
getAdministeredBy
public Reference getAdministeredBy()
An organization which administer other services such as underwriting, customer service and/or claims processing on behalf of the health insurance product owner.- Returns:
- An immutable object of type
Reference
that may be null.
-
getCoverageArea
public List<Reference> getCoverageArea()
The geographic region in which a health insurance product's benefits apply.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getContact
public List<InsurancePlan.Contact> getContact()
The contact for the health insurance product for a certain purpose.- Returns:
- An unmodifiable list containing immutable objects of type
InsurancePlan.Contact
that may be empty.
-
getEndpoint
public List<Reference> getEndpoint()
The technical endpoints providing access to services operated for the health insurance product.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getNetwork
public List<Reference> getNetwork()
Reference to the network included in the health insurance product.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getCoverage
public List<InsurancePlan.Coverage> getCoverage()
Details about the coverage offered by the insurance product.- Returns:
- An unmodifiable list containing immutable objects of type
InsurancePlan.Coverage
that may be empty.
-
getPlan
public List<InsurancePlan.Plan> getPlan()
Details about an insurance plan.- Returns:
- An unmodifiable list containing immutable objects of type
InsurancePlan.Plan
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(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
-
toBuilder
public InsurancePlan.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 InsurancePlan.Builder builder()
-
-