ISPatientCard.Reference

Description

The reference number of the patient's card.

Syntax

object.Reference

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

Return Value

string

Example

Display the reference number of the patient's card.

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.Reference
next

Profile.MsgBox(aMessage)   
Note:

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

Version information

Added in v7.8.0