ISRxMedication.BrandSubstNotPermitted

Description

This property is True if the substitution of the Rx medication brand is not permitted.

Syntax

object.BrandSubstNotPermitted

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

Return Value

bool

Example

Display BrandSubstNotPermitted for the loaded Rx medication.

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

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 &_  
  "OID: " & aRxMedication.OID & vbNewLine &_
  "Brand Subst. not Permitted: " & aRxMedication.BrandSubstNotPermitted &_
  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 Brand Substitution Not Permitted checkbox can be found in Clinical > Medical Record > MedChart > Select the medication > Change > Change Order.

Version information

Added in v7.10.100