Package org.hl7.fhir

Class ClaimDetail

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

    public class ClaimDetail
    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.Detail complex type.

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

     <complexType name="Claim.Detail">
       <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"/>
             <element name="service" type="{http://hl7.org/fhir}Coding"/>
             <element name="programCode" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" 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="subDetail" type="{http://hl7.org/fhir}Claim.SubDetail" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ClaimDetail

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

      • 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

      • getSubDetail

        public java.util.List<ClaimSubDetail> getSubDetail()
        Gets the value of the subDetail 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 subDetail property.

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

            getSubDetail().add(newItem);
         

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

      • withProgramCode

        public ClaimDetail withProgramCode​(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