The current edition of APA is 7th.
Pay attention to premade citations -- in which style and which version of that style is the citation?
When you click "Cite" in PubMed, the default citation is NLM (National Library of Medicine) style. Switch to APA!