Generate a flattened structure for plan and product data
You can generate a standard flattened structure for plans and products in Pega Product Composer for Healthcare™. You use this flattened structure in downstream data, such as claims adjudication or as input to a System for Electronic Rate and Form Filing (SERFF) file. This means that there are instances of each benefit for every plan or product and a dedicated benefit for each variation.
Typically, developers use these tasks to generate a flattened structure for an individual plan, multiple plans, or all the plans in the system.You can also generate a flattened structure for either one product or all products in the system. For example, a system administrator might use this process if auto-flattening is not configured.
Pega Product Composer for Healthcare provides activity rules to generate the flattened structure of the Pega Product Composer for Healthcare objects.
This article includes the following procedures:
Generate the flattened structure for a plan
Generate the flattened structure for a product
Delete instances of flattened plans or products
Before you begin
Based on whether you are generating a flattened plan or product structure, you need to find the plan ID or the product name before you can generate a flattened structure.
- Log in to Pega Product Composer for Healthcare by entering your product developer credentials.
- In the header of Dev Studio, click Launch web interface > Product Development.
- Based on whether you are flattening a plan or a product, perform the steps in the following table to obtain information that you need to generate the flattened structure.
To flatten a plan |
|
To flatten a product |
|
Generate the flattened structure for a plan
You can generate a flattened structure for one or multiple plans, or for all the plans in the system.
Ensure that you follow the steps in Before you begin.
- Log in to Dev Studio by entering your Pega Product Composer for Healthcare administrator credentials.
- Based on the plan results that you want, perform the steps in the following table.
To flatten one plan |
|
To flatten multiple plans |
|
To flatten all the plans in the system |
|
The plan is flattened into instances (records) of the following classes:
- PegaHC-Data-Plan (Benefit plan)
- PegaHC-Data-Benefit-Definition (Benefit definition)
- PegaHC-Data-Benefit-Coverage(Benefit coverage)
- PegaHC-Data-BenefitSummary (Benefit summary)
- PegaHC-Data-BenefitCategory (Benefit category)
- PegaHC-Data-PlanBenefitCategoryAssociation (Association between plan and benefit category)
- PegaHC-Data-Grouper-Definition (Grouper definition)
- PegaHC-Data-Grouper-Coverage (Grouper coverage)
- Log out.
- Validate the results by completing the following steps:
- Log in to Pega Foundation for Healthcare by entering your administrator credentials.
- Click .
- In the header of your work space, click Plan & Contract.
- On the Plan & Contract page, click Benefit Plans.
- In the list of flattened plans, click a plan to display the details.
List of flattened plans - Click the appropriate sections and review the details of the flattened plan.
- Log out.
- Package and export the flattened structure by using the Rule-Admin-Product (RAP) rule. For additional information, see Product rules.
Generate the flattened structure for a product
You can generate a flattened structure for one product or all the products in the system.
Ensure that you follow the steps in Before you begin.
- Log in to Dev Studio by entering your Pega Product Composer for Healthcare administrator credentials.
- Based on the product results that you want, perform the steps in the following table.
To flatten one product |
|
To flatten all the products in the system |
|
The plan is flattened into instances (records) of the following classes:
- PegaHC-Data-ProductDetails (Product)
- PegaHC-Data-Benefit-Definition (Benefit definition)
- PegaHC-Data-Benefit-Coverage(Benefit coverage)
- PegaHC-Data-BenefitSummary (Benefit summary)
- PegaHC-Data-BenefitCategory (Benefit category)
- PegaHC-Data-PlanBenefitCategoryAssociation (Association between plan and benefit category)
- PegaHC-Data-Grouper-Definition (Grouper definition)
- PegaHC-Data-Grouper-Coverage (Grouper coverage)
- Log out.
- Package and export the flattened structure by using the Rule-Admin-Product (RAP) rule.
For additional information, see Product rules.
Delete instances of flattened plans or products
When you no longer need the flattened plan or product information because it is obsolete or no longer has a purpose, you can delete instances of the flattened object structures.
- Log in to Designer Studio by entering your Pega Product Composer for Healthcare administrator credentials.
- Based on whether you are deleting instances of products or plans, perform the steps in the following table.
To delete a plan |
|
To delete a product |
|
- Open the class to verify that the coverage, benefit definition, and plan instances are removed.
Previous topic Extracting plan and benefit data and generating a flattened object structure Next topic Versioning in Pega Product Composer for Healthcare