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