This function deletes the alternative name of the patient.
object.DeleteAlternativeName aIndex
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aIndex |
In, Required | int |
The index of the alternative name. |
If the patient has alternative names, delete the first of them. Otherwise, display "This patient has no alternative names!".
Dim aPatient
Dim aAlternativeNameCount
Set aPatient = Profile.SelectPatient
aAlternativeNameCount = aPatient.AlternativeNameCount
if aAlternativeNameCount < 1 then
Profile.MsgBox ("This patient has no alternative names!")
else
aPatient.DeleteAlternativeName(0)
Profile.MsgBox ("The first alternative name was deleted successfully!")
end if
In Profile Client v8 on User Interface Alternative Names can be found and deleted in
.