Adds "Export as CSV" and "Export as PDF" buttons to the patient sidebar. (I just copied the "Archive Patient" button styles--feel free to adjust @mapsam!)
The CSV export includes all of the data in the patient details section, except for document images. It doesn't include referral or screening history right now, or any edit history. I'm not really sure what the use case is for the CSV export of a single patient, so not sure what else it makes sense to include--something to ask about next visit.
Adds the ability to control which organizations can refer to which, and updates the mock data script with some guesses about what that should look like (only Daily Planet and CrossOver can refer to Access Now, and no organization can refer to itself).
The "share patient" tab still shows prescreening results etc for organizations the current user can't refer to, but the "Send Referral" button won't appear.
Also fixes the bug in the mock data script that caused some rows on the search page to say "last edited by So and So at" without an organization name.