Closed adongare closed 1 month ago
@adongare
That is partially true. The observation_values array does not provide the keys for the population keys. However, order of the observation_values does remain consistent. For the last couple of annual updates Cypress has used an approach that post processes the individual results from cqm-execution to associate the values with the appropriate populations. I believe a similar approach would also work for Bonnie.
Just to note, this approach has also worked with displaying the observations for CMS986.
Thanks, @dczulada for sharing this. Sorry, was occupied with some other things. did not get a chance to go through the comments. I'm not sure if I understood it correctly. Please correct me if I got this wrong. The above examples show observations for each population by episode. Screenshot that you attached for CMS871 shows DENOM OBS = 9 and NUMER OBS = 1.
Let's take the following example. This is the response from cqm-execution for a test patient.
This has two episodes with 3 observations. Episode 1 has one observation i.e. numerator observation because there is denom exclusion. so it can't be denom obs. So NUMER OBS = 0 Episode 2 has two observations [6, 1] and no exclusion. So, in this case, which one is DENOM Observation and which one is NUMER observation? Does the denominator observation come first and then the Numerator observation? Looked into cqm-execution and it appears that that is the order we add observation elm functions to library statements and later iterate over observations and push them to episodes
are you using version 4.1.2? In 4.1.2 for ratio measures there will always be 2 observations values.
Here is what it would look like with a DENEX.
@adongare Forgot to tag you
ah...I think I was on v4.0.2. I see different results(like you have shown) with v4.1.2. thanks @dczulada for pointing that.
No changes are required. it was addressed in Bonnie and Cypress repos.
cqm-execution doesn’t distinguish between numerator and denominator observations. The calculation results for observations is an array e.g. observation_values =[12, 23]. With this, users can't tell if observation 12 is for the denominator or numerator