Delete NPI for a user in Administration->Users

One of my customers accidentally entered in an NPI number for a staff member that doesn’t have one. OpenEMR doesn’t allow the user to remove the NPI and save a blank field. Is there a reason for this? This seems to be the case for State license numbers too, but OpenEMR allows the end user to replace the State License field with a space, clearing the field.

To make sure it wasn’t due to customer code I tried it with both 422 and 500. If there isn’t a reason, I’ll submit a change to the code.

@growlingflea
Empty value updation may not be performed due to the condition specified in the file interface/usergroup/usergroup_admin.php. In line No 78 , if condition is specified before updating the NPI. So for the fields which have the empty values, if condition fails and updation will not be performed and hence we need to update the condition to allow empty values.