Package: DrugExposureDiagnostics 1.0.6

Ger Inberg

DrugExposureDiagnostics:Diagnostics for OMOP Common Data Model Drug Records

Ingredient specific diagnostics for drug exposure records in the Observational Medical Outcomes Partnership (OMOP) common data model.

Authors:Ger Inberg [aut, cre], Edward Burn [aut], Theresa Burkard [aut], Yuchen Guo [ctb], Marti Catala [ctb], Mike Du [ctb], Xintong Li [ctb], Ross Williams [ctb], Erasmus MC [cph]

DrugExposureDiagnostics_1.0.6.tar.gz
DrugExposureDiagnostics_1.0.6.tar.gz(r-4.5-noble)DrugExposureDiagnostics_1.0.6.tar.gz(r-4.4-noble)
DrugExposureDiagnostics_1.0.6.tgz(r-4.4-emscripten)DrugExposureDiagnostics_1.0.6.tgz(r-4.3-emscripten)
DrugExposureDiagnostics.pdf |DrugExposureDiagnostics.html
DrugExposureDiagnostics/json (API)
NEWS

# InstallDrugExposureDiagnostics in R:
install.packages('DrugExposureDiagnostics',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/darwin-eu/drugexposurediagnostics/issues

4 exports 1.00 score 51 dependencies 599 downloads

Last updated 3 days agofrom:639a7f7600

Exports:%>%executeChecksmockDrugExposurewriteResultToDisk

Dependencies:backportsbitbit64blobCDMConnectorcheckmateclicliprcpp11crayonDBIdbplyrdiffobjdplyrDrugUtilisationfansifsgenericsgluehmsjsonlitelifecyclelubridatemagrittromopgenericsPatientProfilespillarpkgconfigprettyunitsprogresspurrrR6readrrematch2RJSONIOrlangsnakecasestringistringrtibbletictoctidyrtidyselecttimechangetzdbutf8vctrsvisOmopResultsvroomwaldowithr

Days Supply

Rendered fromDaysSupply.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Diagnostics Summary

Rendered fromDiagnosticsSummary.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2024-06-13

Drug Dose

Rendered fromDrugDose.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

DrugDuration

Rendered fromDrugDuration.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Drug Sig

Rendered fromDrugSig.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Drug Source Concepts

Rendered fromDrugSourceConcepts.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Drug Types

Rendered fromDrugTypes.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Introduction To DrugExposureDiagnostics

Rendered fromIntroductionToDrugExposureDiagnostics.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-01-15

Missingness

Rendered fromMissingness.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Quantity

Rendered fromQuantity.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Routes

Rendered fromRoutes.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Verbatim End Date

Rendered fromVerbatimEndDate.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-06-13
Started: 2024-06-13

Readme and manuals

Help Manual

Help pageTopics
Check if Days_supply is the same as datediff(drug_exp_start_date,drug_exp_end_date)checkDaysSupply
Check the database type.checkDbType
Get a summary of the daily drug dosecheckDrugDose
Check the drug sig field; this is the verbatim instruction for the drug as written by the provider.checkDrugSig
Check ingredient is present in given tablecheckIngredientInTable
Check is an ingredientcheckIsIngredient
Check if given object is a boolean.checkLogical
Check that the sample is bigger than the mincellcountcheckSampleMinCellCount
Check if given table exists in cdm.checkTableExists
Check the verbatim_end_date fieldcheckVerbatimEndDate
Store the given input in a remote database table. It will be stored either in a permanent table or a temporary table depending on tablePrefix.computeDBQuery
Execute given checks on Drug Exposure.executeChecks
Execute given checks on Drug Exposure for a single ingredient.executeChecksSingleIngredient
Check missings in drug exposure recordsgetDrugMissings
Drug exposure records for ingredients of interestgetDrugRecords
Get drug exposure route typesgetDrugRoutes
Check drug exposure source typesgetDrugSourceConcepts
Drug strength records for ingredients of interestgetDrugStrength
Get drug exposure record typesgetDrugTypes
Compute the difference in days between 2 variables in a database table.getDuration
Get the descendants for the given ingredientsingredientDescendantsInDb
Mock Drug exposure tables for ingredients of interestmockDrugExposure
Obscure the small number of countsobscureCounts
Print duration from start to now and print it as well as new status messageprintDurationAndMessage
Create a summary about the diagnostics resultssummariseChecks
Summarise drug exposure record durationssummariseDrugExposureDuration
Summarise the quantity column of the drug_exposure tablesummariseQuantity
Write diagnostics results to a zip file on disk in given output folder.writeResultToDisk