ISRefillOrderItem.IsPharmacyCalled

Description

This property is True if pharmacy is called.

Syntax

object.IsPharmacyCalled

Part Attribute Type Description
object Required
The object always implements the ISRefillOrderItem interface

Return Value

bool

Example

Display IsPharmacyCalled for the order items.

Dim aPatient
Dim aRefillOrderItems, aRefillOrderItem
Dim aMessage
Dim i

Set aPatient = Profile.SelectPatient                            
set aRefillOrderItems = aPatient.Medications.ApprovedMeds

aMessage = "Refill Order Items Count = " & aRefillOrderItems.Count & vbNewLine 

for i = 0 to aRefillOrderItems.Count - 1
  set aRefillOrderItem = aRefillOrderItems.Items(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ". " &_
    "Actioned On: " & aRefillOrderItem.ActionedOn & vbNewLine &_
    "Notes: " & aRefillOrderItem.Notes & vbNewLine &_
    "Outcome: " & aRefillOrderItem.Outcome & vbNewLine &_
    "Order ID: " & aRefillOrderItem.OrderID & vbNewLine &_
    "Is Pharmacy Called: " & aRefillOrderItem.IsPharmacyCalled & vbNewLine &_
    "Requested On: " & aRefillOrderItem.RequestedOn & vbNewLine 

 if not aRefillOrderItem.RefillOrder is nothing then
    aMessage = aMessage & vbNewLine & " - Refill Order: " & aRefillOrderItem.RefillOrder.CreatedOn
  end if                                                                
next

Profile.MsgBox(aMessage)                   
Note:

In Profile Client v8 on User Interface the Pharmacy notified checkbox can be checked in Organisation > Work Centre > Work > Prescription Refills > Actioned Items > Pharmacy notified.

Version information

Added in v7.8.0