Step 4: Define the data model
Data modeling involves relating a conceptual model of how data items relate to each other in an application. The data model in the Pega 7 Platform refers to a set of rules that work together to populate the data in your application. This data is displayed on the user interface to help the user process the case and can help automate decisions in your business processes. The following rule types constitute your data model:
- Data types
The data type is another name for a class in your application that holds data the application uses. A data type has one or more data pages and several property definitions associated with it.
- Properties
Properties define the format and visual presentation of data in your application.
- Data pages
Data pages define the content of a clipboard page. Data pages also control the loading of that data from a source system as shown here.
A related concept to data pages is integration. Integration controls how the data is retrieved from the systems of record to populate your application data pages. Data mapping rules determine how the data from the system of record corresponds to your application data model.
Care Management Application and the underlying Healthcare Industry Foundation (HCIF) provide a robust industry-standard model that is leveraged in the application and can be leveraged for additional extensions.
When planning your data model, work with the data modeling resource at your site to understand attributes of data types that need to be supported by your application.
For additional information, refer to the Care Management Application 7.14 Product Overview.
Defining data types
Data types define the data used by your application. The data types that come with your application have one or more data pages associated with them. Data pages control the sourcing of your application data.
Updating existing data types
- In the explorer panel, click Data.
- Click the first data type in the Data explorer.
- On the Definition tab, scroll to the bottom.
- Click Add property. Add as many properties as your application requires.
- Repeat these steps for all existing data types.
Adding a new data type
- Click Data.
- Click the down arrow to show the Data type menu.
- Click Add data type.
- Provide a label and description for the data type.
- Click Submit.
- Repeat these steps for any additional data types.
Previous topic Step 3: Define the case type modifications and attributes Next topic Step 5: Define the security model and organization structure