ISRxMedication.RxToTake

Description

The Rx item to be taken by the patient.

Syntax

object.RxToTake

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

Return Value

ISRx

Example

Display some information about the loaded Rx medication, including the Rx item to be taken by the patient.

Dim aRxMedication
Dim aProvider
Dim aRxMedicationInfo  
 
Set aRxMedication = Profile.LoadRxMedication(1884)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

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

set aProvider = Profile.LoadProviderById(aRxMedication.ProviderID) 

aRxMedicationInfo = _
  "Rx Name: " & aRxMedication.RxName & vbNewLine &_  
  "Rx to Take: " & aRxMedication.RxToTake.AsString & vbNewLine &_
  "Provider: " & aProvider.FullName  & vbNewLine &_  
  "Ordered date: " & aRxMedication.OrderedDate & 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 Rx To Take can be found in Clinical > Medical Record > MedChart > Select the medication > Change > Change Order > Take field.

Version information

Added in v7.10.90