ISPatient.Save

Description

This procedure updates the current patient object as stored within Profile.

Syntax

object.Save

Part Attribute Type Description
object Required
The object always implements the ISPatient interface

Example

Create new patient object and save it.

Dim aPatient  

Set aPatient = Profile.NewPatient
aPatient.FirstName = "Hanna"
aPatient.LastName = "Smith"
aPatient.DOB = #11/22/1975#
aPatient.Status = 4
aPatient.PatientType = 1
aPatient.Save

Profile.MsgBox ("The patient was saved successfully")    
Note: Only properties, not identified as readonly, can be updated via this method.

Version information

Added in v7.8.0