ISProfile.CreateMovementFilter

Description

This function creates the filter for loading movements of the patient between different places of service and locations.

Syntax

object.CreateMovementFilter()

Part Attribute Type Description
object Required
The object always implements the ISProfile interface

Return Value

ISMovementsFilter

Returns the filter for loading movements of the patient between different places of service and locations.

Example

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)  
Note:

In Profile Client v8 on User Interface Movements can be found in Clinical > Medical Record > Movements or in Patient > Cases > Administrative > Movements.

Version information

Added in v7.10.80