Returns True if the patient is being created and has not been saved in the database yet.
object.IsNew
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
bool
Display "The patient is not saved, so True" if the patient is being created and has not been saved yet. Otherwise, display "The patient is already saved, so False".
Dim aPatient
Dim aIsNew
Set aPatient = Profile.NewPatient
aPatient.FirstName = "Hanna"
aPatient.LastName = "Smith"
aIsNew = aPatient.IsNew
Profile.MsgBox ("The patient is not saved, so " & aIsNew)
aPatient.Save
aIsNew = aPatient.IsNew
Profile.MsgBox ("The patient is already saved, so " & aIsNew)
In Profile Client v8 on User Interface cannot be found.