Fiber optic medical membrane switch