Code Monkey home page Code Monkey logo

Comments (4)

bashir2 avatar bashir2 commented on July 24, 2024

Thanks @vbothe23 for filing this issue; are you using the FHIR-search mode or direct DB access when fetching resources? Is it possible that in the source FHIR server, there is also a Patient resource with id 82656? This behavior is unexpected and the IDs should be preserved.

from fhir-data-pipes.

vbothe23 avatar vbothe23 commented on July 24, 2024

Hi @bashir2,
I am using JDBC mode to fetch the resources.

In the HAPI FHIR server, resource IDs are automatically generated by the system, even if we explicitly specify an ID during resource creation. These auto-generated IDs are stored in the hfj_resource table, while explicitly specified IDs are stored in the hfj_forced_id table. However, the pipeline relies on the IDs from the hfj_resource table, leading to a discrepancy between the actual resource ID and the ID in the parquet file.

from fhir-data-pipes.

bashir2 avatar bashir2 commented on July 24, 2024

Thanks @vbothe23 for the clarification; yes this is a bug that we should fix. In the meantime you can use the FHIR search mode (i.e., avoid JDBC) and I believe that should return the original resource IDs.

from fhir-data-pipes.

bashir2 avatar bashir2 commented on July 24, 2024

This was fixed by #754 thanks @vbothe23.

from fhir-data-pipes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.