Esagil-kīn-apli relates that he assembled the diagnostic omens to produce the received text for the first millennium during the reign of Adad-apla-iddina. He says of these omens, “that since long ago had not been organized into a new edition but was tangled like threads and had no master edition.” The primary purpose of the diagnosis was to identify the divine sender of the disease, as this was perceived to be a message from a deity. He applies a logical set of axioms and assumptions, including the need to inspect the symptoms of a patient in order to come up with a diagnosis, and arranges the more than 3,000 entries systematically from head to foot, left (inauspicious) to right (auspicious), and in the color sequence red/brown, yellow/green, black or white, and two shades of uncertain hue on 40 tablets as this is the number of the god Ea who gave man diagnostic knowledge. It is divided into six chapters of unequal length and starts with a two-tablet section beginning “when the exorcist goes to the house of a sick person,” which provides the omens that one might encounter on the way such as a multi-colored pig (patient has dropsy). The second chapter, “when you approach the sick man,” is arranged "a capite ad calcem", “inspection from the head to the feet,” and was attributed to the authorship of the deity Ea. It was complete in twelve tablets, the first seven of which are devoted to the head. The third chapter on infectious diseases, “if he is sick for one day and…” includes the course of the disease. The fourth chapter exclusively deals with neurological syndromes including epilepsy, seizures, strokes, ghosts and gods and contains the few magical prescriptions contained within the work. The catalogue names the five tablets of this chapter, “if "miqtu" (a “fall”) falls upon him and…,” “if a man’s face has been struck by palsy,” “if the hand of a spirit turns him into an "an.ta.šub.ba" (sudden seizure “fallen from heaven”),” “if "Lugal.ùr.ra" is born with him,” and “if he is ill and opens his mouth all the time.”