Hi Karl, I'm not the original poster, but I have the same concern, and perhaps I can clarify what I think Modi was worried about.
The 4-step process you outline above would be the happy path, but what if there's a different person who completes step 3.
ie:
1. Patient logs into my portal as themself
2. Patient clicks the "Connect with Blue Button 2.0" (or whatever) button that you're adding to that portal.
3. **** Another patient logs in to MyMedicare.gov (perhaps their spouse for example), and consents my portal to access the BB2 API
4. Since there's no way to verify the code we get back is related to a particular patient's data (via HICN or something), in this case we would wrongly attribute one patient's claims with a different person.
Hope that makes sense, happy to clarify further.
thanks!
Dan