-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.html
98 lines (69 loc) · 3.11 KB
/
base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
# jekyll header
level: 2
active: format
br_StructureDefinition: profiles
br_ValueSet : terminology
br_CodeSystem : terminology
br_ConceptMap : terminology
br_CapabilityStatement : capstatements
br_StructureMap : mappings
br_OperationDefinition : operations
br_SearchParameter : searchparams
---
<!-- ig template for many conformance resource html pages ('base' in definitions file) can not be used for conformance resources that have more that a single base template. e.g., sd since there are mapping and definitions templates for it as well they need to be split out into 3 separate templates -->
{% include header.html %}
{% include navbar.html %}
{% include container-start.html %}
<!-- ============BreadCrumb=============== -->
{% include breadcrumbs.html breadcrumb = page.br_{{[type]}} %}
{% include nav-tabs.html type="{{[type]}}" id="{{[id]}}" active="content" %}
<!-- ============ CONTENT CONTENT=============== -->
{% case '{{[type]}}' %} <!-- content depends on type -->
{% when 'ValueSet' %}
<!-- ============VAlUESET CONTENT CONTENT=============== -->
{% include {{[type]}}-{{[id]}}-summary.xhtml %}
{% include {{[type]}}-{{[id]}}-xref.xhtml %}
{% include {{[type]}}-{{[id]}}-cld.xhtml %}
<h3>Expansion</h3>
{% include {{[type]}}-{{[id]}}-expansion.xhtml %}
<!-- ============VAlUESET CONTENT CONTENT=============== -->
<!-- ( % when 'StructureMap' % }
============StructureMap CONTENT CONTENT===============
( % include nav-tabs.html type="{{[type]}}" id="{{[id]}}" active="content" % }
<p>
Thise is the mapping between FHIR resources and the Logical Model:
</p>
<a name="summary"> </a>
<h2>Summary</h2>
( % include {{[type]}}-{{[id]}}-summary.xhtml % }
<br/>
<h2>Content</h2>
( % include {{[type]}}-{{[id]}}-content.xhtml % }
<br/>
<a name="script"> </a>
<h2>Script</h2>
<pre>
( % include {{[type]}}-{{[id]}}-script.xhtml % }
</pre>
============StructureMap CONTENT CONTENT=============== -->
{% when 'OperationDefinition' %}
<!-- ============OperationDefinition CONTENT CONTENT=============== -->
{% include nav-tabs.html type="{{[type]}}" id="{{[id]}}" active="content" %}
{% include {{[type]}}-{{[name]}}.xhtml %}
{% capture my-include %}{% include {{[id]}}.md %}{% endcapture %}{{ my-include | markdownify }} <!--add inline examples here -->
<!-- ============OperationDefinition CONTENT CONTENT=============== -->
{% else %}
<!-- ============CodeSystem ConceptMap CapabilityStatement CONTENT CONTENT=============== -->
<h2>{{[type]}}: {{[id]}}</h2>
{% include {{[type]}}-{{[name]}}.xhtml %}
<!-- ============CodeSystem ConceptMap CapabilityStatement CONTENT CONTENT=============== -->
{% endcase %}
<!-- simple format links
<p>
Formats: <a href="{{[type]}}-{{[id]}}.html">Narrative</a>, <a href="{{[type]}}-{{[id]}}.xml.html">XML</a>, <a href="{{[type]}}-{{[id]}}.json.html">JSON</a>, <a href="{{[type]}}-{{[id]}}.ttl.html">Turtle</a>
</p>
-->
<!-- ==============END CONTENT END CONTENT=================== -->
{% include container-end.html %}
{% include footer.html %}