News for hackers. Stuff that matters.
Re:Ask HN: Machine Learning Engineers, what do you do at work? by saulrh on Saturday June 08, 2024 @01:32AM (#40615496)
> HIPAA my left foot.

That was my experience as well - training documentation for fresh college grads (i.e. me) directed new engineers to just... send SQL queries to production to learn. There was a process for gaining permissions, there were audit logs, but the only sign-off you needed was your manager, permission lasted 12 months, and the managers just rubber-stamped everyone.

That was ten years ago. Every time I think about it I find myself hoping that things have gotten better and knowing they haven't.

Re:Ask HN: Machine Learning Engineers, what do you do at work? by bick_nyers on Saturday June 08, 2024 @01:55AM (#40615585)
... you didn't have a UAT environment?
Re:Ask HN: Machine Learning Engineers, what do you do at work? by roughly on Saturday June 08, 2024 @04:09AM (#40616095)
There’s an old joke that everyone’s got a testing environment, but some people are lucky enough to have a separate production environment.
Re:Ask HN: Machine Learning Engineers, what do you do at work? by saulrh on Saturday June 08, 2024 @02:47AM (#40615766)
There were a couple "not prod" environments, but they were either replicated directly from prod or so poorly maintained that they were unusable (empty tables, wrong schemas, off by multiple DB major versions, etc), no middle ground. So institutional culture was to just run everything against prod (for bare selects that could be copied and pasted into the textbox in the prod-access web tool) or a prod replica (for anything that needed a db connection). The training docs actually did specify Real Production, and first-week tasks included gaining Real Production access. If I walked in and was handed that training documentation today I'd raise hell and/or quit on the spot, but that was my first job out of college - it was basically everyone's first job out of college, they strongly preferred hiring new graduates - and I'd just had to give up on my PhD so I didn't have the confidence, energy, or pull to do anything about it, even bail out.

That was also the company where prod pushes happened once a month, over the weekend, and were all hands on deck in case of hiccups. It was an extraordinarily strong lesson in how not to organize software development.

(edit: if what you're really asking is "did every engineer have write access to production", the answer was, I believe, that only managers did, and they were at least not totally careless with it. not, like, actually responsible, no "formal post-mortem for why we had to use break-glass access", but it generally only got brought out to unbreak prod pushes. Still miserable.)

Re:Ask HN: Machine Learning Engineers, what do you do at work? by jollofricepeas on Saturday June 08, 2024 @08:38AM (#40617146)
So…

Is it surprising that Engineers in healthcare dont read the actual HIPAA documentation?

Use of health data is permitted so long as it’s for payment, treatment or operations. Disclosures and patient consent are not required.

There are helpful summaries on the US Department of Health and Humans Services website of the various rules (Security, Privacy & Notification)

Source: https://www.hhs.gov/hipaa/for-professionals/privacy/guidance...

This allowance is permitted to covered entities and by extension their vendors (business associates) by HIPAA.

If it wasn’t then, theoretically the US healthcare industry would grind to a halt considering the number of intermediaries for a single transaction.

Example:

Doctor writes script -> EHR -> Pharmacy -> Switch -> Clearinghouse —> PA Processing -> PBM/Plan makes determination

Along this flow there are other possible branches and vendors.

It’s beyond complex.

Re:Ask HN: Machine Learning Engineers, what do you do at work? by aiforecastthway on Saturday June 08, 2024 @09:31AM (#40617441)
> If it wasn’t then, theoretically the US healthcare industry would grind to a halt considering the number of intermediaries for a single transaction.

It just occurred to me that cleaning up our country's data privacy / data ownership mess might have extraordinarily positive second-order effects on our Kafkaesque and criminally expensive healthcare "system".

Maybe making it functionally impossible for there to be hundreds of middlemen between me and my doctor would be a... good thing?

Re:Ask HN: Machine Learning Engineers, what do you do at work? by throwaway936r8 on Saturday June 08, 2024 @09:07PM (#40621233)
I think it would have the opposite effect. We could end up with a few all-in-one systems that would dominate the market and have little incentive to improve or compete on usability and price.
Re:Ask HN: Machine Learning Engineers, what do you do at work? by Spooky23 on Sunday June 09, 2024 @09:59AM (#40624479)
Only if your mortgage isn’t paid by such a middleman.
Re:Ask HN: Machine Learning Engineers, what do you do at work? by specialist on Sunday June 09, 2024 @10:38AM (#40624725)
Correct. Would also mostly stop a lot of scams like identity theft.

A national identity service, like a normal mature economy, would be a massive public policy and public health win.

But it'd slightly decrease profits. So of course is quite impossible to implement.

Re:Ask HN: Machine Learning Engineers, what do you do at work? by outside1234 on Saturday June 08, 2024 @10:33AM (#40617780)
Define operations, because that sounds like a loophole that basically allows you to use it for anything
Re:Ask HN: Machine Learning Engineers, what do you do at work? by connicpu on Saturday June 08, 2024 @06:21PM (#40620578)
Basically the only thing you can't do with the data is disclose it to someone who doesn't also fall under HIPAA
Re:Ask HN: Machine Learning Engineers, what do you do at work? by Spooky23 on Sunday June 09, 2024 @10:00AM (#40624484)
HIPPA protects you against gossipy staff. Beyond that, it’s mostly smoke - entire industries are built on loopholes.

Pre-HIPPA, the hospital would tell a news reporter about your status. Now, drug marketing companies know about your prescriptions before your pharmacy does.

Re:Ask HN: Machine Learning Engineers, what do you do at work? by specialist on Sunday June 09, 2024 @10:44AM (#40624775)
Mid aughts, we devs sat in the meetings discussing how to enable this. With teams from Google Health, Microsoft Health Vault, some pharmas.

In attendance were marketing, biz dev, execs. Ours and theres. But no legal. Hmmm.

And it would have worked if it weren't for those meddling teenagers.

From your comment, I'm inferring they're now allowed to use health records for marketing.

Re:Ask HN: Machine Learning Engineers, what do you do at work? by Spooky23 on Sunday June 09, 2024 @01:01PM (#40625812)
My wife about 9 years ago was admitted to the hospital for a ruptured ectopic pregnancy. The baby would have been about two months along.

On the would-be due date, a box arrived via FedEx of Enfamil samples and a chirpy “welcome baby” message. Of course there was no baby.

It turns out that using prescription data, admission data and other information that is aggregated as part of subrogation and other processes, you can partially de-anonymize/rebuild / health record and make an inference. Enfamil told me what list they used and I bought it, it contained a bunch of information including my wife’s. I also know everyone in my zip code who had diabetes in 2015.

There’s even more intrusive stuff around opioid surveillance.

Re:Ask HN: Machine Learning Engineers, what do you do at work? by specialist on Sunday June 09, 2024 @04:08PM (#40627180)
I'm sorry for your loss. Shit.

> Emfamil samples...

Insult to injury. They're all just ghouls. Profitting from other people's pain.

> what list they used

Who watches the watchers? Nobody.

We had an instance of Lexis/Nexus' (formerly Seisent) demographic database to play with. Most people just can't wrap their heads around how bad things were in the mid-aughts. I was called a "sweaty paranoid kook" by our local paper for simply describing how things worked (no opinion or predictions).

Oh well. Maybe society has started to recognize what's happened.

Thanks for reading my rant. Peace.

Re:Ask HN: Machine Learning Engineers, what do you do at work? by notjulianjaynes on Monday June 10, 2024 @12:52AM (#40630279)
>There’s even more intrusive stuff around opioid surveillance.

Can you please explain more about this or point me towards a source?

Re:Ask HN: Machine Learning Engineers, what do you do at work? by specialist on Sunday June 09, 2024 @10:33AM (#40624684)
This is why I advocate all PII data be encrypted at rest at the field level.

Worked on EMRs (during the aughts). Had yearly HIPAA and other security theater training. Not optional for any one in the field.

Of course we had root access. I forget the precise language, but HIPAA exempts "intermediaries" such as ourselves. How else could we build and verify the system(s). And that's why HIPAA is a joke.

Yes, our systems had consent and permissions and audit logs cooked in. So theoretically peeking at PII could be caught. Alas, it was just CYA. None of our customers reviewed their access logs.

--

I worked very hard to figure out how to protect patient (and voter) privacy. Eventually conceded that deanon always beats anon, because of Big Data.

I eventually found the book Translucent Databases. Shows how to design schemas to protect PII for common use cases. Its One Weird Trick is applying proper protection of passwords (salt + hash) to all other PII. Super clever. And obvious once you're clued in.

That's just 1/2 of the solution.

The other 1/2 is policy (non technical). All data about a person is owned by that person. Applying property law to PII transmutes 3rd party retention of PII from an asset to a liability. And once legal, finance, and accounting people get involved, orgs won't hoard PII unless it's absolutely necessary.

(The legal term "privacy" means something like "sovereignty over oneself", not just the folk understanding of "keeping my secrets private.)

Re:Ask HN: Machine Learning Engineers, what do you do at work? by 1oooqooq on Sunday June 09, 2024 @12:44PM (#40625681)
> Use of health data is permitted so long as it’s for payment, treatment or operations

please, do tell me, where "estimating better pricing models to extract more profit" fit into those?

> Doctor writes script -> EHR -> Pharmacy -> Switch -> Clearinghouse —> PA Processing -> PBM/Plan makes determination

All the OP mentions happens way after the fact of those paths you described. People have already been charged. Treatment was already decided.