Input (grade 10): A patient who has such an illness may be referred to as a terminal patient or terminally ill/O..
Output (grade 12): Someone who has a terminal illness may be described as a terminal patient or as being terminally ill/O..