The property provides access to the User 2 text item field in the selected patient version.
object.User2
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientVers interface |
string
Display the content of the User 2 field in the selected patient version.
Dim aPatient
Dim aPatientVers
Dim aMessage
Set aPatient = Profile.SelectPatient
set aPatientVers = aPatient.VersionOnDate(#01/01/2019#)
if aPatientVers is nothing then
aMessage = "There are no patient versions for this date!"
else
aMessage = aMessage & vbNewLine &_
"On 01/01/2019 the content of the User 2 field was " & aPatientVers.User2 &_
", now the content of the User 2 field is " & aPatient.User2
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface User 2 can be found in
.