ISPatientCard.ExpiryDate

Description

The patient's card expiry date.

Syntax

object.ExpiryDate

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

Return Value

DateTime

Example

Display the number of the patient's cards, their type and expiry date.

Dim aPatient  
Dim aCards
Dim aCard
Dim aMessage

Set aPatient = Profile.SelectPatient 
set aCards = aPatient.Cards
aMessage = "Cards Count = " & aCards.Count

for i = 0 to aCards.Count - 1
  set aCard = aCards.Item(i)
  aMessage = aMessage & vbNewLine
  aMessage = aMessage & aCard.CardType & ": " & aCard.ExpiryDate
next

Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface Cards Expiry Date can be found in Patient > Alter Patient > Financial > Health Plans and Cards > Expiry field.

Version information

Added in v7.8.0