This function returns the patient's cards that are valid on the selected date.
object.ValidCardsAt(aDate)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aDate |
In, Required | DateTime |
The date the cards validation is checked
for |
Display the patient's valid cards for the selected date.
Dim aPatient
Dim aCards
Dim aCard
Dim aMessage
Set aPatient = Profile.SelectPatient
set aCards = aPatient.ValidCardsAt(#21/12/2018#)
for i = 0 to aCards.Count - 1
set aCard = aPatient.Cards.Item(i)
aMessage = aMessage & vbNewLine
aMessage = aMessage & aCard.CardType
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Cards can be found in
.