ISMovementsFilter.MovementOwner

Description

This filter property is used to load the collection of movements with the specified owner.

Syntax

object.MovementOwner

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

Return Value

TSMovementOwner

Example

Display the number of the movements loaded on the basis of the selected filter and some information about them.

Dim aFilter
Dim aMovements
Dim aMovement
Dim aMessage
Dim i

Set aFilter = Profile.CreateMovementFilter
aFilter.MovementOwner = 2 'tsmoCase
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 & vbNewLine &_
    "Admit ID: " & aMovement.AdmitID 
next      

Profile.MsgBox(aMessage) 
Note:

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

Version information

Obsolete in v7.10.80