This function returns the Rx medications by the specified ID.
object.LoadRxMedication(aId)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aId |
In, Required | int |
ID of the Rx medication |
Display the name of the Rx medication and the information about it.
Dim aRxMedication
Dim aRxMedicationInfo
Set aRxMedication = Profile.LoadRxMedication(1571)
if aRxMedication is nothing then
Profile.MsgBox("There is no Rx Medication with the specified ID")
exit sub
else
aRxMedicationInfo = _
"Rx name: " & aRxMedication.RxName & vbNewLine &_
"Date: " & aRxMedication.Date & vbNewLine &_
"Ordered date: " & aRxMedication.OrderedDate & vbNewLine &_
"OID: " & aRxMedication.OID & vbNewLine &_
"Diagnosis: " & aRxMedication.Diagnosis.Description & vbNewLine &_
"Diagnosis ID: " & aRxMedication.DiagnosisID & vbNewLine &_
"Notes: " & aRxMedication.Notes
end if
Profile.MsgBox(aRxMedicationInfo)
In Profile Client v8 on User Interface Rx Medication can be found in
.