kitwaremedical / fhir-sandbox Goto Github PK
View Code? Open in Web Editor NEWTools for building a prepopulated fhir server
License: Apache License 2.0
Tools for building a prepopulated fhir server
License: Apache License 2.0
module_name
is not needed in the above line, correct?
@stephencrowell can you confirm?
Typo; this is causing it to not override the parent function
from @andinet :
Synthea is a synthetic EHR data generator
https://github.com/synthetichealth/synthea
It can export data in HL7 FHIR format.
Here is the original paper that talks about the simulator
https://academic.oup.com/jamia/article/25/3/230/4098271
more comments by me:
Synthea does not create a fhir server for you, but rather can write json to your disk that looks exactly like what you'd get if you looked up patient data that was served via the FHIR protocol (see here). It's as though you had a FHIR server with the data in it, queried the server to get some json representations of the FHIR resources, and then saved that text json to disk. So the tool we are creating still has value added beyond what Synthea does, because our tool sets up a containerized server for you. However, our tool is less ambitious than Synthea in that we are (currently) only supporting Patients and Observations (compare to the giant list of FHIR resources seen here again).
So in conclusion I do believe it will be valuable, perhaps later, to incorporate synthea as one form of data generation that our tool can use.
add an appropriate citation of mimic-III dataset into this repository
Messing with our argparse should not be necessary for a user of our API who wants to add a custom data source.
In fact it's best if they don't have to touch populate_fhir_server.py
at all.
Options:
populate_fhir_server.py
.populate_fhir_server.py
take an argument that somehow points to the custom classesFor a custom data source it would be nice to be able to tell users "create your data source definition like this and then feed it into our tool", rather than saying "fork this project and make these changes."
The basic random data option could be made a lot more useful with a pretty small amount of effort:
The way we currently import custom data sources is not great.
We should really make fhir-sandbox a proper python package that provides populate_fhir_server
as a script, and we should approach the problem of adding a custom data source in a more proper way, treating fhir-sandbox as an extensible API.
One example of an issue this method of customization causes is that the module containing the custom data source cannot do relative imports. There is a fix suggested here but there are so many other issues that crop up that we should really rethink the current design.
In another project we addressed packaging and customization properly, so we can follow that as a model.
"A more in-depth explanation with examples can be found here."
link broken
Need to think about how to approach this.
One thing I am noticing is the way information is grouped in UNIT_CODES
, LOINC_CODES
, and DISPLAY_STRINGS
, for example. Right now if I wanted to add a new observation type I'd have to go touch each of those and add my entry. It would be better if things were grouped such that the changes I need to make are more localized.
Even better if we can come up with a way to add custom observation types without touching the main code.
Similarly to #6, it would be ideal if users can use our tool directly rather than having to fork it if they want to add their own observation type. We need to think about how we can design it this way.
Rename this project and this repo to something not LungAIR specific.
Purpose of this project is to populate sandbox fhir servers with custom data. Nothing to do with LungAIR.
What is a good name that captures this objective?
https://physionet.org/content/mimic-iv-fhir-demo/2.0/
Contains the data from 100 patients taken from MIMIC-IV, but organized in a FHIR-like format.
It's FHIR-like data exported to json files that you can download -- then it'd be up to us to serve the json as if one is reading a real FHIR server.
Would definitely be a good data source option to add to our fhir-sandbox software if we had time/interest later.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.