It corresponds to the legal assignment of a sex (maleAn organism, including humans, that has XY chromosomes and p... or femaleAn organism, including humans, that has XX chromosomes and p...) that is performed when the person is born and is usually performed by medical personnel based on their perception of the person’s genitals. In the case of intersexAll situations in which the sexual anatomy of the individual... people, relying only on the genital aspect can induce errors in the allocation of sex. Some countries consider a third allocation category (Indeterminate) for intersex cases.