ISRxMedication.DosageUnit

Description

The dosage type of the Rx medication that is returned as the concept.

Syntax

object.DosageUnit

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

Return Value

ISConcept

Example

Display the short information about the loaded Rx medication, including its dosage type.

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 &_
  "Dosage: " & aRxMedication.Dosage & vbNewLine
if not aRxMedication.DosageUnit is nothing then 
  aRxMedicationInfo = aRxMedicationInfo & "Dosage Unit: " &_
    aRxMedication.DosageUnit.Name & vbNewLine
end if   
  
Profile.MsgBox(aRxMedicationInfo)    
Note:

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

Version information

Added in v7.10.90