Live data from Hacker News

Simulated Hospital

github.com

41–50 of 108 posts

Re: Simulated Hospital

#42
Interesting. Having just been discharged from hospital after a 22 days stay, I would hope an awful lot of data is in my record. I had blood taken daily, I think standard obs (observations) at least 4 times a day, electronic scans (CT, Xray, EEG, ECG), lots of medicine via IV, oral and subcut. Multiple discussions daily with doctors and nurses (usually with the Drs, there was one asking questions, one listening, and another directly transcribing on a PC on a mobile workstation/crash cart. As meds and other care changed daily, presumably back room consulting resulted in treatment plan updates. BTW I'm very happy with the direction my health is heading, and feeling a lot better (and there is data being that up).

I haven't checked what my record is on our (Aussie) national health record yet [1]. I'll have a limited view for sure, but when I meet with my GP (general practitioner, MD, physician) to discuss my discharge summary on Monday, I might ask him to see what he has access to, and his complete it is.. I know I have been disappointed at what seemed to be quite devoid of info, despite all the controversy that ensued when it was introduced a few years back.

[1] https://www.digitalhealth.gov.au/initiatives-and-programs/my...

Re: Simulated Hospital

#43

Nice effort, and its something. But something may not be good enough to solve hard problems. Can simulated hospital simulate efforts by staff to quickly add into many charts a medication Rx - by taking one patient note and copying 1 note, then pasting that into several? Does it simulate staff forgetting the dosage was not edited after pasting into all those charts ? Or staff not logging out of their userID, to avoid…

Presumably you could try to simulate these kinds of mistakes.

Re: Simulated Hospital

#44
post #22

When they say "Most EHRs use a message format called HL7v2, which is ugly and tedious to type." they aren't kidding, here's an example of it: MSH|^~\&|FROM_APP|FROM_FACILITY|TO_APP|TO_FACILITY|20180101000000||ADT^A01|20180101000000|P|2.5| EVN|A01|20110613083617| PID|1|843125^^^^MRN|21004053^^^^MRN~2269030303^^^^ORGNMBR||SULLY^BRIAN||19611209|M|||123 MAIN ST^^CITY^STATE^12345| PV1||I|H73 RM1^1^^HIGHWAY 01 CLINIC||||51…

I've worked a lot with DICOM which has plenty of warts (as expected with a 30 year old living standard), but HL7 is a bit much for me. At least FHIR and DICOMweb are considerably saner.

You haven't lived until you've tried to debug it. The array isn't zero based. The line breaks have different characters for breaking the lines, and you get to guess which ones are doing it.

Certain characters are ok (ASKII) but when a Mac gets a nice ' into the field, all hell breaks loose. Things like "lesion at 9 o'clock" then break the system, as does Mr O'Leary. The hours spent chasing down how some failure happened are countless. Pity those working with HL7.

Re: Simulated Hospital

#45

How can you know if the fake data is sufficiently similar to real data? I wonder what Google's use case for this is.

Ultimately this is just an orchestration tool for publishing HL7v2 messages. You have to write your own pathways and segments, or push preconfigured HL7v2 messages. Take a look at the dashboard, you'll see what I mean[1].

Fairly sure they built this to test their HL7v2 store[2]. Also presuming it hasn't been very active given that Google surprisingly shut down their Healthcare division (and probably restarted it somewhere)[3].

[1] https://github.com/google/simhospital/blob/master/docs/dashb... [2] https://cloud.google.com/healthcare-api/docs/concepts/hl7v2#... [3] https://www.businessinsider.com/google-health-shutting-down-...

Re: Simulated Hospital

#46
post #28
post #22

When they say "Most EHRs use a message format called HL7v2, which is ugly and tedious to type." they aren't kidding, here's an example of it: MSH|^~\&|FROM_APP|FROM_FACILITY|TO_APP|TO_FACILITY|20180101000000||ADT^A01|20180101000000|P|2.5| EVN|A01|20110613083617| PID|1|843125^^^^MRN|21004053^^^^MRN~2269030303^^^^ORGNMBR||SULLY^BRIAN||19611209|M|||123 MAIN ST^^CITY^STATE^12345| PV1||I|H73 RM1^1^^HIGHWAY 01 CLINIC||||51…

I designed HL7v2 and v3 (xml based) parsers in Mirth. It was horrible, but boy did I learn a ton. Subtle bugs could lead to scary outcomes like drug doses being way off. Seeing the string “PID” still causes nightmares.

Pelvis Inflammatory Disease as a data format - a perfect description for HL7.

Re: Simulated Hospital

#47

Interesting. Having just been discharged from hospital after a 22 days stay, I would hope an awful lot of data is in my record. I had blood taken daily, I think standard obs (observations) at least 4 times a day, electronic scans (CT, Xray, EEG, ECG), lots of medicine via IV, oral and subcut. Multiple discussions daily with doctors and nurses (usually with the Drs, there was one asking questions, one listening, and a…

Australia doesn't have a unified system. Across the ditch we don't either, but at least we have a patient identification system that allows the searching of different systems for an individual via the National health Index number (NHI).

Re: Simulated Hospital

#49
post #22

When they say "Most EHRs use a message format called HL7v2, which is ugly and tedious to type." they aren't kidding, here's an example of it: MSH|^~\&|FROM_APP|FROM_FACILITY|TO_APP|TO_FACILITY|20180101000000||ADT^A01|20180101000000|P|2.5| EVN|A01|20110613083617| PID|1|843125^^^^MRN|21004053^^^^MRN~2269030303^^^^ORGNMBR||SULLY^BRIAN||19611209|M|||123 MAIN ST^^CITY^STATE^12345| PV1||I|H73 RM1^1^^HIGHWAY 01 CLINIC||||51…

This message object seems to be missing the HIPAA^ENCRYPTED field (pun intended)...I am assuming the encryption is implemented above this layer? Is there a standard for HL7v2 encryption?

Re: Simulated Hospital

#50
post #25
post #22

When they say "Most EHRs use a message format called HL7v2, which is ugly and tedious to type." they aren't kidding, here's an example of it: MSH|^~\&|FROM_APP|FROM_FACILITY|TO_APP|TO_FACILITY|20180101000000||ADT^A01|20180101000000|P|2.5| EVN|A01|20110613083617| PID|1|843125^^^^MRN|21004053^^^^MRN~2269030303^^^^ORGNMBR||SULLY^BRIAN||19611209|M|||123 MAIN ST^^CITY^STATE^12345| PV1||I|H73 RM1^1^^HIGHWAY 01 CLINIC||||51…

The wire format is a bit messy and hard to read. But developers mostly work through libraries like HAPI which have a decent API. https://hapifhir.github.io/hapi-hl7v2/

Last Published: 2017-06-23...is it still active?
Post reply on HN