OHDSI Home | Forums | Wiki | Github

Add `analysisIds` argument to `achillesHeel` function

Hi,

Relevant to my other recent post about customizing Achilles, there are some AchillesHeel results we would rather not show up in our AchillesHeel reports (such as “114 - Number of persons with observation period before year-of-birth…”, which is not an error in our pediatric data).

I’m worried about excluding all of the relevant analyses from the analysis (by using analysisId on the achilles function) and degrading the AchillesWeb view in other ways, but don’t need those entries in AchillesHeel. Can we add an analysisIds argument to the achillesHeel function, like there is in the achilles function, that would only generate Heel records for the passed analysis IDs?

Thanks,
Aaron

Good idea Aaron, It seems reasonable to consider having an optional
parameter to turn off data quality warnings that you determine to be not
applicable to you. In this case, you’re suggesting you have data about a
person prior to the observation period start (meaning, presumably that you
have legitimate data that is prior to the observation period start…a
question would be why isn’t the observation period start date set
earlier?). I wonder what other data quality checks you find unacceptable,
and whether others in the community have found similar issues…

Sorry, I guess I didn’t look carefully enough at that one. I meant to call out the check using analysis 103 for observation period start date by age where age is less than zero. We have observations and thus observation period start dates that occur prenatally…

t