This filter property is used to load the Rx items by the name, including the Rx groups.
object.IncludeGroups
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRxFilter interface |
bool
Display the number of the Rx items loaded on the basis of the selected filter, and their names.
Dim aFilter
Dim aRxCollection, aRx
Dim i
Dim aMessage
Set aFilter = Profile.CreateRxFilter
aFilter.RxName = "Penicillins"
aFilter.RxNameSearchMode = 1 'rnsmStartsWith
aFilter.IncludeChemicals = False
aFilter.IncludeGroups = True
aFilter.IncludePackages = False
aFilter.IncludePreparations = False
set aRxCollection = Profile.LoadRxCollection(aFilter)
aMessage = "Rx Items Count: " & aRxCollection.Count & vbNewLine
for i = 0 to aRxCollection.Count - 1
set aRx = aRxCollection.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRx.Name
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Rx items and their names can be found in
in or in .