Package org.hl7.fhir

Class ExplanationOfBenefitItem

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

public class ExplanationOfBenefitItem extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.

Java class for ExplanationOfBenefit.Item complex type.

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

 <complexType name="ExplanationOfBenefit.Item">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="sequence" type="{http://hl7.org/fhir}positiveInt"/>
         <element name="type" type="{http://hl7.org/fhir}Coding"/>
         <choice minOccurs="0">
           <element name="providerIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="providerReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <choice minOccurs="0">
           <element name="supervisorIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="supervisorReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <element name="providerQualification" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="diagnosisLinkId" type="{http://hl7.org/fhir}positiveInt" maxOccurs="unbounded" minOccurs="0"/>
         <element name="service" type="{http://hl7.org/fhir}Coding"/>
         <element name="serviceModifier" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
         <element name="modifier" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
         <element name="programCode" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="servicedDate" type="{http://hl7.org/fhir}date"/>
           <element name="servicedPeriod" type="{http://hl7.org/fhir}Period"/>
         </choice>
         <element name="place" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
         <element name="unitPrice" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
         <element name="factor" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
         <element name="points" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
         <element name="net" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
         <element name="udi" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
         <element name="bodySite" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="subSite" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
         <element name="noteNumber" type="{http://hl7.org/fhir}positiveInt" maxOccurs="unbounded" minOccurs="0"/>
         <element name="adjudication" type="{http://hl7.org/fhir}ExplanationOfBenefit.Adjudication" maxOccurs="unbounded" minOccurs="0"/>
         <element name="detail" type="{http://hl7.org/fhir}ExplanationOfBenefit.Detail" maxOccurs="unbounded" minOccurs="0"/>
         <element name="prosthesis" type="{http://hl7.org/fhir}ExplanationOfBenefit.Prosthesis" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ExplanationOfBenefitItem

      public ExplanationOfBenefitItem()
  • Method Details

    • 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
    • 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
    • getProviderIdentifier

      public Identifier getProviderIdentifier()
      Gets the value of the providerIdentifier property.
      Returns:
      possible object is Identifier
    • setProviderIdentifier

      public void setProviderIdentifier(Identifier value)
      Sets the value of the providerIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getProviderReference

      public Reference getProviderReference()
      Gets the value of the providerReference property.
      Returns:
      possible object is Reference
    • setProviderReference

      public void setProviderReference(Reference value)
      Sets the value of the providerReference property.
      Parameters:
      value - allowed object is Reference
    • getSupervisorIdentifier

      public Identifier getSupervisorIdentifier()
      Gets the value of the supervisorIdentifier property.
      Returns:
      possible object is Identifier
    • setSupervisorIdentifier

      public void setSupervisorIdentifier(Identifier value)
      Sets the value of the supervisorIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getSupervisorReference

      public Reference getSupervisorReference()
      Gets the value of the supervisorReference property.
      Returns:
      possible object is Reference
    • setSupervisorReference

      public void setSupervisorReference(Reference value)
      Sets the value of the supervisorReference property.
      Parameters:
      value - allowed object is Reference
    • getProviderQualification

      public Coding getProviderQualification()
      Gets the value of the providerQualification property.
      Returns:
      possible object is Coding
    • setProviderQualification

      public void setProviderQualification(Coding value)
      Sets the value of the providerQualification property.
      Parameters:
      value - allowed object is Coding
    • getDiagnosisLinkId

      public List<PositiveInt> getDiagnosisLinkId()
      Gets the value of the diagnosisLinkId 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 diagnosisLinkId property.

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

          getDiagnosisLinkId().add(newItem);
       

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

    • getService

      public Coding getService()
      Gets the value of the service property.
      Returns:
      possible object is Coding
    • setService

      public void setService(Coding value)
      Sets the value of the service property.
      Parameters:
      value - allowed object is Coding
    • getServiceModifier

      public List<Coding> getServiceModifier()
      Gets the value of the serviceModifier 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 serviceModifier property.

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

          getServiceModifier().add(newItem);
       

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

    • getModifier

      public List<Coding> getModifier()
      Gets the value of the modifier 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 modifier property.

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

          getModifier().add(newItem);
       

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

    • getProgramCode

      public List<Coding> getProgramCode()
      Gets the value of the programCode 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 programCode property.

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

          getProgramCode().add(newItem);
       

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

    • getServicedDate

      public Date getServicedDate()
      Gets the value of the servicedDate property.
      Returns:
      possible object is Date
    • setServicedDate

      public void setServicedDate(Date value)
      Sets the value of the servicedDate property.
      Parameters:
      value - allowed object is Date
    • getServicedPeriod

      public Period getServicedPeriod()
      Gets the value of the servicedPeriod property.
      Returns:
      possible object is Period
    • setServicedPeriod

      public void setServicedPeriod(Period value)
      Sets the value of the servicedPeriod property.
      Parameters:
      value - allowed object is Period
    • getPlace

      public Coding getPlace()
      Gets the value of the place property.
      Returns:
      possible object is Coding
    • setPlace

      public void setPlace(Coding value)
      Sets the value of the place property.
      Parameters:
      value - allowed object is Coding
    • getQuantity

      public SimpleQuantity getQuantity()
      Gets the value of the quantity property.
      Returns:
      possible object is SimpleQuantity
    • setQuantity

      public void setQuantity(SimpleQuantity value)
      Sets the value of the quantity property.
      Parameters:
      value - allowed object is SimpleQuantity
    • getUnitPrice

      public Money getUnitPrice()
      Gets the value of the unitPrice property.
      Returns:
      possible object is Money
    • setUnitPrice

      public void setUnitPrice(Money value)
      Sets the value of the unitPrice property.
      Parameters:
      value - allowed object is Money
    • getFactor

      public Decimal getFactor()
      Gets the value of the factor property.
      Returns:
      possible object is Decimal
    • setFactor

      public void setFactor(Decimal value)
      Sets the value of the factor property.
      Parameters:
      value - allowed object is Decimal
    • getPoints

      public Decimal getPoints()
      Gets the value of the points property.
      Returns:
      possible object is Decimal
    • setPoints

      public void setPoints(Decimal value)
      Sets the value of the points property.
      Parameters:
      value - allowed object is Decimal
    • getNet

      public Money getNet()
      Gets the value of the net property.
      Returns:
      possible object is Money
    • setNet

      public void setNet(Money value)
      Sets the value of the net property.
      Parameters:
      value - allowed object is Money
    • getUdi

      public List<Reference> getUdi()
      Gets the value of the udi 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 udi property.

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

          getUdi().add(newItem);
       

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

    • getBodySite

      public Coding getBodySite()
      Gets the value of the bodySite property.
      Returns:
      possible object is Coding
    • setBodySite

      public void setBodySite(Coding value)
      Sets the value of the bodySite property.
      Parameters:
      value - allowed object is Coding
    • getSubSite

      public List<Coding> getSubSite()
      Gets the value of the subSite 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 subSite property.

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

          getSubSite().add(newItem);
       

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

    • getNoteNumber

      public List<PositiveInt> getNoteNumber()
      Gets the value of the noteNumber 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 noteNumber property.

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

          getNoteNumber().add(newItem);
       

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

    • getAdjudication

      public List<ExplanationOfBenefitAdjudication> getAdjudication()
      Gets the value of the adjudication 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 adjudication property.

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

          getAdjudication().add(newItem);
       

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

    • getDetail

      public List<ExplanationOfBenefitDetail> getDetail()
      Gets the value of the detail 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 detail property.

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

          getDetail().add(newItem);
       

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

    • getProsthesis

      public ExplanationOfBenefitProsthesis getProsthesis()
      Gets the value of the prosthesis property.
      Returns:
      possible object is ExplanationOfBenefitProsthesis
    • setProsthesis

      public void setProsthesis(ExplanationOfBenefitProsthesis value)
      Sets the value of the prosthesis property.
      Parameters:
      value - allowed object is ExplanationOfBenefitProsthesis
    • withSequence

      public ExplanationOfBenefitItem withSequence(PositiveInt value)
    • withType

      public ExplanationOfBenefitItem withType(Coding value)
    • withProviderIdentifier

      public ExplanationOfBenefitItem withProviderIdentifier(Identifier value)
    • withProviderReference

      public ExplanationOfBenefitItem withProviderReference(Reference value)
    • withSupervisorIdentifier

      public ExplanationOfBenefitItem withSupervisorIdentifier(Identifier value)
    • withSupervisorReference

      public ExplanationOfBenefitItem withSupervisorReference(Reference value)
    • withProviderQualification

      public ExplanationOfBenefitItem withProviderQualification(Coding value)
    • withDiagnosisLinkId

      public ExplanationOfBenefitItem withDiagnosisLinkId(PositiveInt... values)
    • withDiagnosisLinkId

      public ExplanationOfBenefitItem withDiagnosisLinkId(Collection<PositiveInt> values)
    • withService

      public ExplanationOfBenefitItem withService(Coding value)
    • withServiceModifier

      public ExplanationOfBenefitItem withServiceModifier(Coding... values)
    • withServiceModifier

      public ExplanationOfBenefitItem withServiceModifier(Collection<Coding> values)
    • withModifier

      public ExplanationOfBenefitItem withModifier(Coding... values)
    • withModifier

      public ExplanationOfBenefitItem withModifier(Collection<Coding> values)
    • withProgramCode

      public ExplanationOfBenefitItem withProgramCode(Coding... values)
    • withProgramCode

      public ExplanationOfBenefitItem withProgramCode(Collection<Coding> values)
    • withServicedDate

      public ExplanationOfBenefitItem withServicedDate(Date value)
    • withServicedPeriod

      public ExplanationOfBenefitItem withServicedPeriod(Period value)
    • withPlace

      public ExplanationOfBenefitItem withPlace(Coding value)
    • withQuantity

      public ExplanationOfBenefitItem withQuantity(SimpleQuantity value)
    • withUnitPrice

      public ExplanationOfBenefitItem withUnitPrice(Money value)
    • withFactor

      public ExplanationOfBenefitItem withFactor(Decimal value)
    • withPoints

      public ExplanationOfBenefitItem withPoints(Decimal value)
    • withNet

      public ExplanationOfBenefitItem withNet(Money value)
    • withUdi

      public ExplanationOfBenefitItem withUdi(Reference... values)
    • withUdi

      public ExplanationOfBenefitItem withUdi(Collection<Reference> values)
    • withBodySite

      public ExplanationOfBenefitItem withBodySite(Coding value)
    • withSubSite

      public ExplanationOfBenefitItem withSubSite(Coding... values)
    • withSubSite

      public ExplanationOfBenefitItem withSubSite(Collection<Coding> values)
    • withNoteNumber

      public ExplanationOfBenefitItem withNoteNumber(PositiveInt... values)
    • withNoteNumber

      public ExplanationOfBenefitItem withNoteNumber(Collection<PositiveInt> values)
    • withAdjudication

      public ExplanationOfBenefitItem withAdjudication(ExplanationOfBenefitAdjudication... values)
    • withAdjudication

    • withDetail

    • withDetail

    • withProsthesis

    • withModifierExtension

      public ExplanationOfBenefitItem withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public ExplanationOfBenefitItem withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public ExplanationOfBenefitItem withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public ExplanationOfBenefitItem withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public ExplanationOfBenefitItem withId(String value)
      Overrides:
      withId in class BackboneElement
    • 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 BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • 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 BackboneElement
    • hashCode

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

      public String toString()
      Overrides:
      toString in class BackboneElement
    • 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 BackboneElement
    • 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 BackboneElement
    • setDiagnosisLinkId

      public void setDiagnosisLinkId(List<PositiveInt> value)
    • setServiceModifier

      public void setServiceModifier(List<Coding> value)
    • setModifier

      public void setModifier(List<Coding> value)
    • setProgramCode

      public void setProgramCode(List<Coding> value)
    • setUdi

      public void setUdi(List<Reference> value)
    • setSubSite

      public void setSubSite(List<Coding> value)
    • setNoteNumber

      public void setNoteNumber(List<PositiveInt> value)
    • setAdjudication

      public void setAdjudication(List<ExplanationOfBenefitAdjudication> value)
    • setDetail

      public void setDetail(List<ExplanationOfBenefitDetail> value)