The name of the patient's iwi in the selected patient version, returned as the short code ID.
object.Iwi
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientVers interface |
string
Display the patient's iwi code ID in the selected patient version.
Dim aPatient
Dim aPatientVers
Dim aIwi
Dim aMessage
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#)
aIwi = aPatientVers.Iwi
aMessage = aMessage & vbNewLine
aMessage = aMessage & "On 01/01/2019 the Iwi of the patient was " & aIwi
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Iwi can be found in
.