This function returns the age of the patient for the selected date.
object.getAgeAt(aDate)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aDate |
In, Required | DateTime |
The date the age is calculated for |
string
Display the age of the patient for the selected date.
Dim aPatient
Dim aAgeAt
Set aPatient = Profile.SelectPatient
aAgeAt = aPatient.getAgeAt(#11/29/2018#)
Profile.MsgBox(aAgeAt)
In Profile Client v8 on User Interface Age can be found in
.