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