ISRx.GenericName

Description

The generic name of the Rx item.

Syntax

object.GenericName

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

Return Value

string

Example

Display some information about the Rx collection loaded on the basis of the selected filter, including the generic names of the Rx items.

Dim aFilter
Dim aRx, aRxCollection
Dim i
Dim aMessage

Set aFilter = Profile.CreateRxFilter
aFilter.RxName = "Pendine"
set aRxCollection = Profile.LoadRxCollection(aFilter)

aMessage = "Rx Items Count = " & aRxCollection.Count &_
  vbNewLine & vbNewLine & "#  Name" & vbTab & vbTab & "Generic name" 
  
for i = 0 to aRxCollection.Count - 1
  set aRx = aRxCollection.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRx.Name &_
    vbTab & aRx.GenericName  
next      

Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface Generic Name can be found in Maintain > Formulary > Rx > Generic Name, in Clinical > Medical Record > New Encounter > Scripts > Rx > Generic Name or in Clinical > New Encounter > Scripts > Rx > Generic Name.

Version information

Added in v7.8.0