ISPatient.IsValidPlan

Description

This function checks if the patient's selected card is valid on the selected date.

Syntax

object.IsValidPlan(aDate, aPlanName)

Part Attribute Type Description
object Required
The object always implements the ISPatient interface
aDate In, Required
DateTime
The date to check
aPlanName In, Required
string
The card or plan name to check, on User Interface can be found in Patient/Alter Patient/Financial/Health Plans and Cards Payer or Card field

Return Value

bool

Returns "True" if the patient's selected card is valid on the selected date.

Example

Display IsValidPlan for the patient.

Dim aPatient  
Dim aIsValidPlan
Dim aDate
Dim aPlanName

Set aPatient = Profile.SelectPatient
aDate = #12/03/2018#
aPlanName = "CSC"
aIsValidPlan = aPatient.IsValidPlan(aDate, aPlanName)
  
Profile.MsgBox (aIsValidPlan)  
Note:

In Profile Client v8 on User Interface Cards can be found in Patient > Alter Patient > Financial > Health Plans and Cards.

Version information

Added in v7.8.0