who.fhir.template 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/config.json +20 -0
- package/content/assets/css/fonts/glyphicons-halflings-regular_448c34a56d699c29117adc64c43affeb.woff2 +0 -0
- package/content/assets/css/fonts/glyphicons-halflings-regular_e18bbf611f2a2e43afc071aa2f4e1512.ttf +0 -0
- package/content/assets/css/fonts/glyphicons-halflings-regular_f4769f9bdb7466be65088239c12046d1.eot +0 -0
- package/content/assets/css/fonts/glyphicons-halflings-regular_f49c0c87d80ed5a717b0f1654f69fd3b.svg +1 -0
- package/content/assets/css/fonts/glyphicons-halflings-regular_fa2772327f55d8198301fdb8bcfc8158.woff +0 -0
- package/content/assets/css/images/down_arrow_gray_10_10_4132a6bfb0e59f9584040b12d7535a07.png +0 -0
- package/content/assets/css/images/glyphicons-halflings-regular_89889688147bd7575d6327160d64e760.svg +288 -0
- package/content/assets/css/images/magnifying_glass_763c744f99ee16ac3c99560a9c7fe0b7.png +0 -0
- package/content/assets/css/images/signal-stop_81196e9a93dbdf10e08432093c95194f.png +0 -0
- package/content/assets/css/images/ui-bg_glass_75_d0e5f5_1x400_eb83aeb42fd8d8f74c93b391951bcf44.png +0 -0
- package/content/assets/css/images/ui-bg_glass_85_dfeffc_1x400_a697d8fd8a5adbdb87faf8d78a90e755.png +0 -0
- package/content/assets/css/images/ui-bg_glass_95_fef1ec_1x400_d699723af8436eba22b885328314bd55.png +0 -0
- package/content/assets/css/images/ui-bg_gloss-wave_55_5c9ccc_500x100_c56ba853727c57c51ab90b9e27f7f2d3.png +0 -0
- package/content/assets/css/images/ui-bg_inset-hard_100_f5f8f9_1x100_eb961b27be02a26af523a68d5774aa6b.png +0 -0
- package/content/assets/css/images/ui-bg_inset-hard_100_fcfdfd_1x100_63b926c3d199d7774678ec2f1cfeb44a.png +0 -0
- package/content/assets/css/images/ui-icons_217bc0_256x240_33aede1050c87faf490ee203d3d47699.png +0 -0
- package/content/assets/css/images/ui-icons_2e83ff_256x240_db3b908bd060c6f278fde9e11b3b94e3.png +0 -0
- package/content/assets/css/images/ui-icons_469bdd_256x240_ed2f2ba37982b5f821d46811a5f79836.png +0 -0
- package/content/assets/css/images/ui-icons_6da8d5_256x240_72019f22cbcf7555f4bc97aa383f164f.png +0 -0
- package/content/assets/css/images/ui-icons_cd0a0a_256x240_a6a39c47239fcdbbe6e1d5bfaa7adac3.png +0 -0
- package/content/assets/css/images/ui-icons_d8e7f3_256x240_06f311c437236b376b247382bf815c71.png +0 -0
- package/content/assets/css/images/ui-icons_f9bd01_256x240_c34e7954fb08d6d72348b49032dc4876.png +0 -0
- package/content/assets/css/lforms.css +9267 -0
- package/content/assets/css/themes.min.css +1 -0
- package/content/assets/css/who.css +135 -0
- package/content/assets/ico/favicon.png +0 -0
- package/content/assets/images/cqf.png +0 -0
- package/content/assets/images/who-logo-header.jpg +0 -0
- package/content/assets/js/lforms.min.js +78 -0
- package/content/assets/js/lforms.min.js.map +1 -0
- package/content/assets/js/lformsFHIR.min.js +6 -0
- package/includes/_append.fragment-css.html +1 -0
- package/includes/fragment-pagebegin.html +112 -0
- package/includes/fragment-quest-navtabs.html +72 -0
- package/layouts/layout-questionnaire-form.html +122 -0
- package/layouts/layout-questionnaire-format.html +38 -0
- package/layouts/layout-questionnaire-tree.html +26 -0
- package/layouts/layout-questionnaire.html +28 -0
- package/package.json +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<link href="{{site.data.info.assets}}assets/css/who.css" rel="stylesheet"/>
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE HTML>
|
|
3
|
+
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
|
|
6
|
+
<title>{{site.data.fhir.igId | upcase}}\{{site.data.pages[page.path].title}} - FHIR v{{site.data.fhir.version}}</title>
|
|
7
|
+
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
9
|
+
<meta name="author" content="http://hl7.org/fhir"/>
|
|
10
|
+
|
|
11
|
+
<link href="{{site.data.info.assets}}fhir.css" rel="stylesheet"/>
|
|
12
|
+
|
|
13
|
+
<!-- Bootstrap core CSS -->
|
|
14
|
+
<link href="{{site.data.info.assets}}assets/css/bootstrap-fhir.css" rel="stylesheet"/>
|
|
15
|
+
|
|
16
|
+
<!-- Project extras -->
|
|
17
|
+
<link href="{{site.data.info.assets}}assets/css/project.css" rel="stylesheet"/>
|
|
18
|
+
<link href="{{site.data.info.assets}}assets/css/pygments-manni.css" rel="stylesheet"/>
|
|
19
|
+
<link href="{{site.data.info.assets}}assets/css/jquery-ui.css" rel="stylesheet"/>
|
|
20
|
+
<link href="{{site.data.info.assets}}assets/css/prism.css" rel="stylesheet" />
|
|
21
|
+
{% include fragment-css.html %}
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript" src="fhir-table-scripts.js"> </script>
|
|
24
|
+
<!--
|
|
25
|
+
Questionnaire:
|
|
26
|
+
-->
|
|
27
|
+
<link href="{{site.data.info.assets}}assets/css/lforms.min.css" rel="stylesheet"/>
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
33
|
+
<!--[if lt IE 9]>
|
|
34
|
+
<script src="assets/js/html5shiv.js"></script>
|
|
35
|
+
<script src="assets/js/respond.min.js"></script>
|
|
36
|
+
<![endif]-->
|
|
37
|
+
|
|
38
|
+
<!-- Favicons -->
|
|
39
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{site.data.info.assets}}assets/ico/apple-touch-icon-144-precomposed.png"/>
|
|
40
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{site.data.info.assets}}assets/ico/apple-touch-icon-114-precomposed.png"/>
|
|
41
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{site.data.info.assets}}assets/ico/apple-touch-icon-72-precomposed.png"/>
|
|
42
|
+
<link rel="apple-touch-icon-precomposed" href="{{site.data.info.assets}}assets/ico/apple-touch-icon-57-precomposed.png"/>
|
|
43
|
+
<link rel="shortcut icon" href="{{site.data.info.assets}}assets/ico/favicon.png"/>
|
|
44
|
+
</head>
|
|
45
|
+
<body onload="document.body.style.opacity='1'">
|
|
46
|
+
{% assign label = {{site.data.pages[page.path].label}} | split: '.0' %}
|
|
47
|
+
<script src="{{site.data.info.assets}}assets/js/prism.js"></script>
|
|
48
|
+
|
|
49
|
+
<style type="text/css">h2{--heading-prefix:"{{site.data.info.headingOffset}}{{label}}"}
|
|
50
|
+
h3,h4,h5,h6{--heading-prefix:"{{site.data.info.headingOffset}}{{site.data.pages[page.path].label}}"}</style>
|
|
51
|
+
<div id="segment-header" class="segment"> <!-- segment-header -->
|
|
52
|
+
<div class="container"> <!-- container -->
|
|
53
|
+
{% include fragment-header.html %}
|
|
54
|
+
{% if site.data.info.releaselabel != '' %}
|
|
55
|
+
{% assign status = site.data.info.releaselabel %}
|
|
56
|
+
{% else %}
|
|
57
|
+
{% assign status = site.data.fhir.ig.status %}
|
|
58
|
+
{% endif %}
|
|
59
|
+
<div id="ig-status">
|
|
60
|
+
<p><span style="font-size:12pt;font-weight:bold">{{site.data.fhir.ig.title}}</span><br/>{{site.data.fhir.ig.version}} - {{status}}</p>
|
|
61
|
+
</div>
|
|
62
|
+
</div> <!-- /container -->
|
|
63
|
+
</div> <!-- /segment-header -->
|
|
64
|
+
|
|
65
|
+
<div id="segment-navbar" class="segment"> <!-- segment-navbar -->
|
|
66
|
+
<div id="stripe"> </div>
|
|
67
|
+
<div class="container"> <!-- container -->
|
|
68
|
+
<!-- HEADER CONTENT -->
|
|
69
|
+
|
|
70
|
+
<nav class="navbar navbar-inverse">
|
|
71
|
+
<!--status-bar-->
|
|
72
|
+
<div class="container">
|
|
73
|
+
<button data-target=".navbar-inverse-collapse" class="navbar-toggle" data-toggle="collapse" type="button">
|
|
74
|
+
<span class="icon-bar"> </span>
|
|
75
|
+
<span class="icon-bar"> </span>
|
|
76
|
+
<span class="icon-bar"> </span>
|
|
77
|
+
</button>
|
|
78
|
+
<a class="navbar-brand hidden" href="{{site.data.fhir.path}}index.html">FHIR</a>
|
|
79
|
+
<div class="nav-collapse collapse navbar-inverse-collapse">
|
|
80
|
+
{% include menu.xml %}
|
|
81
|
+
</div> <!-- /.nav-collapse -->
|
|
82
|
+
</div> <!-- /.container -->
|
|
83
|
+
</nav> <!-- /.navbar -->
|
|
84
|
+
<!-- /HEADER CONTENT -->
|
|
85
|
+
</div> <!-- /container -->
|
|
86
|
+
</div> <!-- /segment-navbar -->
|
|
87
|
+
<!--status-bar-->
|
|
88
|
+
{% assign shownav = site.data.info.shownav | downcase | slice: 0 %}
|
|
89
|
+
<div id="segment-breadcrumb" class="segment"> <!-- segment-breadcrumb -->
|
|
90
|
+
<div class="container"> <!-- container -->
|
|
91
|
+
<ul class="breadcrumb">
|
|
92
|
+
{{site.data.pages[page.path].breadcrumb}}
|
|
93
|
+
{% if shownav == 'y' %}
|
|
94
|
+
<span style="float:right;">
|
|
95
|
+
{% if site.data.pages[page.path].previous %}
|
|
96
|
+
<a href="{{site.data.pages[page.path].previous}}"><prev</a> |
|
|
97
|
+
{% endif %}
|
|
98
|
+
<a href="#bottom">bottom</a>
|
|
99
|
+
{% if site.data.pages[page.path].next %}
|
|
100
|
+
| <a href="{{site.data.pages[page.path].next}}">next></a>
|
|
101
|
+
{% endif %}
|
|
102
|
+
</span>
|
|
103
|
+
{% endif %}
|
|
104
|
+
</ul>
|
|
105
|
+
</div> <!-- /container -->
|
|
106
|
+
</div> <!-- /segment-breadcrumb -->
|
|
107
|
+
|
|
108
|
+
<a name="top"> </a>
|
|
109
|
+
<div id="segment-content" class="segment"> <!-- segment-content -->
|
|
110
|
+
<div class="container"> <!-- container -->
|
|
111
|
+
<div class="row">
|
|
112
|
+
<div class="inner-wrapper">
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{% assign excludexml = site.data.info.excludexml | downcase | slice: 0 %}
|
|
2
|
+
{% assign excludejson = site.data.info.excludejson | downcase | slice: 0 %}
|
|
3
|
+
{% assign excludettl = site.data.info.excludettl | downcase | slice: 0 %}
|
|
4
|
+
{% assign resource_ = include.type| append: '/'| append: include.id %}
|
|
5
|
+
{% assign has_history = site.data.resources[resource_].['history'] %}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
<ul class="nav nav-tabs">
|
|
9
|
+
{% if include.active == 'content' %}
|
|
10
|
+
<li class="active">
|
|
11
|
+
<a href="#">Tree View</a>
|
|
12
|
+
</li>
|
|
13
|
+
{% else %}
|
|
14
|
+
<li>
|
|
15
|
+
<a href="{{include.type}}-{{include.id}}.html">Tree View</a>
|
|
16
|
+
</li>
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% if include.active == 'form' %}
|
|
19
|
+
<li class="active">
|
|
20
|
+
<a href="#">Form</a>
|
|
21
|
+
</li>
|
|
22
|
+
{% else %}
|
|
23
|
+
<li>
|
|
24
|
+
<a href="{{include.type}}-{{include.id}}-form.html">Form</a>
|
|
25
|
+
</li>
|
|
26
|
+
{% endif %}
|
|
27
|
+
{% unless excludexml == 'y' %}
|
|
28
|
+
{% if include.active == 'xml' %}
|
|
29
|
+
<li class="active">
|
|
30
|
+
<a href="#">XML</a>
|
|
31
|
+
</li>
|
|
32
|
+
{% else %}
|
|
33
|
+
<li>
|
|
34
|
+
<a href="{{include.type}}-{{include.id}}.xml.html">XML</a>
|
|
35
|
+
</li>
|
|
36
|
+
{% endif %}
|
|
37
|
+
{% endunless %}
|
|
38
|
+
{% unless excludejson == 'y' %}
|
|
39
|
+
{% if include.active == 'json' %}
|
|
40
|
+
<li class="active">
|
|
41
|
+
<a href="#">JSON</a>
|
|
42
|
+
</li>
|
|
43
|
+
{% else %}
|
|
44
|
+
<li>
|
|
45
|
+
<a href="{{include.type}}-{{include.id}}.json.html">JSON</a>
|
|
46
|
+
</li>
|
|
47
|
+
{% endif %}
|
|
48
|
+
{% endunless %}
|
|
49
|
+
{% unless excludettl == 'y' %}
|
|
50
|
+
{% if include.active == 'ttl' %}
|
|
51
|
+
<li class="active">
|
|
52
|
+
<a href="#">TTL</a>
|
|
53
|
+
</li>
|
|
54
|
+
{% else %}
|
|
55
|
+
<li>
|
|
56
|
+
<a href="{{include.type}}-{{include.id}}.ttl.html">TTL</a>
|
|
57
|
+
</li>
|
|
58
|
+
{% endif %}
|
|
59
|
+
{% endunless %}
|
|
60
|
+
{% if site.data.resources[resource_].['history'] %}
|
|
61
|
+
{% if include.active == 'history' %}
|
|
62
|
+
<li class="active">
|
|
63
|
+
<a href="#">History</a>
|
|
64
|
+
</li>
|
|
65
|
+
{% else %}
|
|
66
|
+
<li>
|
|
67
|
+
<a href="{{include.type}}-{{include.id}}.change.history.html">History</a>
|
|
68
|
+
</li>
|
|
69
|
+
{% endif %}
|
|
70
|
+
{% endif %}
|
|
71
|
+
|
|
72
|
+
</ul>
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
{% include fragment-pagebegin.html %}
|
|
4
|
+
<div class="col-12">
|
|
5
|
+
<!--ReleaseHeader--><p id="publish-box">Publish Box goes here</p><!--EndReleaseHeader-->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
{% include fragment-quest-navtabs.html type='{{[type]}}' id='{{[id]}}' active='form' %}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<a name="root"> </a>
|
|
12
|
+
<h2 id="root">Form: {{site.data.pages[page.path].title}}</h2>
|
|
13
|
+
|
|
14
|
+
<br/>
|
|
15
|
+
|
|
16
|
+
<div id=formContainer></div>
|
|
17
|
+
<br> </br>
|
|
18
|
+
|
|
19
|
+
<button onclick="showQR()">
|
|
20
|
+
Show QuestionnaireResponse
|
|
21
|
+
</button>
|
|
22
|
+
<br> </br>
|
|
23
|
+
|
|
24
|
+
<script src="{{site.data.info.assets}}assets/js/lforms.min.js"></script>
|
|
25
|
+
<script src="{{site.data.info.assets}}assets/js/lformsFHIR.min.js"></script>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
<script>
|
|
29
|
+
|
|
30
|
+
$.getJSON("expansions.json", function(data){
|
|
31
|
+
exps = data;
|
|
32
|
+
// Define a FHIR Questionnaire
|
|
33
|
+
var fhirQ = {% include {{[type]}}-{{[id]}}.json %}
|
|
34
|
+
|
|
35
|
+
// find the valuesets contained and replace them with the expanded version
|
|
36
|
+
if(fhirQ.hasOwnProperty('contained')){
|
|
37
|
+
fhirQ.contained.forEach(function (contained, i) {
|
|
38
|
+
if (contained.resourceType == 'ValueSet'){
|
|
39
|
+
vset = contained;
|
|
40
|
+
if (("entry" in exps)&&(exps.entry.some(e => e.resource.id === vset.id))){
|
|
41
|
+
contained = exps.entry.find(e => e.resource.id === vset.id).resource;
|
|
42
|
+
fhirQ.contained[i] = contained
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function listValueSets(obj, found2)
|
|
49
|
+
{
|
|
50
|
+
found2=[];
|
|
51
|
+
if (obj.hasOwnProperty('answerValueSet')){
|
|
52
|
+
url = obj['answerValueSet'];
|
|
53
|
+
found2.push(url);
|
|
54
|
+
};
|
|
55
|
+
if (obj.hasOwnProperty('item')){
|
|
56
|
+
obj['item'].forEach(function (item) {
|
|
57
|
+
var subtree=listValueSets(item, found2);
|
|
58
|
+
if (Array.isArray(subtree) && subtree.length){
|
|
59
|
+
found2.push(listValueSets(item, found2));
|
|
60
|
+
}
|
|
61
|
+
})
|
|
62
|
+
}
|
|
63
|
+
return found2
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
var otherValueSets = listValueSets(fhirQ);
|
|
68
|
+
|
|
69
|
+
if(Array.isArray(otherValueSets) && otherValueSets.length){
|
|
70
|
+
otherValueSets.forEach(function (vsURL, i) {
|
|
71
|
+
if (("entry" in exps)&&(exps.entry.some(e => e.resource.url === vsURL[i]))){
|
|
72
|
+
newContainedVS = exps.entry.find(e => e.resource.url === vsURL[i]).resource;
|
|
73
|
+
if (!fhirQ.hasOwnProperty('contained')) {fhirQ.contained=[]}
|
|
74
|
+
fhirQ.contained.push(newContainedVS);
|
|
75
|
+
console.log("added URL:"+vsURL);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
console.log(listValueSets(fhirQ));
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
function findById(o, id) {
|
|
85
|
+
//Early return
|
|
86
|
+
if( o.id === id ){
|
|
87
|
+
return o;
|
|
88
|
+
}
|
|
89
|
+
var result, p;
|
|
90
|
+
for (p in o) {
|
|
91
|
+
if( o.hasOwnProperty(p) && typeof o[p] === 'object' ) {
|
|
92
|
+
result = findById(o[p], id);
|
|
93
|
+
if(result){
|
|
94
|
+
return result;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return result;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// Add the form to the page
|
|
102
|
+
LForms.Util.addFormToPage(fhirQ, 'formContainer');
|
|
103
|
+
|
|
104
|
+
// Define the function for showing the QuestionnaireResponse
|
|
105
|
+
function showQR() {
|
|
106
|
+
var qr = LForms.Util.getFormFHIRData('QuestionnaireResponse', 'R4');
|
|
107
|
+
window.alert(JSON.stringify(qr, null, 2));
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
}).fail(function(){
|
|
111
|
+
console.log("An error has occurred.");
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
</script>
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
{% assign includetabscripts = 'true' %}
|
|
122
|
+
{% include fragment-pageend.html %}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<!-- get modelType -->
|
|
4
|
+
{% include fragment-modelType.html id='{{[id]}}' %}
|
|
5
|
+
|
|
6
|
+
{% assign format = page.path | split: '.html'| first | split: '.' | last %}
|
|
7
|
+
|
|
8
|
+
{% if format == 'xml' %}
|
|
9
|
+
{% assign section = '7' %}
|
|
10
|
+
{% elsif format == 'json' %}
|
|
11
|
+
{% assign section = '8' %}
|
|
12
|
+
{% else %}
|
|
13
|
+
{% assign section = '9' %}
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
{% include fragment-pagebegin.html %}
|
|
17
|
+
<div style="counter-reset: section {{section}}" class="col-12">
|
|
18
|
+
<!--ReleaseHeader--><p id="publish-box">Publish Box goes here</p><!--EndReleaseHeader-->
|
|
19
|
+
{% include fragment-quest-navtabs.html type='{{[type]}}' id='{{[id]}}' active=format %}
|
|
20
|
+
|
|
21
|
+
<a name="root"> </a>
|
|
22
|
+
<h2 id="root">Questionnaire: {{[title]}} - {{format | upcase}} Profile</h2>
|
|
23
|
+
|
|
24
|
+
<p>{{format | upcase}} representation of the {{[id]}} questionnaire.</p>
|
|
25
|
+
|
|
26
|
+
<p><a href="{{[type]}}-{{[id]}}.{{format}}" no-download="true">Raw {{format}}</a> | <a href="{{[type]}}-{{[id]}}.{{format}}" download>Download</a></p>
|
|
27
|
+
|
|
28
|
+
<!-- insert intro if present -->
|
|
29
|
+
{% include fragment-intro.html type='{{[type]}}' id='{{[id]}}' %}
|
|
30
|
+
|
|
31
|
+
{%include Questionnaire-{{[id]}}-{{format}}-html.xhtml%}
|
|
32
|
+
|
|
33
|
+
<!-- insert notes if present -->
|
|
34
|
+
{% include fragment-notes.html type='{{[type]}}' id='{{[id]}}' %}
|
|
35
|
+
|
|
36
|
+
</div>
|
|
37
|
+
{% assign includetabscripts = 'true' %}
|
|
38
|
+
{% include fragment-pageend.html %}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
{% include fragment-pagebegin.html %}
|
|
4
|
+
<div class="col-12">
|
|
5
|
+
<!--ReleaseHeader--><p id="publish-box">Publish Box goes here</p><!--EndReleaseHeader-->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
{% include fragment-quest-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
|
|
9
|
+
|
|
10
|
+
<a name="root"> </a>
|
|
11
|
+
{% if site.data.artifacts[page.path].example %}
|
|
12
|
+
{% assign example = 'Example ' %}
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% assign prefix = site.data.artifacts[page.path].type %}
|
|
15
|
+
<h2 id="root">{{example}}{{prefix}}: {{site.data.pages[page.path].title}}</h2>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<!-- insert intro if present -->
|
|
19
|
+
{% include fragment-intro.html type='{{[type]}}' id='{{[id]}}' %}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
<!-- insert notes if present -->
|
|
23
|
+
{% include fragment-notes.html type='{{[type]}}' id='{{[id]}}' %}
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
{% include fragment-pageend.html %}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
{% include fragment-pagebegin.html %}
|
|
4
|
+
<div class="col-12">
|
|
5
|
+
<!--ReleaseHeader--><p id="publish-box">Publish Box goes here</p><!--EndReleaseHeader-->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
{% include fragment-quest-navtabs.html type='{{[type]}}' id='{{[id]}}' active='content' %}
|
|
9
|
+
|
|
10
|
+
<a name="root"> </a>
|
|
11
|
+
{% if site.data.artifacts[page.path].example %}
|
|
12
|
+
{% assign example = 'Example ' %}
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% assign prefix = site.data.artifacts[page.path].type %}
|
|
15
|
+
<h2 id="root">{{example}}{{prefix}}: {{site.data.pages[page.path].title}}</h2>
|
|
16
|
+
|
|
17
|
+
Branch: {{site.data.github.branch}}
|
|
18
|
+
|
|
19
|
+
<!-- insert intro if present -->
|
|
20
|
+
{% include fragment-intro.html type='{{[type]}}' id='{{[id]}}' %}
|
|
21
|
+
|
|
22
|
+
{% include {{[type]}}-{{[id]}}-html.xhtml %}
|
|
23
|
+
|
|
24
|
+
<!-- insert notes if present -->
|
|
25
|
+
{% include fragment-notes.html type='{{[type]}}' id='{{[id]}}' %}
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
{% include fragment-pageend.html %}
|
package/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"who.fhir.template","type":"fhir.template","license":"CC0-1.0","description":"WHO FHIR Template","author":"World Health Organization","canonical":"http://github.com/WorldHealthOrganization/smart-ig","base":"cqf.fhir.template","dependencies":{"cqf.fhir.template":"0.2.0"},"version":"0.0.2","date":"20230105130853"}
|