All prescriptions assigned to the patient.
object.All
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISMedicationsSet interface |
Display the number of the patient's prescriptions and their Rx names.
Dim aPatient
Dim aMedicationsSet
Dim aPrescriptions, aPrescription
Dim aMessage
Dim i
Set aPatient = Profile.SelectPatient
set aMedicationsSet = aPatient.Medications
set aPrescriptions = aMedicationsSet.All
aMessage = "Medications Count = " & aPrescriptions.Count
for i = 0 to aPrescriptions.Count - 1
set aPrescription = aPrescriptions.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ". " &_
"Rx Name: " & aPrescription.RxName
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface All can be found in
.