ISFlowSheetFilter.PatientId

Description

This filter property is used to load the collection of flow sheets by the specified patient's ID.

Syntax

object.PatientId

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

Return Value

int

Example

Display the number of the flow sheets loaded on the basis of the selected filter, their names and codes.

Dim aPatient
Dim aFilter
Dim aFlowSheet
Dim aFlowSheets
Dim aMessage

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateFlowSheetFilter
aFilter.PatientId = aPatient.Id
set aFlowSheets = Profile.LoadFlowSheets(aFilter)

aMessage = "Flow Sheets Count = " & aFlowSheets.Count
for i = 0 to aFlowSheets.Count - 1
  set aFlowSheet = aFlowSheets.Item(i)
  aMessage = aMessage & vbNewLine & "The name of the flow sheet is " &_
  aFlowSheet.Name & " (" & aFlowSheet.Code & ")"
next      

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Patient ID cannot be found, but Flow Sheets can be found in Clinical > Medical Record > Flow Sheetsor in Maintain > Flow Sheets.

Version information

Added in v8.4.32