Open chelope opened 7 years ago
I'm experiencing this as well. Also, for the same measure, I've found that while the BMI is imported, two results end up being imported into the database. For example, the following value for BMI:
<value unit='kg/m2' value='23.1' xsi:type='PQ'/>
Results in the following in the database:
"values" : [ { "_id" : ObjectId("5a67614ab1b4bd22c781bb80"), "_type" : "PhysicalQuantityResultValue", "scalar" : "23.1", "units" : "kg/m2" }, { "_id" : ObjectId("5a67614ab1b4bd22c781bb81"), "_type" : "PhysicalQuantityResultValue", "scalar" : 23, "units" : "kg/m2" }
When running the calculation for this measure for this patient, we should score in the numerator because the BMI is >= 18.5 and < 25. It doesn't score, though.
@chelope Have you had any luck with this part of the measure?
I have opened an issue for project health-data-standards, since I found a scenario for measure CMS65 where a patient with Medication, Order: Below Normal Medications with Reason Underweight must meet numerator, however the patient doesn't meet the numerator since health-data-standards project doesn't extract this reason, therefore this reason is not stored in the Record collection.
Below the link where you can find the issue open in projectcypress/health-data-standards
https://github.com/projectcypress/health-data-standards/issues/538