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>
 
  • Field Details

  • Constructor Details

    • ClaimDetail

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

    • 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

    • getSubDetail

      public 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 Jakarta XML Binding 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

    • withSequence

      public ClaimDetail withSequence(PositiveInt value)
    • withType

      public ClaimDetail withType(Coding value)
    • withService

      public ClaimDetail withService(Coding value)
    • withProgramCode

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

      public ClaimDetail withProgramCode(Collection<Coding> values)
    • withQuantity

      public ClaimDetail withQuantity(SimpleQuantity value)
    • withUnitPrice

      public ClaimDetail withUnitPrice(Money value)
    • withFactor

      public ClaimDetail withFactor(Decimal value)
    • withPoints

      public ClaimDetail withPoints(Decimal value)
    • withNet

      public ClaimDetail withNet(Money value)
    • withUdi

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

      public ClaimDetail withUdi(Collection<Reference> values)
    • withSubDetail

      public ClaimDetail withSubDetail(ClaimSubDetail... values)
    • withSubDetail

      public ClaimDetail withSubDetail(Collection<ClaimSubDetail> values)
    • withModifierExtension

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

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

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

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

      public ClaimDetail 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
    • setProgramCode

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

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

      public void setSubDetail(List<ClaimSubDetail> value)