(computing) To write software programs.
To categorise by assigning identifiers from a schedule, for example CPT coding for medical insurance purposes.
(cryptography) To encode.
We should code the messages we sent out on usenet.
(medicine) Of a patient, to
suffer a sudden medical emergency such as cardiac arrest.
(genetics, intransitive) To encode a protein.
https://en.wiktionary.org/wiki/code