Class ChargeItem
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.ChargeItem
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class ChargeItem extends DomainResource
The resource ChargeItem describes the provision of healthcare provider products for a certain patient, therefore referring not only to the product, but containing in addition details of the provision, like date, time, amounts and participating organizations and persons. Main Usage of the ChargeItem is to enable the billing process and internal cost allocation.Maturity level: FMM0 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChargeItem.Builder
static class
ChargeItem.Performer
Indicates who or what performed or participated in the charged service.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.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 ChargeItem.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.List<Reference>
getAccount()
Account into which this ChargeItems belongs.java.util.List<CodeableConcept>
getBodysite()
The anatomical location where the related service has been applied.CodeableConcept
getCode()
A code that identifies the charge, like a billing code.Reference
getContext()
The encounter or episode of care that establishes the context for this event.Reference
getCostCenter()
The financial cost center permits the tracking of charge attribution.java.util.List<Canonical>
getDefinitionCanonical()
References the source of pricing information, rules of application for the code this ChargeItem uses.java.util.List<Uri>
getDefinitionUri()
References the (external) source of pricing information, rules of application for the code this ChargeItem uses.DateTime
getEnteredDate()
Date the charge item was entered.Reference
getEnterer()
The device, practitioner, etc.Decimal
getFactorOverride()
Factor overriding the factor determined by the rules associated with the code.java.util.List<Identifier>
getIdentifier()
Identifiers assigned to this event performer or other systems.java.util.List<Annotation>
getNote()
Comments made about the event by the performer, subject or other participants.Element
getOccurrence()
Date/time(s) or duration when the charged service was applied.String
getOverrideReason()
If the list price or the rule-based factor associated with the code is overridden, this attribute can capture a text to indicate the reason for this action.java.util.List<Reference>
getPartOf()
ChargeItems can be grouped to larger ChargeItems covering the whole set.java.util.List<ChargeItem.Performer>
getPerformer()
Indicates who or what performed or participated in the charged service.Reference
getPerformingOrganization()
The organization requesting the service.Money
getPriceOverride()
Total price of the charge overriding the list price associated with the code.Element
getProduct()
Identifies the device, food, drug or other product being charged either by type code or reference to an instance.Quantity
getQuantity()
Quantity of which the charge item has been serviced.java.util.List<CodeableConcept>
getReason()
Describes why the event occurred in coded or textual form.Reference
getRequestingOrganization()
The organization performing the service.java.util.List<Reference>
getService()
Indicated the rendered service that caused this charge.ChargeItemStatus
getStatus()
The current state of the ChargeItem.Reference
getSubject()
The individual or set of individuals the action is being or was performed on.java.util.List<Reference>
getSupportingInformation()
Further information supporting this charge.boolean
hasChildren()
int
hashCode()
ChargeItem.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Identifiers assigned to this event performer or other systems.- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that may be empty.
-
getDefinitionUri
public java.util.List<Uri> getDefinitionUri()
References the (external) source of pricing information, rules of application for the code this ChargeItem uses.- Returns:
- An unmodifiable list containing immutable objects of type
Uri
that may be empty.
-
getDefinitionCanonical
public java.util.List<Canonical> getDefinitionCanonical()
References the source of pricing information, rules of application for the code this ChargeItem uses.- Returns:
- An unmodifiable list containing immutable objects of type
Canonical
that may be empty.
-
getStatus
public ChargeItemStatus getStatus()
The current state of the ChargeItem.- Returns:
- An immutable object of type
ChargeItemStatus
that is non-null.
-
getPartOf
public java.util.List<Reference> getPartOf()
ChargeItems can be grouped to larger ChargeItems covering the whole set.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getCode
public CodeableConcept getCode()
A code that identifies the charge, like a billing code.- Returns:
- An immutable object of type
CodeableConcept
that is non-null.
-
getSubject
public Reference getSubject()
The individual or set of individuals the action is being or was performed on.- Returns:
- An immutable object of type
Reference
that is non-null.
-
getContext
public Reference getContext()
The encounter or episode of care that establishes the context for this event.- Returns:
- An immutable object of type
Reference
that may be null.
-
getOccurrence
public Element getOccurrence()
Date/time(s) or duration when the charged service was applied.
-
getPerformer
public java.util.List<ChargeItem.Performer> getPerformer()
Indicates who or what performed or participated in the charged service.- Returns:
- An unmodifiable list containing immutable objects of type
ChargeItem.Performer
that may be empty.
-
getPerformingOrganization
public Reference getPerformingOrganization()
The organization requesting the service.- Returns:
- An immutable object of type
Reference
that may be null.
-
getRequestingOrganization
public Reference getRequestingOrganization()
The organization performing the service.- Returns:
- An immutable object of type
Reference
that may be null.
-
getCostCenter
public Reference getCostCenter()
The financial cost center permits the tracking of charge attribution.- Returns:
- An immutable object of type
Reference
that may be null.
-
getQuantity
public Quantity getQuantity()
Quantity of which the charge item has been serviced.- Returns:
- An immutable object of type
Quantity
that may be null.
-
getBodysite
public java.util.List<CodeableConcept> getBodysite()
The anatomical location where the related service has been applied.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getFactorOverride
public Decimal getFactorOverride()
Factor overriding the factor determined by the rules associated with the code.- Returns:
- An immutable object of type
Decimal
that may be null.
-
getPriceOverride
public Money getPriceOverride()
Total price of the charge overriding the list price associated with the code.- Returns:
- An immutable object of type
Money
that may be null.
-
getOverrideReason
public String getOverrideReason()
If the list price or the rule-based factor associated with the code is overridden, this attribute can capture a text to indicate the reason for this action.- Returns:
- An immutable object of type
String
that may be null.
-
getEnterer
public Reference getEnterer()
The device, practitioner, etc. who entered the charge item.- Returns:
- An immutable object of type
Reference
that may be null.
-
getEnteredDate
public DateTime getEnteredDate()
Date the charge item was entered.- Returns:
- An immutable object of type
DateTime
that may be null.
-
getReason
public java.util.List<CodeableConcept> getReason()
Describes why the event occurred in coded or textual form.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getService
public java.util.List<Reference> getService()
Indicated the rendered service that caused this charge.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getProduct
public Element getProduct()
Identifies the device, food, drug or other product being charged either by type code or reference to an instance.- Returns:
- An immutable object of type
Reference
orCodeableConcept
that may be null.
-
getAccount
public java.util.List<Reference> getAccount()
Account into which this ChargeItems belongs.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getNote
public java.util.List<Annotation> getNote()
Comments made about the event by the performer, subject or other participants.- Returns:
- An unmodifiable list containing immutable objects of type
Annotation
that may be empty.
-
getSupportingInformation
public java.util.List<Reference> getSupportingInformation()
Further information supporting this charge.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
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 ChargeItem.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 ChargeItem.Builder builder()
-
-