{
  "_id": "6a1f0c0db401979e7341ca95",
  "Package": "LABTNSCPSS",
  "Version": "1.0",
  "Title": "Calculation of Comorbidity and Frailty Scores",
  "Description": "Computes comorbidity indices and combined scores for\ndifferent versions of ICD, including ICD-10-CA, ICD-10-CM, and\nICD-11.",
  "Authors@R": "c(person(given=\"Azadeh\", family=\"Bayani\", role=c(\"aut\",\"cre\"), email=\"azadeh.bayani@umontreal.ca\", comment=c(ORCID=\"https://orcid.org/0009-0002-7707-9602\")), person(given=\"Jean Noel\", family=\"Nikiema\", role=\"ctb\", email=\"jean.nikiema@umontreal.ca\"), person(given=\"Michèle\", family=\"Bally\", role=\"ctb\", email=\"michele.bally.chum@ssss.gouv.qc.ca\"))",
  "URL": "https://github.com/bayaniazadeh/LabTNSCPSSPackage",
  "License": "GPL-3",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Repository": "https://bayaniazadeh.r-universe.dev",
  "Date/Publication": "2026-02-28 15:00:37 UTC",
  "RemoteUrl": "https://github.com/bayaniazadeh/labtnscpsspackage",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 09:37:14 UTC",
    "User": "root"
  },
  "Author": "Azadeh Bayani [aut, cre] (ORCID:\n<https://orcid.org/0009-0002-7707-9602>),\nJean Noel Nikiema [ctb],\nMichèle Bally [ctb]",
  "Maintainer": "Azadeh Bayani <azadeh.bayani@umontreal.ca>",
  "MD5sum": "893fa49a106050359301e91f545a4f5a",
  "_user": "bayaniazadeh",
  "_type": "src",
  "_file": "LABTNSCPSS_1.0.tar.gz",
  "_fileid": "b69578a463bf7085c101010492e13243a3237b9e3735c0b5066cd018f9ccb594",
  "_filesize": 2556250,
  "_sha256": "b69578a463bf7085c101010492e13243a3237b9e3735c0b5066cd018f9ccb594",
  "_created": "2026-05-17T09:37:14.000Z",
  "_published": "2026-06-02T16:59:57.974Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79126660376,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7041294971"
    },
    {
      "job": 79126660662,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7041293465"
    },
    {
      "job": 79126660446,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7041303821"
    },
    {
      "job": 79126660163,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7041297880"
    },
    {
      "job": 79126659621,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041280728"
    },
    {
      "job": 79126659608,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364465036"
    },
    {
      "job": 79126660552,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7041289926"
    },
    {
      "job": 79126660335,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7041290073"
    },
    {
      "job": 79126660354,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7041289495"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bayaniazadeh/labtnscpsspackage",
  "_commit": {
    "id": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
    "author": "Azadeh Bayani <bayaniazadeh@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add files via upload",
    "time": 1772290837
  },
  "_maintainer": {
    "name": "Azadeh Bayani",
    "email": "azadeh.bayani@umontreal.ca"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    }
  ],
  "_owner": "bayaniazadeh",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 5
    },
    {
      "week": "2025-36",
      "n": 3
    },
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 3
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bayaniazadeh",
      "count": 30,
      "uuid": 17809301
    }
  ],
  "_userbio": {
    "uuid": 17809301,
    "type": "user",
    "name": "Azadeh Bayani"
  },
  "_downloads": {
    "count": 233,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LABTNSCPSS"
  },
  "_devurl": "https://github.com/bayaniazadeh/labtnscpsspackage",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/LABTNSCPSS.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bayaniazadeh/labtnscpsspackage",
  "_realowner": "bayaniazadeh",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2026-02-20"
    },
    {
      "version": "1.0.2",
      "date": "2026-03-26"
    }
  ],
  "_exports": [
    "available_algorithms",
    "comorbidity",
    "get_coding_system",
    "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": "Basal_Codes",
      "title": "",
      "object": "Basal_Codes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "Comp_ICD10CAcodes",
        "code_category",
        "complication_category",
        "B_ICD10CAcodesBasale"
      ],
      "rows": 893,
      "table": true,
      "tojson": true
    },
    {
      "name": "Code_Categories",
      "title": "",
      "object": "Code_Categories",
      "class": [
        "data.frame"
      ],
      "fields": [
        "category",
        "ICD10CAcodes"
      ],
      "rows": 19206,
      "table": true,
      "tojson": true
    },
    {
      "name": "Frailty_Comorbidity_Mapping",
      "title": "",
      "object": "Frailty_Comorbidity_Mapping",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "MorbiFrailtyCategory",
        "MorbiFrailtyDescriptionEN",
        "MorbiFrailtyDescriptionFR",
        "FrailtyCategory",
        "FrailtyCategory_desc_en",
        "FrailtyCategory_desc_fr",
        "MorbidityCategory",
        "ICD_10_CA_Codes",
        "ICD_10_CA_Label",
        "Chronicity_Category",
        "Underlying_disease",
        "CIM10CMcodes",
        "ICD11codes",
        "category_icd10CM",
        "category_icd11"
      ],
      "rows": 8784,
      "table": true,
      "tojson": true
    },
    {
      "name": "Frailty_ICD10CM",
      "title": "",
      "object": "Frailty_ICD10CM",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "CIM10CMcodes",
        "frailty_Comorbidity"
      ],
      "rows": 2357,
      "table": true,
      "tojson": true
    },
    {
      "name": "Frailty_ICD11",
      "title": "",
      "object": "Frailty_ICD11",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "frailty_Comorbidity",
        "ICD11codes"
      ],
      "rows": 2480,
      "table": true,
      "tojson": true
    },
    {
      "name": "Frailty_mapping",
      "title": "",
      "object": "Frailty_mapping",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "frailty_Comorbidity",
        "ICD_10_CA_CIHI",
        "ICD_10_CA_LabTNS",
        "ICD.10.CA_Label"
      ],
      "rows": 3678,
      "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": "ICD10CA_categorisation",
      "title": "",
      "object": "ICD10CA_categorisation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "ICD10CAcodes",
        "category"
      ],
      "rows": 18672,
      "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": "ICD10CM_Basal_Codes",
      "title": "",
      "object": "ICD10CM_Basal_Codes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "Comp_CIM10CMcodes",
        "code_category",
        "complication_category",
        "B_CIM11Basale"
      ],
      "rows": 2758,
      "table": true,
      "tojson": true
    },
    {
      "name": "ICD10CM_categorisation",
      "title": "",
      "object": "ICD10CM_categorisation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "CIM10CMcodes",
        "category",
        "majority_category"
      ],
      "rows": 106445,
      "table": true,
      "tojson": true
    },
    {
      "name": "ICD11_Basal_Codes",
      "title": "",
      "object": "ICD11_Basal_Codes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "Comp_CIM11codes",
        "code_category_x",
        "complication_category_x",
        "B_CIM11Basale"
      ],
      "rows": 2620,
      "table": true,
      "tojson": true
    },
    {
      "name": "ICD11_categorisation",
      "title": "",
      "object": "ICD11_categorisation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "ICD11codes",
        "category"
      ],
      "rows": 8706,
      "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": "Chronic_Pathologies",
      "title": "Propagating Chronic Pathologies",
      "topics": []
    },
    {
      "page": "comorbidity",
      "title": "Comorbidity mapping.",
      "topics": [
        "comorbidity"
      ]
    },
    {
      "page": "Comorbidity_calculation",
      "title": "Compute Charlson, Elixhauser and combined comorbidity scores",
      "topics": [
        "Comorbidity_calculation"
      ]
    },
    {
      "page": "Comorbidity_Frailty_Calculation",
      "title": "Compute Charlson, Elixhauser and Combined Comorbidity Scores, Including Frailty Score",
      "topics": [
        "Comorbidity_Frailty_Calculation"
      ]
    },
    {
      "page": "Create_data",
      "title": "Create Data",
      "topics": [
        "create_Data"
      ]
    },
    {
      "page": "Frailty_Calculation",
      "title": "Calculating Frailty Scores",
      "topics": [
        "Frailty_Calculation"
      ]
    },
    {
      "page": "Frailty_score",
      "title": "Calculating Frailty Scores",
      "topics": [
        "Frailty_score"
      ]
    },
    {
      "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": "LABTNSCPSS",
      "title": "LABTNSCPSS: Comorbidity and Frailty Score Toolkit",
      "topics": [
        "LABTNSCPSS"
      ]
    },
    {
      "page": "LabTNSCPSSPackage",
      "title": "A Package for Chronic Pathology and Comorbidity Analysis",
      "topics": [
        "LabTNSCPSSPackage"
      ]
    },
    {
      "page": "nhds2010",
      "title": "Adult same-day discharges, 2010",
      "topics": [
        "nhds2010"
      ]
    },
    {
      "page": "Pathologie_chronic",
      "title": "Propagating Chronic Pathologies",
      "topics": []
    },
    {
      "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/bayaniazadeh/labtnscpsspackage/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.8750612633917,
  "_indexed": true,
  "_nocasepkg": "labtnscpss",
  "_universes": [
    "bayaniazadeh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-17T09:39:14.000Z",
      "distro": "noble",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "4e732cf3251b83fb209615d37e9d9cfe5cb81093257005d3a83052735a5ee9cc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-17T09:39:09.000Z",
      "distro": "noble",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "1fee691e24c08745742b6a44c69e0787ebe49de8e8d3c3a5a3ebccf4bee77ae9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-17T09:40:33.000Z",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "96ec562ab58feb233792b283f199c9bccb98b9fed49ca9a01be594da49a4ad33",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-17T09:39:46.000Z",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "aef99755957a133329185bd4515387472917cca9be83496bd23aaae7c6785c5d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-17T09:38:24.000Z",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "d69970ddd06147a12b6acc089a34a10479c81c54f60836529036326971888d4f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-17T09:38:28.000Z",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "e0700adc5788da4389816d8093d53b5943876d48a452718f0b4bfc7b75310ac5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-17T09:38:24.000Z",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "1cdf10a12b207c38389103844a6fa3165141e00722be8ad31c806034fe7b83d2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-06-02T16:59:34.000Z",
      "commit": "0b23e69cea8cda51b493ec4cedfecab05302f61d",
      "fileid": "2ba90c8f55c6cb1ed31c660248f68690ce4ae3b052786f3ef220f7b5db8d1f9d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bayaniazadeh/actions/runs/25987229536"
    }
  ]
}