ISPatientVers.DOB

Description

The patient's date of birth in the selected patient version.

Syntax

object.DOB

Part Attribute Type Description
object Required
The object always implements the ISPatientVers interface
Restriction: This property is readonly.

Return Value

DateTime

Example

Display the patient's date of birth in the selected patient version.

Dim aPatient  
Dim aPatientVers
Dim aDOB 

Set aPatient = Profile.SelectPatient

if aPatient.VersionOnDate(#01/01/2019#) is nothing then
  aMessage = "There are no patient versions for this date!" 
  
else

  set aPatientVers = aPatient.VersionOnDate(#01/01/2019#) 
  aDOB = aPatientVers.DOB
  
end if

Profile.MsgBox(aDOB)    
Note:

In Profile Client v8 on User Interface DOB can be found in Patient > Alter Patient > General > Show Versions > DOB field.

Version information

Added in v7.8.0