The present invention described a system for an energized ophthalmic device with a media insert that includes microfluidic elements upon or within the media insert. In some embodiments the microfluidic elements may be useful for the purpose of analyzing an analyte such as glucose in a fluid sample. In addition some embodiments can function with a medicament administering device to treat an abnormal condition identified during the analyte analysis in the fluid sample.