This function returns the daily dose of the Rx medication which was calculated on the basis of the instruction for this medication and is presented as a string.
object.GetDailyDoseStr(aDate)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRxMedication interface |
|
aDate |
In, Required | DateTime |
The specified date |
string
Display some information about the loaded Rx medication, including its daily dose that is returned as a string.
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 &_
"Daily Dose: " & aRxMedication.GetDailyDoseStr(#09/13/2019#) & vbNewLine &_
"Dosage: " & aRxMedication.Dosage & vbNewLine
if not aRxMedication.DosageUnit is nothing then
aRxMedicationInfo = aRxMedicationInfo & "Dosage Unit: " &_
aRxMedication.DosageUnit.Name
end if
Profile.MsgBox(aRxMedicationInfo)
In Profile Client v8 on User Interface Daily Dose Str cannot be found, but Rx medications can be found in
.