Incorrect population of REPORTERCOUNTRYR3[C.2.r.3] element

Summary

Non‑US REPORTERCOUNTRYR3[C.2.r.3] element incorrectly masked when Protect Confidentiality is enabled in FAERS E2B(R3) (Bug 38804679).

Before

In the FAERS E2B(R3) profile, when the Protect Confidentiality option was enabled for a case with a non-US reporter country, the REPORTERCOUNTRYR3[C.2.r.3] element was incorrectly populated with MSK NullFlavor even though valid source data (ISO country code) was available.

After

If valid data is available in the Source field, the REPORTERCOUNTRYR3[C.2.r.3] element always populates with the corresponding ISO 3166-1 country code, regardless of the Protect Confidentiality option settings. MSK or other NullFlavors are transmitted only when users explicitly provide and allow them.

Impacted module

E2B(R3) export (FAERS)