Comments (3)
@rajakushwah1 Thanks for sharing the issue you're having, unfortunately CyFHIR does not currently supporting loading from a local file. If you take a look at some of the documentation of the [APOC Load JSON Clause]https://neo4j.com/labs/apoc/4.1/import/load-json/), they discuss some of the settings you need to set to use that function with local files. You could try following those guides and then passing the result of loading the local JSON file into cyfhir.resource.load or you could use your above python code and the Neo4J python driver to commit the bundle itself like I do in the demo notebooks.
from cyfhir.
@MatthewFrisby Thanks for the quick reply, I have done the settings to load a file from local. But unable to load the result in cyfhir.resource.load
Please correct me if the request is incorrect.
from cyfhir.
Thats still not going to work without following all the instructions laid out by Neo4j, and even then it might not work like I mentioned above. The other issue that doesn't even have a chance to throw an error here is that you're using the cyfhir.resource.load() on a bundle, you would need to use the cyfhir.bundle.load() instead for the 'fhirbundle.json'.
Theres not really a usecase for this other than playing around with fhir resources in the Neo4j Browser UI so I am closing this issue and I recommend that you re-read my comments above and the look through the documentation again, as well as look at the multiple examples throughout this repository here for node and here for python. I am closing this issue because this doesn't really pertain to this CyFHIR or a bug within the code, but if you do run into issues using it in an intended way, please
from cyfhir.
Related Issues (10)
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 cyfhir.