The relationship between the CSCard holder and the patient.
object.CSCardRelationship
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientCard interface |
Display the card number and the card holder relationship of the patient's dependent CSCards.
Dim aPatient
Dim aCSCard
Dim aCards, aCard
Dim aCardName
Set aPatient = Profile.SelectPatient
aCSCard = aPatient.HasCSCard
set aCards = aPatient.Cards
for i = 0 to aCards.count -1
set aCard = aCards(i)
if aCard.CardType = "CSC" and aCard.Discontinued = false then
aCardName = aCardName & vbNewLine & "Card Number: " & aCard.CardNumber &_
vbNewLine & "Dependent: " & aCard.CSCardDependent & "/ "
if aCard.CSCardRelationship is nothing then
aCardName = aCardName & "<none>"
else
aCardName = aCardName & "Card Holder Relationship: " &_
aCard.CSCardRelationship.Description & "; "
end if
end if
next
Profile.MsgBox("CSCard: " & aCSCard & aCardName)
In Profile Client v8 on User Interface CSCard Relationship can be found in
.