I'm trying to populate the direct reference codes for effectiveDataRequirement library module definition of a measure.
My effectiveDataRequirement module definition structure is:
<tr><th><b>display</b></th><th><b>code</b></th><th><b>system</b></th></tr>
{% for extension in contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode') %}
<tr>
<td>{{extension.valueCoding.display.escape('html')}}</td>
<td>{{extension.valueCoding.code}}</td>
<td>{{extension.valueCoding.version}}</td>
</tr>
{% endfor %}
looks like there are a couple of issues here:
Instead of extension.valueCoding.xx it should be extension.value.xx- I'm not 100% sure but could someone please clarify if my understanding is correct or if there is some magic happening behind the scene(by liquid or fhirpath engine) and extension.valueCoding.xx is the preferred way?
For 3rd column(<td>), heading is system but <td> prints version. I think it should be:
<td>{{extension.value.system}}</td>
Additionally,
Can we remove the requirement for group population description to have content? https://github.com/cqframework/sample-content-ig/blob/master/templates/liquid/Measure.liquid#L228
It is only checking the first population description on the first group even if there can be multiple groups. Perhaps instead this could just hide population description or show a blank description on the population if none exists.
Now we are supporting group-level measure scoring and it can be different for different groups. If group-level scoring is required to be present in human-readable, please add support to display group-level scoring.
I'm trying to populate the direct reference codes for effectiveDataRequirement library module definition of a measure. My effectiveDataRequirement module definition structure is:
Following is the code snippet taken from https://github.com/cqframework/sample-content-ig/blob/master/templates/liquid/Measure.liquid#L324
looks like there are a couple of issues here:
extension.valueCoding.xx
it should beextension.value.xx
- I'm not 100% sure but could someone please clarify if my understanding is correct or if there is some magic happening behind the scene(by liquid or fhirpath engine) andextension.valueCoding.xx
is the preferred way?<td>
), heading issystem
but<td>
printsversion
. I think it should be:<td>{{extension.value.system}}</td>
Additionally,
CC: @JSRankins