Skip to main content

Table of Contents

Implementing the custom plan API

When existing healthcare plans do not meet customer requirements, a sales representative or a partner sales representative creates a custom plan request either directly from the Quote Plan Selection page or from the Create menu, as a standalone request. Pega Sales Automation for Healthcare uses the Custom plan API to send the request for a custom plan to Pega Product Composer for Healthcare. To change the logic that the application uses to send the request, modify one or more of the following API rules:

  • Case type name: New plan request
  • Class name: PegaHCSPM-Work-CustomPlanRequest
  • Flow Name: spmRequestCustomPlan
  • Flow action: ExcludeBenefits

    This rule is invoked in the New plan request flow, after the step Not-covered and excluded benefits/services.

  • Data transform: PostBenefitsExclude

    This is a post-processing data transform in the flow action. This data transform will trigger the REST API call only when a New plan request is created by selecting the Copy data from standard plan option.

    Extend to handle a simulation or make a REST call in a different way.

  • Data transform: RequestCustomPlanPOSTExt

    Extend to handle the response in a different way.

  • Data transform: spmGetPlanID

    Extend to simulating PLAN ID creation differently.

  • Data Page: D_RequestCustomPlan

    This data page has a REST connector that is responsible for making the REST call.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us