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 Detail

      • providerIdentifier

        protected Identifier providerIdentifier
      • providerReference

        protected Reference providerReference
      • supervisorIdentifier

        protected Identifier supervisorIdentifier
      • supervisorReference

        protected Reference supervisorReference
      • providerQualification

        protected Coding providerQualification
      • diagnosisLinkId

        protected java.util.List<PositiveInt> diagnosisLinkId
      • service

        protected Coding service
      • serviceModifier

        protected java.util.List<Coding> serviceModifier
      • modifier

        protected java.util.List<Coding> modifier
      • programCode

        protected java.util.List<Coding> programCode
      • servicedDate

        protected Date servicedDate
      • servicedPeriod

        protected Period servicedPeriod
      • place

        protected Coding place
      • unitPrice

        protected Money unitPrice
      • net

        protected Money net
      • udi

        protected java.util.List<Reference> udi
      • bodySite

        protected Coding bodySite
      • subSite

        protected java.util.List<Coding> subSite
    • Constructor Detail

      • ClaimItem

        public ClaimItem()
    • Method Detail

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

      • setProsthesis

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

        public ClaimItem withProviderQualification​(Coding value)
      • withDiagnosisLinkId

        public ClaimItem withDiagnosisLinkId​(java.util.Collection<PositiveInt> values)
      • withServiceModifier

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

        public ClaimItem withServiceModifier​(java.util.Collection<Coding> values)
      • withModifier

        public ClaimItem withModifier​(java.util.Collection<Coding> values)
      • withProgramCode

        public ClaimItem withProgramCode​(java.util.Collection<Coding> values)
      • withServicedDate

        public ClaimItem withServicedDate​(Date value)
      • withServicedPeriod

        public ClaimItem withServicedPeriod​(Period value)
      • withSubSite

        public ClaimItem withSubSite​(java.util.Collection<Coding> 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 BackboneElement
      • equals

        public boolean equals​(java.lang.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
      • 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 BackboneElement
      • 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 BackboneElement