This function creates the filter for loading prescriptions.
object.CreatePrescriptionFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the prescriptions loaded on the basis of the selected filter and their Rx names.
Dim aPatient
Dim aFilter
Dim aPrescriptions
Dim aPrescription
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreatePrescriptionFilter
aFilter.Patient = aPatient
set aPrescriptions = Profile.LoadPrescriptions(aFilter)
aMessage = "Prescriptions Count = " & aPrescriptions.Count
for i = 0 to aPrescriptions.Count - 1
set aPrescription = aPrescriptions.Item(i)
aMessage = aMessage & vbNewLine & aPrescription.RxName
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Prescriptions can be found in
.