ISRxMedication.Dosage

Description

A number of the dosage of the Rx medication.

Syntax

object.Dosage

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

Return Value

Decimal

Example

Display the short information about the loaded Rx medication, including a number of its dosage.

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

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 &_
  "Ordered date: " & aRxMedication.OrderedDate & vbNewLine &_
  "Dosage Line: " & aRxMedication.DosageLine & vbNewLine &_
  "Dose Max 24h: " & aRxMedication.DoseMax24h & vbNewLine &_ 
  "Dosage: " & aRxMedication.Dosage & vbNewLine 
if not aRxMedication.DosageUnit is nothing then 
  aRxMedicationInfo = aRxMedicationInfo & "Dosage Unit: " &_
    aRxMedication.DosageUnit.Name 
end if   

Profile.MsgBox(aRxMedicationInfo)    
Note:

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

Version information

Added in v7.10.90