Class Coverage
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.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 extensionsJava 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 Summary
Fields Modifier and Type Field Description protected IdentifierbeneficiaryIdentifierprotected ReferencebeneficiaryReferenceprotected Stringbinprotected java.util.List<Reference>contractprotected PositiveIntdependentprotected java.util.List<Coding>exceptionprotected Stringgroupprotected java.util.List<Identifier>identifierprotected IdentifierissuerIdentifierprotected ReferenceissuerReferenceprotected Stringnetworkprotected Periodperiodprotected Stringplanprotected IdentifierplanholderIdentifierprotected ReferenceplanholderReferenceprotected Codingrelationshipprotected Stringschoolprotected PositiveIntsequenceprotected StringsubPlanprotected Codingtype-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Coverage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(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)IdentifiergetBeneficiaryIdentifier()Gets the value of the beneficiaryIdentifier property.ReferencegetBeneficiaryReference()Gets the value of the beneficiaryReference property.StringgetBin()Gets the value of the bin property.java.util.List<Reference>getContract()Gets the value of the contract property.PositiveIntgetDependent()Gets the value of the dependent property.java.util.List<Coding>getException()Gets the value of the exception property.StringgetGroup()Gets the value of the group property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.IdentifiergetIssuerIdentifier()Gets the value of the issuerIdentifier property.ReferencegetIssuerReference()Gets the value of the issuerReference property.StringgetNetwork()Gets the value of the network property.PeriodgetPeriod()Gets the value of the period property.StringgetPlan()Gets the value of the plan property.IdentifiergetPlanholderIdentifier()Gets the value of the planholderIdentifier property.ReferencegetPlanholderReference()Gets the value of the planholderReference property.CodinggetRelationship()Gets the value of the relationship property.StringgetSchool()Gets the value of the school property.PositiveIntgetSequence()Gets the value of the sequence property.StringgetSubPlan()Gets the value of the subPlan property.CodinggetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBeneficiaryIdentifier(Identifier value)Sets the value of the beneficiaryIdentifier property.voidsetBeneficiaryReference(Reference value)Sets the value of the beneficiaryReference property.voidsetBin(String value)Sets the value of the bin property.voidsetDependent(PositiveInt value)Sets the value of the dependent property.voidsetGroup(String value)Sets the value of the group property.voidsetIssuerIdentifier(Identifier value)Sets the value of the issuerIdentifier property.voidsetIssuerReference(Reference value)Sets the value of the issuerReference property.voidsetNetwork(String value)Sets the value of the network property.voidsetPeriod(Period value)Sets the value of the period property.voidsetPlan(String value)Sets the value of the plan property.voidsetPlanholderIdentifier(Identifier value)Sets the value of the planholderIdentifier property.voidsetPlanholderReference(Reference value)Sets the value of the planholderReference property.voidsetRelationship(Coding value)Sets the value of the relationship property.voidsetSchool(String value)Sets the value of the school property.voidsetSequence(PositiveInt value)Sets the value of the sequence property.voidsetSubPlan(String value)Sets the value of the subPlan property.voidsetType(Coding value)Sets the value of the type property.java.lang.StringtoString()CoveragewithBeneficiaryIdentifier(Identifier value)CoveragewithBeneficiaryReference(Reference value)CoveragewithBin(String value)CoveragewithContained(java.util.Collection<ResourceContainer> values)CoveragewithContained(ResourceContainer... values)CoveragewithContract(java.util.Collection<Reference> values)CoveragewithContract(Reference... values)CoveragewithDependent(PositiveInt value)CoveragewithException(java.util.Collection<Coding> values)CoveragewithException(Coding... values)CoveragewithExtension(java.util.Collection<Extension> values)CoveragewithExtension(Extension... values)CoveragewithGroup(String value)CoveragewithId(Id value)CoveragewithIdentifier(java.util.Collection<Identifier> values)CoveragewithIdentifier(Identifier... values)CoveragewithImplicitRules(Uri value)CoveragewithIssuerIdentifier(Identifier value)CoveragewithIssuerReference(Reference value)CoveragewithLanguage(Code value)CoveragewithMeta(Meta value)CoveragewithModifierExtension(java.util.Collection<Extension> values)CoveragewithModifierExtension(Extension... values)CoveragewithNetwork(String value)CoveragewithPeriod(Period value)CoveragewithPlan(String value)CoveragewithPlanholderIdentifier(Identifier value)CoveragewithPlanholderReference(Reference value)CoveragewithRelationship(Coding value)CoveragewithSchool(String value)CoveragewithSequence(PositiveInt value)CoveragewithSubPlan(String value)CoveragewithText(Narrative value)CoveragewithType(Coding value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
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 java.util.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 java.util.List<Coding> exception
-
school
protected String school
-
network
protected String network
-
contract
protected java.util.List<Reference> contract
-
-
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 isIdentifier
-
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 isReference
-
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 isString
-
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 isPeriod
-
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 isCoding
-
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 isIdentifier
-
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 isReference
-
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 isIdentifier
-
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 isReference
-
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 isCoding
-
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
setmethod 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 isString
-
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 isString
-
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 isString
-
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 isPositiveInt
-
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 isPositiveInt
-
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
setmethod 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 isString
-
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 isString
-
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
setmethod 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)
-
withPlanholderIdentifier
public Coverage withPlanholderIdentifier(Identifier value)
-
withBeneficiaryIdentifier
public Coverage withBeneficiaryIdentifier(Identifier value)
-
withIdentifier
public Coverage withIdentifier(Identifier... values)
-
withIdentifier
public Coverage withIdentifier(java.util.Collection<Identifier> values)
-
withDependent
public Coverage withDependent(PositiveInt value)
-
withSequence
public Coverage withSequence(PositiveInt value)
-
withText
public Coverage withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Coverage withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Coverage withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Coverage withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Coverage withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Coverage withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Coverage withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Coverage withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Coverage withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Coverage withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Coverage withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
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:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-