An inflatable mask with two ocular cavities can seal against a user's face by forming an air-tight seal around the periphery of the user's eye socket. The sealed air-tight ocular cavity can be pressurized to take ocular measurements. The mask can conform to the contours of a user's face by inflating or deflating the mask. In addition, the distance between the user and a medical device (e.g. an optical coherence tomography instrument) can be adjusted by inflating or deflating the mask. Also disclosed herein is an electronic encounter portal and an automated eye examination. Other embodiments are also described.