The type of the patient's movement.
0 | tsmsAdmit |
1 | tsmsDischarge |
2 | tsmsTransfer |
3 | tsmsMove |
object.MovType
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISMovement interface |
int
Display the number of the patient's movements loaded on the basis of the selected filter and some information about them, including their movement types.
Dim aPatient
Dim aFilter
Dim aMovements
Dim aMovement
Dim aMessage
Dim i
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 & "-----------------------------" & 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
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Movement Type can be found in
or in .