Data Model Libraries
    Preparing search index...

    Invoice Class

    Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.

    FHIR Specification

    • Short: Invoice containing ChargeItems from an Account
    • Definition: Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getStatusEnumType setStatusEnumType hasStatusEnumType getStatusElement setStatusElement hasStatusElement getStatus setStatus hasStatus getCancelledReasonElement setCancelledReasonElement hasCancelledReasonElement getCancelledReason setCancelledReason hasCancelledReason getType setType hasType getSubject setSubject hasSubject getRecipient setRecipient hasRecipient getDateElement setDateElement hasDateElement getDate setDate hasDate getParticipant setParticipant addParticipant hasParticipant getIssuer setIssuer hasIssuer getAccount setAccount hasAccount getLineItem setLineItem addLineItem hasLineItem getTotalPriceComponent setTotalPriceComponent addTotalPriceComponent hasTotalPriceComponent getTotalNet setTotalNet hasTotalNet getTotalGross setTotalGross hasTotalGross getPaymentTermsElement setPaymentTermsElement hasPaymentTermsElement getPaymentTerms setPaymentTerms hasPaymentTerms getNote setNote addNote hasNote fhirType isEmpty isRequiredFieldsEmpty copy toJSON getText setText hasText getContained setContained addContained hasContained getExtension setExtension hasExtension getExtensionByUrl addExtension removeExtension getModifierExtension setModifierExtension hasModifierExtension getModifierExtensionByUrl addModifierExtension removeModifierExtension resourceType getIdElement setIdElement hasIdElement getId setId hasId getMeta setMeta hasMeta getImplicitRulesElement setImplicitRulesElement hasImplicitRulesElement getImplicitRules setImplicitRules hasImplicitRules getLanguageElement setLanguageElement hasLanguageElement getLanguage setLanguage hasLanguage isResource isDataType isComplexDataType isPrimitive isBooleanPrimitive isStringPrimitive isNumberPrimitive isBigIntPrimitive isDateTimePrimitive copyValues initIdentifier initParticipant initLineItem initTotalPriceComponent initNote

    Constructors

    Properties

    identifier?: Identifier[]

    Invoice.identifier Element

    FHIR Specification

    • Short: Business Identifier for item
    • Definition: Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.
    • Requirements: Allows Identification of this Invoice instance.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    invoiceStatusEnum: InvoiceStatusEnum

    FHIR CodeSystem: InvoiceStatus

    status: null | EnumCodeType

    Invoice.status Element

    FHIR Specification

    • Short: draft | issued | balanced | cancelled | entered-in-error
    • Definition: The current state of the Invoice.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: true
    • isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    • isSummary: true

    CodeSystem Enumeration: InvoiceStatusEnum

    cancelledReason?: StringType

    Invoice.cancelledReason Element

    FHIR Specification

    • Short: Reason for cancellation of this Invoice
    • Definition: In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.).
    • Comment: Derived Profiles may choose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Invoice.type Element

    FHIR Specification

    • Short: Type of Invoice
    • Definition: Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary).
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    subject?: Reference

    Invoice.subject Element

    FHIR Specification

    recipient?: Reference

    Invoice.recipient Element

    FHIR Specification

    Invoice.date Element

    FHIR Specification

    • Short: Invoice date / posting date
    • Definition: Date/time(s) of when this Invoice was posted.
    • Comment: The list of types may be constrained as appropriate for the type of charge item.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    Invoice.participant Element

    FHIR Specification

    • Short: Participant in creation of this Invoice
    • Definition: Indicates who or what performed or participated in the charged service.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    issuer?: Reference

    Invoice.issuer Element

    FHIR Specification

    • Short: Issuing Organization of Invoice
    • Definition: The organizationissuing the Invoice.
    • Comment: Practitioners and Devices can be associated with multiple organizations. It has to be made clear, on behalf of which Organization the services have been rendered.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    account?: Reference

    Invoice.account Element

    FHIR Specification

    • Short: Account that is being balanced
    • Definition: Account which is supposed to be balanced with this Invoice.
    • Comment: Systems posting the ChargeItems might not always be able to determine, which accounts the Items need to be places into. It is up to the potprocessing Financial System to apply internal rules to decide based on the Encounter/EpisodeOfCare/Patient/Coverage context and the type of ChargeItem, which Account is appropriate.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Invoice.lineItem Element

    FHIR Specification

    • Short: Line items of this Invoice
    • Definition: 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.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Invoice.totalPriceComponent Element

    FHIR Specification

    • Short: Components of Invoice total
    • Definition: 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.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    totalNet?: Money

    Invoice.totalNet Element

    FHIR Specification

    • Short: Net total of this Invoice
    • Definition: Invoice total , taxes excluded.
    • Comment: There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden.
    • FHIR Type: Money
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    totalGross?: Money

    Invoice.totalGross Element

    FHIR Specification

    • Short: Gross total of this Invoice
    • Definition: Invoice total, tax included.
    • Comment: There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden.
    • FHIR Type: Money
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    paymentTerms?: MarkdownType

    Invoice.paymentTerms Element

    FHIR Specification

    • Short: Payment details
    • Definition: Payment details such as banking details, period of payment, deductibles, methods of payment.
    • Comment: Derived Profiles may chose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    note?: Annotation[]

    Invoice.note Element

    FHIR Specification

    • Short: Comments made about the invoice
    • Definition: Comments made about the invoice by the issuer, subject, or other participants.
    • FHIR Type: Annotation
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

    • Parse the provided Invoice JSON to instantiate the Invoice data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR Invoice

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to Invoice

      Returns undefined | Invoice

      Invoice data model or undefined for Invoice

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided value to the text property.

      Parameters

      Returns this

      this

    • Returns boolean

      true if the text property exists and has a value; false otherwise

    • Assigns the provided Resource array value to the contained property.

      Parameters

      • value: undefined | IResource[]

        the contained array value

      Returns this

      this

    • Returns boolean

      true if the contained property exists and has a value; false otherwise

    • Assigns the provided array of Extension values to the extension property.

      Parameters

      • extension: undefined | IExtension[]

        array of Extensions

      Returns this

      this

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Assigns the provided PrimitiveType value to the id property.

      Parameters

      • element: undefined | IdType

        the id value

      Returns this

      this

    • Returns undefined | string

      the id property value as a primitive value

    • Assigns the provided primitive value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the id property exists and has a value; false otherwise

    • Assigns the provided value to the meta property.

      Parameters

      • value: undefined | Meta

        the meta value

      Returns this

      this

    • Returns boolean

      true if the meta property exists and has a value; false otherwise

    • Assigns the provided primitive value to the implicitRules property.

      Parameters

      • value: undefined | string

        the implicitRules value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns undefined | string

      the language property value as a primitive value

    • Assigns the provided primitive value to the language property.

      Parameters

      • value: undefined | string

        the language value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the language property exists and has a value; false otherwise

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise