Stream: implementers
Topic: Geometric mean of length stay
sai charan (Jan 29 2018 at 12:58):
Hi All,How can i capture geometric mean of length of stay of a patient and count the total
avoidable days in my profile ?Thank You
Grahame Grieve (Jan 29 2018 at 13:59):
this is aggregate data across multiple patients?
sai charan (Jan 30 2018 at 04:11):
@Grahame Grieve can you explain in detail
sai charan (Jan 30 2018 at 04:13):
@Grahame Grieve can you explain in detail
Grahame Grieve (Jan 30 2018 at 04:16):
I think you need to explain. what is it you want to capture? the geometric mean of a patient of 1?
sai charan (Jan 30 2018 at 04:42):
@Grahame Grieve Which element can store the formula for geometric mean of length of stay of all the patients.
Bryn Rhodes (Jan 30 2018 at 04:44):
Geomotric mean of length of stay of all patients sounds like a Measure and the result could be "stored" in a MeasureReport.
Bryn Rhodes (Jan 30 2018 at 04:44):
The formula for that would be stored in a Library.
sai charan (Jan 30 2018 at 04:48):
@Bryn Rhodes Which element can store the result(measure report) and formula(library)
Bryn Rhodes (Jan 30 2018 at 04:51):
http://build.fhir.org/measurereport-definitions.html#MeasureReport.group.measureScore
sai charan (Jan 30 2018 at 06:30):
HI All,How to measure the total no. of avoidable days
sai charan (Jan 30 2018 at 11:30):
@Bryn Rhodes Hi,how to store the geometric mean of length of stay formula in Library?
Bryn Rhodes (Jan 30 2018 at 17:20):
What you're describing is a continuous variable measure, so you have to identify not only the formula you want to evaluate, but what population you want to do the evaluation on.
Bryn Rhodes (Jan 30 2018 at 17:21):
I mean, if you just want geometric mean of all encounters, you can specify that as a population-level query.
Bryn Rhodes (Jan 30 2018 at 17:22):
We don't have GeometricMean defined as part of the standard library, but you could add it with an external.
Bryn Rhodes (Jan 30 2018 at 17:22):
So assuming you had that, it would just be:
Bryn Rhodes (Jan 30 2018 at 17:22):
Statistics.GeometricMean( [Encounter] E return all days betweeen E.period."start" and E.period."end" )
Last updated: Apr 12 2022 at 19:14 UTC