-
Notifications
You must be signed in to change notification settings - Fork 0
/
sd.html
263 lines (204 loc) · 7.39 KB
/
sd.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
---
# jekyll header
level: 2
active: profiles
template: sd
layout: fhir-artifact
type: {{[type]}}
id: {{[id]}}
topofpage: true
allviews: true
mappings: false
---
<!-- ============CONTENT CONTENT=============== -->
<!--{% raw %}
<ul class="nav nav-tabs">
<li class="active"><a href="#">Content</a></li>
<li><a href="{{[type]}}-{{[id]}}-definitions.html">Detailed Descriptions</a></li>
<li><a href="{{[type]}}-{{[id]}}-mappings.html">Mappings</a></li>
<li><a href="{{[type]}}-{{[id]}}.xml.html">XML</a></li>
<li><a href="{{[type]}}-{{[id]}}.json.html">JSON</a></li>
<li><a href="{{[type]}}-{{[id]}}.ttl.html">Turtle</a></li>
</ul>
{% endraw %}-->
<!--{% raw %} simpler links to other pages
<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>
{% endraw %}-->
<h2>{{[type]}}-{{[id]}}</h2>
<!-- introductiontext here-->
<a name="introduction"> </a>
{% capture my-include %}{% include {{[id]}}-intro.md id="{{[id]}}" %}{% endcapture %}{{ my-include | markdownify }}
<!-- example here -->
<!--{% raw %}
<h5>Example: <a href="daf-{{page.code}}-{{page.example}}.html">{{page.tcode}} Example: {{page.example}}</a></h5>
<h5>Example: <a href="{{[title]}}.example.html">{{[title]}} Example</a></h5>
{% endraw %}-->
<a name="profile"> </a>
<h3>Formal Views of Profile Content</h3>
<p>
<a href="{{site.data.fhir.path}}profiling.html#representation">Description of Profiles, Differentials, and Snapshots</a>.
</p>
<p>
The official URL for this profile is:
<code>{{site.data.structuredefinitions.{{[id]}}.url}}</code><button id="copy-button" class="btn-default btn-sm" data-clipboard-text="{{site.data.structuredefinitions.{{[id]}}.url}}">Copy</button>
</p>
<p>
Published on {{site.data.structuredefinitions.{{[id]}}.date}} as {{site.data.structuredefinitions.{{[id]}}.status}} by the {{site.data.structuredefinitions.{{[id]}}.publisher | default: site.data.fhir.ig.publisher }}.
</p>
<p><strong>
This profile builds on <a href= "{{site.data.structuredefinitions.{{[id]}}.basepath}}">{{site.data.structuredefinitions.{{[id]}}.basename}}</a>
</strong></p>
<!--{% raw %}
{% include {{[type]}}-{{[id]}}-header.xhtml %}
{% endraw %}-->
<hr>
<!-- ********remove the tabs editing purposes if status draft ********* -->
{% if site.data.structuredefinitions.{{[id]}}.status == "active" %}
<div id="tabs">
<!-- this could be a customizable include -->
<ul>
{% unless "{{[id]}}" contains "extension" %}<li><a href="#tabs-summ">Text Summary</a></li>{% endunless %}
<li><a href="#tabs-diff">Differential View</a></li>
<li><a href="#tabs-snap">Full View</a></li>
{% if site.showPsuedoXML %}<li><a href="#tabs-xml">XML Template</a></li>{% endif %}
{% if site.showPsuedoJson %}<li><a href="#tabs-json">JSON Template</a></li>{% endif %}
<li><a href="#tabs-all">All Views</a></li>
</ul>
{% unless "{{[id]}}" contains "extension" %}
<div id="tabs-summ">
<div id="tbl-summ">
<div id="tbl-diff-inner">
<a name="summary"> </a>
{% if site.summaries %}
{% capture my-include %}{% include {{[id]}}-summary.md id="{{[id]}}" %}{% endcapture %}{{ my-include | markdownify }}
{% else %}
{% include {{[type]}}-{{[id]}}-summary.xhtml %}
{% endif%}
</div>
</div>
</div>
{% endunless %}
<div id="tabs-diff">
<div id="tbl-diff">
<div id="tbl-diff-inner">
{% include {{[type]}}-{{[id]}}-diff.xhtml %}
</div>
</div>
</div>
<div id="tabs-snap">
<div id="tbl-snap">
<div id="tbl-snap-inner">
{% include {{[type]}}-{{[id]}}-snapshot.xhtml %}
</div>
</div>
</div>
<!-- =======XML and JSON ======== -->
{% if site.showPsuedoXML%}
<div id="tabs-xml">
<div id="xml">
<div id="xml-inner">
{% include {{[type]}}-{{[id]}}-pseudo-xml.xhtml %}
</div>
</div>
</div>
{% endif %}
{% if site.showPsuedoJson%}
<div id="tabs-json">
<div id="json">
<div id="json-inner">
<pre class="spec">
{% include {{[type]}}-{{[id]}}-pseudo-json.xhtml %}
</pre>
</div>
</div>
</div>
{% endif %}
{% endif %}
<div id="tabs-all" class = "no-external">
<!-- =======Summary======== -->
{% unless "{{[id]}}" contains "extension"%}
<div id="all-tbl-summ">
<div id="all-tbl-summ-inner">
<a name="summary"> </a>
{% if site.summaries %}
{% capture my-include %}{% include {{[id]}}-summary.md id="{{[id]}}" %}{% endcapture %}{{ my-include | markdownify }}
{% else %}
{% include {{[type]}}-{{[id]}}-summary.xhtml %}
{% endif%}
<!--{% raw %}
{% include {{[id]}}-summary.md id="{{[id]}}" %}
{% endraw %}-->
</div>
</div>
{% endunless %}
<!-- =======Differential level 1======== -->
<div id="all-tbl-diff">
<p><b>Differential View</b></p>
<div id="all-tbl-diff-inner">
{% include {{[type]}}-{{[id]}}-diff.xhtml %}
</div>
<!-- =======Differential level 2 ( if want to show an intermediate diff if profiling a profile) ========= -->
{% if site.diff2 %}
<div id="all-tbl-diff2-inner">
{% include {{[id]}}-diff2.md type="{{[type]}}" id="{{[id]}}" %}
</div>
{% endif %}
</div>
<!-- =======Snapshot======== -->
{% unless site.data.structuredefinitions.{{[id]}}.kind == "logical" %}
<div id="all-tbl-snap">
<p><b>Snapshot View</b></p>
<div id="all-tbl-snap-inner">
{% include {{[type]}}-{{[id]}}-snapshot.xhtml %}
</div>
</div>
{% endunless %}
<!-- =======XML and JSON ======== -->
{% if showPsuedoJson %}
<div id="all-xml">
<p><b>XML Template</b></p>
<div id="all-xml-inner">
{% include {{[type]}}-{{[id]}}-pseudo-xml.xhtml %}
</div>
</div>
{% endif %}
{% if showPsuedoXML %}
<div id="all-json">
<p><b>JSON Template</b></p>
<div id="all-json-inner">
<pre class="spec">
{% include {{[type]}}-{{[id]}}-pseudo-json.xhtml %}
</pre>
</div>
</div>
{% endif %}
</div>
</div>
<br />
{% if site.data.structuredefinitions.{{[id]}}.kind == "resource" %}
<a name="downloads"> </a>
<p>Downloads: StructureDefinition: (<a href="{{[type]}}-{{[id]}}.xml" download>XML</a>, <a href="{{[type]}}-{{[id]}}.json" download>JSON</a>), Schema: <a href="{{[id]}}.sch" download>XML Schematron</a></p>
<br />
<!-- search text here-->
<a name="search"> </a>
<h3>Quick Start</h3>
<p>Below is an overview of the required set of RESTful FHIR interactions - for example, search and read operations - for this profile. See the <a href="capstatements.html">Conformance requirements</a> for a complete list of supported RESTful interactions for this IG.</p>
{% capture my-include %}{% include {{[id]}}-search.md id="{{[id]}}" %}{% endcapture %}{{ my-include | markdownify }}
{% elsif site.data.structuredefinitions.{{[id]}}.kind == "logical" %}
<br />
<a name="mapping-tables"> </a>
<h3>Mappings</h3>
<p>Below are mappings for this model. These mappings are informative and are provided to help implementers of this specification understand the content and use it correctly.</p>
<div markdown='0'>
<!--reduce the header size -->
{% capture mapping %}{% include StructureDefinition-{{id}}-maps.xhtml %}{% endcapture %}
{{ mapping| replace: 'h3', 'b' }}
</div>
<br />
{% else %}
<hr/>
See the <a href="capstatements.html">Conformance requirements</a> for a complete list of supported RESTful interactions for this IG.</p>
{% endif %}
<!-- ==============END CONTENT END CONTENT=================== -->