This function opens the patient form in the modal mode.
object.ShowModalPatientForm(aPatientID)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aPatientID |
In, Required | int |
ID of the patient |
int
Display the patient form in the modal mode.
Dim aPatient
Dim aPatientId
Dim aResult
Set aPatient = Profile.SelectPatient
aPatientId = aPatient.Id
aResult = Profile.ShowModalPatientForm(aPatientId)
if aResult = idOk then
Profile.MsgBox "The changes are accepted"
else
Profile.MsgBox "The changes are declined"
end if