ISWCBFormHistoryItem.Date

Description

The date when the service linked to WCB F8/11 Form was claimed.

Syntax

object.Date()

Part Attribute Type Description
object Required
The object always implements the ISWCBFormHistoryItem interface

Return Value

DateTime

Example

Display the number of WCB F8/11 Form history items and some information about them, including the dates when the services linked to the form were claimed.

Dim aWCBFormHistory
Dim aWCBFormHistoryItem
Dim aService
Dim aMessage
Dim i   

Set aWCBFormHistory = Profile.CollectWCBFormHistory(5840)

aMessage = "WCB Form History Items Count: " & aWCBFormHistory.Count & vbNewLine

for i = 0 to aWCBFormHistory.Count - 1
  set aWCBFormHistoryItem = aWCBFormHistory.Item(i)
  set aService = Profile.LoadServiceByID(aWCBFormHistoryItem.ServiceID) 
  aMessage = aMessage & vbNewLine & (i + 1) & ". " &_
    "Date: " & aWCBFormHistoryItem.Date & vbNewLine &_
    "Amount: " & aWCBFormHistoryItem.Amount & vbNewLine &_
    "Paid: " & aWCBFormHistoryItem.Paid & vbNewLine &_
    "EForm Code ID: " & aWCBFormHistoryItem.EFormCodeID & vbNewLine &_
    "Service: " &  aService.Description & vbNewLine &_
    "Is Claimed: " & aWCBFormHistoryItem.States.IsClaimed & vbNewLine &_
    "Is Paid: " & aWCBFormHistoryItem.States.IsPaid & vbNewLine  
next

Profile.MsgBox(aMessage)       
Note:

In Profile Client v8 on User Interface Date can be found in Clinical > Medical Record > Forms > Form F8/11 > Tracking > First Claimed.

Version information

Added in v7.8.0