; and (B) implementation considerations for capturing such information, including whether program or system changes would be required, whether additional steps would be needed to maintain privacy and confidentiality as required under relevant laws and regulations, and the resources and timeframes at that would be needed to make such changes. (3) Stakeholder input The Secretary shall develop the report required under paragraph (1) and the guidance required under paragraph (2) with the input of relevant stakeholders, such as State Medicaid directors, Medicaid managed care organizations, and other relevant Federal agencies such as the Centers for Disease Control and Prevention, the Health Resources Services Administration, and the Agency for Healthcare Research and Quality. (4) Action plan report (A) In general If the Secretary determines in the report required under paragraph (1) that information related to the social determinants of health for individuals eligible for medical assistance under Medicaid or child health assistance or pregnancy-related assistance under CHIP cannot be captured under the data systems for such programs as in effect on the date such report is submitted, then, not later than 6 months after such date, the Secretary shall submit a second report to Congress that contains an action plan for implementing the program or data systems changes needed in order for such information to be collected while maintaining privacy and confidentiality as required under relevant laws and regulations. The action plan should be prepared so as to be implemented by the Federal Government and States not later than 2 years after the date on which the report required under this paragraph is submitted to Congress. (B) Revised guidance for states The Secretary shall revise and reissue the guidance for States required under paragraph (2) to take into account the action plan included in the report submitted to Congress under subparagraph (A). (5) Authorization of appropriations (A) Federal costs There are authorized to