This function returns the prescription refill items assigned to the patient.
object.RefillMeds()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISMedicationsSet interface |
Display the number of the prescription refill items and their Rx names.
Dim aPatient
Dim aMedicationsSet
Dim aRefillMed, aRefillMeds
Dim aMessage
Dim i
Set aPatient = Profile.SelectPatient
set aMedicationsSet = aPatient.Medications
set aRefillMeds = aMedicationsSet.RefillMeds
aMessage = "Refill Medications Count = " & aRefillMeds.Count & vbNewLine
for i = 0 to aRefillMeds.Count - 1
set aRefillMed = aRefillMeds.Items(i)
aMessage = aMessage & vbNewLine & (i + 1) & ". " &_
"RxName: " & aRefillMed.RxPrescr.RxName
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Refill Meds can be found in
.