Closed luisleon1894 closed 3 months ago
I have created a PR for this issue --> https://github.com/OHDSI/WebAPI/pull/2371
I understand that this is a simple change, but I'm worried about violating the standard. This example could be used to further make 'compatible' changes to the schema, encouraging people to deviate from the published specs when it's possibly unknown what the impact might be. For example, in JavaScript, it's not actually possible to represent a full 64bit integer (It's like this as well with native R): some portion of the bits are used for intger, exponent ans sign of the number, so you get to a point where you get a value from a bigint in the db but it is interpreted differently in the UI.
Can you do a quick select count(*) from observation_period
and let me know the number of records in that table? Seems strange that you actually have at least 389686681703353278
rows.
Hi! I am developer in IOMED (link: Home). At our company company, one of the services we use is Atlas + WebPAPI. Recently , we encountered a limitation in the
Profiles
section related to the observartion_period.Explanation
We are aware that in the official DDL the
observation_period_id
column is of integer type. However in our environment we have set this column as bigint.Upon reviewing the traceback we notice that the function used currently is
getInt
. Is there any chance to use thegetLong
instead?Steps to reproduce behavior & Actual behavior
observation_period_id
bigger than a Integer, for example:Profiles
theperson_id
Using getLong function & Expected behavior
To check that the change solves the problem we have created a new fork and applied the proposed solution