Special Functions

The Special category contains the following functions:

WinHandle

Function

WinHandle

Location in PracticeScript

Functions->Special

Purpose

Returns the handle to the main PracticeWorks window. A handle is a number assigned to a window that is used by the operating system to keep track of the attributes of the window. This function is used in special circumstances.

Format

WinHandle()

Evaluates to

A number.

Example

WinHandle()
Returns 23454.

PWIID

Function

PWIID

Location in PracticeScript

Functions->Special

Purpose

Returns the PracticeWorks Integration ID of a person. This is useful if you need to manually match patients in an integrated database with those in PracticeWorks.

Format

PWIID()

Evaluates to

A number.

Example

PWIID(Patient.PersonID)
Returns the patient’s integration ID.

 

Related Topics

Using Functions

Function Definitions

Practice Answers

Date Functions

Strings Functions

Time Functions

User Defined Functions

Prompt User for Info Functions