Comments (3)
Hi @nkundella,
thanks for raising this issue. Have you considered leveraging Binary resources to store these pdf files? We store the FHIR Resource for Binary Objects in DDB, but put the large binary data within S3. Would this work for your use case? You could then fill the extensions with references to these Binary resources.
Thanks for your time,
Sukeerth
from fhir-works-on-aws.
I did think of saving jsons to s3 and using the s3 urls in the extensions to refer back to the pdf files.
But in my case, if there is a case where we want to export the json and give to an organization. We have to get the pdf back from s3 and attach it to the extension and then send the complete json.
Would that be possible? or is there any other way?
from fhir-works-on-aws.
When using Binary resources in FWoA, performing a GET request will return a presigned S3 GET URL from which you can download the pdf from S3, and then attach it back to the json. If you want to avoid using Binary resources and instead store directly in S3, you could construct something similar and use a middleware to get the resource from S3 and attach it to the JSON. However, both of these approaches may increase latency time in requests as there is download time from S3 involved. Does this answer your question?
from fhir-works-on-aws.
Related Issues (7)
- [Misc] Observation date search is not working HOT 3
- [Bug] FWoA v5.1.0 deployment failed HOT 1
- [Bug] POST requests to APIG are limited to 100kb payload size HOT 1
- Unable to Make API call's even using Cognito Token, API Key - Getting UnAuthorized Error HOT 9
- [Misc] Is this still recommended for one datastore multi tenant? HOT 1
- How to remove opensearch instances from code? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhir-works-on-aws.