This function creates the filter for loading movements of the patient between different places of service and locations.
object.CreateMovementFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the movements loaded on the basis of the selected filter and their 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 & "ID of the movement is " & aMovement.ID
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Movements can be found in
or in .