{% if Library.id.exists()} {% endif %} {% if Library.version.exists()} {% endif %} {% if Library.name.exists()} {% endif %} {% if Library.title.exists()} {% endif %} {% if Library.status.exists()} {% endif %} {% if Library.type.exists()} {% endif %} {% if Library.publisher.exists()} {% endif %} {% if Library.description.exists()} {% endif %} {% if Library.purpose.exists()} {% endif %} {% if Library.usage.exists()} {% endif %} {% loop artifact in Library.relatedArtifact %} {% endloop %} {% loop requirement in Library.dataRequirement %} {% endloop %}
Id: {{Library.id}}
Version: {{Library.version}}
Name: {{Library.name}}
Title: {{Library.title}}
Status: {{Library.status.value}}
Type: {% if Library.type.coding.exists() %} {% loop coding in Library.type.coding %} {% if coding.system.exists() %}

system: {{coding.system}}

{% endif %} {% if coding.code.exists() %}

code: {{coding.code}}

{% endif %} {% if coding.display.exists() %}

display: {{coding.display}}

{% endif %} {% endloop %} {% elseif Library.type.text.exists() %} {{Library.type.text}} {% endif %}
Publisher: {{Library.publisher}}
Description: {{Library.description}}
Purpose: {{Library.purpose}}
Usage: {{Library.usage}}
Related Artifact: {% if artifact.type.exists()}

type: {{artifact.type.value}}

{% endif %} {% if artifact.resource.exists()}

resource: {{artifact.resource}}

{% endif %}
Data Requirement: {% if requirement.type.exists()}

type: {{requirement.type.value}}

{% endif %} {% loop profile in requirement.profile}

profile: {{profile.value}}

{% endloop %} {% loop support in requirement.mustSupport}

mustSupport: {{support}}

{% endloop %} {% loop cfilter requirement.codeFilter}

code filter: {% if cfilter.path.exists() or cfilter.valueSet.exists()}
{% endif %} {% if cfilter.path.exists()} path: {{cfilter.path}} {% if cfilter.valueSet.exists()}
{% endif %} {% endif %} {% if cfilter.valueSet.exists()} value set: {{cfilter.valueSet.value}} {% endif %}

{% endloop %}