Pega Foundation for Healthcare provides an option to conditionally invoke a source of data i.e., a FHIR repository (or) Pega database. These out-of-the-box (OOTB) settings allow implementors to easily configure various sources of data based on business needs.
This configuration is readily available for below data pages related to member, clinical and care information:
|Object type||Data Page|
|Family Medical History|
we have overridden the above data pages from PegaHCCore layer in PegaHCFhir layer to configure the multiple sources. Hence applications built on top of PegaHCFhir application module can only leverage this feature.
Below data page is configured to conditionally invoke the data source of choice.
Below when rule determines the data source from a configuration data page.
Dynamic settings for configuring data source:
The data sources for all configured resources are fetched through a dynamic settings data page called D_CheckDataSource
The data source configured to fetch the source is a Data Transform rule called CheckDataSource. The rule is configured with PEGA DB as a default source. The rule is marked for Extension and is expected to be updated in your application with the data source of your choice for the different resources.