The patient whose movements are loaded.
object.Patient
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISMovement interface |
Display the number of the patient's movements loaded on the basis of the selected filter, some information about them, including full names of the patients.
Dim aFilter
Dim aMovements
Dim aMovement
Dim aMessage
Dim i
Set aFilter = Profile.CreateMovementFilter
aFilter.DateFrom = #11/22/2001#
set aMovements = Profile.LoadMovements(aFilter)
aMessage = "Movements Count = " & aMovements.Count
for i = 0 to aMovements.Count - 1
set aMovement = aMovements.Item(i)
aMessage = aMessage & vbNewLine & "-----------------------------" & vbNewLine &_
"Description: " & aMovement.Description & vbNewLine &_
"Date: " & aMovement.Date & vbNewLine &_
"ID: " & aMovement.ID & vbNewLine &_
"Length Of Stay: " & aMovement.LengthOfStay & vbNewLine &_
"Movement Type: " & aMovement.MovType & vbNewLine &_
"Physical Location From: " & aMovement.PhysicalLocationFrom & vbNewLine &_
"Physical Location To: " & aMovement.PhysicalLocationTo & vbNewLine &_
"Responsible Unit: " & aMovement.ResponsibleUnit
if not aMovement.Patient is nothing then
aMessage = aMessage & vbNewLine & "Patient: " & aMovement.Patient.SurnameFirstName
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Movements can be found in
or in .