Class 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)

    • 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.
      • 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.
        Returns:
        An immutable object of type DateTime, Period or Timing that may be null.
      • 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 or CodeableConcept 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.
      • 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 interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object