forked from HL7/davinci-pdex-plan-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsd-format.html
61 lines (53 loc) · 2.13 KB
/
sd-format.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
---
# jekyll header
---
{% include header.html %}
<div id="segment-breadcrumb" class="segmnt">
<!-- segment-breadcrumb -->
<div class="container">
<!-- container -->
<ul class="breadcrumb">
<li title="home"><a href="index.html"><b>Home</b></a></li>
{% assign sd = site.data.structuredefinitions.{{[id]}} %}
{% if sd.kind == "resource" %}
<li title="profiles"><a href="profiles.html"><b>Profiles</b></a></li>
{% endif %}{% if sd.kind == "complex-type" and sd.type == 'Extension' %}
<li title="extensions"><a href="extensions.html"><b>Extensions</b></a></li>
{% endif %}{% if sd.kind == "logical" %}
<li title="logical models"><a href="logical.html"><b>Logical Models</b></a></li>
{% endif %}
<li><b>{{[title]}}</b></li>
</ul>
</div>
<!-- /container -->
</div>
<!-- /segment-breadcrumb -->
{% include container-start.html %}
<!-- ============CONTENT CONTENT=============== -->
{% capture examples %}{% include {{[type]}}-example-list-{{[id]}}.xhtml %}{% endcapture %}
{% capture "name" %}{{[name]}}{% endcapture %}
<ul class="nav nav-tabs">
<li><a href="{{[type]}}-{{[id]}}.html">Content</a></li>
<li><a href="{{[type]}}-{{[id]}}-definitions.html">Detailed Descriptions</a></li>
{% if examples != "" %}
<li><a href="{{[type]}}-{{[id]}}-examples.html">Examples</a></li>
{% endif %}
{% if name contains "xml" %}
<li class="active"><a href="#">XML</a></li>
{% endif %}{% unless name contains "xml" %}
<li><a href="{{[type]}}-{{[id]}}.xml.html">XML</a></li>
{% endunless %}{% if name contains "json" %}
<li class="active"><a href="#">JSON</a></li>
{% endif %}{% unless name contains "json" %}
<li><a href="{{[type]}}-{{[id]}}.json.html">JSON</a></li>
{% endunless %}{% if name contains "ttl" %}
<li class="active"><a href="#">Turtle</a></li>
{% endif %}{% unless name contains "ttl" %}
<li><a href="{{[type]}}-{{[id]}}.ttl.html">Turtle</a></li>
{% endunless %}
</ul>
<h2>{{[title]}}</h2>
{% include {{[type]}}-{{[name]}}.xhtml %}
<!-- ==============END CONTENT END CONTENT=================== -->
{% include container-end.html %}
{% include footer.html %}