Package com.ibm.fhir.model.resource
Class PaymentNotice
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentNotice.Builder
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static PaymentNotice.Builder
builder()
boolean
equals(java.lang.Object obj)
Money
getAmount()
The amount sent to the payee.DateTime
getCreated()
The date when this resource was created.java.util.List<Identifier>
getIdentifier()
A unique identifier assigned to this payment notice.Reference
getPayee()
The party who will receive or has received payment that is the subject of this notification.Reference
getPayment()
A reference to the payment which is the subject of this notice.Date
getPaymentDate()
The date when the above payment action occurred.CodeableConcept
getPaymentStatus()
A code indicating whether payment has been sent or cleared.Reference
getProvider()
The practitioner who is responsible for the services rendered to the patient.Reference
getRecipient()
The party who is notified of the payment status.Reference
getRequest()
Reference of resource for which payment is being made.Reference
getResponse()
Reference of response to resource for which payment is being made.PaymentNoticeStatus
getStatus()
The status of the resource instance.boolean
hasChildren()
int
hashCode()
PaymentNotice.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
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.
-
getStatus
public PaymentNoticeStatus getStatus()
The status of the resource instance.- Returns:
- An immutable object of type
PaymentNoticeStatus
that is non-null.
-
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.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
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 interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public PaymentNotice.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static PaymentNotice.Builder builder()
-
-