Loading
Salesforce now sends email only from verified domains. Read More
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          InsFormularyService:getListOfPlanMedicationPrices

          InsFormularyService:getListOfPlanMedicationPrices

          Use this service to get a list of prices for covered drugs within a provider network, including copay calculation.

          Class: InsFormularyService

          Method: getListOfPlanMedicationPrices

          How It Works

          1. Uses ProviderNetworkFormularyDrugPrice_c and getListOfPlanMedicationPrices for the list of negotiated drug prices between the provider network and pharmacy.

          2. Calculates the drug's copay amounts based on the drug's formulary tier, which can be either a fixed copay amount or a percentage of the negotiated amount between the provider network and the pharmacy, using FormularyDrugId__r , FormularyTierId__r , CoPayPercent__c, or CoPayAmount__c.

          3. Output result provides list with drug's calculated copay amount, together with network and pharmacy names.

          Remote Options

          Option

          Description

          formularyDrugIds

          Required.

          One or more IDs based on the result of the FormularyServiceHandler's getListOfCoveredDrugs function.

          networkIds

          Optional.

          Network Ids to filter the result, to show only the amounts from the selected networks.

          effectiveDate

          Optional.

          longitude

          Optional.

          Must be used with latitude.

          Sorts results according to distance closest to point selected.

          Works only if the Pharmacy’s (Account) BillingLongitude and BillingLatitude are in use.

          latitude

          Optional.

          Must be used with longitude.

          Sorts results according to distance closest to point selected.

          Works only if the Pharmacy’s (Account) BillingLongitude and BillingLatitude are in use.

           
          Loading
          Salesforce Help | Article