Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

DCR is not supported on Patient creation/update



Dynamic Class Referencing (DCR) is not configured properly on Patient Creation, Patient Update or Patient Search.

Following DCR property is used for Contact search/data population on screen though various data page activities:


But the same is not used in Contact creation activity - PegaLS-FW-PatientAssist-Work-PatientAddition.SavePatientInformation (class of contact is hard coded in this activity).

Moreover, when user tries to customize this activity using DCR to use custom class, the error occurs.

Error Messages

"pyCommitError: ** Cannot save instance of class SAG-GE-EG-PSP-Int-Contact; it belongs to fully exposed table pegadata.ge_eg_psp_pa_contact in database PegaDATA, but the instance has properties which do not correspond to columns: CustomerValueLS

Steps to Reproduce

1. Create new class for Contact and corresponding database table and database mapping.
2. Update own contact class in DCR setting Declare_CAApplicationSettings.InterfaceContactClass.
3. Try to create a new Patient in application.

The DCR setting is not used when data in inserted into contact table.

Root Cause

A defect in Pegasystems’ code or rules

The root cause for this error is that there is a declare expression on property CustomerValueLS in PegaLS_CPMLSFW:07-22-01 ruleset and it is setting value to this property whereas this property does not have an exposed column in pega provided contact table(pa_contact).

This issue will occur whenever the activity SavePatientInformation is customized to use any other class than "PegaApp-Interface-Contact"

The property CustomerValueLS does not have matching column in the database table. Therefore it is throwing the error while saving the instance to database.


Apply HFix-34680.

Suggest Edit

Published July 21, 2017 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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