Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

88: relatedArtifact.display used #93

Merged
merged 3 commits into from
Jun 9, 2024
Merged

Conversation

echicoine-icf
Copy link

#88

@@ -480,11 +480,11 @@
{% endfor %}
</ul>
{% endif %}
{% if Measure.relatedArtifact.where(type = 'depends-on').exists() and
{% if Measure.relatedArtifact.display.where(type = 'depends-on').exists() and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't invoke at the display level here since type isn't an element of display, we need to still look at relatedArtifact.where(type = 'depends-on') but use the display element if it's present to provide a human-readable label for the output

Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists().not() %}
<p><b>Dependencies</b></p>
<ul>
{% for artifact in Measure.relatedArtifact.where(type = 'depends-on') %}
{% for artifact in Measure.relatedArtifact.display.where(type = 'depends-on') %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment

@echicoine-icf echicoine-icf requested a review from brynrhodes June 7, 2024 21:27
@brynrhodes brynrhodes merged commit f17cf0b into cqframework:master Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants