Class Invoice
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.Invoice
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class Invoice extends DomainResource
Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoice.InvoiceLineItemComponentstatic classInvoice.InvoiceLineItemPriceComponentComponentstatic classInvoice.InvoiceParticipantComponentstatic classInvoice.InvoicePriceComponentTypestatic classInvoice.InvoicePriceComponentTypeEnumFactorystatic classInvoice.InvoiceStatusstatic classInvoice.InvoiceStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceaccountAccount which is supposed to be balanced with this Invoice.static ca.uhn.fhir.rest.gclient.ReferenceClientParamACCOUNTFluent Client search parameter constant for accountprotected AccountaccountTargetThe actual object that is the target of the reference (Account which is supposed to be balanced with this Invoice.)protected StringTypecancelledReasonIn case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).protected DateTimeTypedateDate/time(s) of when this Invoice was posted.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected List<Identifier>identifierIdentifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ACCOUNTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ISSUERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PARTICIPANTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RECIPIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected ReferenceissuerThe organizationissuing the Invoice.static ca.uhn.fhir.rest.gclient.ReferenceClientParamISSUERFluent Client search parameter constant for issuerprotected OrganizationissuerTargetThe actual object that is the target of the reference (The organizationissuing the Invoice.)protected List<Invoice.InvoiceLineItemComponent>lineItemEach line item represents one charge for goods and services rendered.protected List<Annotation>noteComments made about the invoice by the issuer, subject, or other participants.protected List<Invoice.InvoiceParticipantComponent>participantIndicates who or what performed or participated in the charged service.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPARTICIPANTFluent Client search parameter constant for participantstatic ca.uhn.fhir.rest.gclient.TokenClientParamPARTICIPANT_ROLEFluent Client search parameter constant for participant-rolestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected MarkdownTypepaymentTermsPayment details such as banking details, period of payment, deductibles, methods of payment.protected ReferencerecipientThe individual or Organization responsible for balancing of this invoice.static ca.uhn.fhir.rest.gclient.ReferenceClientParamRECIPIENTFluent Client search parameter constant for recipientprotected ResourcerecipientTargetThe actual object that is the target of the reference (The individual or Organization responsible for balancing of this invoice.)static StringSP_ACCOUNTSearch parameter: accountstatic StringSP_DATESearch parameter: datestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_ISSUERSearch parameter: issuerstatic StringSP_PARTICIPANTSearch parameter: participantstatic StringSP_PARTICIPANT_ROLESearch parameter: participant-rolestatic StringSP_PATIENTSearch parameter: patientstatic StringSP_RECIPIENTSearch parameter: recipientstatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBJECTSearch parameter: subjectstatic StringSP_TOTALGROSSSearch parameter: totalgrossstatic StringSP_TOTALNETSearch parameter: totalnetstatic StringSP_TYPESearch parameter: typeprotected Enumeration<Invoice.InvoiceStatus>statusThe current state of the Invoice.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected ReferencesubjectThe individual or set of individuals receiving the goods and services billed in this invoice.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected ResourcesubjectTargetThe actual object that is the target of the reference (The individual or set of individuals receiving the goods and services billed in this invoice.)protected MoneytotalGrossInvoice total, tax included.static ca.uhn.fhir.rest.gclient.QuantityClientParamTOTALGROSSFluent Client search parameter constant for totalgrossprotected MoneytotalNetInvoice total , taxes excluded.static ca.uhn.fhir.rest.gclient.QuantityClientParamTOTALNETFluent Client search parameter constant for totalnetprotected List<Invoice.InvoiceLineItemPriceComponentComponent>totalPriceComponentThe total amount for the Invoice may be calculated as the sum of the line items with surcharges/deductions that apply in certain conditions.protected CodeableConcepttypeType of Invoice depending on domain, realm an usage (e.g.static ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Invoice()ConstructorInvoice(Enumeration<Invoice.InvoiceStatus> status)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.
-
status
protected Enumeration<Invoice.InvoiceStatus> status
The current state of the Invoice.
-
cancelledReason
protected StringType cancelledReason
In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).
-
type
protected CodeableConcept type
Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary).
-
subject
protected Reference subject
The individual or set of individuals receiving the goods and services billed in this invoice.
-
subjectTarget
protected Resource subjectTarget
The actual object that is the target of the reference (The individual or set of individuals receiving the goods and services billed in this invoice.)
-
recipient
protected Reference recipient
The individual or Organization responsible for balancing of this invoice.
-
recipientTarget
protected Resource recipientTarget
The actual object that is the target of the reference (The individual or Organization responsible for balancing of this invoice.)
-
date
protected DateTimeType date
Date/time(s) of when this Invoice was posted.
-
participant
protected List<Invoice.InvoiceParticipantComponent> participant
Indicates who or what performed or participated in the charged service.
-
issuerTarget
protected Organization issuerTarget
The actual object that is the target of the reference (The organizationissuing the Invoice.)
-
accountTarget
protected Account accountTarget
The actual object that is the target of the reference (Account which is supposed to be balanced with this Invoice.)
-
lineItem
protected List<Invoice.InvoiceLineItemComponent> lineItem
Each line item represents one charge for goods and services rendered. Details such as date, code and amount are found in the referenced ChargeItem resource.
-
totalPriceComponent
protected List<Invoice.InvoiceLineItemPriceComponentComponent> totalPriceComponent
The total amount for the Invoice may be calculated as the sum of the line items with surcharges/deductions that apply in certain conditions. The priceComponent element can be used to offer transparency to the recipient of the Invoice of how the total price was calculated.
-
totalGross
protected Money totalGross
Invoice total, tax included.
-
paymentTerms
protected MarkdownType paymentTerms
Payment details such as banking details, period of payment, deductibles, methods of payment.
-
note
protected List<Annotation> note
Comments made about the invoice by the issuer, subject, or other participants.
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: Invoice date / posting date
Type: date
Path: Invoice.date
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Invoice date / posting date
Type: date
Path: Invoice.date
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: Business Identifier for item
Type: token
Path: Invoice.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Business Identifier for item
Type: token
Path: Invoice.identifier
-
SP_TOTALGROSS
public static final String SP_TOTALGROSS
Search parameter: totalgrossDescription: Gross total of this Invoice
Type: quantity
Path: Invoice.totalGross
- See Also:
- Constant Field Values
-
TOTALGROSS
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam TOTALGROSS
Fluent Client search parameter constant for totalgrossDescription: Gross total of this Invoice
Type: quantity
Path: Invoice.totalGross
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Invoice:subject".
-
SP_PARTICIPANT_ROLE
public static final String SP_PARTICIPANT_ROLE
Search parameter: participant-roleDescription: Type of involvement in creation of this Invoice
Type: token
Path: Invoice.participant.role
- See Also:
- Constant Field Values
-
PARTICIPANT_ROLE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PARTICIPANT_ROLE
Fluent Client search parameter constant for participant-roleDescription: Type of involvement in creation of this Invoice
Type: token
Path: Invoice.participant.role
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: Type of Invoice
Type: token
Path: Invoice.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: Type of Invoice
Type: token
Path: Invoice.type
-
SP_ISSUER
public static final String SP_ISSUER
Search parameter: issuerDescription: Issuing Organization of Invoice
Type: reference
Path: Invoice.issuer
- See Also:
- Constant Field Values
-
ISSUER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ISSUER
Fluent Client search parameter constant for issuerDescription: Issuing Organization of Invoice
Type: reference
Path: Invoice.issuer
-
INCLUDE_ISSUER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ISSUER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Invoice:issuer".
-
SP_PARTICIPANT
public static final String SP_PARTICIPANT
Search parameter: participantDescription: Individual who was involved
Type: reference
Path: Invoice.participant.actor
- See Also:
- Constant Field Values
-
PARTICIPANT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT
Fluent Client search parameter constant for participantDescription: Individual who was involved
Type: reference
Path: Invoice.participant.actor
-
INCLUDE_PARTICIPANT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Invoice:participant".
-
SP_TOTALNET
public static final String SP_TOTALNET
Search parameter: totalnetDescription: Net total of this Invoice
Type: quantity
Path: Invoice.totalNet
- See Also:
- Constant Field Values
-
TOTALNET
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam TOTALNET
Fluent Client search parameter constant for totalnetDescription: Net total of this Invoice
Type: quantity
Path: Invoice.totalNet
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Invoice:patient".
-
SP_RECIPIENT
public static final String SP_RECIPIENT
Search parameter: recipientDescription: Recipient of this invoice
Type: reference
Path: Invoice.recipient
- See Also:
- Constant Field Values
-
RECIPIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECIPIENT
Fluent Client search parameter constant for recipientDescription: Recipient of this invoice
Type: reference
Path: Invoice.recipient
-
INCLUDE_RECIPIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Invoice:recipient".
-
SP_ACCOUNT
public static final String SP_ACCOUNT
Search parameter: accountDescription: Account that is being balanced
Type: reference
Path: Invoice.account
- See Also:
- Constant Field Values
-
ACCOUNT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACCOUNT
Fluent Client search parameter constant for accountDescription: Account that is being balanced
Type: reference
Path: Invoice.account
-
INCLUDE_ACCOUNT
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACCOUNT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Invoice:account".
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: draft | issued | balanced | cancelled | entered-in-error
Type: token
Path: Invoice.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: draft | issued | balanced | cancelled | entered-in-error
Type: token
Path: Invoice.status
-
-
Constructor Detail
-
Invoice
public Invoice()
Constructor
-
Invoice
public Invoice(Enumeration<Invoice.InvoiceStatus> status)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.)
-
setIdentifier
public Invoice setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public Invoice addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getStatusElement
public Enumeration<Invoice.InvoiceStatus> getStatusElement()
- Returns:
status(The current state of the Invoice.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public Invoice setStatusElement(Enumeration<Invoice.InvoiceStatus> value)
- Parameters:
value-status(The current state of the Invoice.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public Invoice.InvoiceStatus getStatus()
- Returns:
- The current state of the Invoice.
-
setStatus
public Invoice setStatus(Invoice.InvoiceStatus value)
- Parameters:
value- The current state of the Invoice.
-
getCancelledReasonElement
public StringType getCancelledReasonElement()
- Returns:
cancelledReason(In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).). This is the underlying object with id, value and extensions. The accessor "getCancelledReason" gives direct access to the value
-
hasCancelledReasonElement
public boolean hasCancelledReasonElement()
-
hasCancelledReason
public boolean hasCancelledReason()
-
setCancelledReasonElement
public Invoice setCancelledReasonElement(StringType value)
- Parameters:
value-cancelledReason(In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).). This is the underlying object with id, value and extensions. The accessor "getCancelledReason" gives direct access to the value
-
getCancelledReason
public String getCancelledReason()
- Returns:
- In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).
-
setCancelledReason
public Invoice setCancelledReason(String value)
- Parameters:
value- In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).
-
getType
public CodeableConcept getType()
- Returns:
type(Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary).)
-
hasType
public boolean hasType()
-
setType
public Invoice setType(CodeableConcept value)
- Parameters:
value-type(Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary).)
-
getSubject
public Reference getSubject()
- Returns:
subject(The individual or set of individuals receiving the goods and services billed in this invoice.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public Invoice setSubject(Reference value)
- Parameters:
value-subject(The individual or set of individuals receiving the goods and services billed in this invoice.)
-
getSubjectTarget
public Resource getSubjectTarget()
- Returns:
subjectThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual or set of individuals receiving the goods and services billed in this invoice.)
-
setSubjectTarget
public Invoice setSubjectTarget(Resource value)
- Parameters:
value-subjectThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual or set of individuals receiving the goods and services billed in this invoice.)
-
getRecipient
public Reference getRecipient()
- Returns:
recipient(The individual or Organization responsible for balancing of this invoice.)
-
hasRecipient
public boolean hasRecipient()
-
setRecipient
public Invoice setRecipient(Reference value)
- Parameters:
value-recipient(The individual or Organization responsible for balancing of this invoice.)
-
getRecipientTarget
public Resource getRecipientTarget()
- Returns:
recipientThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual or Organization responsible for balancing of this invoice.)
-
setRecipientTarget
public Invoice setRecipientTarget(Resource value)
- Parameters:
value-recipientThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual or Organization responsible for balancing of this invoice.)
-
getDateElement
public DateTimeType getDateElement()
- Returns:
date(Date/time(s) of when this Invoice was posted.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public Invoice setDateElement(DateTimeType value)
- Parameters:
value-date(Date/time(s) of when this Invoice was posted.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
setDate
public Invoice setDate(Date value)
- Parameters:
value- Date/time(s) of when this Invoice was posted.
-
getParticipant
public List<Invoice.InvoiceParticipantComponent> getParticipant()
- Returns:
participant(Indicates who or what performed or participated in the charged service.)
-
setParticipant
public Invoice setParticipant(List<Invoice.InvoiceParticipantComponent> theParticipant)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParticipant
public boolean hasParticipant()
-
addParticipant
public Invoice.InvoiceParticipantComponent addParticipant()
-
addParticipant
public Invoice addParticipant(Invoice.InvoiceParticipantComponent t)
-
getParticipantFirstRep
public Invoice.InvoiceParticipantComponent getParticipantFirstRep()
- Returns:
- The first repetition of repeating field
participant, creating it if it does not already exist
-
hasIssuer
public boolean hasIssuer()
-
setIssuer
public Invoice setIssuer(Reference value)
- Parameters:
value-issuer(The organizationissuing the Invoice.)
-
getIssuerTarget
public Organization getIssuerTarget()
- Returns:
issuerThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The organizationissuing the Invoice.)
-
setIssuerTarget
public Invoice setIssuerTarget(Organization value)
- Parameters:
value-issuerThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The organizationissuing the Invoice.)
-
getAccount
public Reference getAccount()
- Returns:
account(Account which is supposed to be balanced with this Invoice.)
-
hasAccount
public boolean hasAccount()
-
setAccount
public Invoice setAccount(Reference value)
- Parameters:
value-account(Account which is supposed to be balanced with this Invoice.)
-
getAccountTarget
public Account getAccountTarget()
- Returns:
accountThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Account which is supposed to be balanced with this Invoice.)
-
setAccountTarget
public Invoice setAccountTarget(Account value)
- Parameters:
value-accountThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Account which is supposed to be balanced with this Invoice.)
-
getLineItem
public List<Invoice.InvoiceLineItemComponent> getLineItem()
- Returns:
lineItem(Each line item represents one charge for goods and services rendered. Details such as date, code and amount are found in the referenced ChargeItem resource.)
-
setLineItem
public Invoice setLineItem(List<Invoice.InvoiceLineItemComponent> theLineItem)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasLineItem
public boolean hasLineItem()
-
addLineItem
public Invoice.InvoiceLineItemComponent addLineItem()
-
addLineItem
public Invoice addLineItem(Invoice.InvoiceLineItemComponent t)
-
getLineItemFirstRep
public Invoice.InvoiceLineItemComponent getLineItemFirstRep()
- Returns:
- The first repetition of repeating field
lineItem, creating it if it does not already exist
-
getTotalPriceComponent
public List<Invoice.InvoiceLineItemPriceComponentComponent> getTotalPriceComponent()
- Returns:
totalPriceComponent(The total amount for the Invoice may be calculated as the sum of the line items with surcharges/deductions that apply in certain conditions. The priceComponent element can be used to offer transparency to the recipient of the Invoice of how the total price was calculated.)
-
setTotalPriceComponent
public Invoice setTotalPriceComponent(List<Invoice.InvoiceLineItemPriceComponentComponent> theTotalPriceComponent)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTotalPriceComponent
public boolean hasTotalPriceComponent()
-
addTotalPriceComponent
public Invoice.InvoiceLineItemPriceComponentComponent addTotalPriceComponent()
-
addTotalPriceComponent
public Invoice addTotalPriceComponent(Invoice.InvoiceLineItemPriceComponentComponent t)
-
getTotalPriceComponentFirstRep
public Invoice.InvoiceLineItemPriceComponentComponent getTotalPriceComponentFirstRep()
- Returns:
- The first repetition of repeating field
totalPriceComponent, creating it if it does not already exist
-
getTotalNet
public Money getTotalNet()
- Returns:
totalNet(Invoice total , taxes excluded.)
-
hasTotalNet
public boolean hasTotalNet()
-
setTotalNet
public Invoice setTotalNet(Money value)
- Parameters:
value-totalNet(Invoice total , taxes excluded.)
-
getTotalGross
public Money getTotalGross()
- Returns:
totalGross(Invoice total, tax included.)
-
hasTotalGross
public boolean hasTotalGross()
-
setTotalGross
public Invoice setTotalGross(Money value)
- Parameters:
value-totalGross(Invoice total, tax included.)
-
getPaymentTermsElement
public MarkdownType getPaymentTermsElement()
- Returns:
paymentTerms(Payment details such as banking details, period of payment, deductibles, methods of payment.). This is the underlying object with id, value and extensions. The accessor "getPaymentTerms" gives direct access to the value
-
hasPaymentTermsElement
public boolean hasPaymentTermsElement()
-
hasPaymentTerms
public boolean hasPaymentTerms()
-
setPaymentTermsElement
public Invoice setPaymentTermsElement(MarkdownType value)
- Parameters:
value-paymentTerms(Payment details such as banking details, period of payment, deductibles, methods of payment.). This is the underlying object with id, value and extensions. The accessor "getPaymentTerms" gives direct access to the value
-
getPaymentTerms
public String getPaymentTerms()
- Returns:
- Payment details such as banking details, period of payment, deductibles, methods of payment.
-
setPaymentTerms
public Invoice setPaymentTerms(String value)
- Parameters:
value- Payment details such as banking details, period of payment, deductibles, methods of payment.
-
getNote
public List<Annotation> getNote()
- Returns:
note(Comments made about the invoice by the issuer, subject, or other participants.)
-
setNote
public Invoice setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public Invoice addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Invoice copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(Invoice dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-