Except regarding a deceased person: for the sake of the honor of the deceased, they were lenient on the second day of Yom Tov; and thus our Sages, of blessed memory, said (Beitzah 6a): Regarding a deceased person, the Sages treated the second day of Yom Tov like a weekday. The details of the laws will be explained in siman 526. And similarly, they permitted applying blue eye-paint for healing on the second day of Yom Tov, even though there is no danger. And some say that the same law applies to any other illness that is not dangerous—one may do for him everything that is necessary by means of an Israelite on the second day of Yom Tov (Ran, third chapter of Beitzah). And some say specifically a labor of shevut, such as painting the eye. But a complete labor they did not permit (ibid., and Maggid Mishneh, first chapter of Yom Tov in the name of the Ramban, see there) by means of an Israelite, but rather by means of a non-Jew, just as on the first day of Yom Tov and Shabbat. And such is the halacha. And only prohibitions of shevutim is an Israelite permitted to do himself, even though on Yom Tov it is only permitted by means of a non-Jew, if it is not an illness of the entire body. And these permissions do not apply to the second day of Yom Tov of Rosh Hashanah, for the two days of Yom Tov of Rosh Hashanah are as a single long sanctity, as will be explained in its place. And similarly, a milah that is not in its proper time does not override the second day of Yom Tov of the diaspora, as I wrote in Yoreh Deah 266. And even a case of doubt, such as when on the second day of Yom Tov the newborn is a doubt of the eighth day or a doubt of the ninth day. And some say it does override. (See there in the Shach, and in Tamim De'im siman 102 in the name of the Rosh of Lunel that it overrides, see there. And I saw in the Magen Avraham, subsection 3, that one who fell and blood became congested, who needs to draw blood from it by means of cupping, and in our language "bankes," that it is forbidden even by means of a non-Jew, because he can wait until tomorrow, see there. And these are astonishing words: who told us that he will not become ill until tomorrow? And in my humble opinion, even on Shabbat and the first day of Yom Tov it is permitted by means of a non-Jew, according to the law of any illness that is not dangerous, unless the doctor says there is no concern at all until tomorrow.)
לבד לעניין מת: משום כבודו של מת הקילו ביום טוב שני; וכך אמרו חז"ל (ביצה ו א): יום טוב שני לגבי מת, כחול שויוהו רבנן. ופרטי הדינים יתבארו בסימן תקכו. וכן התירו לשום כחול בעין לרפואה ביום טוב שני, אף על פי שאין בו סכנה. ויש אומרים דהוא הדין שאר חולי שאין בו סכנה – יכולין לעשות לו כל מה שצריך על ידי ישראל ביום טוב שני (ר"ן פרק שלישי דביצה). ויש אומרים דדוקא מלאכת שבות כמו למיכחל עינא. אבל מלאכה גמורה לא התירו (שם, ומגיד משנה פרק ראשון דיום טוב בשם הרמב"ן, עיין שם) על ידי ישראל אלא על ידי אינו יהודי, כמו ביום טוב ראשון ושבת. וכן הלכה. ורק איסורי שבותים מותר לישראל לעשות בעצמו, אף על פי שביום טוב אינו מותר אלא על ידי אינו יהודי, אם אינה מחלת כל הגוף. והתירים אלו אינן ביום טוב שני של ראש השנה, דשני ימים טובים של ראש השנה כקדושה אריכתא היא, כמו שיתבאר במקומו. וכן מילה שלא בזמנה אינה דוחה יום טוב שני של גליות, כמו שכתבתי ביורה דעה רסו. ואפילו ספק, כגון שביום טוב שני הוה הנולד ספק שמיני ספק תשיעי. ויש אומרים דדוחה. (עיין שם בש"ך, ובתמים דעים סימן קב בשם הרא"ש מלוניל דדוחה, עיין שם. וראיתי במגן אברהם סעיף קטן ג דמי שנפל ונצרר הדם, דנצרך להמשיך ממנו דם על ידי קעפפע"ן, ובלשונינו באנקע"ס, דאסור אפילו על ידי אינו יהודי, משום שיכול להמתין עד למחר, עיין שם. ודברים תמוהים הם: מי הגיד לנו שלא יחלה עד למחר? ולעניות דעתי דאפילו בשבת ויום טוב ראשון מותר על ידי אינו יהודי, כדין כל חולי שאין בו סכנה, אלא אם כן הרופא אומר שאין שום חשש עד למחר.)