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 classPaymentNotice.Builder
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static PaymentNotice.Builderbuilder()booleanequals(Object obj)MoneygetAmount()The amount sent to the payee.DateTimegetCreated()The date when this resource was created.List<Identifier>getIdentifier()A unique identifier assigned to this payment notice.ReferencegetPayee()The party who will receive or has received payment that is the subject of this notification.ReferencegetPayment()A reference to the payment which is the subject of this notice.DategetPaymentDate()The date when the above payment action occurred.CodeableConceptgetPaymentStatus()A code indicating whether payment has been sent or cleared.ReferencegetProvider()The practitioner who is responsible for the services rendered to the patient.ReferencegetRecipient()The party who is notified of the payment status.ReferencegetRequest()Reference of resource for which payment is being made.ReferencegetResponse()Reference of response to resource for which payment is being made.PaymentNoticeStatusgetStatus()The status of the resource instance.booleanhasChildren()inthashCode()PaymentNotice.BuildertoBuilder()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 List<Identifier> getIdentifier()
A unique identifier assigned to this payment notice.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public PaymentNoticeStatus getStatus()
The status of the resource instance.- Returns:
- An immutable object of type
PaymentNoticeStatusthat is non-null.
-
getRequest
public Reference getRequest()
Reference of resource for which payment is being made.- Returns:
- An immutable object of type
Referencethat may be null.
-
getResponse
public Reference getResponse()
Reference of response to resource for which payment is being made.- Returns:
- An immutable object of type
Referencethat may be null.
-
getCreated
public DateTime getCreated()
The date when this resource was created.- Returns:
- An immutable object of type
DateTimethat 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
Referencethat 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
Referencethat is non-null.
-
getPaymentDate
public Date getPaymentDate()
The date when the above payment action occurred.- Returns:
- An immutable object of type
Datethat 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
Referencethat may be null.
-
getRecipient
public Reference getRecipient()
The party who is notified of the payment status.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getAmount
public Money getAmount()
The amount sent to the payee.- Returns:
- An immutable object of type
Moneythat is non-null.
-
getPaymentStatus
public CodeableConcept getPaymentStatus()
A code indicating whether payment has been sent or cleared.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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
-
toBuilder
public PaymentNotice.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static PaymentNotice.Builder builder()
-
-