And behold, according to what has been explained, that which we maintain that for the needs of a patient who is not in danger one may tell a non-Jew and he performs [the labor], and similarly a deceased person on the first day of Yom Tov, where we maintain that heathens should attend to him—it is forbidden with a slave, whether he circumcised and immersed or whether he did not circumcise and immerse but rather accepted upon himself the seven commandments; and according to the opinion of the Rashba, even if he did not accept upon himself the seven commandments, for from the Torah they are forbidden from performing labor for the sake of the Israelite. Therefore, regarding the labor of the Israelite, these also have the status of an Israelite, and they are not permitted to perform [labor] except in a case of danger like an Israelite himself. However, according to the opinion of the Rambam and the Ramban, one who did not accept upon himself the seven commandments is permitted, and through him the needs of a patient who is not in danger and a deceased person on the first day of Yom Tov may be performed. And know that regarding Yom Tov there is a dispute concerning the essence of the slave's prohibition, for the Bahag maintains that the slave is forbidden from performing labor on Yom Tov just as on Shabbat, and the Ramban disagrees with him and maintains that the slave was only cautioned on Shabbat and not on Yom Tov. And our teacher, the Beit Yosef, cited this dispute in his great work further on in siman 526. (And this is the first "there are those who say" in section 1, and it refers to Yom Tov. And the Magen Avraham, subsection 5, is of the opinion that this is the view of the Rambam which he cited afterward, and he questioned the duplication of the matters, but the Tosefot Shabbat, subsection 5, wrote as I have written; and examine this closely.)
והנה לפי מה שנתבאר הא דקיימא לן דצרכי חולה שאין בו סכנה אומר לאינו יהודי ועושה, וכן מת ביום טוב ראשון דקיימא לן יתעסקו בו עממין - אסור בעבד, בין שמל וטבל ובין שלא מל וטבל אלא שקיבל עליו ז' מצות, ולדעת הרשב"א אף בלא ק(י)בל עליו שבע מצות, שהרי מן התורה אסורים לעשות מלאכה בעד הישראל. ולכן לעניין מלאכת הישראל - גם אלו דינן כישראל, ואינן מותרים לעשות אלא במקום סכנה כישראל עצמו. אך לדעת הרמב"ם והרמב"ן, זה שלא קבל עליו ז' מצות - מותר, ונעשה על ידו צרכי חולה שאין בו סכנה ומת ביום טוב ראשון. ודע דלעניין יום טוב יש מחלוקת בעיקר איסורו של עבד, דהבה"ג סבירא ליה דאסור העבד לעשות מלאכה ביום טוב כמו בשבת, והרמב"ן חולק עליו וסבירא ליה דרק בשבת הוזהר העבד ולא ביום טוב. ופלוגתא זו הביא רבינו הב"י בספרו הגדול לקמן בסימן תקכ"ו. (וזהו היש אומרים הראשון שבסעיף א', ואיום טוב קאי. והמג"א סק"ה סבור דזהו דעת הרמב"ם שהביא אחר כך, והקשה על כפל הדברים, אבל הת"ש סק"ה כתב כמ"ש ודו"ק)