Class PaymentNotice

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class PaymentNotice
    extends DomainResource
    This resource provides the status of the payment for goods and services rendered, and the request and response resource references.

    Maturity level: FMM2 (Trial Use)

    • Method Detail

      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        A unique identifier assigned to this payment notice.
        Returns:
        An unmodifiable list containing immutable objects of type Identifier that may be empty.
      • getRequest

        public Reference getRequest()
        Reference of resource for which payment is being made.
        Returns:
        An immutable object of type Reference that may be null.
      • getResponse

        public Reference getResponse()
        Reference of response to resource for which payment is being made.
        Returns:
        An immutable object of type Reference that may be null.
      • getCreated

        public DateTime getCreated()
        The date when this resource was created.
        Returns:
        An immutable object of type DateTime that is non-null.
      • getProvider

        public Reference getProvider()
        The practitioner who is responsible for the services rendered to the patient.
        Returns:
        An immutable object of type Reference that may be null.
      • getPayment

        public Reference getPayment()
        A reference to the payment which is the subject of this notice.
        Returns:
        An immutable object of type Reference that is non-null.
      • getPaymentDate

        public Date getPaymentDate()
        The date when the above payment action occurred.
        Returns:
        An immutable object of type Date that may be null.
      • getPayee

        public Reference getPayee()
        The party who will receive or has received payment that is the subject of this notification.
        Returns:
        An immutable object of type Reference that may be null.
      • getRecipient

        public Reference getRecipient()
        The party who is notified of the payment status.
        Returns:
        An immutable object of type Reference that is non-null.
      • getAmount

        public Money getAmount()
        The amount sent to the payee.
        Returns:
        An immutable object of type Money that is non-null.
      • getPaymentStatus

        public CodeableConcept getPaymentStatus()
        A code indicating whether payment has been sent or cleared.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object