Last Updated: 7/22/2025 8:42:49 PM

Intergy Version: 22.00.00.00

ChargeActivity

Table Definition  Parent Tables  Child Tables

Table Definition

Description: This table is used to record the activities against a charge.

Field Datatype Default Null Option Comment
ChargeSID INTEGER ?   MANDATORY FK
ActivityCount INTEGER 0   MANDATORY Programmatically set to the next sequential number that represents the next activity that occurred against the charge.
ActivityType CHARACTER(3)   MANDATORY Programmatically set type of activity. Possible values are: ADJ - Adjustment, CHG - Create Charge , CVD - Charge Void , EDT - Edit Charge After Billed , IBL - Insurance Bill , PMT - Payment Assignment , PRV -Payment Reversal, PVD - Payment Void , RBL - Insurance Rebill, UBL - Insurance Unbill , UNC - Unapplied Credit Assignment , URV - Unapplied Credit Reversal and XFR - Transfer. Values are obtained from the lookup type ChargeActivityType.
SourceType CHARACTER(1)   MANDATORY Programmatically set source of activity. Possible values: (I)nsurance , (G)uarantor and (P)ractice.
SourceID INTEGER ?   OPTIONAL Programmatically set foreign key of the activity source.
JournalSID INTEGER ?   OPTIONAL FK
PostDate DATE   OPTIONAL FK
Amount DECIMAL(10,2) 0   OPTIONAL User entered amount.
TimeStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was last written.
LastUser INTEGER ?   OPTIONAL User ID of user that last wrote the record.
CreateStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was created.
CreateUser INTEGER ?   OPTIONAL User ID of user that created the record.
AccountSID INTEGER ?   MANDATORY System generated unique id using the Account sequence.
PatientStatement CHARACTER(1)   MANDATORY Flag to indicate if the charge has been put on a statement to the patient.
DisplayText CHARACTER(60)   OPTIONAL System defined text.
CreateMethod CHARACTER(1) M   MANDATORY System set field which indicates the method by which the activity record was created. Possible values are: (M)anual and (E)RS
DNPracticeID INTEGER ?   OPTIONAL Denormalized from Charge.

Parent Tables
Parent TableJoin PhraseWhen deleting parent record...
Account ChargeActivity.AccountSID = Account.AccountSID RESTRICT if ChargeActivity exists
Charge ChargeActivity.ChargeSID = Charge.ChargeSID CASCADE if ChargeActivity exists

Child Tables
Child TableJoin PhraseWhen deleting ChargeActivity record...
ChargeActivityNote ChargeActivityNote.ChargeSID = ChargeActivity.ChargeSID and
ChargeActivityNote.ActivityCount = ChargeActivity.ActivityCount
CASCADE if ChargeActivityNote exists
PaymentAssignment PaymentAssignment.ChargeSID = ChargeActivity.ChargeSID and
PaymentAssignment.ActivityCount = ChargeActivity.ActivityCount
CASCADE if PaymentAssignment exists
ResponsibilityTransfer ResponsibilityTransfer.ChargeSID = ChargeActivity.ChargeSID and
ResponsibilityTransfer.ActivityCount = ChargeActivity.ActivityCount
CASCADE if ResponsibilityTransfer exists
Adjustment Adjustment.ChargeSID = ChargeActivity.ChargeSID and
Adjustment.ActivityCount = ChargeActivity.ActivityCount
CASCADE if Adjustment exists
PaymentReversal PaymentReversal.ChargeSID = ChargeActivity.ChargeSID and
PaymentReversal.ActivityCount = ChargeActivity.ActivityCount
CASCADE if PaymentReversal exists