Skip to content

Feature: support for uploading GZIP bundles of patient data#21

Open
Dtphelan1 wants to merge 1 commit intosynthetichealth:masterfrom
Dtphelan1:dtp/trimming-down-for-patient-drilldown
Open

Feature: support for uploading GZIP bundles of patient data#21
Dtphelan1 wants to merge 1 commit intosynthetichealth:masterfrom
Dtphelan1:dtp/trimming-down-for-patient-drilldown

Conversation

@Dtphelan1
Copy link
Copy Markdown

Hi Synthea Team!

We're looking at using the SPT patient viewer (and the FHIR visualizers therein) as a quick way of uploading bundles of FHIR data to a webpage to view them in a more reasonable manner than poking around a giant JSON bundle/collection of NDJSON. However, our workflows leverage a lot of gzipped data. To support that usecase, I added the pako package (I thought about using the DecompressionStream API but was having issues getting that running on Node/certainly wouldn't expect it to run on package.json's recommended Node >= v14.

Anyway, I wanted to pay this small PR forward incase your team was interested in adding this new package/feature into the true SPT project.

P.S. Most of the changes are just eslint rules being applied; the meat of the change occurs in src/ui/components/PatientViewer/PatientViewer.jsx, specifically in the DropZone event handler you define.

Thanks,

  • Dylan P.

@Dtphelan1 Dtphelan1 closed this Nov 24, 2025
@Dtphelan1 Dtphelan1 deleted the dtp/trimming-down-for-patient-drilldown branch November 24, 2025 19:01
@Dtphelan1 Dtphelan1 restored the dtp/trimming-down-for-patient-drilldown branch November 24, 2025 19:08
@dehall
Copy link
Copy Markdown
Collaborator

dehall commented Dec 3, 2025

Hey, sorry I've been away for a few weeks plus the holiday so I'm just now actually able to look at this. At a glance it looks good and I'd be happy to merge if this is a feature you're still interested in

@Dtphelan1
Copy link
Copy Markdown
Author

Hey there!

Hope you had a good holiday! No worries on the delay - I accidentally closed this PR when I merged/deleted the branch on my fork. Still happy to see the feature get integrated. I'll reopen and respond to any feedback as needed 😄

@Dtphelan1 Dtphelan1 reopened this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants