A computer program such as KetoCalculator may be used to help generate recipes. The meals often have four components: heavy whipping cream, a protein-rich food (typically meat), a fruit or vegetable and a fat such as butter, vegetable oil or mayonnaise. Only low-carbohydrate fruits and vegetables are allowed, which excludes bananas, potatoes, peas and corn. Suitable fruits are divided into two groups based on the amount of carbohydrate they contain, and vegetables are similarly divided into two groups. Foods within each of these four groups may be freely substituted to allow for variation without needing to recalculate portion sizes. For example, cooked broccoli, Brussels sprouts, cauliflower and green beans are all equivalent. Fresh, canned or frozen foods are equivalent, but raw and cooked vegetables differ, and processed foods are an additional complication. Parents are required to be precise when measuring food quantities on an electronic scale accurate to 1 g. The child must eat the whole meal and cannot have extra portions; any snacks must be incorporated into the meal plan. A small amount of MCT oil may be used to help with constipation or to increase ketosis.
Another difference between older and newer studies is that the type of patients treated with the ketogenic diet has changed over time. When first developed and used, the ketogenic diet was not a treatment of last resort; in contrast, the children in modern studies have already tried and failed a number of anticonvulsant drugs, so may be assumed to have more difficult-to-treat epilepsy. Early and modern studies also differ because the treatment protocol has changed. In older protocols, the diet was initiated with a prolonged fast, designed to lose 5–10% body weight, and heavily restricted the calorie intake. Concerns over child health and growth led to a relaxation of the diet's restrictions. Fluid restriction was once a feature of the diet, but this led to increased risk of constipation and kidney stones, and is no longer considered beneficial.
Note: Are you a vegetarian or vegan and want to go on a ketogenic diet? It’s still possible! Just keep in mind that the dietary restrictions can sometimes be a little bit intense. Make sure to plan ahead and prepare to aid your success. To help out, we’ve published articles (with 7 day meal plans included) for both the vegetarian ketogenic diet and the vegan ketogenic diet.