forked from HL7/VhDir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
63 lines (42 loc) · 2.12 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
---
# jekyll header
level: 2
template: base
active: format
layout: fhir-artifact
type: {{[type]}}
id: {{[id]}}
topofpage: True
---
<!-- 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 'CodeSystem' %}
<!-- ============CODESYSTEM CONTENT CONTENT=============== -->
{% include {{[type]}}-{{[id]}}-summary.xhtml %}
{% include {{[type]}}-{{[name]}}.xhtml %}
<!-- ============CODESYSTEM 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 %}
<!-- ============ConceptMap CapabilityStatement SearchParameter CONTENT CONTENT=============== -->
{% 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=================== -->