The patient from the form context.
object.Patient
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfileForm interface |
Display some information about the form, including the full name of the patient from the form context.
Dim aForm
Dim aPatient
Dim aMessage
Set aForm = Profile.Form
aMessage =_
"ShortName: " & aForm.ShortName & vbNewLine &_
"TypeName: " & aForm.TypeName & vbNewLine
set aPatient = aForm.Patient
if aPatient is nothing then
aMessage = aMessage & "There is no patient in the form context"
else
aMessage = aMessage & "Form Patient: " & aPatient.SurnameFirstName
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Patient cannot be found.