Solar hypersensitivity, in this case a "persistent light reactor" state, may be initially drug-induced, e.g. by thiazide diuretics, as in this case. Note the sharp border of the dermatitis at the position of the rim of the hat.