|
114 | 114 | "metadata": {},
|
115 | 115 | "outputs": [],
|
116 | 116 | "source": [
|
117 |
| - "from phenex.phenotypes.codelist_phenotype import CodelistPhenotype\n", |
| 117 | + "from phenex.phenotypes import CodelistPhenotype\n", |
118 | 118 | "# Ex.1 \n",
|
119 | 119 | "# Which patients had an atrial fibrillation diagnosis at **any time** in the data source?\n",
|
120 | 120 | "af_phenotype = CodelistPhenotype(\n",
|
|
197 | 197 | "outputs": [],
|
198 | 198 | "source": [
|
199 | 199 | "from phenex.phenotypes import CodelistPhenotype\n",
|
200 |
| - "from phenex.operations.filters import (\n", |
| 200 | + "from phenex.filters import (\n", |
201 | 201 | " GreaterThanOrEqualTo,\n",
|
202 | 202 | " LessThan,\n",
|
203 | 203 | " RelativeTimeRangeFilter, \n",
|
|
271 | 271 | "outputs": [],
|
272 | 272 | "source": [
|
273 | 273 | "from phenex.phenotypes import CodelistPhenotype\n",
|
274 |
| - "from phenex.operations.filters import (\n", |
| 274 | + "from phenex.filters import (\n", |
275 | 275 | " LessThanOrEqualTo,\n",
|
276 | 276 | " RelativeTimeRangeFilter\n",
|
277 | 277 | ")\n",
|
|
337 | 337 | "outputs": [],
|
338 | 338 | "source": [
|
339 | 339 | "from phenex.phenotypes import CodelistPhenotype\n",
|
340 |
| - "from phenex.operations.filters import (\n", |
| 340 | + "from phenex.filters import (\n", |
341 | 341 | " CategoricalFilter\n",
|
342 | 342 | ")\n",
|
343 | 343 | "\n",
|
|
368 | 368 | "metadata": {},
|
369 | 369 | "source": [
|
370 | 370 | "<a id='example_7'></a>\n",
|
371 |
| - "#### Example 7" |
| 371 | + "# CURRENTLY NOT IMPLEMENTED\n", |
| 372 | + "#### ~Example 7~" |
372 | 373 | ]
|
373 | 374 | },
|
374 | 375 | {
|
|
379 | 380 | "outputs": [],
|
380 | 381 | "source": [
|
381 | 382 | "from phenex.phenotypes import CodelistPhenotype\n",
|
382 |
| - "from phenex.operations.filters import (\n", |
| 383 | + "from phenex.filters import (\n", |
383 | 384 | " CategoricalFilter\n",
|
384 | 385 | ")\n",
|
385 | 386 | "\n",
|
|
429 | 430 | "outputs": [],
|
430 | 431 | "source": [
|
431 | 432 | "from phenex.phenotypes import CodelistPhenotype\n",
|
432 |
| - "from phenex.operations.filters import (\n", |
| 433 | + "from phenex.filters import (\n", |
433 | 434 | " LessThanOrEqualTo,\n",
|
434 | 435 | " RelativeTimeRangeFilter, \n",
|
435 | 436 | " CategoricalFilter\n",
|
|
499 | 500 | "outputs": [],
|
500 | 501 | "source": [
|
501 | 502 | "from phenex.phenotypes import CodelistPhenotype\n",
|
502 |
| - "from phenex.phenotypes import CodelistPhenotype\n", |
503 |
| - "from phenex.operations.filters import (\n", |
| 503 | + "from phenex.filters import (\n", |
504 | 504 | " LessThanOrEqualTo,\n",
|
505 | 505 | " RelativeTimeRangeFilter, \n",
|
506 | 506 | ")\n",
|
|
0 commit comments