{
  "_id": "6a21312fcd65a98ecbd2542c",
  "Package": "comorbidity",
  "Version": "1.1.0.9000",
  "Title": "Computing Comorbidity Scores",
  "Description": "Computing comorbidity indices and scores such as the\nweighted Charlson score (Charlson, 1987\n<doi:10.1016/0021-9681(87)90171-8>) and the Elixhauser\ncomorbidity score (Elixhauser, 1998\n<doi:10.1097/00005650-199801000-00004>) using ICD-9-CM or\nICD-10 codes (Quan, 2005\n<doi:10.1097/01.mlr.0000182534.19832.83>). Australian and\nSwedish modifications of the Charlson Comorbidity Index are\navailable as well (Sundararajan, 2004\n<doi:10.1016/j.jclinepi.2004.03.012> and Ludvigsson, 2021\n<doi:10.2147/CLEP.S282475>), together with different weighting\nalgorithms for both the Charlson and Elixhauser comorbidity\nscores.",
  "Authors@R": "c(person(given = \"Alessandro\",\nfamily = \"Gasparini\",\nrole = c(\"aut\", \"cre\"),\nemail = \"alessandro@ellessenne.xyz\",\ncomment = c(ORCID = \"0000-0002-8319-7624\")),\nperson(given = \"Hojjat\",\nfamily = \"Salmasian\",\nrole = \"ctb\",\nemail = \"hsalmasian@bwh.harvard.edu\",\ncomment = \"ICD-9-CM scores\"),\nperson(given = \"Jonathan\",\nfamily = \"Williman\",\nrole = \"ctb\",\nemail = \"jonathan.williman@otago.ac.nz\",\ncomment = c(ORCID = \"0000-0001-5080-4435\")),\nperson(given = \"Sing Yi\",\nfamily = \"Chia\",\nrole = \"ctb\",\nemail = \"cxycsy@hotmail.com\",\ncomment = c(ORCID = \"0000-0002-7591-3141\")),\nperson(given = \"Edmund\",\nfamily = \"Teo\",\nrole = \"ctb\",\nemail = \"ed_teo8@yahoo.com.sg\",\ncomment = c(ORCID = \"0000-0003-3936-4082\")),\nperson(given = \"Desi\",\nfamily = \"Quintans\",\nrole = \"ctb\"))",
  "URL": "https://ellessenne.github.io/comorbidity/,\nhttps://github.com/ellessenne/comorbidity",
  "BugReports": "https://github.com/ellessenne/comorbidity/issues",
  "License": "GPL (>= 3)",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "ByteCompile": "true",
  "VignetteBuilder": "knitr",
  "Language": "en-GB",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ellessenne.r-universe.dev",
  "Date/Publication": "2024-07-16 13:15:27 UTC",
  "RemoteUrl": "https://github.com/ellessenne/comorbidity",
  "RemoteRef": "HEAD",
  "RemoteSha": "8f5f79d379c3198b807e824b0f2d703688818fda",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 07:58:55 UTC",
    "User": "root"
  },
  "Author": "Alessandro Gasparini [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8319-7624>),\nHojjat Salmasian [ctb] (ICD-9-CM scores),\nJonathan Williman [ctb] (ORCID:\n<https://orcid.org/0000-0001-5080-4435>),\nSing Yi Chia [ctb] (ORCID: <https://orcid.org/0000-0002-7591-3141>),\nEdmund Teo [ctb] (ORCID: <https://orcid.org/0000-0003-3936-4082>),\nDesi Quintans [ctb]",
  "Maintainer": "Alessandro Gasparini <alessandro@ellessenne.xyz>",
  "MD5sum": "46f54d1eb53ab1169b6f3f2c15200b0e",
  "_user": "ellessenne",
  "_type": "src",
  "_file": "comorbidity_1.1.0.9000.tar.gz",
  "_fileid": "6a517a8bcb72e1bef9271bb07876171bfd7f47dd90fbf2cf47468b91f899cf09",
  "_filesize": 2124420,
  "_sha256": "6a517a8bcb72e1bef9271bb07876171bfd7f47dd90fbf2cf47468b91f899cf09",
  "_created": "2026-06-04T07:58:55.000Z",
  "_published": "2026-06-04T08:02:55.696Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79475130489,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406128360"
    },
    {
      "job": 79475130558,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406129364"
    },
    {
      "job": 79475130541,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406125405"
    },
    {
      "job": 79475130498,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406110875"
    },
    {
      "job": 79474591485,
      "time": 206,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406073171"
    },
    {
      "job": 79475130531,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406104161"
    },
    {
      "job": 79475130516,
      "time": 159,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406124586"
    },
    {
      "job": 79475130525,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406115045"
    },
    {
      "job": 79475130539,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406115508"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ellessenne/comorbidity",
  "_commit": {
    "id": "8f5f79d379c3198b807e824b0f2d703688818fda",
    "author": "Alessandro Gasparini <git@ellessenne.xyz>",
    "committer": "Alessandro Gasparini <git@ellessenne.xyz>",
    "message": "Rebuilt documentation\n",
    "time": 1721135727
  },
  "_maintainer": {
    "name": "Alessandro Gasparini",
    "email": "alessandro@ellessenne.xyz",
    "login": "ellessenne",
    "orcid": "0000-0002-8319-7624",
    "description": "Biostatistician, data scientist, #rstats developer, research software engineer, data person, outdoor enthusiast, pizza fanatic, and everything else in between.",
    "uuid": 10330005
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "ellessenne",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "comorbidity"
  ],
  "_stars": 91,
  "_contributors": [
    {
      "user": "ellessenne",
      "count": 359,
      "uuid": 10330005
    },
    {
      "user": "torema-ed",
      "count": 3,
      "uuid": 37874384
    },
    {
      "user": "salmasian",
      "count": 3,
      "uuid": 12461547
    },
    {
      "user": "corinne-riddell",
      "count": 2,
      "uuid": 12090129
    },
    {
      "user": "desiquintans",
      "count": 1,
      "uuid": 3200601
    },
    {
      "user": "axjadamson",
      "count": 1,
      "uuid": 56303577
    },
    {
      "user": "jwilliman",
      "count": 1,
      "uuid": 19217445
    }
  ],
  "_userbio": {
    "uuid": 10330005,
    "type": "user",
    "name": "Alessandro Gasparini",
    "description": "Biostatistician, data scientist, #rstats developer, research software engineer, data person, outdoor enthusiast, pizza fanatic, and everything else in between."
  },
  "_downloads": {
    "count": 1098,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comorbidity"
  },
  "_mentions": 5,
  "_devurl": "https://github.com/ellessenne/comorbidity",
  "_pkgdown": "https://ellessenne.github.io/comorbidity/",
  "_searchresults": 128,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/comorbidity.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ellessenne/comorbidity",
  "_realowner": "ellessenne",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3",
      "date": "2018-01-08"
    },
    {
      "version": "0.1.0",
      "date": "2018-03-07"
    },
    {
      "version": "0.1.1",
      "date": "2018-03-30"
    },
    {
      "version": "0.2.0",
      "date": "2018-10-08"
    },
    {
      "version": "0.3.0",
      "date": "2019-03-22"
    },
    {
      "version": "0.4.1",
      "date": "2019-06-27"
    },
    {
      "version": "0.5.0",
      "date": "2019-08-20"
    },
    {
      "version": "0.5.1",
      "date": "2019-10-16"
    },
    {
      "version": "0.5.2",
      "date": "2019-10-20"
    },
    {
      "version": "0.5.3",
      "date": "2020-01-09"
    },
    {
      "version": "1.0.0",
      "date": "2022-01-17"
    },
    {
      "version": "1.0.2",
      "date": "2022-04-06"
    },
    {
      "version": "1.0.3",
      "date": "2022-07-12"
    },
    {
      "version": "1.0.5",
      "date": "2022-09-26"
    },
    {
      "version": "1.0.7",
      "date": "2023-05-01"
    },
    {
      "version": "1.1.0",
      "date": "2024-07-16"
    }
  ],
  "_exports": [
    "available_algorithms",
    "comorbidity",
    "sample_diag",
    "score"
  ],
  "_datasets": [
    {
      "name": "australia10",
      "title": "Australian mortality data, 2010",
      "object": "australia10",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "cause",
        "sex",
        "deaths"
      ],
      "rows": 3322,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd10_2009",
      "title": "ICD-10 Diagnostic Codes, 2009 Version",
      "object": "icd10_2009",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Code",
        "Code.clean",
        "ICD.title",
        "Status"
      ],
      "rows": 10817,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd10_2011",
      "title": "ICD-10 Diagnostic Codes, 2011 Version",
      "object": "icd10_2011",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Code",
        "Code.clean",
        "ICD.title",
        "Status"
      ],
      "rows": 10856,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd10cm_2017",
      "title": "ICD-10-CM Diagnostic Codes, 2017 Version",
      "object": "icd10cm_2017",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Code",
        "Description"
      ],
      "rows": 71486,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd10cm_2018",
      "title": "ICD-10-CM Diagnostic Codes, 2018 Version",
      "object": "icd10cm_2018",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Code",
        "Description"
      ],
      "rows": 71704,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd10cm_2022",
      "title": "ICD-10-CM Diagnostic Codes, 2022 Version",
      "object": "icd10cm_2022",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Code",
        "Description"
      ],
      "rows": 72750,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd9_2015",
      "title": "ICD-9 Diagnostic Codes, 2015 Version (v32)",
      "object": "icd9_2015",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Code",
        "Long_description",
        "Short_description"
      ],
      "rows": 14567,
      "table": true,
      "tojson": true
    },
    {
      "name": "nhds2010",
      "title": "Adult same-day discharges, 2010",
      "object": "nhds2010",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ageu",
        "age",
        "sex",
        "race",
        "month",
        "status",
        "region",
        "atype",
        "dx1",
        "dx2",
        "dx3",
        "dx3corr",
        "pr1",
        "wgt",
        "recid"
      ],
      "rows": 2210,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "australia10",
      "title": "Australian mortality data, 2010",
      "topics": [
        "australia10"
      ]
    },
    {
      "page": "available_algorithms",
      "title": "Display Currently Supported Algorithms",
      "topics": [
        "available_algorithms"
      ]
    },
    {
      "page": "comorbidity",
      "title": "Comorbidity mapping.",
      "topics": [
        "comorbidity"
      ]
    },
    {
      "page": "icd10_2009",
      "title": "ICD-10 Diagnostic Codes, 2009 Version",
      "topics": [
        "icd10_2009"
      ]
    },
    {
      "page": "icd10_2011",
      "title": "ICD-10 Diagnostic Codes, 2011 Version",
      "topics": [
        "icd10_2011"
      ]
    },
    {
      "page": "icd10cm_2017",
      "title": "ICD-10-CM Diagnostic Codes, 2017 Version",
      "topics": [
        "icd10cm_2017"
      ]
    },
    {
      "page": "icd10cm_2018",
      "title": "ICD-10-CM Diagnostic Codes, 2018 Version",
      "topics": [
        "icd10cm_2018"
      ]
    },
    {
      "page": "icd10cm_2022",
      "title": "ICD-10-CM Diagnostic Codes, 2022 Version",
      "topics": [
        "icd10cm_2022"
      ]
    },
    {
      "page": "icd9_2015",
      "title": "ICD-9 Diagnostic Codes, 2015 Version (v32)",
      "topics": [
        "icd9_2015"
      ]
    },
    {
      "page": "nhds2010",
      "title": "Adult same-day discharges, 2010",
      "topics": [
        "nhds2010"
      ]
    },
    {
      "page": "sample_diag",
      "title": "Simulate ICD-10 and ICD-9 diagnostic codes",
      "topics": [
        "sample_diag"
      ]
    },
    {
      "page": "score",
      "title": "Compute (weighted) comorbidity scores",
      "topics": [
        "score"
      ]
    }
  ],
  "_readme": "https://github.com/ellessenne/comorbidity/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "data.table",
    "stringi"
  ],
  "_vignettes": [
    {
      "source": "A-introduction.Rmd",
      "filename": "A-introduction.html",
      "title": "Introduction",
      "author": "Alessandro Gasparini",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Mapping Comorbidities",
        "Comorbidity Scores",
        "References"
      ],
      "created": "2021-10-19 08:43:04",
      "modified": "2022-09-06 13:31:49",
      "commits": 2
    },
    {
      "source": "B-comorbidity-scores.Rmd",
      "filename": "B-comorbidity-scores.html",
      "title": "Supported Comorbidity Mappings and Scores",
      "author": "Alessandro Gasparini",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Supported Mapping Algorithms",
        "Supported Weighting Algorithms",
        "References"
      ],
      "created": "2021-10-19 08:43:04",
      "modified": "2021-10-19 08:43:04",
      "commits": 1
    }
  ],
  "_score": 8.583974956802699,
  "_indexed": true,
  "_nocasepkg": "comorbidity",
  "_universes": [
    "ellessenne"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:01:00.000Z",
      "distro": "noble",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "450d493e544b410046c8a10ed0ff579b30e6bdc6f5a9465194f2f3e36a157294",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:01:07.000Z",
      "distro": "noble",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "5ee44ef6354c0ad2c1bfa65ed9878472bb774d964a5e798203d755beb62e14e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:00:55.000Z",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "4ee6d9c9207020eba71391eeb23d3c0522d4d48915e6fa3c4d478290c7573f39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:00:32.000Z",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "df00dbb669e2a9de2a8c9ecc718ae2f9243fdb9385730c6c273a205e5af43e0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:00:52.000Z",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "6495ef0a9264bad73aff371bac37b7233c2470dfc150b0741ccc2b0fd2ab3ddd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:00:26.000Z",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "3fec676b0831b9b2a76103d8a3ab5ec9d247a94750ff9f2849449c854277fc64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:00:05.000Z",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "a97953f1ab65fc4ae4f569e8bb90fa02a60a1d506a4d338b8014cc593d40c438",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-06-04T08:00:08.000Z",
      "commit": "8f5f79d379c3198b807e824b0f2d703688818fda",
      "fileid": "0bb32ec1deb8d76882dd35adc4950944477d5e9ac266b0beb8021a118d4c0676",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ellessenne/actions/runs/26938695410"
    }
  ]
}