Package org.hl7.fhir

Class ClaimItem

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

public class ClaimItem extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery.

Java class for Claim.Item complex type.

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

 <complexType name="Claim.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="detail" type="{http://hl7.org/fhir}Claim.Detail" maxOccurs="unbounded" minOccurs="0"/>
         <element name="prosthesis" type="{http://hl7.org/fhir}Claim.Prosthesis" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • sequence

      protected PositiveInt sequence
    • type

      protected Coding type
    • providerIdentifier

      protected Identifier providerIdentifier
    • providerReference

      protected Reference providerReference
    • supervisorIdentifier

      protected Identifier supervisorIdentifier
    • supervisorReference

      protected Reference supervisorReference
    • providerQualification

      protected Coding providerQualification
    • diagnosisLinkId

      protected List<PositiveInt> diagnosisLinkId
    • service

      protected Coding service
    • serviceModifier

      protected List<Coding> serviceModifier
    • modifier

      protected List<Coding> modifier
    • programCode

      protected List<Coding> programCode
    • servicedDate

      protected Date servicedDate
    • servicedPeriod

      protected Period servicedPeriod
    • place

      protected Coding place
    • quantity

      protected SimpleQuantity quantity
    • unitPrice

      protected Money unitPrice
    • factor

      protected Decimal factor
    • points

      protected Decimal points
    • net

      protected Money net
    • udi

      protected List<Reference> udi
    • bodySite

      protected Coding bodySite
    • subSite

      protected List<Coding> subSite
    • detail

      protected List<ClaimDetail> detail
    • prosthesis

      protected ClaimProsthesis prosthesis
  • Constructor Details

    • ClaimItem

      public ClaimItem()
  • 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

    • getDetail

      public List<ClaimDetail> 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 ClaimDetail

    • getProsthesis

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

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

      public ClaimItem withSequence(PositiveInt value)
    • withType

      public ClaimItem withType(Coding value)
    • withProviderIdentifier

      public ClaimItem withProviderIdentifier(Identifier value)
    • withProviderReference

      public ClaimItem withProviderReference(Reference value)
    • withSupervisorIdentifier

      public ClaimItem withSupervisorIdentifier(Identifier value)
    • withSupervisorReference

      public ClaimItem withSupervisorReference(Reference value)
    • withProviderQualification

      public ClaimItem withProviderQualification(Coding value)
    • withDiagnosisLinkId

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

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

      public ClaimItem withService(Coding value)
    • withServiceModifier

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

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

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

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

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

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

      public ClaimItem withServicedDate(Date value)
    • withServicedPeriod

      public ClaimItem withServicedPeriod(Period value)
    • withPlace

      public ClaimItem withPlace(Coding value)
    • withQuantity

      public ClaimItem withQuantity(SimpleQuantity value)
    • withUnitPrice

      public ClaimItem withUnitPrice(Money value)
    • withFactor

      public ClaimItem withFactor(Decimal value)
    • withPoints

      public ClaimItem withPoints(Decimal value)
    • withNet

      public ClaimItem withNet(Money value)
    • withUdi

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

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

      public ClaimItem withBodySite(Coding value)
    • withSubSite

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

      public ClaimItem withSubSite(Collection<Coding> values)
    • withDetail

      public ClaimItem withDetail(ClaimDetail... values)
    • withDetail

      public ClaimItem withDetail(Collection<ClaimDetail> values)
    • withProsthesis

      public ClaimItem withProsthesis(ClaimProsthesis value)
    • withModifierExtension

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

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

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

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

      public ClaimItem 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)
    • setDetail

      public void setDetail(List<ClaimDetail> value)