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 Detail

      • issuerIdentifier

        protected Identifier issuerIdentifier
      • issuerReference

        protected Reference issuerReference
      • period

        protected Period period
      • planholderIdentifier

        protected Identifier planholderIdentifier
      • planholderReference

        protected Reference planholderReference
      • beneficiaryIdentifier

        protected Identifier beneficiaryIdentifier
      • beneficiaryReference

        protected Reference beneficiaryReference
      • relationship

        protected Coding relationship
      • identifier

        protected java.util.List<Identifier> identifier
      • group

        protected String group
      • subPlan

        protected String subPlan
      • exception

        protected java.util.List<Coding> exception
      • school

        protected String school
      • network

        protected String network
      • contract

        protected java.util.List<Reference> contract
    • Constructor Detail

      • Coverage

        public Coverage()
    • Method Detail

      • 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 java.util.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 JAXB 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 java.util.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 JAXB 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 java.util.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 JAXB 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

      • 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​(java.util.Collection<Identifier> values)
      • withException

        public Coverage withException​(java.util.Collection<Coding> values)
      • withContract

        public Coverage withContract​(java.util.Collection<Reference> values)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.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​(java.lang.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
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.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 java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.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