ISRxMedication.MedicationStatus

Description

The status of the Rx medication.

Syntax

object.MedicationStatus

Part Attribute Type Description
object Required
The object always implements the ISRxMedication interface
Restriction: This property is readonly.

Return Value

TSMedicationStatus

Example

Display some information about the loaded Rx medication, including its status.

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 as Single Line: " & aRxMedication.RxAsSingleLine & vbNewLine &_
  "Ordered date: " & aRxMedication.OrderedDate & vbNewLine &_
  "Medication Status: " & aRxMedication.MedicationStatus & vbNewLine &_
  "Medication Type: " &_
  Profile.LoadShortCode(aRxMedication.MedicationTypeId).Description & vbNewLine 
if aRxMedication.MedicationMethodId <> 0 then 
  aRxMedicationInfo = aRxMedicationInfo & vbNewLine &_
    "Medication Method: " &_
    Profile.LoadShortCode(aRxMedication.MedicationMethodId).Description
end if    

Profile.MsgBox(aRxMedicationInfo)    
Note:

In Profile Client v8 on User Interface Status can be found in Clinical > Medical Record > MedChart > Status.

Version information

Added in v7.10.90