ISRefillOrderItem.ActionedOn

Description

The date and time the refill order item was actioned on.

Syntax

object.ActionedOn

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

Return Value

DateTime

Example

Display the number of the refill order items and some information about them.

Dim aPatient
Dim aRefillOrderItems, aRefillOrderItem
Dim aMessage
Dim i

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

aMessage = "Refill Order Items Count = " & aRefillOrderItems.Count & vbNewLine 
                                                                  
for i = 0 to aRefillOrderItems.Count - 1
  set aRefillOrderItem = aRefillOrderItems.Items(i)  'ISRefillOrderItem
  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.RxPrescr is nothing then
    aMessage = aMessage &_
      "Rx Prescription: " & aRefillOrderItem.RxPrescr.RxName & vbNewLine 
  end if       
next                                                                               
                             
Profile.MsgBox(aMessage)                       
Note:

In Profile Client v8 on User Interface Actioned On can be found in Organisation > Work Centre > Work > Prescription Refills > Actioned Items > Edit prescription > Date.

Version information

Added in v7.8.0