{
  "_id": "6a251ec04b233be19838fc1d",
  "Package": "TreatmentPatterns",
  "Type": "Package",
  "Title": "Analyzes Real-World Treatment Patterns of a Study Population of\nInterest",
  "Version": "3.1.2",
  "Authors@R": "c(person(\"Aniek\", \"Markus\", , role = c(\"aut\"), comment = c(ORCID = \"0000-0001-5779-4794\")),\nperson(\"Maarten\", \"van Kessel\", email = \"m.l.vankessel@erasmusmc.nl\", role = c(\"cre\"), comment = c(ORCID = \"0009-0006-8832-6030\")))",
  "Maintainer": "Maarten van Kessel <m.l.vankessel@erasmusmc.nl>",
  "Description": "Computes treatment patterns within a given cohort using\nthe Observational Medical Outcomes Partnership (OMOP) common\ndata model (CDM). As described in Markus, Verhamme, Kors, and\nRijnbeek (2022) <doi:10.1016/j.cmpb.2022.107081>.",
  "URL": "https://github.com/darwin-eu/TreatmentPatterns,\nhttps://darwin-eu-dev.github.io/TreatmentPatterns/",
  "BugReports": "https://github.com/darwin-eu/TreatmentPatterns/issues",
  "Language": "en-US",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Collate": "'CDMInterface.R' 'TreatmentPatterns-package.R'\n'TreatmentPatternsResults.R' 'attrition.R' 'computePathways.R'\n'constructPathways.R' 'createSankeyDiagram.R'\n'createSunburstPlot.R' 'executeTreatmentPatterns.R' 'export.R'\n'exportPatientLevel.R' 'getResultsDataModelSpecification.R'\n'ggSunburst.R' 'plotEventDuration.R' 'utils.R'",
  "Config/pak/sysreqs": "libicu-dev libssl-dev libx11-dev xz-utils",
  "Repository": "https://darwin-eu.r-universe.dev",
  "Date/Publication": "2026-02-11 08:22:48 UTC",
  "RemoteUrl": "https://github.com/darwin-eu/treatmentpatterns",
  "RemoteRef": "HEAD",
  "RemoteSha": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 07:19:41 UTC",
    "User": "root"
  },
  "Author": "Aniek Markus [aut] (ORCID: <https://orcid.org/0000-0001-5779-4794>),\nMaarten van Kessel [cre] (ORCID:\n<https://orcid.org/0009-0006-8832-6030>)",
  "MD5sum": "a95b6f9c80e6b4b197c5012becebe882",
  "_user": "darwin-eu",
  "_type": "src",
  "_file": "TreatmentPatterns_3.1.2.tar.gz",
  "_fileid": "7316dad91ca83f1da18affb0a58bbba598618118ce2d651525230efad3d76922",
  "_filesize": 2625468,
  "_sha256": "7316dad91ca83f1da18affb0a58bbba598618118ce2d651525230efad3d76922",
  "_created": "2026-06-07T07:19:41.000Z",
  "_published": "2026-06-07T07:33:20.159Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79940375978,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461848679"
    },
    {
      "job": 79940375988,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461845081"
    },
    {
      "job": 79940376029,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461924991"
    },
    {
      "job": 79940375979,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461924614"
    },
    {
      "job": 79940048160,
      "time": 334,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461818830"
    },
    {
      "job": 79940375970,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461838182"
    },
    {
      "job": 79940375991,
      "time": 182,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461842502"
    },
    {
      "job": 79940375986,
      "time": 175,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461841660"
    },
    {
      "job": 79940375984,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461839653"
    }
  ],
  "_buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/darwin-eu/treatmentpatterns",
  "_commit": {
    "id": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
    "author": "mvankessel-EMC <m.vankessel@mi-erasmusmc.nl>",
    "committer": "Maarten van Kessel <112690347+mvankessel-EMC@users.noreply.github.com>",
    "message": "updated var name\n",
    "time": 1770798168
  },
  "_maintainer": {
    "name": "Maarten van Kessel",
    "email": "m.l.vankessel@erasmusmc.nl",
    "login": "mvankessel-emc",
    "description": "R-Programmer at Medial Informatics at the Erasmus MC.",
    "uuid": 112690347
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dbplyr",
      "role": "Imports"
    },
    {
      "package": "Andromeda",
      "role": "Imports"
    },
    {
      "package": "CDMConnector",
      "version": ">= 2.2.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    },
    {
      "package": "Eunomia",
      "role": "Suggests"
    },
    {
      "package": "DatabaseConnector",
      "version": ">= 7.0.0",
      "role": "Suggests"
    },
    {
      "package": "SqlRender",
      "role": "Suggests"
    },
    {
      "package": "CohortGenerator",
      "role": "Suggests"
    },
    {
      "package": "ResultModelManager",
      "role": "Suggests"
    },
    {
      "package": "webshot2",
      "role": "Suggests"
    },
    {
      "package": "CirceR",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "sunburstR",
      "role": "Suggests"
    },
    {
      "package": "networkD3",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "htmlwidgets",
      "role": "Suggests"
    },
    {
      "package": "visOmopResults",
      "role": "Suggests"
    },
    {
      "package": "PaRe",
      "role": "Suggests"
    }
  ],
  "_owner": "darwin-eu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 33
    }
  ],
  "_tags": [
    {
      "name": "v3.1.1",
      "date": "2025-08-25"
    },
    {
      "name": "v3.1.2",
      "date": "2026-02-11"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "mvankessel-emc",
      "count": 1289,
      "uuid": 112690347
    },
    {
      "user": "aniekmarkus",
      "count": 56,
      "uuid": 60397369
    },
    {
      "user": "ginberg",
      "count": 35,
      "uuid": 7089667
    },
    {
      "user": "cebarboza",
      "count": 17,
      "uuid": 113351542
    },
    {
      "user": "bmosseveld",
      "count": 11,
      "uuid": 7286241
    },
    {
      "user": "rossdwilliams",
      "count": 7,
      "uuid": 34747165
    },
    {
      "user": "prijnbeek",
      "count": 6,
      "uuid": 7252105
    },
    {
      "user": "ablack3",
      "count": 4,
      "uuid": 10227522
    },
    {
      "user": "rowanerasmus",
      "count": 1,
      "uuid": 74538318
    }
  ],
  "_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": 379,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TreatmentPatterns"
  },
  "_devurl": "https://github.com/darwin-eu/treatmentpatterns",
  "_pkgdown": "https://darwin-eu-dev.github.io/TreatmentPatterns/",
  "_searchresults": 128,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TreatmentPatterns.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/darwin-eu/treatmentpatterns",
  "_realowner": "darwin-eu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.5.0",
      "date": "2023-08-16"
    },
    {
      "version": "2.5.1",
      "date": "2023-09-07"
    },
    {
      "version": "2.5.2",
      "date": "2023-09-15"
    },
    {
      "version": "2.6.0",
      "date": "2023-11-13"
    },
    {
      "version": "2.6.1",
      "date": "2023-12-11"
    },
    {
      "version": "2.6.2",
      "date": "2023-12-13"
    },
    {
      "version": "2.6.3",
      "date": "2024-01-25"
    },
    {
      "version": "2.6.4",
      "date": "2024-01-26"
    },
    {
      "version": "2.6.5",
      "date": "2024-02-19"
    },
    {
      "version": "2.6.6",
      "date": "2024-04-16"
    },
    {
      "version": "2.6.7",
      "date": "2024-05-24"
    },
    {
      "version": "2.6.8",
      "date": "2024-08-29"
    },
    {
      "version": "2.6.9",
      "date": "2024-09-02"
    },
    {
      "version": "2.7.0",
      "date": "2024-11-27"
    },
    {
      "version": "3.0.0",
      "date": "2025-02-06"
    },
    {
      "version": "3.0.1",
      "date": "2025-03-10"
    },
    {
      "version": "3.0.2",
      "date": "2025-04-04"
    },
    {
      "version": "3.0.3",
      "date": "2025-04-16"
    },
    {
      "version": "3.1.0",
      "date": "2025-06-03"
    },
    {
      "version": "3.1.1",
      "date": "2025-08-25"
    },
    {
      "version": "3.1.2",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "computePathways",
    "createSankeyDiagram",
    "createSunburstPlot",
    "executeTreatmentPatterns",
    "export",
    "exportPatientLevel",
    "getResultsDataModelSpecifications",
    "ggSunburst",
    "plotEventDuration",
    "TreatmentPatternsResults"
  ],
  "_help": [
    {
      "page": "computePathways",
      "title": "computePathways",
      "topics": [
        "computePathways"
      ]
    },
    {
      "page": "createSankeyDiagram",
      "title": "createSankeyDiagram",
      "topics": [
        "createSankeyDiagram"
      ]
    },
    {
      "page": "createSunburstPlot",
      "title": "createSunburstPlot",
      "topics": [
        "createSunburstPlot"
      ]
    },
    {
      "page": "doEraCollapseNew",
      "title": "doEraCollapseNew",
      "topics": [
        "doEraCollapseNew"
      ]
    },
    {
      "page": "executeTreatmentPatterns",
      "title": "executeTreatmentPatterns",
      "topics": [
        "executeTreatmentPatterns"
      ]
    },
    {
      "page": "export",
      "title": "export",
      "topics": [
        "export"
      ]
    },
    {
      "page": "exportPatientLevel",
      "title": "exportPatientLevel",
      "topics": [
        "exportPatientLevel"
      ]
    },
    {
      "page": "getResultsDataModelSpecifications",
      "title": "getResultsDataModelSpecifications",
      "topics": [
        "getResultsDataModelSpecifications"
      ]
    },
    {
      "page": "ggSunburst",
      "title": "ggSunburst",
      "topics": [
        "ggSunburst"
      ]
    },
    {
      "page": "plotEventDuration",
      "title": "plotEventDuration",
      "topics": [
        "plotEventDuration"
      ]
    },
    {
      "page": "TreatmentPatternsResults",
      "title": "TreatmentPatternsResults Class",
      "topics": [
        "TreatmentPatternsResults"
      ]
    }
  ],
  "_readme": "https://github.com/darwin-eu/treatmentpatterns/raw/HEAD/README.md",
  "_rundeps": [
    "Andromeda",
    "askpass",
    "backports",
    "bit",
    "bit64",
    "blob",
    "CDMConnector",
    "checkmate",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "dbplyr",
    "dplyr",
    "duckdb",
    "generics",
    "glue",
    "hms",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "memuse",
    "mime",
    "omopgenerics",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "a000_bestPractices.Rmd",
      "filename": "a000_bestPractices.html",
      "title": "Best practices",
      "author": "Maarten van Kessel",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "TLDR",
        "Cohorts",
        "Combinations",
        "Settings"
      ],
      "created": "2025-06-04 07:39:14",
      "modified": "2025-06-04 07:39:14",
      "commits": 1
    },
    {
      "source": "a010_Computing_Pathways.Rmd",
      "filename": "a010_Computing_Pathways.html",
      "title": "Computing Pathways",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Target and Event cohorts",
        "Database interface",
        "CDMConnector",
        "DatabaseConnector",
        "Analysis",
        "Events",
        "Combinations",
        "Non-Significant Overlap",
        "Overlap Method",
        "Acute and Therapy Splits",
        "Event Windows",
        "Anchoring",
        "windowStart and windowEnd",
        "Changing the anchoring",
        "Pathways",
        "Running the analysis"
      ],
      "created": "2025-06-04 07:39:14",
      "modified": "2025-06-04 07:39:14",
      "commits": 1
    },
    {
      "source": "a998_Strategus.Rmd",
      "filename": "a998_Strategus.html",
      "title": "Strategus Execution",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Database settings",
        "CohortGenerator Module",
        "TreatmentPatterns module",
        "Execution"
      ],
      "created": "2026-02-11 08:22:48",
      "modified": "2026-02-11 08:22:48",
      "commits": 1
    },
    {
      "source": "a001_DefiningCohorts.Rmd",
      "filename": "a001_DefiningCohorts.html",
      "title": "Defining Cohorts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "ATLAS",
        "Cohort information",
        "Viral Sinusitis Cohort parameters",
        "Cohort Entry Events",
        "Inclusion Criteria",
        "Cohort Exit",
        "Cohort Eras",
        "CapR",
        "Cohorts for TreatmentPatterns"
      ],
      "created": "2025-06-04 07:39:14",
      "modified": "2025-06-04 07:39:14",
      "commits": 1
    },
    {
      "source": "a030_Evaluating_Output.Rmd",
      "filename": "a030_Evaluating_Output.html",
      "title": "Evaluating Output",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Saving results",
        "Evaluating Results",
        "treatmentPathways",
        "countsAge, countsSex, and countsYear",
        "summaryStatsTherapyDuration",
        "metadata",
        "Sunburst Plot & Sankey Diagram"
      ],
      "created": "2025-06-04 07:39:14",
      "modified": "2025-08-25 09:30:02",
      "commits": 2
    },
    {
      "source": "a020_Exporting.Rmd",
      "filename": "a020_Exporting.html",
      "title": "Exporing Results",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Exporting result objects",
        "minCellCount and censorType",
        "ageWindow",
        "archiveName",
        "Patient-Level Export"
      ],
      "created": "2025-06-04 07:39:14",
      "modified": "2025-06-04 07:39:14",
      "commits": 1
    },
    {
      "source": "a999_Publications-Presentations.Rmd",
      "filename": "a999_Publications-Presentations.html",
      "title": "Publications and Presentations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Publications",
        "Presentations"
      ],
      "created": "2026-02-11 08:22:48",
      "modified": "2026-02-11 08:22:48",
      "commits": 1
    }
  ],
  "_score": 7.332519251373732,
  "_indexed": true,
  "_nocasepkg": "treatmentpatterns",
  "_universes": [
    "darwin-eu",
    "mvankessel-emc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.2",
      "date": "2026-06-07T07:22:42.000Z",
      "distro": "noble",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "c1405715a1144e0ad0fa7ce9ab4dc019dd4127835431cabdce05776f12208604",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.1.2",
      "date": "2026-06-07T07:22:23.000Z",
      "distro": "noble",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "8981e6074009dda9f383ae2d53bcce4419c16ddca827448bc8df4ca6336044ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.1.2",
      "date": "2026-06-07T07:32:03.000Z",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "3ffffeedc4d5e6a98a93d03c07eb5dd139ad5874b0e0c888f9de21921b07c816",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.1.2",
      "date": "2026-06-07T07:31:42.000Z",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "07f2262fc0b6be309093517f011d2fd6655adfca7bb61f4e661c6607837f59ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.1.2",
      "date": "2026-06-07T07:22:38.000Z",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "5b5fe7e8f54429876d029b1fbd4decc76007285cb1d39d4ebdd1c2749128956f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.1.2",
      "date": "2026-06-07T07:21:23.000Z",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "f907b0373fae3001520ebe2a57637f6df51657be149432d4b53cdb7a6226ac58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.1.2",
      "date": "2026-06-07T07:21:24.000Z",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "0b8268b6b96be5b8446083bb0afe80513f6629872123f36683f37e14347c0377",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.1.2",
      "date": "2026-06-07T07:21:13.000Z",
      "commit": "fb4437f21a1f4c4e495dfc5d42cba869bce1b809",
      "fileid": "bfdd13bd8cde48553e179b7a2820f08d59a0abd1c60a5fed0defe93197d4bd14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/27085841441"
    }
  ]
}