Fixed the script to be able to create OPD programs for opd encounters that do not have location_id