RATIONALE: Gathering information from patients who have undergone treatment for upper gastrointestinal cancer or gynecological cancer may help doctors learn more about patients' physical and psychosocial rehabilitation needs and plan the best treatment.