{
  "_id": "6a5912cb09eb0996dd68be4d",
  "Package": "medicalcoder",
  "Title": "A Unified and Longitudinally Aware Framework for ICD-Based\nComorbidity Assessment",
  "Version": "0.9.0",
  "Authors@R": "c(\nperson(given = \"Peter\",   family = \"DeWitt\",    email = \"peter.dewitt@cuanschutz.edu\",      role = c(\"aut\", \"cre\", \"cov\"), comment = c(ORCID = \"0000-0002-6391-0795\")),\nperson(given = \"Tell\",    family = \"Bennett\",   email = \"tell.bennett@cuanschutz.edu\",      role = c(\"ctb\"),               comment = c(ORCID = \"0000-0003-1483-4236\")),\nperson(given = \"Seth\",    family = \"Russell\",   email = \"seth.russell@cuanschutz.edu\",      role = c(\"ctb\"),               comment = c(ORCID = \"0000-0002-2436-1367\")),\nperson(given = \"Meg\",     family = \"Rebull\",    email = \"meg.rebull@cuanschutz.edu\",        role = c(\"ctb\"),               comment = c(ORCID = \"0000-0003-0334-4223\")),\nperson(given = \"Vincent\", family = \"Rubinetti\", email = \"vincent.rubinetti@cuanschutz.edu\", role = c(\"cov\"),               comment = c(ORCID = \"0000-0002-4655-3773\"))\n)",
  "Description": "Provides comorbidity classification algorithms such as the\nPediatric Complex Chronic Conditions (PCCC), Charlson, and\nElixhauser indices, supports longitudinal comorbidity flagging\nacross encounters, and includes utilities for working with\nmedical coding schemas such as the International Classification\nof Diseases (ICD).",
  "License": "BSD_3_clause + file LICENSE",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "URL": "http://www.peteredewitt.com/medicalcoder/,\nhttps://github.com/dewittpe/medicalcoder/",
  "BugReports": "https://github.com/dewittpe/medicalcoder/issues",
  "LazyData": "true",
  "VignetteBuilder": "knitr, rmarkdown",
  "Roxygen": "list(markdown = TRUE)",
  "Config/Needs/website": "pkgdown, comorbidity, icdcomorbid,\nmultimorbidity, dplyr, tidyr, tibble, odbc, DBI, RSQLite, pccc",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://dewittpe.r-universe.dev",
  "Date/Publication": "2026-07-16 16:42:12 UTC",
  "RemoteUrl": "https://github.com/dewittpe/medicalcoder",
  "RemoteRef": "HEAD",
  "RemoteSha": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-16 17:10:28 UTC",
    "User": "root"
  },
  "Author": "Peter DeWitt [aut, cre, cov] (ORCID:\n<https://orcid.org/0000-0002-6391-0795>),\nTell Bennett [ctb] (ORCID: <https://orcid.org/0000-0003-1483-4236>),\nSeth Russell [ctb] (ORCID: <https://orcid.org/0000-0002-2436-1367>),\nMeg Rebull [ctb] (ORCID: <https://orcid.org/0000-0003-0334-4223>),\nVincent Rubinetti [cov] (ORCID:\n<https://orcid.org/0000-0002-4655-3773>)",
  "Maintainer": "Peter DeWitt <peter.dewitt@cuanschutz.edu>",
  "_user": "dewittpe",
  "_type": "src",
  "_file": "medicalcoder_0.9.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d0824b4e162898e098cea72351acaafa866300c4edd87d3bb3e09dd82a74267e",
  "_filesize": 3377130,
  "_sha256": "d0824b4e162898e098cea72351acaafa866300c4edd87d3bb3e09dd82a74267e",
  "_expires": "2026-10-24T17:20:09.000Z",
  "_created": "2026-07-16T17:10:28.000Z",
  "_published": "2026-07-16T17:20:11.689Z",
  "_jobs": [
    {
      "job": 87690171492,
      "time": 502,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8383992938"
    },
    {
      "job": 87690171537,
      "time": 513,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383998991"
    },
    {
      "job": 87690171684,
      "time": 366,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8383929988"
    },
    {
      "job": 87690171545,
      "time": 470,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383977765"
    },
    {
      "job": 87689165795,
      "time": 259,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383758366"
    },
    {
      "job": 87690171510,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8383810183"
    },
    {
      "job": 87690171554,
      "time": 515,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8384000755"
    },
    {
      "job": 87690171504,
      "time": 429,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8383960086"
    },
    {
      "job": 87690171515,
      "time": 417,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8383956585"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665",
  "_status": "success",
  "_upstream": "https://github.com/dewittpe/medicalcoder",
  "_commit": {
    "id": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
    "author": "Peter E. DeWitt <peter.dewitt@cuanschutz.edu>",
    "committer": "Peter E. DeWitt <peter.dewitt@cuanschutz.edu>",
    "message": "add note about POA encoding in from Austrial, re #35\n",
    "time": 1784220132
  },
  "_maintainer": {
    "name": "Peter DeWitt",
    "email": "peter.dewitt@cuanschutz.edu",
    "login": "dewittpe",
    "orcid": "0000-0002-6391-0795",
    "description": "Ph.D. Biostatistician, R Enthusiast.",
    "uuid": 3136617
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "R.utils",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "dewittpe",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 11
    },
    {
      "week": "2025-39",
      "n": 52
    },
    {
      "week": "2025-40",
      "n": 32
    },
    {
      "week": "2025-41",
      "n": 41
    },
    {
      "week": "2025-43",
      "n": 27
    },
    {
      "week": "2025-44",
      "n": 9
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 42
    },
    {
      "week": "2025-48",
      "n": 9
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 10
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 4
    },
    {
      "week": "2026-07",
      "n": 6
    },
    {
      "week": "2026-08",
      "n": 20
    },
    {
      "week": "2026-09",
      "n": 5
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 13
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 45
    },
    {
      "week": "2026-23",
      "n": 21
    },
    {
      "week": "2026-24",
      "n": 9
    },
    {
      "week": "2026-25",
      "n": 4
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 24
    },
    {
      "week": "2026-28",
      "n": 50
    },
    {
      "week": "2026-29",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.6.0",
      "date": "2025-10-09"
    },
    {
      "name": "v0.7.0",
      "date": "2025-11-22"
    },
    {
      "name": "v0.7.0-rc0",
      "date": "2025-11-22"
    },
    {
      "name": "v0.8.0",
      "date": "2026-02-20"
    },
    {
      "name": "v0.8.1",
      "date": "2026-05-05"
    },
    {
      "name": "v0.9.0",
      "date": "2026-07-11"
    }
  ],
  "_topics": [
    "charlson",
    "charlson-comorbidity-index",
    "comorbidities",
    "elixhauser",
    "icd-10",
    "icd-9",
    "pccc",
    "pediatric-complex-chronic-conditions",
    "pediatrics"
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "dewittpe",
      "count": 591,
      "uuid": 3136617
    },
    {
      "user": "vincerubinetti",
      "count": 3,
      "uuid": 8326331
    },
    {
      "user": "tdbennett",
      "count": 1,
      "uuid": 7738315
    }
  ],
  "_userbio": {
    "uuid": 3136617,
    "type": "user",
    "name": "Peter DeWitt",
    "followers": 57,
    "description": "Ph.D. Biostatistician, R Enthusiast."
  },
  "_downloads": {
    "count": 231,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/medicalcoder"
  },
  "_devurl": "https://github.com/dewittpe/medicalcoder",
  "_pkgdown": "http://www.peteredewitt.com/medicalcoder/",
  "_searchresults": 81,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/medicalcoder.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dewittpe/medicalcoder",
  "_realowner": "dewittpe",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6.0",
      "date": "2025-10-15"
    },
    {
      "version": "0.7.0",
      "date": "2025-11-22"
    },
    {
      "version": "0.8.0",
      "date": "2026-02-22"
    },
    {
      "version": "0.8.1",
      "date": "2026-05-05"
    },
    {
      "version": "0.9.0",
      "date": "2026-07-12"
    }
  ],
  "_exports": [
    "comorbidities",
    "get_charlson_codes",
    "get_charlson_index_scores",
    "get_elixhauser_codes",
    "get_elixhauser_index_scores",
    "get_elixhauser_poa",
    "get_icd_codes",
    "get_pccc_codes",
    "get_pccc_conditions",
    "icd_compact_to_full",
    "is_icd",
    "lookup_icd_codes"
  ],
  "_datasets": [
    {
      "name": "mdcr",
      "title": "Synthetic Data",
      "object": "mdcr",
      "class": [
        "data.frame"
      ],
      "fields": [
        "patid",
        "icdv",
        "code",
        "dx"
      ],
      "rows": 319856,
      "table": true,
      "tojson": true
    },
    {
      "name": "mdcr_longitudinal",
      "title": "Synthetic Longitudinal Data",
      "object": "mdcr_longitudinal",
      "class": [
        "data.frame"
      ],
      "fields": [
        "patid",
        "date",
        "icdv",
        "code"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "comorbidities",
      "title": "Comorbidities",
      "topics": [
        "comorbidities"
      ]
    },
    {
      "page": "get_charlson_codes",
      "title": "Get Charlson Codes",
      "topics": [
        "get_charlson_codes"
      ]
    },
    {
      "page": "get_charlson_index_scores",
      "title": "Get Charlson Index Scores",
      "topics": [
        "get_charlson_index_scores"
      ]
    },
    {
      "page": "get_elixhauser_codes",
      "title": "Get Elixhauser Codes",
      "topics": [
        "get_elixhauser_codes"
      ]
    },
    {
      "page": "get_elixhauser_index_scores",
      "title": "Get Elixhauser Index Scores",
      "topics": [
        "get_elixhauser_index_scores"
      ]
    },
    {
      "page": "get_elixhauser_poa",
      "title": "Get Elixhauser Present-on-Admission Requirements",
      "topics": [
        "get_elixhauser_poa"
      ]
    },
    {
      "page": "get_icd_codes",
      "title": "Get ICD Codes",
      "concept": [
        "icd tools"
      ],
      "topics": [
        "get_icd_codes"
      ]
    },
    {
      "page": "get_pccc_codes",
      "title": "Pediatric Complex Chronic Conditions ICD Codes",
      "topics": [
        "get_pccc_codes"
      ]
    },
    {
      "page": "get_pccc_conditions",
      "title": "Pediatric Complex Chronic Condition and Subconditions",
      "topics": [
        "get_pccc_conditions"
      ]
    },
    {
      "page": "icd_compact_to_full",
      "title": "Convert ICD Compact Codes to Full Codes",
      "concept": [
        "ICD tools"
      ],
      "topics": [
        "icd_compact_to_full"
      ]
    },
    {
      "page": "is_icd",
      "title": "Is ICD",
      "concept": [
        "ICD tools"
      ],
      "topics": [
        "is_icd"
      ]
    },
    {
      "page": "lookup_icd_codes",
      "title": "Lookup ICD Codes",
      "concept": [
        "ICD tools"
      ],
      "topics": [
        "lookup_icd_codes"
      ]
    },
    {
      "page": "mdcr",
      "title": "Synthetic Data",
      "concept": [
        "datasets"
      ],
      "topics": [
        "mdcr"
      ]
    },
    {
      "page": "mdcr_longitudinal",
      "title": "Synthetic Longitudinal Data",
      "concept": [
        "datasets"
      ],
      "topics": [
        "mdcr_longitudinal"
      ]
    },
    {
      "page": "summary.medicalcoder_comorbidities",
      "title": "Summaries of Comorbidities",
      "topics": [
        "summary.medicalcoder_comorbidities"
      ]
    },
    {
      "page": "summary.medicalcoder_comorbidities_with_subconditions",
      "title": "Summaries of Comorbidities with Subconditions",
      "topics": [
        "summary.medicalcoder_comorbidities_with_subconditions"
      ]
    }
  ],
  "_readme": "https://github.com/dewittpe/medicalcoder/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "charlson.Rmd",
      "filename": "charlson.html",
      "title": "Charlson Comorbidities",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "ICD Codes and Index Scores",
        "Applying Charlson",
        "References"
      ],
      "created": "2025-09-21 05:51:58",
      "modified": "2026-07-11 16:03:06",
      "commits": 11
    },
    {
      "source": "comorbidities.Rmd",
      "filename": "comorbidities.html",
      "title": "Comorbidities",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Comorbidity Algorithms",
        "When are conditions flagged?",
        "Flag method and POA defaults",
        "Mapping ICD Codes to Comorbidities",
        "References"
      ],
      "created": "2025-09-21 05:51:58",
      "modified": "2026-07-16 16:42:12",
      "commits": 26
    },
    {
      "source": "elixhauser.Rmd",
      "filename": "elixhauser.html",
      "title": "Elixhauser Comorbidities",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "ICD Codes and Index Scores",
        "Applying Elixhauser",
        "References"
      ],
      "created": "2025-09-21 05:51:58",
      "modified": "2026-07-11 15:58:44",
      "commits": 8
    },
    {
      "source": "icd.Rmd",
      "filename": "icd.html",
      "title": "ICD Codes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "get_icd_codes()",
        "with.descriptions",
        "with.hierarchy",
        "lookup_icd_codes()",
        "is_icd()",
        "Assignable codes",
        "Header codes",
        "icd_compact_to_full()",
        "General Notes on ICD Code Structure",
        "ICD-9 Diagnostic Codes",
        "ICD-9 Procedure Codes",
        "ICD-10 Diagnostic Codes",
        "ICD-10 Procedure Codes"
      ],
      "created": "2025-09-21 05:51:58",
      "modified": "2026-07-11 15:40:21",
      "commits": 14
    },
    {
      "source": "pccc.Rmd",
      "filename": "pccc.html",
      "title": "Pediatric Complex Chronic Conditions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "PCCC Version 2.0 vs PCCC Version 3.0",
        "ICD Codes for PCCC",
        "Examples",
        "Expected Data Structures",
        "Assessing PCCC",
        "Ignoring ICD Version and diagnostic/procedure codes",
        "Accounting for Diagnostic/Procedure",
        "Full and Compact ICD codes",
        "Accounting for ICD Version",
        "Longitudinal Conditions",
        "PCCC V2",
        "PCCC V3",
        "Subconditions",
        "Congenital or Genetic",
        "Cardiovascular",
        "Gastrointestinal",
        "Hematologic",
        "Malignancy",
        "Metabolic",
        "Miscellaneous",
        "Neonatal",
        "Neuromuscular",
        "Renal",
        "Respiratory",
        "Longitudinal",
        "References"
      ],
      "created": "2025-09-21 05:51:58",
      "modified": "2026-07-11 15:36:27",
      "commits": 16
    }
  ],
  "_score": 8.096005739715114,
  "_indexed": true,
  "_nocasepkg": "medicalcoder",
  "_universes": [
    "dewittpe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-07-16T17:13:49.000Z",
      "distro": "resolute",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/33d8c83035c0d62b47da4b012e26dfdf47c4fa58fefdee7b8303b791ed9324da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-07-16T17:13:07.000Z",
      "distro": "resolute",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/af207fb7aa5ed43016889ce6df8e2361d5f50ff1807210bd857f6b5ee6a5589b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-07-16T17:12:24.000Z",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/f770cd911a954af8bb07a6ba63c628a8f98828c35ac65c104cf18880b838c41b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-07-16T17:13:10.000Z",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/95a5379ce1c8f027c1457a63a52d0ddfdf88282b1b0255a9da4a10897f54f1c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.0",
      "date": "2026-07-16T17:12:45.000Z",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/9e327cbcef00f352f8c77ee27fae95d7f52631aacc4341da087acd681ffd9724",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-07-16T17:12:20.000Z",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/bf15fc4501eeb736ae79652708371cbe06953b57067836d46ddbfe89ae8f53a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-07-16T17:12:18.000Z",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/9118cdc926bb8efc5fd80a868069b72715e2c8eb529d80d86f3a11562f83ae20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-07-16T17:12:16.000Z",
      "commit": "a54e2493aeb392e4f1096e6c34d1f44e6869dcad",
      "fileid": "https://r2.ropensci.org/0b2b581dc6ac969cf63efef514dc956572f21f254913bc356575f702fadee7da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dewittpe/actions/runs/29518398665"
    }
  ]
}