OHDSI Home | Forums | Wiki | Github

PheValuator - Target Cohort is Empty?


#1

Hello, I am fairly new to medical research and I have been trying to get the PheValuator package to work on R version 4.0.3 on a Mac. I am currently trying to perform this on the MIMIC-III OMOP CDM database and I know that my connection to this database is not the issue. My code is the following:

33%20PM

The error I keep getting is the following:

“Connecting using PostgreSQL driver
Too few subjects in xSpec to produce model. (Outcome count = 0)
Saving null model summary to /Users/phenotyping/model_main.rds
Reading model from /Users/phenotyping/model_main.rds
Error: Too few outcomes to produce model - Evaluation cohort not created.
Creating evaluation cohort took 0.56 secs”

Any suggestions would be greatly appreciated.


t