-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
78 lines (56 loc) · 2.42 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
---
# jekyll header
level: 2
template: base
active: format
layout: fhir-artifact
type: {{[type]}}
id: {{[id]}}
---
<!-- 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 -->
<!-- ============ 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 {{[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=================== -->