When running codes from A gentle demo section in documentation, some commands return errors (probably originating from small syntax changes) using version 0.1.6.
Description
In section section "Extracting diabetes status", the following command does not output the same result than in documentation
diabetes.concept.value_counts()
Discrepancy solved in my case by replacing concept by value column
In section "Extracting covid status", the code cell below returns a KeyError: 'code_list' arising from line 81 in event_from_code function
When running codes from A gentle demo section in documentation, some commands return errors (probably originating from small syntax changes) using version 0.1.6.
Description
Discrepancy solved in my case by replacing
concept
byvalue
columnevent_from_code
functionChanging the dictionary in the following way solved the issue in my case :
A solution in my case was to convert,
birth_datetime
to datetime format using the following command :I guess the issue might be coming from the i2b2 connector
How to reproduce the bug
Code to load an i2b2 database (common for the 3 bugs) :
Minimal code for bug 1 :
Minimal code for bug 2 :
Minimal code for bug 3 :