This function returns all movements of the patient between different places of service and locations.
object.LoadMovements(aFilter)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aFilter |
In, Required | The object that defines conditions for
filtering |
Display the number of the movements, their dates and IDs.
Dim aPatient
Dim aFilter
Dim aMovements
Dim aMovement
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateMovementFilter
aFilter.PatientId = aPatient.Id
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 & "The date of the movement with ID = " &_
aMovement.ID & " is " & aMovement.Date
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Movements can be found in
or in .