This function returns the Rx groups with the specified Rx group name.
object.LoadRxGroupByName(aName)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aName |
In, Required | string |
The name of the Rx group |
Display the short information about the loaded Rx groups including their names, codes and OIDs.
Dim aRxCollection
Dim aRxGroup
Dim i
Dim aMessage
Set aRxCollection = Profile.LoadRxGroupByName("Penicillins")
aMessage = "Rx Group Count = " & aRxCollection.Count &_
vbNewLine & vbNewLine & "# Name" & vbTab & vbTab & "Code" &_
vbTab & vbTab & "As String" & vbTab & vbTab & "OID"
for i = 0 to aRxCollection.Count - 1
set aRxGroup = aRxCollection.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRxGroup.Name &_
vbTab & aRxGroup.Code & vbTab & aRxGroup.AsString & vbTab &_
aRxGroup.OID
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Rx groups can be found in
, in or in .