Comments (5)
We have worked on some FHIRPath evaluation logic in Python here, but looking at what has been synced from our internal repo to GitHub, I see that the FHIRPath tests aren't there yet. I'll take a look and see if we can sync the tests to ensure FHIRPath is working properly, which would be a good example of how to use it as well. I'll try to get back to this in the next couple days.
from fhir-py.
Hi Heming,
For some background, the Python package structure in the previous "fhir" project was an artifact of internal structure and bazel-based builds that was unwieldy -- partly with the symptom that both "google" and "proto" show up twice in the package name, and it does a poor job of following Python conventions. So we ended up reorganizing the code into a much more Pythonic structure that will (hopefully) be easier to use going forward.
Unfortunately that does mean we needed to change the package location. The protocol buffers in both locations should still be wire-compatible though, so any data you might have persisted or transmitted in protobuf form in the previous code should be readable in the new one.
Not being familiar with your code base it's hard to give concrete guidance on pulling in an object that was moved to a new location, but if there are components/submodules that could basically do a find/replace to pull in the new protobuf location and apply the change in a single commit, then that might be the best approach to explore.
Apologies for the noise here; we had pushed this as pre-1.0 code so such changes were possible, but now that we have these in a more idiomatic location I think the structure should be stable.
from fhir-py.
thank you for your response. I think we will need some way to hack our proto generation to get this working.
Now a separate question: I see fhirpath is implemented in this package as well, does this package provide a way to evaluate a fhir proto against a fhirpath expression with this package? If so, what's the proper way of doing it?
from fhir-py.
We chatted offline, but for anyone else following along some FHIRPath examples over protocol buffers are here: https://github.com/google/fhir-py/blob/main/google-fhir-r4/README.md#fhirpath-support
from fhir-py.
Thanks very much for your help Ryan! Closing this issue now.
from fhir-py.
Related Issues (8)
- Installation fails with "No matching distribution found for google-fhir-core~=0.8" HOT 2
- Answer field is not captured while creating dataframe from QuestionnaireResponse parquet files using fhir-views.
- Extracting partOf.id of Organization from BigQuery FHIR Dataset with analytics_v2 Schema HOT 1
- Compatibility with Protobuf 4.XX HOT 7
- Using Fhir views with BigQuery and Extensions
- support for FHIR R5?
- New release?
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-py.