Package org.hl7.fhir

Class Coverage

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Coverage extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensions

Java class for Coverage complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Coverage">
   <complexContent>
     <extension base="{http://hl7.org/fhir}DomainResource">
       <sequence>
         <choice>
           <element name="issuerIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="issuerReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <element name="bin" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
         <element name="type" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <choice>
           <element name="planholderIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="planholderReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <choice>
           <element name="beneficiaryIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="beneficiaryReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <element name="relationship" type="{http://hl7.org/fhir}Coding"/>
         <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
         <element name="group" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="plan" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="subPlan" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="dependent" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/>
         <element name="sequence" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/>
         <element name="exception" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
         <element name="school" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="network" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="contract" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • issuerIdentifier

      protected Identifier issuerIdentifier
    • issuerReference

      protected Reference issuerReference
    • bin

      protected String bin
    • period

      protected Period period
    • type

      protected Coding type
    • planholderIdentifier

      protected Identifier planholderIdentifier
    • planholderReference

      protected Reference planholderReference
    • beneficiaryIdentifier

      protected Identifier beneficiaryIdentifier
    • beneficiaryReference

      protected Reference beneficiaryReference
    • relationship

      protected Coding relationship
    • identifier

      protected List<Identifier> identifier
    • group

      protected String group
    • plan

      protected String plan
    • subPlan

      protected String subPlan
    • dependent

      protected PositiveInt dependent
    • sequence

      protected PositiveInt sequence
    • exception

      protected List<Coding> exception
    • school

      protected String school
    • network

      protected String network
    • contract

      protected List<Reference> contract
  • Constructor Details

    • Coverage

      public Coverage()
  • Method Details

    • getIssuerIdentifier

      public Identifier getIssuerIdentifier()
      Gets the value of the issuerIdentifier property.
      Returns:
      possible object is Identifier
    • setIssuerIdentifier

      public void setIssuerIdentifier(Identifier value)
      Sets the value of the issuerIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getIssuerReference

      public Reference getIssuerReference()
      Gets the value of the issuerReference property.
      Returns:
      possible object is Reference
    • setIssuerReference

      public void setIssuerReference(Reference value)
      Sets the value of the issuerReference property.
      Parameters:
      value - allowed object is Reference
    • getBin

      public String getBin()
      Gets the value of the bin property.
      Returns:
      possible object is String
    • setBin

      public void setBin(String value)
      Sets the value of the bin property.
      Parameters:
      value - allowed object is String
    • getPeriod

      public Period getPeriod()
      Gets the value of the period property.
      Returns:
      possible object is Period
    • setPeriod

      public void setPeriod(Period value)
      Sets the value of the period property.
      Parameters:
      value - allowed object is Period
    • getType

      public Coding getType()
      Gets the value of the type property.
      Returns:
      possible object is Coding
    • setType

      public void setType(Coding value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is Coding
    • getPlanholderIdentifier

      public Identifier getPlanholderIdentifier()
      Gets the value of the planholderIdentifier property.
      Returns:
      possible object is Identifier
    • setPlanholderIdentifier

      public void setPlanholderIdentifier(Identifier value)
      Sets the value of the planholderIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getPlanholderReference

      public Reference getPlanholderReference()
      Gets the value of the planholderReference property.
      Returns:
      possible object is Reference
    • setPlanholderReference

      public void setPlanholderReference(Reference value)
      Sets the value of the planholderReference property.
      Parameters:
      value - allowed object is Reference
    • getBeneficiaryIdentifier

      public Identifier getBeneficiaryIdentifier()
      Gets the value of the beneficiaryIdentifier property.
      Returns:
      possible object is Identifier
    • setBeneficiaryIdentifier

      public void setBeneficiaryIdentifier(Identifier value)
      Sets the value of the beneficiaryIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getBeneficiaryReference

      public Reference getBeneficiaryReference()
      Gets the value of the beneficiaryReference property.
      Returns:
      possible object is Reference
    • setBeneficiaryReference

      public void setBeneficiaryReference(Reference value)
      Sets the value of the beneficiaryReference property.
      Parameters:
      value - allowed object is Reference
    • getRelationship

      public Coding getRelationship()
      Gets the value of the relationship property.
      Returns:
      possible object is Coding
    • setRelationship

      public void setRelationship(Coding value)
      Sets the value of the relationship property.
      Parameters:
      value - allowed object is Coding
    • getIdentifier

      public List<Identifier> getIdentifier()
      Gets the value of the identifier property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the identifier property.

      For example, to add a new item, do as follows:

          getIdentifier().add(newItem);
       

      Objects of the following type(s) are allowed in the list Identifier

    • getGroup

      public String getGroup()
      Gets the value of the group property.
      Returns:
      possible object is String
    • setGroup

      public void setGroup(String value)
      Sets the value of the group property.
      Parameters:
      value - allowed object is String
    • getPlan

      public String getPlan()
      Gets the value of the plan property.
      Returns:
      possible object is String
    • setPlan

      public void setPlan(String value)
      Sets the value of the plan property.
      Parameters:
      value - allowed object is String
    • getSubPlan

      public String getSubPlan()
      Gets the value of the subPlan property.
      Returns:
      possible object is String
    • setSubPlan

      public void setSubPlan(String value)
      Sets the value of the subPlan property.
      Parameters:
      value - allowed object is String
    • getDependent

      public PositiveInt getDependent()
      Gets the value of the dependent property.
      Returns:
      possible object is PositiveInt
    • setDependent

      public void setDependent(PositiveInt value)
      Sets the value of the dependent property.
      Parameters:
      value - allowed object is PositiveInt
    • getSequence

      public PositiveInt getSequence()
      Gets the value of the sequence property.
      Returns:
      possible object is PositiveInt
    • setSequence

      public void setSequence(PositiveInt value)
      Sets the value of the sequence property.
      Parameters:
      value - allowed object is PositiveInt
    • getException

      public List<Coding> getException()
      Gets the value of the exception property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the exception property.

      For example, to add a new item, do as follows:

          getException().add(newItem);
       

      Objects of the following type(s) are allowed in the list Coding

    • getSchool

      public String getSchool()
      Gets the value of the school property.
      Returns:
      possible object is String
    • setSchool

      public void setSchool(String value)
      Sets the value of the school property.
      Parameters:
      value - allowed object is String
    • getNetwork

      public String getNetwork()
      Gets the value of the network property.
      Returns:
      possible object is String
    • setNetwork

      public void setNetwork(String value)
      Sets the value of the network property.
      Parameters:
      value - allowed object is String
    • getContract

      public List<Reference> getContract()
      Gets the value of the contract property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the contract property.

      For example, to add a new item, do as follows:

          getContract().add(newItem);
       

      Objects of the following type(s) are allowed in the list Reference

    • withIssuerIdentifier

      public Coverage withIssuerIdentifier(Identifier value)
    • withIssuerReference

      public Coverage withIssuerReference(Reference value)
    • withBin

      public Coverage withBin(String value)
    • withPeriod

      public Coverage withPeriod(Period value)
    • withType

      public Coverage withType(Coding value)
    • withPlanholderIdentifier

      public Coverage withPlanholderIdentifier(Identifier value)
    • withPlanholderReference

      public Coverage withPlanholderReference(Reference value)
    • withBeneficiaryIdentifier

      public Coverage withBeneficiaryIdentifier(Identifier value)
    • withBeneficiaryReference

      public Coverage withBeneficiaryReference(Reference value)
    • withRelationship

      public Coverage withRelationship(Coding value)
    • withIdentifier

      public Coverage withIdentifier(Identifier... values)
    • withIdentifier

      public Coverage withIdentifier(Collection<Identifier> values)
    • withGroup

      public Coverage withGroup(String value)
    • withPlan

      public Coverage withPlan(String value)
    • withSubPlan

      public Coverage withSubPlan(String value)
    • withDependent

      public Coverage withDependent(PositiveInt value)
    • withSequence

      public Coverage withSequence(PositiveInt value)
    • withException

      public Coverage withException(Coding... values)
    • withException

      public Coverage withException(Collection<Coding> values)
    • withSchool

      public Coverage withSchool(String value)
    • withNetwork

      public Coverage withNetwork(String value)
    • withContract

      public Coverage withContract(Reference... values)
    • withContract

      public Coverage withContract(Collection<Reference> values)
    • withText

      public Coverage withText(Narrative value)
      Overrides:
      withText in class DomainResource
    • withContained

      public Coverage withContained(ResourceContainer... values)
      Overrides:
      withContained in class DomainResource
    • withContained

      public Coverage withContained(Collection<ResourceContainer> values)
      Overrides:
      withContained in class DomainResource
    • withExtension

      public Coverage withExtension(Extension... values)
      Overrides:
      withExtension in class DomainResource
    • withExtension

      public Coverage withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class DomainResource
    • withModifierExtension

      public Coverage withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class DomainResource
    • withModifierExtension

      public Coverage withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class DomainResource
    • withId

      public Coverage withId(Id value)
      Overrides:
      withId in class DomainResource
    • withMeta

      public Coverage withMeta(Meta value)
      Overrides:
      withMeta in class DomainResource
    • withImplicitRules

      public Coverage withImplicitRules(Uri value)
      Overrides:
      withImplicitRules in class DomainResource
    • withLanguage

      public Coverage withLanguage(Code value)
      Overrides:
      withLanguage in class DomainResource
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class DomainResource
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class DomainResource
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class DomainResource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class DomainResource
    • toString

      public String toString()
      Overrides:
      toString in class DomainResource
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class DomainResource
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class DomainResource
    • setIdentifier

      public void setIdentifier(List<Identifier> value)
    • setException

      public void setException(List<Coding> value)
    • setContract

      public void setContract(List<Reference> value)