In this example, you will be testing an inbound script that strips the leading zeros from the Patient ID.
To set up the VMD for testing:
PID Segment Window
log('Patient ID before stripping leading zeros = ' + value) value = strip_leading_chars('0', value) log('Patient ID afterwards = ' + value)