public class Invoice extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Invoice.InvoiceLineItemComponent |
static class |
Invoice.InvoiceLineItemPriceComponentComponent |
static class |
Invoice.InvoiceParticipantComponent |
static class |
Invoice.InvoicePriceComponentType |
static class |
Invoice.InvoicePriceComponentTypeEnumFactory |
static class |
Invoice.InvoiceStatus |
static class |
Invoice.InvoiceStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
account
Account which is supposed to be balanced with this Invoice.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ACCOUNT
Fluent Client search parameter constant for account
|
protected Account |
accountTarget
The actual object that is the target of the reference (Account which is supposed to be balanced with this Invoice.)
|
protected StringType |
cancelledReason
In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).
|
protected DateTimeType |
date
Date/time(s) of when this Invoice was posted.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected List<Identifier> |
identifier
Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ACCOUNT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ISSUER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected Reference |
issuer
The organizationissuing the Invoice.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ISSUER
Fluent Client search parameter constant for issuer
|
protected Organization |
issuerTarget
The actual object that is the target of the reference (The organizationissuing the Invoice.)
|
protected List<Invoice.InvoiceLineItemComponent> |
lineItem
Each line item represents one charge for goods and services rendered.
|
protected List<Annotation> |
note
Comments made about the invoice by the issuer, subject, or other participants.
|
protected List<Invoice.InvoiceParticipantComponent> |
participant
Indicates who or what performed or participated in the charged service.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PARTICIPANT
Fluent Client search parameter constant for participant
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PARTICIPANT_ROLE
Fluent Client search parameter constant for participant-role
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected MarkdownType |
paymentTerms
Payment details such as banking details, period of payment, deductibles, methods of payment.
|
protected Reference |
recipient
The individual or Organization responsible for balancing of this invoice.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
RECIPIENT
Fluent Client search parameter constant for recipient
|
protected Resource |
recipientTarget
The actual object that is the target of the reference (The individual or Organization responsible for balancing of this invoice.)
|
static String |
SP_ACCOUNT
Search parameter: account
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_ISSUER
Search parameter: issuer
|
static String |
SP_PARTICIPANT
Search parameter: participant
|
static String |
SP_PARTICIPANT_ROLE
Search parameter: participant-role
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_RECIPIENT
Search parameter: recipient
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_TOTALGROSS
Search parameter: totalgross
|
static String |
SP_TOTALNET
Search parameter: totalnet
|
static String |
SP_TYPE
Search parameter: type
|
protected Enumeration<Invoice.InvoiceStatus> |
status
The current state of the Invoice.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Reference |
subject
The individual or set of individuals receiving the goods and services billed in this invoice.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
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.)
|
protected Money |
totalGross
Invoice total, tax included.
|
static ca.uhn.fhir.rest.gclient.QuantityClientParam |
TOTALGROSS
Fluent Client search parameter constant for totalgross
|
protected Money |
totalNet
Invoice total , taxes excluded.
|
static ca.uhn.fhir.rest.gclient.QuantityClientParam |
TOTALNET
Fluent Client search parameter constant for totalnet
|
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.
|
protected CodeableConcept |
type
Type of Invoice depending on domain, realm an usage (e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Invoice()
Constructor
|
Invoice(Enumeration<Invoice.InvoiceStatus> status)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Invoice.InvoiceStatus> status
protected StringType cancelledReason
protected CodeableConcept type
protected Reference subject
protected Resource subjectTarget
protected Reference recipient
protected Resource recipientTarget
protected DateTimeType date
protected List<Invoice.InvoiceParticipantComponent> participant
protected Organization issuerTarget
protected Account accountTarget
protected List<Invoice.InvoiceLineItemComponent> lineItem
protected List<Invoice.InvoiceLineItemPriceComponentComponent> totalPriceComponent
protected Money totalGross
protected MarkdownType paymentTerms
protected List<Annotation> note
public static final String SP_DATE
Description: Invoice date / posting date
Type: date
Path: Invoice.date
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description: Invoice date / posting date
Type: date
Path: Invoice.date
public static final String SP_IDENTIFIER
Description: Business Identifier for item
Type: token
Path: Invoice.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Business Identifier for item
Type: token
Path: Invoice.identifier
public static final String SP_TOTALGROSS
Description: Gross total of this Invoice
Type: quantity
Path: Invoice.totalGross
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam TOTALGROSS
Description: Gross total of this Invoice
Type: quantity
Path: Invoice.totalGross
public static final String SP_SUBJECT
Description: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_PARTICIPANT_ROLE
Description: Type of involvement in creation of this Invoice
Type: token
Path: Invoice.participant.role
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PARTICIPANT_ROLE
Description: Type of involvement in creation of this Invoice
Type: token
Path: Invoice.participant.role
public static final String SP_TYPE
Description: Type of Invoice
Type: token
Path: Invoice.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: Type of Invoice
Type: token
Path: Invoice.type
public static final String SP_ISSUER
Description: Issuing Organization of Invoice
Type: reference
Path: Invoice.issuer
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ISSUER
Description: Issuing Organization of Invoice
Type: reference
Path: Invoice.issuer
public static final ca.uhn.fhir.model.api.Include INCLUDE_ISSUER
public static final String SP_PARTICIPANT
Description: Individual who was involved
Type: reference
Path: Invoice.participant.actor
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT
Description: Individual who was involved
Type: reference
Path: Invoice.participant.actor
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT
public static final String SP_TOTALNET
Description: Net total of this Invoice
Type: quantity
Path: Invoice.totalNet
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam TOTALNET
Description: Net total of this Invoice
Type: quantity
Path: Invoice.totalNet
public static final String SP_PATIENT
Description: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Recipient(s) of goods and services
Type: reference
Path: Invoice.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_RECIPIENT
Description: Recipient of this invoice
Type: reference
Path: Invoice.recipient
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECIPIENT
Description: Recipient of this invoice
Type: reference
Path: Invoice.recipient
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECIPIENT
public static final String SP_ACCOUNT
Description: Account that is being balanced
Type: reference
Path: Invoice.account
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACCOUNT
Description: Account that is being balanced
Type: reference
Path: Invoice.account
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACCOUNT
public static final String SP_STATUS
Description: draft | issued | balanced | cancelled | entered-in-error
Type: token
Path: Invoice.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: draft | issued | balanced | cancelled | entered-in-error
Type: token
Path: Invoice.status
public Invoice()
public Invoice(Enumeration<Invoice.InvoiceStatus> status)
public List<Identifier> getIdentifier()
identifier (Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.)public Invoice setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Invoice addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<Invoice.InvoiceStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Invoice setStatusElement(Enumeration<Invoice.InvoiceStatus> value)
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 valuepublic Invoice.InvoiceStatus getStatus()
public Invoice setStatus(Invoice.InvoiceStatus value)
value - The current state of the Invoice.public StringType getCancelledReasonElement()
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 valuepublic boolean hasCancelledReasonElement()
public boolean hasCancelledReason()
public Invoice setCancelledReasonElement(StringType value)
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 valuepublic String getCancelledReason()
public Invoice setCancelledReason(String value)
value - In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).public CodeableConcept getType()
type (Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary).)public boolean hasType()
public Invoice setType(CodeableConcept value)
value - type (Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary).)public Reference getSubject()
subject (The individual or set of individuals receiving the goods and services billed in this invoice.)public boolean hasSubject()
public Invoice setSubject(Reference value)
value - subject (The individual or set of individuals receiving the goods and services billed in this invoice.)public Resource getSubjectTarget()
subject The 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.)public Invoice setSubjectTarget(Resource value)
value - subject The 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.)public Reference getRecipient()
recipient (The individual or Organization responsible for balancing of this invoice.)public boolean hasRecipient()
public Invoice setRecipient(Reference value)
value - recipient (The individual or Organization responsible for balancing of this invoice.)public Resource getRecipientTarget()
recipient The 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.)public Invoice setRecipientTarget(Resource value)
value - recipient The 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.)public DateTimeType getDateElement()
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 valuepublic boolean hasDateElement()
public boolean hasDate()
public Invoice setDateElement(DateTimeType value)
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 valuepublic Invoice setDate(Date value)
value - Date/time(s) of when this Invoice was posted.public List<Invoice.InvoiceParticipantComponent> getParticipant()
participant (Indicates who or what performed or participated in the charged service.)public Invoice setParticipant(List<Invoice.InvoiceParticipantComponent> theParticipant)
this for easy method chainingpublic boolean hasParticipant()
public Invoice.InvoiceParticipantComponent addParticipant()
public Invoice addParticipant(Invoice.InvoiceParticipantComponent t)
public Invoice.InvoiceParticipantComponent getParticipantFirstRep()
participant, creating it if it does not already existpublic boolean hasIssuer()
public Invoice setIssuer(Reference value)
value - issuer (The organizationissuing the Invoice.)public Organization getIssuerTarget()
issuer The 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.)public Invoice setIssuerTarget(Organization value)
value - issuer The 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.)public Reference getAccount()
account (Account which is supposed to be balanced with this Invoice.)public boolean hasAccount()
public Invoice setAccount(Reference value)
value - account (Account which is supposed to be balanced with this Invoice.)public Account getAccountTarget()
account The 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.)public Invoice setAccountTarget(Account value)
value - account The 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.)public List<Invoice.InvoiceLineItemComponent> getLineItem()
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.)public Invoice setLineItem(List<Invoice.InvoiceLineItemComponent> theLineItem)
this for easy method chainingpublic boolean hasLineItem()
public Invoice.InvoiceLineItemComponent addLineItem()
public Invoice addLineItem(Invoice.InvoiceLineItemComponent t)
public Invoice.InvoiceLineItemComponent getLineItemFirstRep()
lineItem, creating it if it does not already existpublic List<Invoice.InvoiceLineItemPriceComponentComponent> getTotalPriceComponent()
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.)public Invoice setTotalPriceComponent(List<Invoice.InvoiceLineItemPriceComponentComponent> theTotalPriceComponent)
this for easy method chainingpublic boolean hasTotalPriceComponent()
public Invoice.InvoiceLineItemPriceComponentComponent addTotalPriceComponent()
public Invoice addTotalPriceComponent(Invoice.InvoiceLineItemPriceComponentComponent t)
public Invoice.InvoiceLineItemPriceComponentComponent getTotalPriceComponentFirstRep()
totalPriceComponent, creating it if it does not already existpublic Money getTotalNet()
totalNet (Invoice total , taxes excluded.)public boolean hasTotalNet()
public Invoice setTotalNet(Money value)
value - totalNet (Invoice total , taxes excluded.)public Money getTotalGross()
totalGross (Invoice total, tax included.)public boolean hasTotalGross()
public Invoice setTotalGross(Money value)
value - totalGross (Invoice total, tax included.)public MarkdownType getPaymentTermsElement()
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 valuepublic boolean hasPaymentTermsElement()
public boolean hasPaymentTerms()
public Invoice setPaymentTermsElement(MarkdownType value)
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 valuepublic String getPaymentTerms()
public Invoice setPaymentTerms(String value)
value - Payment details such as banking details, period of payment, deductibles, methods of payment.public List<Annotation> getNote()
note (Comments made about the invoice by the issuer, subject, or other participants.)public Invoice setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public Invoice addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic Invoice copy()
copy in class DomainResourcepublic void copyValues(Invoice dst)
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.