The issue seems to only occur in Firefox.
Reproducing the issue:
- Create patient with "Microcephaly"
- Export JSON
- Create new patient
- Import JSON
- Microcephaly is not present in phenotype list, however, it is shown in the gene panels, and in the JSON if you export again (before saving)
- Saving the file results in microcephaly disappearing altogether