The route of taking the Rx medication.
object.Route
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRxMedication interface |
Display some information about the loaded Rx medication, including the route of its taking.
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
if not aRxMedication.Route is nothing then
aRxMedicationInfo = aRxMedicationInfo &_
"Route: " & aRxMedication.Route.Description & vbNewLine
end if
if aRxMedication.Diagnosis.Id > 0 then
aRxMedicationInfo = aRxMedicationInfo & "Diagnosis: " &_
aRxMedication.Diagnosis.Description
end if
Profile.MsgBox(aRxMedicationInfo)
In Profile Client v8 on User Interface Route can be found in
.