Description Type: Text Returns the gender of the attached patient. Value Description M Male F Female U Unknown Examples // display patient gender in the debugger debug.log("Gender = " + avatar.gender); JavaScriptCopy Remarks None.