{
  "_id": "6a4f3ee921b18e15484ff9d5",
  "Package": "PatientGenerator",
  "Type": "Package",
  "Title": "Generator of Synthetic Patient Data for the OMOP Common Data\nModel",
  "Version": "0.1.4",
  "Authors@R": "c(\nperson(\"Cesar\", \"Barboza\", , \"c.barboza@mi-erasmusmc.nl\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0002-4453-3071\")),\nperson(\"Ger\", \"Inberg\", , \"g.inberg@erasmusmc.nl\", role = \"aut\", comment = c(ORCID = \"0000-0001-8993-8748\")),\nperson(\"Adam\", \"Black\", , \"black@ohdsi.org\", role = \"aut\", comment = c(ORCID = \"0000-0001-5576-8701\"))\n)",
  "Description": "Tools to generate synthetic patient-level test datasets in\nthe Observational Medical Outcomes Partnership (OMOP) Common\nData Model (CDM). Includes a chat-driven generator backed by\nlarge language models and an interactive 'shiny' designer for\nediting CDM test sets.",
  "URL": "https://github.com/mi-erasmusmc/PatientGenerator,\nhttps://mi-erasmusmc.github.io/PatientGenerator/",
  "BugReports": "https://github.com/mi-erasmusmc/PatientGenerator/issues",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "pkgdown",
  "Config/testthat/edition": "3",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2026-04-27 10:00:49 UTC",
  "RemoteUrl": "https://github.com/ohdsi/patientgenerator",
  "RemoteRef": "HEAD",
  "RemoteSha": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-09 06:22:17 UTC",
    "User": "root"
  },
  "Author": "Cesar Barboza [aut, cre] (ORCID:\n<https://orcid.org/0009-0002-4453-3071>),\nGer Inberg [aut] (ORCID: <https://orcid.org/0000-0001-8993-8748>),\nAdam Black [aut] (ORCID: <https://orcid.org/0000-0001-5576-8701>)",
  "Maintainer": "Cesar Barboza <c.barboza@mi-erasmusmc.nl>",
  "_user": "ohdsi",
  "_type": "src",
  "_file": "PatientGenerator_0.1.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/d2d641e955c9ee1f79c31a8fd01e51b6266eef4fe33fc7c5f91d2b66ea155f7a",
  "_filesize": 549113,
  "_sha256": "d2d641e955c9ee1f79c31a8fd01e51b6266eef4fe33fc7c5f91d2b66ea155f7a",
  "_expires": "2026-10-17T06:25:43.000Z",
  "_created": "2026-07-09T06:22:17.000Z",
  "_published": "2026-07-09T06:25:45.608Z",
  "_jobs": [
    {
      "job": 86053394553,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8190682964"
    },
    {
      "job": 86053394556,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190684132"
    },
    {
      "job": 86053394574,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8190663880"
    },
    {
      "job": 86053394546,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190674955"
    },
    {
      "job": 86052879067,
      "time": 221,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190636229"
    },
    {
      "job": 86053394542,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8190678503"
    },
    {
      "job": 86053394587,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8190669111"
    },
    {
      "job": 86053394589,
      "time": 125,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8190674085"
    },
    {
      "job": 86053394579,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190674263"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390",
  "_status": "success",
  "_upstream": "https://github.com/ohdsi/patientgenerator",
  "_commit": {
    "id": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
    "author": "CE Barboza <113351542+cebarboza@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #42 from mi-erasmusmc/develop\n\nCRAN submission no logo",
    "time": 1777284049
  },
  "_maintainer": {
    "name": "Cesar Barboza",
    "email": "c.barboza@mi-erasmusmc.nl",
    "login": "cebarboza",
    "description": "R developer for the Department of Medical Informatics at Erasmus MC",
    "uuid": 113351542
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "bslib",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "DT",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "role": "Imports"
    },
    {
      "package": "ellmer",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "r2d3",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Imports"
    },
    {
      "package": "CDMConnector",
      "role": "Suggests"
    },
    {
      "package": "CohortCharacteristics",
      "role": "Suggests"
    },
    {
      "package": "CohortConstructor",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "TestGenerator",
      "role": "Suggests"
    }
  ],
  "_owner": "ohdsi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 9
    },
    {
      "week": "2026-16",
      "n": 4
    },
    {
      "week": "2026-18",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.1.3",
      "date": "2026-04-27"
    },
    {
      "name": "v0.1.4",
      "date": "2026-04-27"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "cebarboza",
      "count": 20,
      "uuid": 113351542
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics",
    "followers": 1047
  },
  "_downloads": {
    "count": 220,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PatientGenerator"
  },
  "_devurl": "https://github.com/mi-erasmusmc/patientgenerator",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PatientGenerator.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ohdsi/patientgenerator",
  "_realowner": "ohdsi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.4",
      "date": "2026-05-04"
    }
  ],
  "_exports": [
    "%||%",
    "availableModels",
    "conceptSearchServer",
    "conceptSearchUI",
    "getTestSets",
    "hecateClient",
    "hecateSearch",
    "patientChat",
    "patientChatNaive",
    "patientDesigner"
  ],
  "_help": [
    {
      "page": "availableModels",
      "title": "'availableModels()' If the API key is valid in the system, returns available models to the user from the LLM provider.",
      "topics": [
        "availableModels"
      ]
    },
    {
      "page": "conceptSearchModule",
      "title": "Concept search Shiny module",
      "topics": [
        "conceptSearchModule",
        "conceptSearchServer",
        "conceptSearchUI"
      ]
    },
    {
      "page": "getTestSets",
      "title": "Useful to list available datasets in the testCases folder",
      "topics": [
        "getTestSets"
      ]
    },
    {
      "page": "hecateClient",
      "title": "Create a Hecate API client",
      "topics": [
        "hecateClient"
      ]
    },
    {
      "page": "hecateSearch",
      "title": "Search Hecate concepts and return results as a data frame",
      "topics": [
        "hecateSearch"
      ]
    },
    {
      "page": "nullOr",
      "title": "Null coalescing operator",
      "topics": [
        "%||%",
        "nullOr"
      ]
    },
    {
      "page": "patientChat",
      "title": "'patientChat()' generates synthetic patients in the OMOP-CDM using an LLM API.",
      "topics": [
        "patientChat"
      ]
    },
    {
      "page": "patientChatNaive",
      "title": "'patientChatNaive()' is a grapper for the ellmer package to send prompts and send the output test set to an LLM. Requires a valid API key.",
      "topics": [
        "patientChatNaive"
      ]
    },
    {
      "page": "patientDesigner",
      "title": "'patientDesigner()' is a visual interface based on D3 to construct test datasets for the OMOP-CDM",
      "topics": [
        "patientDesigner"
      ]
    }
  ],
  "_readme": "https://github.com/ohdsi/patientgenerator/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "brio",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "commonmark",
    "coro",
    "crayon",
    "crosstalk",
    "curl",
    "data.table",
    "DBI",
    "desc",
    "diffobj",
    "digest",
    "dplyr",
    "DT",
    "duckdb",
    "ellmer",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr2",
    "jquerylib",
    "jsonlite",
    "knitr",
    "later",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "processx",
    "promises",
    "ps",
    "r2d3",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "rprojroot",
    "rstudioapi",
    "S7",
    "sass",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "sys",
    "testthat",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "waldo",
    "withr",
    "xfun",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "shiny-integration.Rmd",
      "filename": "shiny-integration.html",
      "title": "Interactive Patient Designer & Test Integration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Operating the Patient Designer",
        "Saving Test Sets for testthat Integration",
        "Integrating with testthat"
      ],
      "created": "2026-04-27 00:32:30",
      "modified": "2026-04-27 00:32:30",
      "commits": 1
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "patientgenerator",
  "_universes": [
    "ohdsi",
    "cebarboza",
    "mi-erasmusmc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-07-09T06:24:52.000Z",
      "distro": "resolute",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/4bf182977631db6645a886a6337c359851db74ba1c2768fd004e66f5e2b18b5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-07-09T06:24:50.000Z",
      "distro": "resolute",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/386d6f2729f8d41858951999c080f91b55acc41b0157411e978a3d11aa5ed17c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-07-09T06:23:52.000Z",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/6a3d588338c0865ee6ed94031cb63dcde625cb3b419d1eb8cbe163d98da6a534",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-07-09T06:24:23.000Z",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/afd4a18464953729c5466270cdfa3097f46ce13fb124a398c54aba106316518f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-07-09T06:25:00.000Z",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/4014376f337969de3c99199709482237e82964c6cc3be99b1adff32e15d1845d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-07-09T06:23:50.000Z",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/6448372319dedddb5b71a00bcff0ae739ea93017892733a3db9680b2a134aa2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-07-09T06:24:09.000Z",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/2aad498e4e8e1ce55bda51ee96669ee1a05f179614406059a78d89c1d262c4b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-07-09T06:24:14.000Z",
      "commit": "472cfeb3617c0a2caa4f9402f4becf8a60873692",
      "fileid": "https://r2.ropensci.org/4af9fe6fdeef5cf35708d61f8752ab55065425b666fc433fcd4ae9d439ab9ecd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/28998333390"
    }
  ]
}