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