A computer-implemented method comprising: receiving, at a wireless device of a patient, first location data indicating a location of the wireless device; accessing, by the wireless device, second location data indicating locations of one or more healthcare providers (1440, 1450, 1460); determining, by the wireless device and based at least on a comparison of the location of the wireless device to the one or more locations of the one or more healthcare providers, whether the location of the patient is proximate a location of a particular healthcare provider; in response to determining that the location of the patient is proximate the location of the particular healthcare provider, generating a visit event, and determining a validity of the visit event by calculating a probability; comparing, by the wireless device, the probability with a probability threshold; determining, by the wireless device, whether the probability is below the probability threshold; and in response to determining that the probability is not below the probability threshold, transmitting, from the wireless device to a recipient electronic device, an electronic medical record of the patient based at least on the calculation of the probability, and transmitting, from the wireless device to the recipient electronic device, authentication information for the electronic medical record of the patient, wherein the authentication information includes an authentication token and enables the recipient electronic device 1) to identify and authenticate the wireless device and 2) to authenticate the electronic medical record of the patient. receiving, at a wireless device of a patient, first location data indicating a location of the wireless device; accessing, by the wireless device, second location data indicating locations of one or more healthcare providers (1440, 1450, 1460); determining, by the wireless device and based at least on a comparison of the location of the wireless device to the one or more locations of the one or more healthcare providers, whether the location of the patient is proximate a location of a particular healthcare provider; in response to determining that the location of the patient is proximate the location of the particular healthcare provider, generating a visit event, and determining a validity of the visit event by calculating a probability; generating a visit event, and determining a validity of the visit event by calculating a probability; comparing, by the wireless device, the probability with a probability threshold; determining, by the wireless device, whether the probability is below the probability threshold; and in response to determining that the probability is not below the probability threshold, transmitting, from the wireless device to a recipient electronic device, an electronic medical record of the patient based at least on the calculation of the probability, and transmitting, from the wireless device to the recipient electronic device, authentication information for the electronic medical record of the patient, wherein the authentication information includes an authentication token and enables the recipient electronic device 1) to identify and authenticate the wireless device and 2) to authenticate the electronic medical record of the patient. transmitting, from the wireless device to a recipient electronic device, an electronic medical record of the patient based at least on the calculation of the probability, and transmitting, from the wireless device to the recipient electronic device, authentication information for the electronic medical record of the patient, wherein the authentication information includes an authentication token and enables the recipient electronic device 1) to identify and authenticate the wireless device and 2) to authenticate the electronic medical record of the patient.