There are some duplicate Data Requirements seen in the Data requirement section of the Human readable when CQL has both positive and negative profiles. e.g., Observation and ObservationNotDone.
Valueset “Standardized Tools Score for Assessment of Cognition”:
definition “x”:
exists [Observation: “Standardized Tools Score for Assessment of Cognition”]
or exists [ObservationNotDone: “Standardized Tools Score for Assessment of Cognition”]
MADiE is using the Data Requirements Processor to generate the effectiveDataRequiremets which will be used later to generate the human readable. We are using collapseDataRequirements translator option to remove duplicates. There are different criteria applied while filtering the duplicates and one of them is profiles. With the above CQL the HR generated will have the following data requirements, note highlighted ones:
Although both data requirements are different, because we do not show profiles, they look exactly the same. Adding the profiles to the data requirements would help users to differentiate them.
There are some duplicate Data Requirements seen in the Data requirement section of the Human readable when CQL has both positive and negative profiles. e.g., Observation and ObservationNotDone.
MADiE is using the Data Requirements Processor to generate the
effectiveDataRequiremets
which will be used later to generate the human readable. We are usingcollapseDataRequirements
translator option to remove duplicates. There are different criteria applied while filtering the duplicates and one of them is profiles. With the above CQL the HR generated will have the following data requirements, note highlighted ones:Although both data requirements are different, because we do not show profiles, they look exactly the same. Adding the profiles to the data requirements would help users to differentiate them.