{
  "_id": "6a169bffacfb0bcc41d7e63b",
  "Package": "DrugUtilisation",
  "Title": "Summarise Patient-Level Drug Utilisation in Data Mapped to the\nOMOP Common Data Model",
  "Version": "1.1.0",
  "Authors@R": "c(\nperson(\n\"Martí\", \"Català\", email = \"marti.catalasabate@ndorms.ox.ac.uk\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-3308-9905\")\n),\nperson(\n\"Mike\", \"Du\", email = \"mike.du@ndorms.ox.ac.uk\", role = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0002-9517-8834\")\n),\nperson(\n\"Yuchen\", \"Guo\", email = \"yuchen.guo@ndorms.ox.ac.uk\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-0847-4855\")\n),\nperson(\n\"Kim\", \"Lopez-Guell\", , \"kim.lopez@spc.ox.ac.uk\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-8462-8668\")\n),\nperson(\n\"Edward\", \"Burn\", email = \"edward.burn@ndorms.ox.ac.uk\",\nrole = c(\"aut\"), comment = c(ORCID = \"0000-0002-9286-1128\")\n),\nperson(\n\"Xintong\", \"Li\", email = \"xintong.li@ndorms.ox.ac.uk\", role = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0002-6872-5804\")\n),\nperson(\n\"Marta\", \"Alcalde-Herraiz\",\nemail = \"marta.alcaldeherraiz@ndorms.ox.ac.uk\",\nrole = c(\"ctb\"), comment = c(ORCID = \"0009-0002-4405-1814\")\n),\nperson(\n\"Nuria\", \"Mercade-Besora\", ,\nemail = \"nuria.mercadebesora@ndorms.ox.ac.uk\", role = c(\"aut\"),\ncomment = c(ORCID = \"0009-0006-7948-3747\")\n),\nperson(\n\"Xihang\", \"Chen\", ,\nemail = \"xihang.chen@ndorms.ox.ac.uk\", role = c(\"aut\"),\ncomment = c(ORCID = \"0009-0001-8112-8959\")\n))",
  "Description": "Summarise patient-level drug utilisation cohorts using\ndata mapped to the Observational Medical Outcomes Partnership\n(OMOP) common data model. New users and prevalent users cohorts\ncan be generated and their characteristics, indication and drug\nuse summarised.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "URL": "https://darwin-eu.github.io/DrugUtilisation/",
  "BugReports": "https://github.com/darwin-eu/DrugUtilisation/issues",
  "Config/testthat/parallel": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://darwin-eu.r-universe.dev",
  "Date/Publication": "2026-02-26 08:33:07 UTC",
  "RemoteUrl": "https://github.com/darwin-eu/drugutilisation",
  "RemoteRef": "HEAD",
  "RemoteSha": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 07:16:17 UTC",
    "User": "root"
  },
  "Author": "Martí Català [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3308-9905>),\nMike Du [ctb] (ORCID: <https://orcid.org/0000-0002-9517-8834>),\nYuchen Guo [aut] (ORCID: <https://orcid.org/0000-0002-0847-4855>),\nKim Lopez-Guell [aut] (ORCID: <https://orcid.org/0000-0002-8462-8668>),\nEdward Burn [aut] (ORCID: <https://orcid.org/0000-0002-9286-1128>),\nXintong Li [ctb] (ORCID: <https://orcid.org/0000-0002-6872-5804>),\nMarta Alcalde-Herraiz [ctb] (ORCID:\n<https://orcid.org/0009-0002-4405-1814>),\nNuria Mercade-Besora [aut] (ORCID:\n<https://orcid.org/0009-0006-7948-3747>),\nXihang Chen [aut] (ORCID: <https://orcid.org/0009-0001-8112-8959>)",
  "Maintainer": "Martí Català <marti.catalasabate@ndorms.ox.ac.uk>",
  "MD5sum": "f0d374bb82cba9fef05df5eedfeb2453",
  "_user": "darwin-eu",
  "_type": "src",
  "_file": "DrugUtilisation_1.1.0.tar.gz",
  "_fileid": "35a358cb14370ab970eb0229ebd37ef1ff4a35b6a3025ae6b252415276fabf50",
  "_filesize": 1249314,
  "_sha256": "35a358cb14370ab970eb0229ebd37ef1ff4a35b6a3025ae6b252415276fabf50",
  "_created": "2026-05-27T07:16:17.000Z",
  "_published": "2026-05-27T07:23:43.811Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78026713378,
      "time": 254,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234256605"
    },
    {
      "job": 78026713408,
      "time": 261,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234258814"
    },
    {
      "job": 78026713461,
      "time": 249,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234304761"
    },
    {
      "job": 78026713512,
      "time": 235,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234298542"
    },
    {
      "job": 78025977586,
      "time": 313,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234178483"
    },
    {
      "job": 78026713382,
      "time": 187,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234236083"
    },
    {
      "job": 78026713386,
      "time": 221,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234246203"
    },
    {
      "job": 78026713474,
      "time": 195,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234238725"
    },
    {
      "job": 78026713471,
      "time": 203,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234241051"
    }
  ],
  "_buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/darwin-eu/drugutilisation",
  "_commit": {
    "id": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
    "author": "Martí Català Sabaté <marticatalasabate@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #16 from darwin-eu/catalamarti-patch-1\n\nEnhance _pkgdown.yml with navbar and tutorial",
    "time": 1772094787
  },
  "_maintainer": {
    "name": "Martí Català",
    "email": "marti.catalasabate@ndorms.ox.ac.uk",
    "login": "catalamarti",
    "description": "",
    "uuid": 18575244,
    "orcid": "0000-0003-3308-9905"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "clock",
      "role": "Imports"
    },
    {
      "package": "CodelistGenerator",
      "version": ">= 3.1.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "omopgenerics",
      "version": ">= 1.3.1",
      "role": "Imports"
    },
    {
      "package": "PatientProfiles",
      "version": ">= 1.4.2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "bit64",
      "role": "Suggests"
    },
    {
      "package": "CDMConnector",
      "version": ">= 1.4.0",
      "role": "Suggests"
    },
    {
      "package": "CohortConstructor",
      "role": "Suggests"
    },
    {
      "package": "CohortSurvival",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "downlit",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "extrafont",
      "role": "Suggests"
    },
    {
      "package": "flextable",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggtext",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "odbc",
      "role": "Suggests"
    },
    {
      "package": "omock",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RPostgres",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.5",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "visOmopResults",
      "version": ">= 1.3.0",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "darwin-eu",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-22",
      "n": 1
    },
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2",
      "date": "2025-05-29"
    },
    {
      "name": "v1.0.3",
      "date": "2025-06-18"
    },
    {
      "name": "v1.0.4",
      "date": "2025-07-03"
    },
    {
      "name": "v1.0.5",
      "date": "2025-11-19"
    },
    {
      "name": "v1.1.0",
      "date": "2026-01-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "catalamarti",
      "count": 1070,
      "uuid": 18575244
    },
    {
      "user": "mimiyuchenguo",
      "count": 74,
      "uuid": 57181081
    },
    {
      "user": "nmercadeb",
      "count": 70,
      "uuid": 61558739
    },
    {
      "user": "edward-burn",
      "count": 32,
      "uuid": 9583964
    },
    {
      "user": "kimlopezguell",
      "count": 26,
      "uuid": 99121045
    },
    {
      "user": "xihang-chen",
      "count": 22,
      "uuid": 114928037
    },
    {
      "user": "ilovemane",
      "count": 15,
      "uuid": 58779940
    },
    {
      "user": "tiozab",
      "count": 2,
      "uuid": 94674809
    },
    {
      "user": "ginberg",
      "count": 1,
      "uuid": 7089667
    },
    {
      "user": "martaalcalde",
      "count": 1,
      "uuid": 91142894
    },
    {
      "user": "xintong-li-zncu",
      "count": 1,
      "uuid": 43093505
    }
  ],
  "_userbio": {
    "uuid": 120334168,
    "type": "organization",
    "name": "Darwin EU® Public Code Repository",
    "description": "DARWIN EU® will deliver real-world evidence from across Europe on diseases, populations and the uses and performance of medicines."
  },
  "_downloads": {
    "count": 784,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DrugUtilisation"
  },
  "_devurl": "https://github.com/darwin-eu/drugutilisation",
  "_pkgdown": "https://darwin-eu.github.io/DrugUtilisation/",
  "_searchresults": 224,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DrugUtilisation.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/darwin-eu/drugutilisation",
  "_realowner": "darwin-eu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2023-06-19"
    },
    {
      "version": "0.3.1",
      "date": "2023-08-09"
    },
    {
      "version": "0.3.2",
      "date": "2023-08-31"
    },
    {
      "version": "0.3.3",
      "date": "2023-09-26"
    },
    {
      "version": "0.4.0",
      "date": "2023-10-20"
    },
    {
      "version": "0.4.1",
      "date": "2023-11-23"
    },
    {
      "version": "0.5.0",
      "date": "2024-02-10"
    },
    {
      "version": "0.5.1",
      "date": "2024-02-28"
    },
    {
      "version": "0.5.2",
      "date": "2024-03-06"
    },
    {
      "version": "0.5.3",
      "date": "2024-04-02"
    },
    {
      "version": "0.6.0",
      "date": "2024-05-14"
    },
    {
      "version": "0.6.1",
      "date": "2024-06-04"
    },
    {
      "version": "0.7.0",
      "date": "2024-07-29"
    },
    {
      "version": "0.7.1",
      "date": "2024-09-06"
    },
    {
      "version": "0.8.0",
      "date": "2024-12-10"
    },
    {
      "version": "0.8.1",
      "date": "2024-12-19"
    },
    {
      "version": "0.8.2",
      "date": "2025-01-17"
    },
    {
      "version": "0.8.3",
      "date": "2025-03-22"
    },
    {
      "version": "1.0.0",
      "date": "2025-03-27"
    },
    {
      "version": "1.0.1",
      "date": "2025-04-15"
    },
    {
      "version": "1.0.2",
      "date": "2025-05-13"
    },
    {
      "version": "1.0.3",
      "date": "2025-06-03"
    },
    {
      "version": "1.0.4",
      "date": "2025-07-02"
    },
    {
      "version": "1.0.5",
      "date": "2025-11-19"
    },
    {
      "version": "1.1.0",
      "date": "2026-01-28"
    }
  ],
  "_exports": [
    "addCumulativeDose",
    "addCumulativeQuantity",
    "addDailyDose",
    "addDaysExposed",
    "addDaysPrescribed",
    "addDrugRestart",
    "addDrugUtilisation",
    "addIndication",
    "addInitialDailyDose",
    "addInitialExposureDuration",
    "addInitialQuantity",
    "additionalColumns",
    "addNumberEras",
    "addNumberExposures",
    "addTimeToExposure",
    "addTreatment",
    "attrition",
    "benchmarkDrugUtilisation",
    "bind",
    "cohortCodelist",
    "cohortCount",
    "cohortGapEra",
    "erafyCohort",
    "exportSummarisedResult",
    "generateAtcCohortSet",
    "generateDrugUtilisationCohortSet",
    "generateIngredientCohortSet",
    "groupColumns",
    "importSummarisedResult",
    "mockDrugUtilisation",
    "patternTable",
    "plotDrugRestart",
    "plotDrugUtilisation",
    "plotIndication",
    "plotProportionOfPatientsCovered",
    "plotTreatment",
    "requireDrugInDateRange",
    "requireIsFirstDrugEntry",
    "requireObservationBeforeDrug",
    "requirePriorDrugWashout",
    "settings",
    "settingsColumns",
    "strataColumns",
    "summariseDoseCoverage",
    "summariseDrugRestart",
    "summariseDrugUtilisation",
    "summariseIndication",
    "summariseProportionOfPatientsCovered",
    "summariseTreatment",
    "suppress",
    "tableDoseCoverage",
    "tableDrugRestart",
    "tableDrugUtilisation",
    "tableIndication",
    "tableProportionOfPatientsCovered",
    "tableTreatment",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "patternsWithFormula",
      "title": "Patterns valid to compute daily dose with the associated formula.",
      "object": "patternsWithFormula",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pattern_id",
        "amount",
        "amount_unit",
        "numerator",
        "numerator_unit",
        "denominator",
        "denominator_unit",
        "formula_name",
        "formula"
      ],
      "rows": 41,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "addCumulativeDose",
      "title": "To add a new column with the cumulative dose. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addCumulativeDose"
      ]
    },
    {
      "page": "addCumulativeQuantity",
      "title": "To add a new column with the cumulative quantity. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addCumulativeQuantity"
      ]
    },
    {
      "page": "addDailyDose",
      "title": "Add daily dose to 'drug_exposure' like table",
      "topics": [
        "addDailyDose"
      ]
    },
    {
      "page": "addDaysExposed",
      "title": "To add a new column with the days exposed. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addDaysExposed"
      ]
    },
    {
      "page": "addDaysPrescribed",
      "title": "To add a new column with the days prescribed. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addDaysPrescribed"
      ]
    },
    {
      "page": "addDrugRestart",
      "title": "Add drug restart information as a column per follow-up period of interest.",
      "topics": [
        "addDrugRestart"
      ]
    },
    {
      "page": "addDrugUtilisation",
      "title": "Add new columns with drug use related information",
      "topics": [
        "addDrugUtilisation"
      ]
    },
    {
      "page": "addIndication",
      "title": "Add a variable indicating individuals indications",
      "topics": [
        "addIndication"
      ]
    },
    {
      "page": "addInitialDailyDose",
      "title": "To add a new column with the initial daily dose. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addInitialDailyDose"
      ]
    },
    {
      "page": "addInitialExposureDuration",
      "title": "To add a new column with the duration of the first exposure. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addInitialExposureDuration"
      ]
    },
    {
      "page": "addInitialQuantity",
      "title": "To add a new column with the initial quantity. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addInitialQuantity"
      ]
    },
    {
      "page": "addNumberEras",
      "title": "To add a new column with the number of eras. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addNumberEras"
      ]
    },
    {
      "page": "addNumberExposures",
      "title": "To add a new column with the number of exposures. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addNumberExposures"
      ]
    },
    {
      "page": "addTimeToExposure",
      "title": "To add a new column with the time to exposure. To add multiple columns use 'addDrugUtilisation()' for efficiency.",
      "topics": [
        "addTimeToExposure"
      ]
    },
    {
      "page": "addTreatment",
      "title": "Add a variable indicating individuals medications",
      "topics": [
        "addTreatment"
      ]
    },
    {
      "page": "benchmarkDrugUtilisation",
      "title": "Run benchmark of drug utilisation cohort generation",
      "topics": [
        "benchmarkDrugUtilisation"
      ]
    },
    {
      "page": "cohortGapEra",
      "title": "Get the gapEra used to create a cohort",
      "topics": [
        "cohortGapEra"
      ]
    },
    {
      "page": "erafyCohort",
      "title": "Erafy a cohort_table collapsing records separated gapEra days or less.",
      "topics": [
        "erafyCohort"
      ]
    },
    {
      "page": "generateAtcCohortSet",
      "title": "Generate a set of drug cohorts based on ATC classification",
      "topics": [
        "generateAtcCohortSet"
      ]
    },
    {
      "page": "generateDrugUtilisationCohortSet",
      "title": "Generate a set of drug cohorts based on given concepts",
      "topics": [
        "generateDrugUtilisationCohortSet"
      ]
    },
    {
      "page": "generateIngredientCohortSet",
      "title": "Generate a set of drug cohorts based on drug ingredients",
      "topics": [
        "generateIngredientCohortSet"
      ]
    },
    {
      "page": "mockDrugUtilisation",
      "title": "It creates a mock database for testing DrugUtilisation package",
      "topics": [
        "mockDrugUtilisation"
      ]
    },
    {
      "page": "patternsWithFormula",
      "title": "Patterns valid to compute daily dose with the associated formula.",
      "topics": [
        "patternsWithFormula"
      ]
    },
    {
      "page": "patternTable",
      "title": "Function to create a tibble with the patterns from current drug strength table",
      "topics": [
        "patternTable"
      ]
    },
    {
      "page": "plotDrugRestart",
      "title": "Generate a custom ggplot2 from a summarised_result object generated with summariseDrugRestart() function.",
      "topics": [
        "plotDrugRestart"
      ]
    },
    {
      "page": "plotDrugUtilisation",
      "title": "Plot the results of 'summariseDrugUtilisation'",
      "topics": [
        "plotDrugUtilisation"
      ]
    },
    {
      "page": "plotIndication",
      "title": "Generate a plot visualisation (ggplot2) from the output of summariseIndication",
      "topics": [
        "plotIndication"
      ]
    },
    {
      "page": "plotProportionOfPatientsCovered",
      "title": "Plot proportion of patients covered",
      "topics": [
        "plotProportionOfPatientsCovered"
      ]
    },
    {
      "page": "plotTreatment",
      "title": "Generate a custom ggplot2 from a summarised_result object generated with summariseTreatment function.",
      "topics": [
        "plotTreatment"
      ]
    },
    {
      "page": "requireDrugInDateRange",
      "title": "Restrict cohort to only cohort records within a certain date range",
      "topics": [
        "requireDrugInDateRange"
      ]
    },
    {
      "page": "requireIsFirstDrugEntry",
      "title": "Restrict cohort to only the first cohort record per subject",
      "topics": [
        "requireIsFirstDrugEntry"
      ]
    },
    {
      "page": "requireObservationBeforeDrug",
      "title": "Restrict cohort to only cohort records with the given amount of prior observation time in the database",
      "topics": [
        "requireObservationBeforeDrug"
      ]
    },
    {
      "page": "requirePriorDrugWashout",
      "title": "Restrict cohort to only cohort records with a given amount of time since the last cohort record ended",
      "topics": [
        "requirePriorDrugWashout"
      ]
    },
    {
      "page": "summariseDoseCoverage",
      "title": "Check coverage of daily dose computation in a sample of the cdm for selected concept sets and ingredient",
      "topics": [
        "summariseDoseCoverage"
      ]
    },
    {
      "page": "summariseDrugRestart",
      "title": "Summarise the drug restart for each follow-up period of interest.",
      "topics": [
        "summariseDrugRestart"
      ]
    },
    {
      "page": "summariseDrugUtilisation",
      "title": "This function is used to summarise the dose utilisation table over multiple cohorts.",
      "topics": [
        "summariseDrugUtilisation"
      ]
    },
    {
      "page": "summariseIndication",
      "title": "Summarise the indications of individuals in a drug cohort",
      "topics": [
        "summariseIndication"
      ]
    },
    {
      "page": "summariseProportionOfPatientsCovered",
      "title": "Summarise proportion Of patients covered",
      "topics": [
        "summariseProportionOfPatientsCovered"
      ]
    },
    {
      "page": "summariseTreatment",
      "title": "This function is used to summarise treatments received",
      "topics": [
        "summariseTreatment"
      ]
    },
    {
      "page": "tableDoseCoverage",
      "title": "Format a dose_coverage object into a visual table.",
      "topics": [
        "tableDoseCoverage"
      ]
    },
    {
      "page": "tableDrugRestart",
      "title": "Format a drug_restart object into a visual table.",
      "topics": [
        "tableDrugRestart"
      ]
    },
    {
      "page": "tableDrugUtilisation",
      "title": "Format a drug_utilisation object into a visual table.",
      "topics": [
        "tableDrugUtilisation"
      ]
    },
    {
      "page": "tableIndication",
      "title": "Create a table showing indication results",
      "topics": [
        "tableIndication"
      ]
    },
    {
      "page": "tableProportionOfPatientsCovered",
      "title": "Create a table with proportion of patients covered results",
      "topics": [
        "tableProportionOfPatientsCovered"
      ]
    },
    {
      "page": "tableTreatment",
      "title": "Format a summarised_treatment result into a visual table.",
      "topics": [
        "tableTreatment"
      ]
    }
  ],
  "_pkglogo": "https://github.com/darwin-eu/drugutilisation/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/darwin-eu/drugutilisation/raw/HEAD/README.md",
  "_rundeps": [
    "blob",
    "cli",
    "clock",
    "CodelistGenerator",
    "cpp11",
    "DBI",
    "dbplyr",
    "dplyr",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "omopgenerics",
    "PatientProfiles",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "drug_utilisation.Rmd",
      "filename": "drug_utilisation.html",
      "title": "Getting drug utilisation related information of subjects in a cohort",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Set up",
        "Mock data",
        "Drug codes",
        "Add drug utilisation information",
        "addNumberExposures()",
        "addNumberEras()",
        "daysExposed",
        "daysPrescribed",
        "timeToExposure",
        "initialExposureDuration",
        "initialQuantity and cumulativeQuantity",
        "initialDailyDose and cumulativeDose",
        "addDrugUtilisation()",
        "Use case",
        "Summarise drug utilisation information",
        "summariseDrugUtilisation()",
        "tableDrugUtilisation()"
      ],
      "created": "2024-07-17 10:04:42",
      "modified": "2025-11-19 22:33:29",
      "commits": 9
    },
    {
      "source": "create_cohorts.Rmd",
      "filename": "create_cohorts.html",
      "title": "Creating drug cohorts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating a cdm_reference object",
        "Create a drug users cohort",
        "Creating a conceptSet",
        "The gapEra parameter",
        "Create your cohort",
        "Analogous functions",
        "Carry over days / Use days prescribed",
        "Apply inclusion criteria to drug cohorts",
        "requirePriorDrugWashout()",
        "requireIsFirstDrugEntry()",
        "requireObservationBeforeDrug()",
        "requireDrugInDateRange()",
        "The order matters",
        "first and washout",
        "first and minObs",
        "first and 2011-2012",
        "washout and minObs",
        "washout and 2011-2012",
        "minObs and 2011-2012",
        "Recommended order"
      ],
      "created": "2024-07-16 23:32:15",
      "modified": "2025-11-19 22:33:29",
      "commits": 12
    }
  ],
  "_score": 8.082641778157132,
  "_indexed": true,
  "_nocasepkg": "drugutilisation",
  "_universes": [
    "darwin-eu",
    "catalamarti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-27T07:18:48.000Z",
      "distro": "noble",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "d3c13eb87de60b490cc98a978abf557082699324622994ad9d1a9a35ac42c8e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-27T07:18:58.000Z",
      "distro": "noble",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "ff8f71cb4b49f74d861daeea9d06917870f350f5da027d89f687afaba67e0c13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-27T07:21:24.000Z",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "6e802beec14cfed0b1f98e43cb8f7ae25d09b9a6b156b94a16f7997f523015fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-27T07:21:19.000Z",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "88823455b1a7a6b9093c7a83da8eb2064d4f0cae3e753959155ba227ee100611",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-27T07:19:40.000Z",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "2dc47bccba6233f415568640c6941d2d80390223b04c63fa5c76ff21931417ef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-27T07:17:52.000Z",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "55a41cead84fa32382115f610fdc3cce8b04958a80903a3a00914d7ff02d8725",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-27T07:18:02.000Z",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "11e805815699e188f0b07ff95204951363cb975985cfb79de2d51a9c60011ee3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-27T07:17:45.000Z",
      "commit": "88bc7cb7f9bc6e90a030b5652e6117f662041035",
      "fileid": "5d318b878cc0a7fde2e6a516d72f73eeea4a1d3374280ed5492a8c2eaf6516c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/26496516798"
    }
  ]
}