ISRxMedication.Generically

Description

This property is True if the Rx medication description is presented by its generic name.

Syntax

object.Generically

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

Return Value

bool

Example

Display some information about the loaded Rx medication and check if its description is presented by the generic name.

Dim aRxMedication
Dim aRxMedicationInfo  
 
Set aRxMedication = Profile.LoadRxMedication(1616)

if aRxMedication is nothing then 
  Profile.MsgBox("There is no Rx Medication with the specified ID")
  exit sub
end if

aRxMedicationInfo = _
  "Rx name: " & aRxMedication.RxName & vbNewLine &_
  "Date: " & aRxMedication.Date & vbNewLine &_
  "Ordered date: " & aRxMedication.OrderedDate & vbNewLine &_  
  "Generically: " & aRxMedication.Generically & vbNewLine
if aRxMedication.Diagnosis.Id > 0 then 
  aRxMedicationInfo = aRxMedicationInfo & "Diagnosis: " &_
    aRxMedication.Diagnosis.Description   
end if        

Profile.MsgBox(aRxMedicationInfo) 
Note:

In Profile Client v8 on User Interface Generic checkbox can be found in Clinical > Medical Record > MedChart > Select the medication > Change > Change Order > Generic.

Version information

Added in v7.10.90