You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
importfhir2datasetasquerysql_query="SELECT p.name.family, p.address.city FROM Patient AS p WHERE p.birthdate=1944 AND p.gender = 'female'"query.sql(sql_query)
I get:
10%|█ | 100/1000 [00:00<00:07, 115.14it/s]
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-d4f3918b384c> in <module>()
1 import fhir2dataset as query
2 sql_query = "SELECT p.name.family, p.address.city FROM Patient AS p WHERE p.birthdate=1944 AND p.gender = 'female'"
----> 3 query.sql(sql_query)
2 frames
/usr/local/lib/python3.6/dist-packages/fhir2dataset/api_caller.py in get_all(self)
188
189 urls = []
--> 190 for i in range(number_calls):
191 urls.append(
192 (self.auth.token, f"{self.url}&_getpagesoffset={i*PAGE_SIZE}&_count={PAGE_SIZE}")
TypeError: 'numpy.float64' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered:
Description
When I run in G colab
I get:
The text was updated successfully, but these errors were encountered: