ISPatientCard.CardNumber

Description

The patient's card number.

Syntax

object.CardNumber

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

Return Value

string

Example

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

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

Profile.MsgBox(aMessage)   
Note:

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

Version information

Added in v7.8.0