All medications that have been prescribed to the patient.
object.Medications
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
Display the number of the patient's medications, their names, dosage and date.
Dim aPatient
Dim aMedications
Dim aMedication
Dim aMessage
Set aPatient = Profile.SelectPatient
set aMedications = aPatient.Medications
aMessage = "Medications Count = " & aMedications.PriorPrescriptions.Count
for i = 0 to aMedications.PriorPrescriptions.Count - 1
set aMedication = aMedications.PriorPrescriptions.Item(i)
aMessage = aMessage & vbNewLine
aMessage = aMessage & aMedication.RxName & ", "
aMessage = aMessage & " dosage = " & aMedication.DosageLine & ", "
aMessage = aMessage & aMedication.Date
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Medications can be found in
.