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 DomainResourceDetails of a Health Insurance product/plan provided by an organization.Maturity level: FMM0 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInsurancePlan.Builderstatic classInsurancePlan.ContactThe contact for the health insurance product for a certain purpose.static classInsurancePlan.CoverageDetails about the coverage offered by the insurance product.static classInsurancePlan.PlanDetails about an insurance plan.
-
Field Summary
-
Fields inherited from class com.ibm.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 InsurancePlan.Builderbuilder()booleanequals(java.lang.Object obj)ReferencegetAdministeredBy()An organization which administer other services such as underwriting, customer service and/or claims processing on behalf of the health insurance product owner.java.util.List<String>getAlias()A list of alternate names that the product is known as, or was known as in the past.java.util.List<InsurancePlan.Contact>getContact()The contact for the health insurance product for a certain purpose.java.util.List<InsurancePlan.Coverage>getCoverage()Details about the coverage offered by the insurance product.java.util.List<Reference>getCoverageArea()The geographic region in which a health insurance product's benefits apply.java.util.List<Reference>getEndpoint()The technical endpoints providing access to services operated for the health insurance product.java.util.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.StringgetName()Official name of the health insurance product as designated by the owner.java.util.List<Reference>getNetwork()Reference to the network included in the health insurance product.ReferencegetOwnedBy()The entity that is providing the health insurance product and underwriting the risk.PeriodgetPeriod()The period of time that the health insurance product is available.java.util.List<InsurancePlan.Plan>getPlan()Details about an insurance plan.PublicationStatusgetStatus()The current state of the health insurance product.java.util.List<CodeableConcept>getType()The kind of health insurance product.booleanhasChildren()inthashCode()InsurancePlan.BuildertoBuilder()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 java.util.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
Identifierthat may be empty.
-
getStatus
public PublicationStatus getStatus()
The current state of the health insurance product.- Returns:
- An immutable object of type
PublicationStatusthat may be null.
-
getType
public java.util.List<CodeableConcept> getType()
The kind of health insurance product.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat 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
Stringthat may be null.
-
getAlias
public java.util.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
Stringthat may be empty.
-
getPeriod
public Period getPeriod()
The period of time that the health insurance product is available.- Returns:
- An immutable object of type
Periodthat 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
Referencethat 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
Referencethat may be null.
-
getCoverageArea
public java.util.List<Reference> getCoverageArea()
The geographic region in which a health insurance product's benefits apply.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getContact
public java.util.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.Contactthat may be empty.
-
getEndpoint
public java.util.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
Referencethat may be empty.
-
getNetwork
public java.util.List<Reference> getNetwork()
Reference to the network included in the health insurance product.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getCoverage
public java.util.List<InsurancePlan.Coverage> getCoverage()
Details about the coverage offered by the insurance product.- Returns:
- An unmodifiable list containing immutable objects of type
InsurancePlan.Coveragethat may be empty.
-
getPlan
public java.util.List<InsurancePlan.Plan> getPlan()
Details about an insurance plan.- Returns:
- An unmodifiable list containing immutable objects of type
InsurancePlan.Planthat 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 InsurancePlan.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static InsurancePlan.Builder builder()
-
-