Package org.hl7.fhir

Class ClaimResponse

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

public class ClaimResponse extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensions

Java class for ClaimResponse complex type.

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

 <complexType name="ClaimResponse">
   <complexContent>
     <extension base="{http://hl7.org/fhir}DomainResource">
       <sequence>
         <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="requestIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="requestReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <element name="ruleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="originalRuleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="created" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="organizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="organizationReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <choice minOccurs="0">
           <element name="requestProviderIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="requestProviderReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <choice minOccurs="0">
           <element name="requestOrganizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
           <element name="requestOrganizationReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <element name="outcome" type="{http://hl7.org/fhir}RemittanceOutcome" minOccurs="0"/>
         <element name="disposition" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="payeeType" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="item" type="{http://hl7.org/fhir}ClaimResponse.Item" maxOccurs="unbounded" minOccurs="0"/>
         <element name="addItem" type="{http://hl7.org/fhir}ClaimResponse.AddItem" maxOccurs="unbounded" minOccurs="0"/>
         <element name="error" type="{http://hl7.org/fhir}ClaimResponse.Error" maxOccurs="unbounded" minOccurs="0"/>
         <element name="totalCost" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
         <element name="unallocDeductable" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
         <element name="totalBenefit" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
         <element name="paymentAdjustment" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
         <element name="paymentAdjustmentReason" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="paymentDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
         <element name="paymentAmount" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
         <element name="paymentRef" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
         <element name="reserved" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="form" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="note" type="{http://hl7.org/fhir}ClaimResponse.Note" maxOccurs="unbounded" minOccurs="0"/>
         <element name="coverage" type="{http://hl7.org/fhir}ClaimResponse.Coverage" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • identifier

      protected List<Identifier> identifier
    • requestIdentifier

      protected Identifier requestIdentifier
    • requestReference

      protected Reference requestReference
    • ruleset

      protected Coding ruleset
    • originalRuleset

      protected Coding originalRuleset
    • created

      protected DateTime created
    • organizationIdentifier

      protected Identifier organizationIdentifier
    • organizationReference

      protected Reference organizationReference
    • requestProviderIdentifier

      protected Identifier requestProviderIdentifier
    • requestProviderReference

      protected Reference requestProviderReference
    • requestOrganizationIdentifier

      protected Identifier requestOrganizationIdentifier
    • requestOrganizationReference

      protected Reference requestOrganizationReference
    • outcome

      protected RemittanceOutcome outcome
    • disposition

      protected String disposition
    • payeeType

      protected Coding payeeType
    • item

      protected List<ClaimResponseItem> item
    • addItem

      protected List<ClaimResponseAddItem> addItem
    • error

      protected List<ClaimResponseError> error
    • totalCost

      protected Money totalCost
    • unallocDeductable

      protected Money unallocDeductable
    • totalBenefit

      protected Money totalBenefit
    • paymentAdjustment

      protected Money paymentAdjustment
    • paymentAdjustmentReason

      protected Coding paymentAdjustmentReason
    • paymentDate

      protected Date paymentDate
    • paymentAmount

      protected Money paymentAmount
    • paymentRef

      protected Identifier paymentRef
    • reserved

      protected Coding reserved
    • form

      protected Coding form
    • note

      protected List<ClaimResponseNote> note
    • coverage

      protected List<ClaimResponseCoverage> coverage
  • Constructor Details

    • ClaimResponse

      public ClaimResponse()
  • Method Details

    • getIdentifier

      public List<Identifier> getIdentifier()
      Gets the value of the identifier 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 identifier property.

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

          getIdentifier().add(newItem);
       

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

    • getRequestIdentifier

      public Identifier getRequestIdentifier()
      Gets the value of the requestIdentifier property.
      Returns:
      possible object is Identifier
    • setRequestIdentifier

      public void setRequestIdentifier(Identifier value)
      Sets the value of the requestIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getRequestReference

      public Reference getRequestReference()
      Gets the value of the requestReference property.
      Returns:
      possible object is Reference
    • setRequestReference

      public void setRequestReference(Reference value)
      Sets the value of the requestReference property.
      Parameters:
      value - allowed object is Reference
    • getRuleset

      public Coding getRuleset()
      Gets the value of the ruleset property.
      Returns:
      possible object is Coding
    • setRuleset

      public void setRuleset(Coding value)
      Sets the value of the ruleset property.
      Parameters:
      value - allowed object is Coding
    • getOriginalRuleset

      public Coding getOriginalRuleset()
      Gets the value of the originalRuleset property.
      Returns:
      possible object is Coding
    • setOriginalRuleset

      public void setOriginalRuleset(Coding value)
      Sets the value of the originalRuleset property.
      Parameters:
      value - allowed object is Coding
    • getCreated

      public DateTime getCreated()
      Gets the value of the created property.
      Returns:
      possible object is DateTime
    • setCreated

      public void setCreated(DateTime value)
      Sets the value of the created property.
      Parameters:
      value - allowed object is DateTime
    • getOrganizationIdentifier

      public Identifier getOrganizationIdentifier()
      Gets the value of the organizationIdentifier property.
      Returns:
      possible object is Identifier
    • setOrganizationIdentifier

      public void setOrganizationIdentifier(Identifier value)
      Sets the value of the organizationIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getOrganizationReference

      public Reference getOrganizationReference()
      Gets the value of the organizationReference property.
      Returns:
      possible object is Reference
    • setOrganizationReference

      public void setOrganizationReference(Reference value)
      Sets the value of the organizationReference property.
      Parameters:
      value - allowed object is Reference
    • getRequestProviderIdentifier

      public Identifier getRequestProviderIdentifier()
      Gets the value of the requestProviderIdentifier property.
      Returns:
      possible object is Identifier
    • setRequestProviderIdentifier

      public void setRequestProviderIdentifier(Identifier value)
      Sets the value of the requestProviderIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getRequestProviderReference

      public Reference getRequestProviderReference()
      Gets the value of the requestProviderReference property.
      Returns:
      possible object is Reference
    • setRequestProviderReference

      public void setRequestProviderReference(Reference value)
      Sets the value of the requestProviderReference property.
      Parameters:
      value - allowed object is Reference
    • getRequestOrganizationIdentifier

      public Identifier getRequestOrganizationIdentifier()
      Gets the value of the requestOrganizationIdentifier property.
      Returns:
      possible object is Identifier
    • setRequestOrganizationIdentifier

      public void setRequestOrganizationIdentifier(Identifier value)
      Sets the value of the requestOrganizationIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getRequestOrganizationReference

      public Reference getRequestOrganizationReference()
      Gets the value of the requestOrganizationReference property.
      Returns:
      possible object is Reference
    • setRequestOrganizationReference

      public void setRequestOrganizationReference(Reference value)
      Sets the value of the requestOrganizationReference property.
      Parameters:
      value - allowed object is Reference
    • getOutcome

      public RemittanceOutcome getOutcome()
      Gets the value of the outcome property.
      Returns:
      possible object is RemittanceOutcome
    • setOutcome

      public void setOutcome(RemittanceOutcome value)
      Sets the value of the outcome property.
      Parameters:
      value - allowed object is RemittanceOutcome
    • getDisposition

      public String getDisposition()
      Gets the value of the disposition property.
      Returns:
      possible object is String
    • setDisposition

      public void setDisposition(String value)
      Sets the value of the disposition property.
      Parameters:
      value - allowed object is String
    • getPayeeType

      public Coding getPayeeType()
      Gets the value of the payeeType property.
      Returns:
      possible object is Coding
    • setPayeeType

      public void setPayeeType(Coding value)
      Sets the value of the payeeType property.
      Parameters:
      value - allowed object is Coding
    • getItem

      public List<ClaimResponseItem> getItem()
      Gets the value of the item 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 item property.

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

          getItem().add(newItem);
       

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

    • getAddItem

      public List<ClaimResponseAddItem> getAddItem()
      Gets the value of the addItem 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 addItem property.

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

          getAddItem().add(newItem);
       

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

    • getError

      public List<ClaimResponseError> getError()
      Gets the value of the error 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 error property.

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

          getError().add(newItem);
       

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

    • getTotalCost

      public Money getTotalCost()
      Gets the value of the totalCost property.
      Returns:
      possible object is Money
    • setTotalCost

      public void setTotalCost(Money value)
      Sets the value of the totalCost property.
      Parameters:
      value - allowed object is Money
    • getUnallocDeductable

      public Money getUnallocDeductable()
      Gets the value of the unallocDeductable property.
      Returns:
      possible object is Money
    • setUnallocDeductable

      public void setUnallocDeductable(Money value)
      Sets the value of the unallocDeductable property.
      Parameters:
      value - allowed object is Money
    • getTotalBenefit

      public Money getTotalBenefit()
      Gets the value of the totalBenefit property.
      Returns:
      possible object is Money
    • setTotalBenefit

      public void setTotalBenefit(Money value)
      Sets the value of the totalBenefit property.
      Parameters:
      value - allowed object is Money
    • getPaymentAdjustment

      public Money getPaymentAdjustment()
      Gets the value of the paymentAdjustment property.
      Returns:
      possible object is Money
    • setPaymentAdjustment

      public void setPaymentAdjustment(Money value)
      Sets the value of the paymentAdjustment property.
      Parameters:
      value - allowed object is Money
    • getPaymentAdjustmentReason

      public Coding getPaymentAdjustmentReason()
      Gets the value of the paymentAdjustmentReason property.
      Returns:
      possible object is Coding
    • setPaymentAdjustmentReason

      public void setPaymentAdjustmentReason(Coding value)
      Sets the value of the paymentAdjustmentReason property.
      Parameters:
      value - allowed object is Coding
    • getPaymentDate

      public Date getPaymentDate()
      Gets the value of the paymentDate property.
      Returns:
      possible object is Date
    • setPaymentDate

      public void setPaymentDate(Date value)
      Sets the value of the paymentDate property.
      Parameters:
      value - allowed object is Date
    • getPaymentAmount

      public Money getPaymentAmount()
      Gets the value of the paymentAmount property.
      Returns:
      possible object is Money
    • setPaymentAmount

      public void setPaymentAmount(Money value)
      Sets the value of the paymentAmount property.
      Parameters:
      value - allowed object is Money
    • getPaymentRef

      public Identifier getPaymentRef()
      Gets the value of the paymentRef property.
      Returns:
      possible object is Identifier
    • setPaymentRef

      public void setPaymentRef(Identifier value)
      Sets the value of the paymentRef property.
      Parameters:
      value - allowed object is Identifier
    • getReserved

      public Coding getReserved()
      Gets the value of the reserved property.
      Returns:
      possible object is Coding
    • setReserved

      public void setReserved(Coding value)
      Sets the value of the reserved property.
      Parameters:
      value - allowed object is Coding
    • getForm

      public Coding getForm()
      Gets the value of the form property.
      Returns:
      possible object is Coding
    • setForm

      public void setForm(Coding value)
      Sets the value of the form property.
      Parameters:
      value - allowed object is Coding
    • getNote

      public List<ClaimResponseNote> getNote()
      Gets the value of the note 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 note property.

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

          getNote().add(newItem);
       

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

    • getCoverage

      public List<ClaimResponseCoverage> getCoverage()
      Gets the value of the coverage 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 coverage property.

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

          getCoverage().add(newItem);
       

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

    • withIdentifier

      public ClaimResponse withIdentifier(Identifier... values)
    • withIdentifier

      public ClaimResponse withIdentifier(Collection<Identifier> values)
    • withRequestIdentifier

      public ClaimResponse withRequestIdentifier(Identifier value)
    • withRequestReference

      public ClaimResponse withRequestReference(Reference value)
    • withRuleset

      public ClaimResponse withRuleset(Coding value)
    • withOriginalRuleset

      public ClaimResponse withOriginalRuleset(Coding value)
    • withCreated

      public ClaimResponse withCreated(DateTime value)
    • withOrganizationIdentifier

      public ClaimResponse withOrganizationIdentifier(Identifier value)
    • withOrganizationReference

      public ClaimResponse withOrganizationReference(Reference value)
    • withRequestProviderIdentifier

      public ClaimResponse withRequestProviderIdentifier(Identifier value)
    • withRequestProviderReference

      public ClaimResponse withRequestProviderReference(Reference value)
    • withRequestOrganizationIdentifier

      public ClaimResponse withRequestOrganizationIdentifier(Identifier value)
    • withRequestOrganizationReference

      public ClaimResponse withRequestOrganizationReference(Reference value)
    • withOutcome

      public ClaimResponse withOutcome(RemittanceOutcome value)
    • withDisposition

      public ClaimResponse withDisposition(String value)
    • withPayeeType

      public ClaimResponse withPayeeType(Coding value)
    • withItem

      public ClaimResponse withItem(ClaimResponseItem... values)
    • withItem

      public ClaimResponse withItem(Collection<ClaimResponseItem> values)
    • withAddItem

      public ClaimResponse withAddItem(ClaimResponseAddItem... values)
    • withAddItem

      public ClaimResponse withAddItem(Collection<ClaimResponseAddItem> values)
    • withError

      public ClaimResponse withError(ClaimResponseError... values)
    • withError

      public ClaimResponse withError(Collection<ClaimResponseError> values)
    • withTotalCost

      public ClaimResponse withTotalCost(Money value)
    • withUnallocDeductable

      public ClaimResponse withUnallocDeductable(Money value)
    • withTotalBenefit

      public ClaimResponse withTotalBenefit(Money value)
    • withPaymentAdjustment

      public ClaimResponse withPaymentAdjustment(Money value)
    • withPaymentAdjustmentReason

      public ClaimResponse withPaymentAdjustmentReason(Coding value)
    • withPaymentDate

      public ClaimResponse withPaymentDate(Date value)
    • withPaymentAmount

      public ClaimResponse withPaymentAmount(Money value)
    • withPaymentRef

      public ClaimResponse withPaymentRef(Identifier value)
    • withReserved

      public ClaimResponse withReserved(Coding value)
    • withForm

      public ClaimResponse withForm(Coding value)
    • withNote

      public ClaimResponse withNote(ClaimResponseNote... values)
    • withNote

      public ClaimResponse withNote(Collection<ClaimResponseNote> values)
    • withCoverage

      public ClaimResponse withCoverage(ClaimResponseCoverage... values)
    • withCoverage

      public ClaimResponse withCoverage(Collection<ClaimResponseCoverage> values)
    • withText

      public ClaimResponse withText(Narrative value)
      Overrides:
      withText in class DomainResource
    • withContained

      public ClaimResponse withContained(ResourceContainer... values)
      Overrides:
      withContained in class DomainResource
    • withContained

      public ClaimResponse withContained(Collection<ResourceContainer> values)
      Overrides:
      withContained in class DomainResource
    • withExtension

      public ClaimResponse withExtension(Extension... values)
      Overrides:
      withExtension in class DomainResource
    • withExtension

      public ClaimResponse withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class DomainResource
    • withModifierExtension

      public ClaimResponse withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class DomainResource
    • withModifierExtension

      public ClaimResponse withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class DomainResource
    • withId

      public ClaimResponse withId(Id value)
      Overrides:
      withId in class DomainResource
    • withMeta

      public ClaimResponse withMeta(Meta value)
      Overrides:
      withMeta in class DomainResource
    • withImplicitRules

      public ClaimResponse withImplicitRules(Uri value)
      Overrides:
      withImplicitRules in class DomainResource
    • withLanguage

      public ClaimResponse withLanguage(Code value)
      Overrides:
      withLanguage in class DomainResource
    • 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 DomainResource
    • equals

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

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

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

      public void setIdentifier(List<Identifier> value)
    • setItem

      public void setItem(List<ClaimResponseItem> value)
    • setAddItem

      public void setAddItem(List<ClaimResponseAddItem> value)
    • setError

      public void setError(List<ClaimResponseError> value)
    • setNote

      public void setNote(List<ClaimResponseNote> value)
    • setCoverage

      public void setCoverage(List<ClaimResponseCoverage> value)