ISServicePrice.ReferralRequired

Description

This property is True, if the referral is required.

Syntax

object.ReferralRequired

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

Return Value

bool

Example

Display ReferralRequired for the service price.

Dim aFilter
Dim aService
Dim aServices
Dim aMessage
Dim aServicePrice

Set aFilter = Profile.CreateServicesFilter
aFilter.Description = "G.P. Office Visit"
set aServices = Profile.LoadServicesByFilter(aFilter)

aMessage = "Services Count = " & aServices.Count & vbNewLine

for each aService in aServices
  set aServicePrice = aService.GetServicePrice
  if aServicePrice is nothing then
    aMessage =  vbNewLine & "No Service Price"
  else
    aMessage = aMessage & vbNewLine & "-----------------------------" & vbNewLine &_
      "Agency Code: " & aServicePrice.AgencyCode & vbNewLine &_
      "Amount: " & aServicePrice.Amount & vbNewLine &_
      "Amount Method: " & aServicePrice.AmountMethod & vbNewLine &_
      "Based On: " & aServicePrice.BasedOn & vbNewLine &_
      "Bulk Code: " & aServicePrice.BulkCode & vbNewLine &_
      "Code Method: " & aServicePrice.CodeMethod & vbNewLine &_
      "Custom Fee Per Unit: " & aServicePrice.CustomFeePerUnit & vbNewLine &_
      "Default Quantity: " & aServicePrice.DefaultQuantity & vbNewLine &_
      "End Date: " & aServicePrice.EndDate & vbNewLine &_
      "Service ID: " & aServicePrice.ServiceID & vbNewLine &_
      "Referral Required: " & aServicePrice.ReferralRequired & vbNewLine 
  end if                                                               
next              
 
Profile.MsgBox(aMessage)     
Note:

Only for New Brunswick. In Profile Client v8 on User Interface Referral Required can be found in Maintain > Services > Edit the selected service > Financial > Requested Rules > Referral Required.

Version information

Added in v8.3.0