updated so stored functions use @urn instead of @uuid, providers,facilities use @entityID instead of @oid