The Michigan Birth Defects registry used the 9th revision to the International Classification of Diseases (ICD-9-CM) to code diagnosis. Patent foramen ovale. Q21.19.Other specified atrial septal defect. Q21.10, Atrial septal defect, unspecified. Q21.11, Secundum atrial septal defect. Q21.12 Patent foramen ovale - ICD-10-CM Diagnosis Codes. Patent foramen ovale. Persistent foramen ovale. An atrial septal defect repair or closure device or a patent foramen ovale repair or closure device is present. For inclusion in the Registry, the.