The answer is Z3A.39
ICD-10-CM code are used to express diagnosis of the a patient. The code Z3 is used for patient with diagnosis related to reproduction. The term Z3A.XX is used for pregnancy where "XX" is the number of weeks of gestation. Because the woman is at 39 weeks, then the code would be Z3A.39