ISPatientVers.BalanceTotal

Description

The total balance of the patient in the selected patient version.

Syntax

object.BalanceTotal

Part Attribute Type Description
object Required
The object always implements the ISPatientVers interface
Restriction: This property is readonly.

Return Value

Decimal

Example

Display the total balance of the patient in the selected patient version.

Dim aPatient  
Dim aPatientVers
Dim aMessage  

Set aPatient = Profile.SelectPatient
set aPatientVers = aPatient.VersionOnDate(#01/01/2019#)

if aPatientVers is nothing then
  aMessage = "There are no patient versions for this date!"
    
else 

  aMessage = aMessage & vbNewLine &_  
   "On 01/01/2019 the patient's total balance was " &_ 
   aPatientVers.BalanceTotal & ", now the patient's total balance is " &_ 
   aPatient.BalanceTotal
  
end if

Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface Balance Total can be found in Patient > Alter Patient > General > Show Versions > Financial > Total field.

Version information

Added in v7.8.0