optum / cyfhir Goto Github PK
View Code? Open in Web Editor NEWA Neo4j Plugin for Handling HL7 FHIR Data
License: GNU General Public License v3.0
A Neo4j Plugin for Handling HL7 FHIR Data
License: GNU General Public License v3.0
CALL apoc.path.expand(entry, ">|relationship", "-entry", 0, 999) YIELD path
WITH collect(path) AS paths
Call apoc.convert.toTree(paths) YIELD value
RETURN cyfhir.buildBundle(COLLECT(value))
Neo4j uses a .grass file to style nodes
Should cover all nodes possible by creating file programmatically
Unable to load FHIR bundle data using CyFHIR plugin.
Steps Followed -
Added CyFHIR to $NEO4J_HOME/plugins folder
Added APOC to $NEO4J_HOME/plugins folder
In $NEO4J_HOME/conf/neo4j.conf added apoc and cyfhir as unrestricted plugins NEO4J_dbms_security_procedu res_unrestricted: apoc.,cyfhir.
Restarted the server
Added escape chars to all double quotes in the JSON by executing the below code
import json,re
f = open('Agustin529_Ontiveros947_fe08e9ee-b231-93d9-0554-5b5540c9335b.json',)
bundle = json.load(f)
bundle_string = json.dumps(bundle)
bundle_string_formatted = re.sub(r'"', '\"', bundle_string)
out_file = open("myfile.json", "w")
json.dump(bundle_string_formatted, out_file, indent = 6)
Executed the command - CALL cyfhir.resource.load("file:///myfile.json", {validation: true, version: "r4"}) to load json
Input FHIR Bundle - https://github.com/Optum/CyFHIR/blob/main/demo/synthea-bundles/Agustin529_Ontiveros947_fe08e9ee-b231-93d9-0554-5b5540c9335b.json
Allow reading/writing for single resource single resource, link references
Add unit tests for existing code and document for future reference
In Realtime , Cypher queries can send data elements into configured hooks.
I can discuss further and would like to contribute.Thanks!!
Preferred: Validation in plugin
If it cannot take place in plugin, have it take place in express server
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.