{
  "_id": "6ab4d3ec3d719c1f840963ee",
  "Package": "CMHSU",
  "Type": "Package",
  "Title": "Mental Health Status, Substance Use Status and their Concurrent\nStatus in North American Healthcare Administrative Databases",
  "Version": "0.0.6.9",
  "Authors@R": "c(person(given=\"Mohsen\", family=\"Soltanifar\", email=\"mohsen.soltanifar@alumni.utoronto.ca\", role = c(\"aut\"), comment=c(ORCID=\"0000-0002-5989-0082\")), person(given=\"Chel Hee\", family=\"Lee\", email=\"chelhee.lee@ucalgary.ca\", role=c(\"cre\", \"aut\"), comment=c(ORCID=\"0000-0001-8209-8176\")))",
  "Description": "Patients' Mental Health (MH) status, Substance Use (SU)\nstatus, and concurrent MH/SU status in the American/Canadian\nHealthcare Administrative Databases can be identified. The\ndetection is based on given parameters of interest by\nclinicians including the list of plausible ICD MH/SU codes\n(3/4/5 characters), the required number of visits of hospital\nfor MH/SU , the required number of visits of service physicians\nfor MH/SU, and the maximum time span within MH visits, within\nSU visits, and, between MH and SU visits. Methods are described\nin: Khan S <https://pubmed.ncbi.nlm.nih.gov/29044442/>, Keen C,\net al. (2021) <doi:10.1111/add.15580>, Lavergne MR, et al.\n(2022) <doi:10.1186/s12913-022-07759-z>, Casillas, S M, et al.\n(2022) <doi:10.1016/j.abrep.2022.100464>, CIHI (2022)\n<https://www.cihi.ca/en>, CDC (2024) <https://www.cdc.gov>, WHO\n(2019) <https://icd.who.int/en>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-24 07:37:32 UTC",
    "User": "root"
  },
  "Author": "Mohsen Soltanifar [aut]\n(<https://orcid.org/0000-0002-5989-0082>), Chel Hee Lee [cre,\naut] (<https://orcid.org/0000-0001-8209-8176>)",
  "Maintainer": "Chel Hee Lee <chelhee.lee@ucalgary.ca>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-01-10 21:20:05 UTC",
  "RemoteUrl": "https://github.com/cran/CMHSU",
  "RemoteRef": "HEAD",
  "RemoteSha": "a3a568220cc62ace0c340b9bd6af5001e436cd27",
  "_user": "cran",
  "_type": "src",
  "_file": "CMHSU_0.0.6.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/0875e47f0c5d7994f8bd5cf24583f5356e13757e63cff6cd278ba4a535af36e2",
  "_filesize": 130485,
  "_sha256": "0875e47f0c5d7994f8bd5cf24583f5356e13757e63cff6cd278ba4a535af36e2",
  "_expires": "2027-01-02T07:40:23.000Z",
  "_created": "2026-09-24T07:37:32.000Z",
  "_published": "2026-09-24T07:40:27.933Z",
  "_jobs": [
    {
      "job": 107539340819,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10795479734"
    },
    {
      "job": 107539340784,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10795833307"
    },
    {
      "job": 107538341086,
      "time": 199,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10796445239"
    },
    {
      "job": 107539340927,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10795758453"
    },
    {
      "job": 107539340876,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10795512986"
    },
    {
      "job": 107539341060,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10796490188"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/35970307314",
  "_status": "success",
  "_upstream": "https://github.com/cran/CMHSU",
  "_commit": {
    "id": "a3a568220cc62ace0c340b9bd6af5001e436cd27",
    "author": "Chel Hee Lee <chelhee.lee@ucalgary.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.6.9\n",
    "time": 1736544005
  },
  "_maintainer": {
    "name": "Chel Hee Lee",
    "email": "chelhee.lee@ucalgary.ca",
    "orcid": "0000-0001-8209-8176"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 256,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CMHSU"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CMHSU.html",
    "extra/contents.json",
    "extra/manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.6.9",
      "date": "2025-01-10"
    }
  ],
  "_exports": [
    "%>%",
    "MH_status",
    "MHSU_status_basic",
    "MHSU_status_broad",
    "SU_status"
  ],
  "_datasets": [
    {
      "name": "SampleRWD",
      "title": "Sample RWD Data",
      "object": "SampleRWD",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ClientID",
        "VisitDate",
        "Diagnostic_H",
        "Diagnostic_P",
        "MHSU_H",
        "Meaning_H",
        "MHSU_P",
        "Meaning_P"
      ],
      "rows": 1665,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "MH_status",
      "title": "Mental Health status detection in North American Healthcare Administrative Databases",
      "topics": [
        "MH_status"
      ]
    },
    {
      "page": "MHSU_status_basic",
      "title": "Concurrent Mental Health and Substance Use status detection in North American Healthcare Administrative Databases",
      "topics": [
        "MHSU_status_basic"
      ]
    },
    {
      "page": "MHSU_status_broad",
      "title": "Concurrent Mental Health and Substance Use status detection in North American Healthcare Administrative Databases with flexible window",
      "topics": [
        "MHSU_status_broad"
      ]
    },
    {
      "page": "SampleRWD",
      "title": "Sample RWD Data",
      "topics": [
        "SampleRWD"
      ]
    },
    {
      "page": "SU_status",
      "title": "Substance Use status detection in North American Healthcare Administrative Databases",
      "topics": [
        "SU_status"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "CMHSU_Examples.Rmd",
      "filename": "CMHSU_Examples.html",
      "title": "CMHSU_Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "CMHSU",
        "Installation",
        "Sample Simulated Real World Data (SampleRWD): The following simulated dataset is used in the CMHSU R package examples:",
        "Example 1",
        "Example 2",
        "Example 3",
        "Example 4"
      ],
      "created": "2025-01-10 21:20:05",
      "modified": "2025-01-10 21:20:05",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "cmhsu",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.6.9",
      "date": "2026-09-24T07:39:43.000Z",
      "distro": "resolute",
      "commit": "a3a568220cc62ace0c340b9bd6af5001e436cd27",
      "fileid": "https://r2.ropensci.org/fae3a82518e382e8e48d30ca65c593d79075c89e205e9a9870ae21d322a76ca3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970307314"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.6.9",
      "date": "2026-09-24T07:39:38.000Z",
      "distro": "resolute",
      "commit": "a3a568220cc62ace0c340b9bd6af5001e436cd27",
      "fileid": "https://r2.ropensci.org/0132aafef49c5ab4f1fc35f41e9d6ec81ea960dd6480a68eb2b67ba2140813a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970307314"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.6.9",
      "date": "2026-09-24T07:39:44.000Z",
      "commit": "a3a568220cc62ace0c340b9bd6af5001e436cd27",
      "fileid": "https://r2.ropensci.org/694ec556b28b5b8bb8ba359dd109b84d729f93374b150c9b9002c1579434f078",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970307314"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.6.9",
      "date": "2026-09-24T07:38:41.000Z",
      "commit": "a3a568220cc62ace0c340b9bd6af5001e436cd27",
      "fileid": "https://r2.ropensci.org/fc0616fcff649abb9f8b0d28cefc260fe373160fd35ec23e553d769ed413329c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970307314"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.6.9",
      "date": "2026-09-24T07:38:39.000Z",
      "commit": "a3a568220cc62ace0c340b9bd6af5001e436cd27",
      "fileid": "https://r2.ropensci.org/20de6d3e7697ca1b41402be484ab053edf90ea75b60dd203e4067945d490f5c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35970307314"
    }
  ]
}