The callback script stores the member and application claims as user data on the session. An interceptor on the Patient Access API endpoint copies that user data into the additionalJson property of each transaction log event.
The com.smilecdr.custom.patient.access.PatientAccessTxLogEnrichmentInterceptor interceptor copies the patient_id, client_id, and subject user data from the user session into the additionalJson property of each transaction log event. The callback script must store the values under these keys. A key that is missing from the session is skipped and logged as a warning in the Smile CDR log.
Note: The Smile Support Team or Technical Account Manager should be contacted to obtain the JAR file containing this interceptor.
JAR file in the smilecdr/customerlib folder on the Smile CDR server. See Registering an Interceptor.interceptor_bean_types property:module.http_patient_access.config.interceptor_bean_types=com.smilecdr.custom.patient.access.PatientAccessTxLogEnrichmentInterceptor
The values appear on each event, for example:
"additionalJson": {
"patient_id": "patient-005",
"client_id": "insure-pay",
"subject": "d749550c-2f63-4c5a-9bf2-696b3af9d328"
}
You are about to leave the Smile Digital Health documentation and navigate to the Open Source HAPI-FHIR Documentation.