Generating and deleting a flattened object structure for a product
To use product data from Pega Product Composer for Healthcare in downstream data, such as claims adjudication or as input to a System for Electronic Rate and Form Filing (SERFF) file, extract the data into a flattened structure. In the flattened structure are instances of each grouper and each benefit for every product and a dedicated benefit for each variation. You can generate a flattened structure for an individual product or for all products in the system. This flattened structure is available in the Pega Foundation for Healthcare layer.
Pega Product Composer for Healthcare provides the CreateFlattenedStructureProduct Wrapper activity rule in the PegaHC-PCS-Productclass. Use this activity rule to generate a flattened structure of the Pega Product Composer for Healthcare objects.
- Log in to Pega Product Composer for Healthcare by using your product developer credentials.
- In the header of Dev Studio, click .
- In the left navigation panel of your work space, click Products.
- On the Products page, search for a product by entering data in the search fields and then clicking .
- Click the name of the selected product.
- On the product page, click the Clipboard icon at the bottom right corner.
- On the Clipboard Viewer, in the left navigation panel, find and select pyDisplayHarness.
- In the right panel of the viewer, in the Property column and the Name row, note the value, for example, PRD-1184-1543472876199.
You need this value in a later step.
- Log out.
- Log in to Dev Studio by entering your administrator credentials.
- In the header of Dev Studio, enter and search for CreateFlattenedStructureProductWrapper, and then click the activity.
- In the ProductName field, enter the name of your product, for example, PRD-1184-1543472876199.
- Click
The product is flattened into records of the following classes:- PegaHC-Data-ProductDetails (Product)
- PegaHC-Data-Benefit-Definition (Benefit definition)
- PegaHC-Data-Benefit-Coverage (Benefit coverage)
- PegaHC-Data-BenefitCategory (Benefit category)
. - Close the status window and the Run Activity: CreateFlattenedStructureProductWrapper page.
Deleting instances of flattened products
When you no longer need the flattened product information because it is obsolete or no longer has a purpose, you can delete instances of the flattened object structures.
- Log in to Dev Studio by using your administrator credentials.
- In the header of Dev Studio, enter and search for Delete FlatteningDataOfProduct, and then click the activity.
- Click .
- In the ProductID field, enter the name of the flattened structure, for example, PRD-1184-1543472876199, and then click Run.
- Verify that coverage, benefit definition, and product instances are removed by completing the following steps:
- In the navigation panel of Dev Studio, click App.
- Search for the specified class, for example, PegaHC-Data-Benefit-Coverage, and then click the class.
- In the Instances panel, filter the Benefit coverage field by the product name that was flattened, for example, PRD-1184-1543472876199.
If no results are displayed, you have been successful in deleting the instances.
Previous topic Pega Product Composer for Healthcare 8.1 deprecated rules Next topic Life cycle management in Pega Product Composer for Healthcare