Fixed template typos

This commit is contained in:
Bryn Rhodes
2020-05-22 10:28:23 -06:00
parent 1bd6dfec30
commit 1d9b41913c

View File

@@ -1,36 +1,36 @@
<div> <div>
<table class="grid dict"> <table class="grid dict">
{% if Library.id.exists()} {% if Library.id.exists() %}
<tr> <tr>
<th scope="row"><b>Id: </b></th> <th scope="row"><b>Id: </b></th>
<td style="padding-left: 25px;">{{Library.id}}</td> <td style="padding-left: 25px;">{{Library.id}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.version.exists()} {% if Library.version.exists() %}
<tr> <tr>
<th scope="row"><b>Version: </b></th> <th scope="row"><b>Version: </b></th>
<td style="padding-left: 25px;">{{Library.version}}</td> <td style="padding-left: 25px;">{{Library.version}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.name.exists()} {% if Library.name.exists() %}
<tr> <tr>
<th scope="row"><b>Name: </b></th> <th scope="row"><b>Name: </b></th>
<td style="padding-left: 25px;">{{Library.name}}</td> <td style="padding-left: 25px;">{{Library.name}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.title.exists()} {% if Library.title.exists() %}
<tr> <tr>
<th scope="row"><b>Title: </b></th> <th scope="row"><b>Title: </b></th>
<td style="padding-left: 25px;">{{Library.title}}</td> <td style="padding-left: 25px;">{{Library.title}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.status.exists()} {% if Library.status.exists() %}
<tr> <tr>
<th scope="row"><b>Status: </b></th> <th scope="row"><b>Status: </b></th>
<td style="padding-left: 25px;">{{Library.status.value}}</td> <td style="padding-left: 25px;">{{Library.status.value}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.type.exists()} {% if Library.type.exists() %}
<tr> <tr>
<th scope="row"><b>Type: </b></th> <th scope="row"><b>Type: </b></th>
<td style="padding-left: 25px;"> <td style="padding-left: 25px;">
@@ -52,31 +52,32 @@
</p> </p>
{% endif %} {% endif %}
{% endloop %} {% endloop %}
{% elseif Library.type.text.exists() %} {% endif %}
{% if Library.type.coding.exists().not and Library.type.text.exists() %}
{{Library.type.text}} {{Library.type.text}}
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.publisher.exists()} {% if Library.publisher.exists() %}
<tr> <tr>
<th scope="row"><b>Publisher: </b></th> <th scope="row"><b>Publisher: </b></th>
<td style="padding-left: 25px;">{{Library.publisher}}</td> <td style="padding-left: 25px;">{{Library.publisher}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.description.exists()} {% if Library.description.exists() %}
<tr> <tr>
<th scope="row"><b>Description: </b></th> <th scope="row"><b>Description: </b></th>
<td style="padding-left: 25px;">{{Library.description}}</td> <td style="padding-left: 25px;">{{Library.description}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.purpose.exists()} {% if Library.purpose.exists() %}
<tr> <tr>
<th scope="row"><b>Purpose: </b></th> <th scope="row"><b>Purpose: </b></th>
<td style="padding-left: 25px;">{{Library.purpose}}</td> <td style="padding-left: 25px;">{{Library.purpose}}</td>
</tr> </tr>
{% endif %} {% endif %}
{% if Library.usage.exists()} {% if Library.usage.exists() %}
<tr> <tr>
<th scope="row"><b>Usage: </b></th> <th scope="row"><b>Usage: </b></th>
<td style="padding-left: 25px;">{{Library.usage}}</td> <td style="padding-left: 25px;">{{Library.usage}}</td>
@@ -86,12 +87,12 @@
<tr> <tr>
<th scope="row"><b>Related Artifact: </b></th> <th scope="row"><b>Related Artifact: </b></th>
<td style="padding-left: 25px;"> <td style="padding-left: 25px;">
{% if artifact.type.exists()} {% if artifact.type.exists() %}
<p style="margin-bottom: 5px;"> <p style="margin-bottom: 5px;">
<b>type: </b> <span>{{artifact.type.value}}</span> <b>type: </b> <span>{{artifact.type.value}}</span>
</p> </p>
{% endif %} {% endif %}
{% if artifact.resource.exists()} {% if artifact.resource.exists() %}
<p style="margin-bottom: 5px;"> <p style="margin-bottom: 5px;">
<b>resource: </b> <span>{{artifact.resource}}</span> <b>resource: </b> <span>{{artifact.resource}}</span>
</p> </p>
@@ -103,36 +104,36 @@
<tr> <tr>
<th scope="row"><b>Data Requirement: </b></th> <th scope="row"><b>Data Requirement: </b></th>
<td style="padding-left: 25px;"> <td style="padding-left: 25px;">
{% if requirement.type.exists()} {% if requirement.type.exists() %}
<p style="margin-bottom: 5px;"> <p style="margin-bottom: 5px;">
<b>type: </b> <span>{{requirement.type.value}}</span> <b>type: </b> <span>{{requirement.type.value}}</span>
</p> </p>
{% endif %} {% endif %}
{% loop profile in requirement.profile} {% loop profile in requirement.profile %}
<p style="margin-bottom: 5px;"> <p style="margin-bottom: 5px;">
<b>profile: </b> <span>{{profile.value}}</span> <b>profile: </b> <span>{{profile.value}}</span>
</p> </p>
{% endloop %} {% endloop %}
{% loop support in requirement.mustSupport} {% loop support in requirement.mustSupport %}
<p style="margin-bottom: 5px;"> <p style="margin-bottom: 5px;">
<b>mustSupport: </b> <span>{{support}}</span> <b>mustSupport: </b> <span>{{support}}</span>
</p> </p>
{% endloop %} {% endloop %}
{% loop cfilter requirement.codeFilter} {% loop cfilter in requirement.codeFilter %}
<p style="margin-bottom: 5px;"> <p style="margin-bottom: 5px;">
<b>code filter: </b> <b>code filter: </b>
{% if cfilter.path.exists() or cfilter.valueSet.exists()} {% if cfilter.path.exists() or cfilter.valueSet.exists() %}
<br/> <br/>
{% endif %} {% endif %}
{% if cfilter.path.exists()} {% if cfilter.path.exists() %}
<span style="padding-left: 25px;"> <span style="padding-left: 25px;">
<b>path: </b><span>{{cfilter.path}}</span> <b>path: </b><span>{{cfilter.path}}</span>
</span> </span>
{% if cfilter.valueSet.exists()} {% if cfilter.valueSet.exists() %}
<br/> <br/>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if cfilter.valueSet.exists()} {% if cfilter.valueSet.exists() %}
<span style="padding-left: 25px;"> <span style="padding-left: 25px;">
<b>value set: </b><span>{{cfilter.valueSet.value}}</span> <b>value set: </b><span>{{cfilter.valueSet.value}}</span>
</span> </span>
@@ -143,4 +144,4 @@
</tr> </tr>
{% endloop %} {% endloop %}
</table> </table>
</div> </div>