A portable unit comprises a sampling mechanism used by a patient to take a sample of a bodily fluid or tissue that can be tested for any property indicative of a medical condition of the patient, a microprocessor for determining a treatment for the condition based on a test of the sample, and an administration mechanism for administering the treatment based on the determination by the microprocessor. Operationally, the unit samples a bodily function, evaluates the sample, determines from stored protocols and criteria if treatment is required, and administers treatment. Two-way wireless communication between the unit and one or more remote networks enables numerous functionalities, including (i) collection and collation of medical information and records relating to multiple users of information stored by their units for access by healthcare providers, regulatory agencies, insurance carriers, pharmaceutical companies, and others, (ii) unit maintenance and resupply of consumables, and (iii) direct user-to-user communication.