contactSerialNumber property
The patient's contact serial number (CSN). In an order-based URL or command, Epic sends the CSN from the encounter on which the order was placed. In a patient-based URL or command, Epic sends the CSN for the currently open activity. For example, if the user is working in the hospital chart for the patient, Epic sends the CSN for that admission.
Implementation
String? contactSerialNumber;