{
  "_id": "6a1052faacfb0bcc41ca1954",
  "Package": "multimorbidity",
  "Title": "Harmonizing Various Comorbidity, Multimorbidity, and Frailty\nMeasures",
  "Version": "0.5.3",
  "Authors@R": "person(given = \"Wyatt\",\nfamily = \"Bensken\",\nrole = c(\"aut\", \"cre\"),\nemail = \"wpb27@case.edu\",\ncomment = c(ORCID = \"0000-0002-2597-9732\"))",
  "Description": "Identifying comorbidities, frailty, and multimorbidity in\nclaims and administrative data is often a duplicative process.\nThe functions contained in this package are meant to first\nprepare the data to a format acceptable by all other packages,\nthen provide a uniform and simple approach to generate\ncomorbidity and multimorbidity metrics based on these claims\ndata. The package is ever evolving to include new metrics, and\nis always looking for new measures to include. The citations\nused in this package include the following publications: Anne\nElixhauser, Claudia Steiner, D. Robert Harris, Rosanna M.\nCoffey (1998) <doi:10.1097/00005650-199801000-00004>, Brian J\nMoore, Susan White, Raynard Washington, et al. (2017)\n<doi:10.1097/MLR.0000000000000735>, Mary E. Charlson, Peter\nPompei, Kathy L. Ales, C. Ronald MacKenzie (1987)\n<doi:10.1016/0021-9681(87)90171-8>, Richard A. Deyo, Daniel C.\nCherkin, Marcia A. Ciol (1992)\n<doi:10.1016/0895-4356(92)90133-8>, Hude Quan, Vijaya\nSundararajan, Patricia Halfon, et al. (2005)\n<doi:10.1097/01.mlr.0000182534.19832.83>, Dae Hyun Kim,\nSebastian Schneeweiss, Robert J Glynn, et al. (2018)\n<doi:10.1093/gerona/glx229>, Melissa Y Wei, David Ratz, Kenneth\nJ Mukamal (2020) <doi:10.1111/jgs.16310>, Kathryn Nicholson,\nAmanda L. Terry, Martin Fortin, et al. (2015)\n<doi:10.15256/joc.2015.5.61>, Martin Fortin, José Almirall, and\nKathryn Nicholson (2017)<doi:10.15256/joc.2017.7.122>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "URL": "https://github.com/WYATTBENSKEN/multimorbidity",
  "BugReports": "https://github.com/WYATTBENSKEN/multimorbidity/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://wyattbensken.r-universe.dev",
  "Date/Publication": "2025-10-26 01:54:35 UTC",
  "RemoteUrl": "https://github.com/wyattbensken/multimorbidity",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee35c5ff4df652609357d223606b9ff103387b59",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-09 09:12:07 UTC",
    "User": "root"
  },
  "Author": "Wyatt Bensken [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2597-9732>)",
  "Maintainer": "Wyatt Bensken <wpb27@case.edu>",
  "MD5sum": "bac7edecf27366e377e63a2a0a9022d1",
  "_user": "wyattbensken",
  "_type": "src",
  "_file": "multimorbidity_0.5.3.tar.gz",
  "_fileid": "e480aad7333e04c72d9e3edc9503699904bd10179e56a5cd8704a23f29f40411",
  "_filesize": 295064,
  "_sha256": "e480aad7333e04c72d9e3edc9503699904bd10179e56a5cd8704a23f29f40411",
  "_created": "2026-05-09T09:12:07.000Z",
  "_published": "2026-05-22T12:58:34.122Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77384127139,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894572582"
    },
    {
      "job": 77384127132,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894572249"
    },
    {
      "job": 77384127359,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894586806"
    },
    {
      "job": 77384126806,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894581159"
    },
    {
      "job": 77384126772,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894559842"
    },
    {
      "job": 77384126366,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161047950"
    },
    {
      "job": 77384126844,
      "time": 93,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894568575"
    },
    {
      "job": 77384127043,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894566825"
    },
    {
      "job": 77384127152,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894568382"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/wyattbensken/multimorbidity",
  "_commit": {
    "id": "ee35c5ff4df652609357d223606b9ff103387b59",
    "author": "Wyatt Bensken <wpb27@case.edu>",
    "committer": "Wyatt Bensken <wpb27@case.edu>",
    "message": "Updating Elixhauser program.\n",
    "time": 1761443675
  },
  "_maintainer": {
    "name": "Wyatt Bensken",
    "email": "wpb27@case.edu",
    "login": "wyattbensken",
    "twitter": "@Wyatt_Bensken",
    "uuid": 47042975,
    "orcid": "0000-0002-2597-9732"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "sqldf",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "wyattbensken",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "wyattbensken",
      "count": 70,
      "uuid": 47042975
    }
  ],
  "_userbio": {
    "uuid": 47042975,
    "type": "user",
    "name": "Wyatt P. Bensken, PhD",
    "description": "Health Disparities Investigator | OCHIN, Inc"
  },
  "_downloads": {
    "count": 250,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/multimorbidity"
  },
  "_devurl": "https://github.com/wyattbensken/multimorbidity",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/multimorbidity.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/wyattbensken/multimorbidity",
  "_realowner": "wyattbensken",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2021-08-20"
    },
    {
      "version": "0.5.1",
      "date": "2023-02-15"
    }
  ],
  "_exports": [
    "%>%",
    "cfi",
    "charlson",
    "comorbidity_window",
    "elixhauser",
    "mwi",
    "nicholsonfortin",
    "prepare_data"
  ],
  "_datasets": [
    {
      "name": "cfi_dx10lookup",
      "title": "CFI ICD-10 Lookup.",
      "object": "cfi_dx10lookup",
      "class": [
        "data.frame"
      ],
      "fields": [
        "dx",
        "disease_number"
      ],
      "rows": 44807,
      "table": true,
      "tojson": true
    },
    {
      "name": "cfi_dx9lookup",
      "title": "CFI ICD-9 Lookup.",
      "object": "cfi_dx9lookup",
      "class": [
        "data.frame"
      ],
      "fields": [
        "start",
        "stop",
        "disease_number"
      ],
      "rows": 107,
      "table": true,
      "tojson": true
    },
    {
      "name": "cfi_pxlookup",
      "title": "CFI Procedure Codes Lookup.",
      "object": "cfi_pxlookup",
      "class": [
        "data.frame"
      ],
      "fields": [
        "start",
        "stop",
        "disease_number"
      ],
      "rows": 90,
      "table": true,
      "tojson": true
    },
    {
      "name": "cfi_weightlookup",
      "title": "CFI Procedure Codes Lookup.",
      "object": "cfi_weightlookup",
      "class": [
        "data.frame"
      ],
      "fields": [
        "weight",
        "disease_number"
      ],
      "rows": 93,
      "table": true,
      "tojson": true
    },
    {
      "name": "i9_i10_comb",
      "title": "Example diagnosis data.",
      "object": "i9_i10_comb",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "patient_id",
        "sex",
        "date_of_serv",
        "visit_type",
        "dx1",
        "dx2",
        "dx3",
        "dx4",
        "dx5",
        "hcpcs",
        "icd_version"
      ],
      "rows": 58,
      "table": true,
      "tojson": true
    },
    {
      "name": "id",
      "title": "Example ID data.",
      "object": "id",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "patient_id",
        "date_of_interest10",
        "date_of_interest9"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "prepared_data",
      "title": "Prepared dataset",
      "object": "prepared_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "patient_id",
        "claim_date",
        "dx",
        "version",
        "type"
      ],
      "rows": 242,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cfi",
      "title": "Claims-based Frailty Index (CFI)",
      "topics": [
        "cfi"
      ]
    },
    {
      "page": "cfi_dx10lookup",
      "title": "CFI ICD-10 Lookup.",
      "topics": [
        "cfi_dx10lookup"
      ]
    },
    {
      "page": "cfi_dx9lookup",
      "title": "CFI ICD-9 Lookup.",
      "topics": [
        "cfi_dx9lookup"
      ]
    },
    {
      "page": "cfi_pxlookup",
      "title": "CFI Procedure Codes Lookup.",
      "topics": [
        "cfi_pxlookup"
      ]
    },
    {
      "page": "cfi_weightlookup",
      "title": "CFI Procedure Codes Lookup.",
      "topics": [
        "cfi_weightlookup"
      ]
    },
    {
      "page": "charlson",
      "title": "Charlson Comorbidities",
      "topics": [
        "charlson"
      ]
    },
    {
      "page": "comorbidity_window",
      "title": "Limit our comorbidities / multimorbidity measures to a specific time window.",
      "topics": [
        "comorbidity_window"
      ]
    },
    {
      "page": "elixhauser",
      "title": "Elixhauser Comorbidities",
      "topics": [
        "elixhauser"
      ]
    },
    {
      "page": "i9_i10_comb",
      "title": "Example diagnosis data.",
      "topics": [
        "i9_i10_comb"
      ]
    },
    {
      "page": "id",
      "title": "Example ID data.",
      "topics": [
        "id"
      ]
    },
    {
      "page": "mwi",
      "title": "Multimorbidity Weighted Index (MWI)",
      "topics": [
        "mwi"
      ]
    },
    {
      "page": "nicholsonfortin",
      "title": "Nicholson and Fortin Conditions",
      "topics": [
        "nicholsonfortin"
      ]
    },
    {
      "page": "prepare_data",
      "title": "Prepare our claims data for analysis",
      "topics": [
        "prepare_data"
      ]
    },
    {
      "page": "prepared_data",
      "title": "Prepared dataset",
      "topics": [
        "prepared_data"
      ]
    }
  ],
  "_readme": "https://github.com/wyattbensken/multimorbidity/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "blob",
    "cachem",
    "chron",
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "fastmap",
    "generics",
    "glue",
    "gsubfn",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memoise",
    "pillar",
    "pkgconfig",
    "proto",
    "purrr",
    "R6",
    "rlang",
    "RSQLite",
    "sqldf",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "multimorbidity.Rmd",
      "filename": "multimorbidity.html",
      "title": "Working with the multimorbidity Package",
      "author": "Wyatt P. Bensken",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load Sample Data",
        "Claims Data",
        "ID Data",
        "Preparing the Data",
        "Setting Comorbidity Window",
        "Running Indices",
        "Elixhauser Comorbidity Index",
        "Charlson Comorbidity Index",
        "Claims Frailty Index",
        "Multimorbidity Weighted Index",
        "Nicholson and Fortin Conditions"
      ],
      "created": "2021-06-23 15:19:08",
      "modified": "2023-02-15 13:49:57",
      "commits": 13
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "multimorbidity",
  "_universes": [
    "wyattbensken"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.3",
      "date": "2026-05-09T09:14:22.000Z",
      "distro": "noble",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "0d9b7eebe5b25eb3e3b48786d2bba5b8305e41ae6f58e9052539dfb8c37330ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.3",
      "date": "2026-05-09T09:14:21.000Z",
      "distro": "noble",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "ef876b757cfc2afc43d887039316300286d1079e9eb9c3f0c79e7e84089c35f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.3",
      "date": "2026-05-09T09:17:16.000Z",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "f7ebe29c1f6aa4a93d85231a92abb9ddbefe9b70386cadffca17c37c3ba46c05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.3",
      "date": "2026-05-09T09:16:03.000Z",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "1f9b358e2ef1981bbfebaa59bc1e41738f13269b2295963a13d50084c94ba48f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.3",
      "date": "2026-05-09T09:13:33.000Z",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "90e6f1d8cf1b796888b6e55c3dd55bb11dd4cdf734777b17e096263ed8d4dcb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.3",
      "date": "2026-05-09T09:13:15.000Z",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "71c8e18ecefe0fa7f2f9e9b2b3b950f17bba9a1afa578086682f0f45146d9bd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.3",
      "date": "2026-05-09T09:13:33.000Z",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "4556a9dbd2b2a154a72a23a57e61beac3c1dc189e22260753fa10499bc3914bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.3",
      "date": "2026-05-22T12:58:21.000Z",
      "commit": "ee35c5ff4df652609357d223606b9ff103387b59",
      "fileid": "322e909b1ac44cc3b1bf97f680dc709143419c7c733138ef175d8eefa30d9590",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wyattbensken/actions/runs/25597317469"
    }
  ]
}