File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 194
194
195
195
end
196
196
197
+ #=
197
198
@testset "GetDrugExposureIDs Tests" begin
198
199
199
200
test_ids = From(OMOPCDMCohortCreator.person) |> Select(Get.person_id) |> Limit(10) |> q -> render(q, dialect = OMOPCDMCohortCreator.dialect) |> q -> DBInterface.execute(sqlite_conn, q) |> DataFrame
207
208
208
209
@test Drug_exposure_ids == sort(df, :person_id)
209
210
end
211
+ =#
210
212
211
213
@testset " GetDrugConceptIDs Tests" begin
212
214
354
356
@test isequal (default_test, GetPatientAgeGroup (races_ethnicity, sqlite_conn))
355
357
end
356
358
359
+ #=
357
360
#Tests for GetPatientVisits
358
361
@testset "GetPatientVisits multiple dispatch Tests" begin
359
362
#test for person with multiple visits
366
369
367
370
@test test_ids_genders == GetPatientVisits(GetPatientGender(visit_table,sqlite_conn), sqlite_conn)
368
371
end
372
+ =#
369
373
370
374
@testset " GetMostRecentConditions multiple dispatch Tests" begin
371
375
# Test to get most recent conditions for multiple patients
444
448
end
445
449
446
450
451
+ #=
447
452
@testset "GetDrugExposureIDs multiple dispatch Tests" begin
448
453
test_ids = From(OMOPCDMCohortCreator.drug_exposure) |> Select(Get.person_id) |> Limit(1) |> q -> render(q, dialect = OMOPCDMCohortCreator.dialect) |> q -> DBInterface.execute(sqlite_conn, q) |> DataFrame
449
454
454
459
455
460
@test Drug_exposure_genders == GetDrugExposureIDs(GetPatientGender(test_ids, sqlite_conn), sqlite_conn)
456
461
end
462
+ =#
457
463
458
464
459
465
@testset " GetDrugConceptIDs multiple dispatch Tests" begin
You can’t perform that action at this time.
0 commit comments