Comments (5)
Hi @citizenrich, we have had discussions about whether to make this change or not before but haven't quite landed on a answer for whether this would be a correct use of FHIR or not.
The argument against is that a FHIR server should really manage it's own IDs (which is essentially its primary keys) and that should be irrelevant to an outside system. The server cannot guarantee that there won't be clashes with other IDs if it accepts IDs that the user sends.
The argument for is that it makes it easier for FHIR servers and clients to use IDs that they already have been using, thus making integration easier.
I'd be keen to hear your thoughts on this and a usecase for why this would be useful for you.
What we could do is make this an option in config to allow upserts which defaults to false. That may make both sides happy.
from hearth.
Thanks @rcrichton the config option would be great. The use case is that we are moving data from one FHIR source to Hearth. We'd like to keep all of the existing mappings in place.
from hearth.
Just a ping on this issue in the hope that it goes on a roadmap.
from hearth.
This is being addressed in PR #164
from hearth.
I am closing this issue as it has been resolved in the PR @BMartinos referred to.
from hearth.
Related Issues (11)
- Versioning FHIR resources HOT 4
- Query for chained parameters to the same Resource HOT 1
- Support for mCSD? HOT 2
- Add capability statement HOT 1
- Support for Multiple Databases HOT 2
- bundle of type transaction fails to create resources [enhancement] HOT 3
- Config for validation.enabled not be applied correctly
- 401 Unauthorized Error HOT 6
- Checking Scopes HOT 1
- R4 Updates HOT 2
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 hearth.