Branded UI Fixed

This commit is contained in:
2025-09-28 04:32:17 +00:00
parent 0f0087d756
commit 3c281adb2c
193 changed files with 19151 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,4 @@
{
"index-version" : 2,
"files" : []
}

View File

@@ -0,0 +1,84 @@
{% assign excludexml = site.data.info.excludexml | downcase | slice: 0 %}
{% assign excludejson = site.data.info.excludejson | downcase | slice: 0 %}
{% assign excludettl = site.data.info.excludettl | downcase | slice: 0 %}
{% assign excludelogbinaryformat = site.data.info.excludelogbinaryformat | downcase | slice: 0 %}
{% assign resource_ = include.type| append: '/'| append: include.id %}
{% assign has_history = site.data.resources[resource_].['history'] %}
{% if site.data.resources[resource_].sourceTail contains "#" %}
{% assign contained_resource = 'y' %}
{% endif %}
{% if excludelogbinaryformat == 'y' and site.data.artifacts[page.path].type == 'Binary' %}
{% assign profile_path = site.data.artifacts[page.path].exampleOf.url %}
{% assign profile_structure = site.data.structuredefinitions | where: "path", profile_path | first %}
{% if profile_structure.kind == 'logical' %}
{% assign suppressformat = 'y' %}
{% endif %}
{% endif %}
<ul class="nav nav-tabs">
{% if include.active == 'content' %}
<li class="active">
<a href="#">Narrative Content</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.html">Narrative Content</a>
</li>
{% endif %}
{% if site.data.resources[resource_].['testplan'] or site.data.resources[resource_].['testscript'] %}
{% if include.active == 'testing' %}
<li class="active">
<a href="#">Testing</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}-testing.html">Testing</a>
</li>
{% endif %}
{% endif %}
{% unless excludexml == 'y' or contained_resource == 'y' or suppressformat == 'y' %}
{% if include.active == 'xml' %}
<li class="active">
<a href="#">XML</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.xml.html">XML</a>
</li>
{% endif %}
{% endunless %}
{% unless excludejson == 'y' or contained_resource == 'y' or suppressformat == 'y' %}
{% if include.active == 'json' %}
<li class="active">
<a href="#">JSON</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.json.html">JSON</a>
</li>
{% endif %}
{% endunless %}
{% unless excludettl == 'y' or contained_resource == 'y' or suppressformat == 'y' %}
{% if include.active == 'ttl' %}
<li class="active">
<a href="#">TTL</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.ttl.html">TTL</a>
</li>
{% endif %}
{% endunless %}
{% if site.data.resources[resource_].['history'] %}
{% if include.active == 'history' %}
<li class="active">
<a href="#">History</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.change.history.html">History</a>
</li>
{% endif %}
{% endif %}
</ul>

View File

@@ -0,0 +1 @@
<!-- Placeholder for child template CSS declarations -->

View File

@@ -0,0 +1,4 @@
Links: <a style="color: var(--footer-hyperlink-text-color)" href="{{site.data.info.assets}}toc.html">Table of Contents</a> |
<a style="color: var(--footer-hyperlink-text-color)" href="qa.html">QA Report</a>
{% for feedbacklink in site.data.features.feedback %}{% if feedbacklink.dashboard %} | <a style="color: var(--footer-hyperlink-text-color)" target="_blank" href="{{feedbacklink.dashboard.url}}">{{feedbacklink.dashboard.label}}</a>{% endif %}{% endfor %}

View File

@@ -0,0 +1 @@
<!-- Placeholder for child template header declarations -->

View File

@@ -0,0 +1,3 @@
{% assign resource_ = igId %}
{% assign table_prefix = 'IG' %}
{% include fragment-resourceTable.html %}

View File

@@ -0,0 +1,15 @@
{% assign intro = site.data.pages[page.path].intro %}
{% if intro != null %}
{% if site.data.pages[page.path].intro-type == 'xml' %}
<div style="display:inline-block">
{% include {{intro}} type=include.type id=include.id %}
</div>
{% else %}
{% capture intro-content %}
{% include {{intro}} type=include.type id=include.id %}
{% endcapture %}
<div style="display:inline-block" markdown="1">
{{ intro-content | markdownify }}
</div>
{% endif %}
{% endif %}

View File

@@ -0,0 +1,9 @@
{% if site.data.structuredefinitions[include.id].type == 'Extension' %}
{% assign modelType = 'Extension' %}
{% elsif site.data.structuredefinitions[include.id].kind == 'logical' %}
{% assign modelType = 'Logical Model' %}
{% elsif site.data.structuredefinitions[include.id].kind == 'resource' %}
{% assign modelType = 'Resource Profile' %}
{% else %}
{% assign modelType = 'Data Type Profile' %}
{% endif %}

View File

@@ -0,0 +1,14 @@
{% assign notes = site.data.pages[page.path].notes %}
{% if notes != null %}
<h3>Notes:</h3>
{% if site.data.pages[page.path].notes-type == 'xml' %}
{% include {{notes}} type=include.type id=include.id %}
{% else %}
{% capture note-content %}
{% include {{notes}} type=include.type id=include.id %}
{% endcapture %}
<div style="display:inline-block" markdown="1">
{{ note-content | markdownify }}
</div>
{% endif %}
{% endif %}

View File

@@ -0,0 +1,19 @@
{% if site.data.pages[page.path].status or site.data.pages[page.path].fmm %}
<table class="{{site.data.pages[page.path].statusclass}}">
<tr>
{% if site.data.pages[page.path].status %}
<td>
<i>Page standards status:</i> <a href="{{site.data.fhir.path}}versions.html#std-process" title="Standard Status">{{site.data.pages[page.path].status|capitalize}}</a>
{% if site.data.pages[page.path].normativeVersion %}
(from v{{site.data.pages[page.path].normativeVersion}})
{% endif %}
</td>
{% endif %}
{% if site.data.pages[page.path].fmm %}
<td>
<a href="{{site.data.info.fmm-definition}}">Maturity Level</a>: {{site.data.pages[page.path].fmm}}
</td>
{% endif %}
</tr>
</table>
{% endif %}

View File

@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML>
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<title>{{site.data.pages[page.path].title | escape_once}} - {{site.data.fhir.ig.title | escape_once}} v{{site.data.fhir.ig.version | escape_once}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="author" content="http://hl7.org/fhir"/>
<link href="{{site.data.info.assets}}fhir.css" rel="stylesheet"/>
<!-- Bootstrap core CSS -->
<link href="{{site.data.info.assets}}assets/css/bootstrap-fhir.css" rel="stylesheet"/>
<!-- Project extras -->
<link href="{{site.data.info.assets}}assets/css/project.css" rel="stylesheet"/>
<link href="{{site.data.info.assets}}assets/css/pygments-manni.css" rel="stylesheet"/>
<link href="{{site.data.info.assets}}assets/css/jquery-ui.css" rel="stylesheet"/>
<link href="{{site.data.info.assets}}assets/css/prism.css" rel="stylesheet" />
<link href="{{site.data.info.assets}}assets/css/cqf.css" rel="stylesheet" />
{% include fragment-css.html %}
<script type="text/javascript" src="fhir-table-scripts.js"> </script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
<!-- Favicons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{site.data.info.assets}}assets/ico/icon-fhir-144.png"/>
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{site.data.info.assets}}assets/ico/icon-fhir-114.png"/>
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{site.data.info.assets}}assets/ico/icon-fhir-72.png"/>
<link rel="apple-touch-icon-precomposed" href="{{site.data.info.assets}}assets/ico/icon-fhir-57.png"/>
<link rel="shortcut icon" href="{{site.data.info.assets}}assets/ico/favicon.png"/>
</head>
<body onload="document.body.style.opacity='1'">
{% assign label = {{site.data.pages[page.path].label}} | split: '.0' %}
<script src="{{site.data.info.assets}}assets/js/prism.js"></script>
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/mermaid.js"></script>
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/mermaid-init.js"></script>
<style type="text/css">h2{--heading-prefix:"{{site.data.info.headingOffset}}{{label}}"}
h3,h4,h5,h6{--heading-prefix:"{{site.data.info.headingOffset}}{{site.data.pages[page.path].label}}"}</style>
<div id="segment-header" class="segment"> <!-- segment-header -->
<div class="container"> <!-- container -->
{% if site.data.info.fcpspec == 'true' %}
<div id="fcp-nav">
<a id="fcp-logo" data-no-external="true" href="https://confluence.hl7.org/display/FCP/FCP+Specification+Registry">
<img height="60" alt="Visit the FHIR Community Process Specification Registry" src="assets/images/fcp-logo.png"/>
</a>
</div>
{% endif %}
{% include fragment-header.html %}
{% if site.data.info.releaselabel != '' %}
{% assign status = site.data.info.releaselabel %}
{% else %}
{% assign status = site.data.fhir.ig.status %}
{% endif %}
<div id="ig-status">
<p><span style="font-size:12pt;font-weight:bold">{{site.data.fhir.ig.title | escape_once}}</span>
<br/>
<span style="display:inline-block;">{{site.data.fhir.ig.version}} - {{status}}
{% assign igId = site.data.fhir.ig.id | prepend: "ImplementationGuide/" %}
{% for jurisdiction in site.data.resources[igId].jurisdictions %}
{% if jurisdiction.flag %}
<img alt="{{jurisdiction.name}} flag" src="assets/images/{{jurisdiction.flag}}.svg" height="16" title="{{jurisdiction.name}}"/>
{% elsif jurisdiction.code %}
<span title="{{jurisdiction.name}}">{{jurisdiction.code}}</span>
{% else %}
{{jurisdiction.name}}
{% endif %}
{% endfor %}
</span>
</p>
</div>
</div> <!-- /container -->
</div> <!-- /segment-header -->
<div id="segment-navbar" class="segment"> <!-- segment-navbar -->
<div id="stripe"> </div>
<div class="container"> <!-- container -->
<!-- HEADER CONTENT -->
<nav class="navbar navbar-inverse">
<!--status-bar-->
<div class="container">
<button data-target=".navbar-inverse-collapse" class="navbar-toggle" data-toggle="collapse" type="button">
<span class="icon-bar"> </span>
<span class="icon-bar"> </span>
<span class="icon-bar"> </span>
</button>
<a class="navbar-brand hidden" href="{{site.data.fhir.path}}index.html">FHIR</a>
<div class="nav-collapse collapse navbar-inverse-collapse">
{% include menu.xml %}
</div> <!-- /.nav-collapse -->
</div> <!-- /.container -->
</nav> <!-- /.navbar -->
<!-- /HEADER CONTENT -->
</div> <!-- /container -->
</div> <!-- /segment-navbar -->
<!--status-bar-->
{% assign shownav = site.data.info.shownav | downcase | slice: 0 %}
<div id="segment-breadcrumb" class="segment"> <!-- segment-breadcrumb -->
<div class="container"> <!-- container -->
<ul class="breadcrumb">
{{site.data.pages[page.path].breadcrumb}}
{% if shownav == 'y' %}
<span style="float:right;">
{% if site.data.pages[page.path].previous %}
<a href="{{site.data.pages[page.path].previous}}">&lt;prev</a> |
{% endif %}
<a href="#bottom">bottom</a>
{% if site.data.pages[page.path].next %}
| <a href="{{site.data.pages[page.path].next}}">next&gt;</a>
{% endif %}
</span>
{% endif %}
</ul>
</div> <!-- /container -->
</div> <!-- /segment-breadcrumb -->
<a name="top"> </a>
<div id="segment-content" class="segment"> <!-- segment-content -->
<div class="container"> <!-- container -->
<div class="row">
<div class="inner-wrapper">

View File

@@ -0,0 +1,72 @@
</div> <!-- /inner-wrapper -->
</div> <!-- /row -->
</div> <!-- /container -->
</div> <!-- /segment-content -->
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/jquery.js"> </script> <!-- note keep space here, otherwise it will be transformed to empty tag -> fails -->
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/jquery-ui.min.js"> </script>
{% if includetabscripts %}
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/tabs.js"> </script>
{% endif %}
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/window-hash.js"> </script>
<a name="bottom"> </a>
<div id="segment-footer" igtool="footer" class="segment"> <!-- segment-footer -->
<div class="container"> <!-- container -->
{% if shownav == 'y' %}
<div style="background-color:var(--footer-nav-bg-color)">
<table style="width:100%">
<tbody>
<tr>
<td style="text-align:left">&#xA0;
{% if site.data.pages[page.path].previous %}
<a href="{{site.data.pages[page.path].previous}}">&lt;prev</a>
{% else %}
<span style="visibility:hidden">&lt;prev</span>
{% endif %}
</td>
<td style="text-align:center">
<a href="#top">top</a>
</td>
<td style="text-align:right">&#xA0;
{% if site.data.pages[page.path].next %}
<a href="{{site.data.pages[page.path].next}}">next&gt;</a>
{% else %}
<span style="visibility:hidden">next&gt;</span>
{% endif %}
</td>
</tr>
</tbody>
</table>
</div>
{% endif %}
<div class="inner-wrapper">
<p>
IG &#169; {{site.data.info.copyrightyear}} <a style="color:var(--footer-hyperlink-text-color)" href="{{site.data.fhir.ig.contact[0].telecom[0]}}">{{site.data.fhir.ig.publisher | escape}}</a>. Package {{site.data.fhir.packageId}}#{{site.data.fhir.igVer}} based on <a style="color: var(--footer-hyperlink-text-color)" href="{{site.data.fhir.path}}">FHIR {{site.data.fhir.version}}</a>. Generated <span title="{{site.data.fhir.genDate}}">{{site.data.fhir.genDate | date: "%Y-%m-%d"}}</span>
<br/>
<span style="color: var(--footer-highlight-text-color)">
{% include fragment-footer.html %}
</span>
</p>
</div> <!-- /inner-wrapper -->
</div> <!-- /container -->
</div> <!-- /segment-footer -->
<div id="segment-post-footer" class="segment hidden"> <!-- segment-post-footer -->
<div class="container"> <!-- container -->
</div> <!-- /container -->
</div> <!-- /segment-post-footer -->
<!-- JS and analytics only. -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/bootstrap.min.js"> </script>
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/respond.min.js"> </script>
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/anchor.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard-btn.js"> </script>
<script type="text/javascript" src="{{site.data.info.assets}}assets/js/anchor-hover.js"> </script>
<!-- Analytics Below
================================================== -->
</body>
</html>

View File

@@ -0,0 +1,120 @@
{% assign excludexml = site.data.info.excludexml | downcase | slice: 0 %}
{% assign excludejson = site.data.info.excludejson | downcase | slice: 0 %}
{% assign excludettl = site.data.info.excludettl | downcase | slice: 0 %}
{% assign excludemaps = site.data.info.excludemap | downcase | slice: 0 %}
{% assign excludeexamples = site.data.info.excludeexample | downcase | slice: 0 %}
{% assign sd_type = site.data.structuredefinitions.[include.id].type %}
{% assign resource_ = include.type| append: '/'| append: include.id %}
{% assign has_history = site.data.resources[resource_].['history'] %}
{% assign basepath = include.type | append: '-' | append: include.id | append: '.html' %}
{% assign example_count = site.data.pages[basepath].examples.size %}
{% if site.data.resources[resource_].source contains "#" %}
{% assign contained_resource = 'y' %}
{% endif %}
<ul class="nav nav-tabs">
{% if include.active == 'content' %}
<li class="active">
<a href="#">Content</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.html">Content</a>
</li>
{% endif %}
{% if include.active == 'definition' %}
<li class="active">
<a href="#">Detailed Descriptions</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}-definitions.html">Detailed Descriptions</a>
</li>
{% endif %}
{% unless excludemaps == 'y' %}
{% if include.active == 'mapping' %}
<li class="active">
<a href="#">Mappings</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}-mappings.html">Mappings</a>
</li>
{% endif %}
{% endunless %}
{% if site.data.resources[resource_].['testplan'] or site.data.resources[resource_].['testscript'] %}
{% if include.active == 'testing' %}
<li class="active">
<a href="#">Testing</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}-testing.html">Testing</a>
</li>
{% endif %}
{% endif %}
{% unless example_count == 0 %}
{% unless sd_type == 'Extension' %}
{% unless excludeexamples == 'y' %}
{% if include.active == 'example' %}
<li class="active">
<a href="#">Examples</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}-examples.html">Examples</a>
</li>
{% endif %}
{% endunless %}
{% endunless %}
{% endunless %}
{% unless excludexml == 'y' or contained_resource == 'y' %}
{% if include.active == 'xml' %}
<li class="active">
<a href="#">XML</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.profile.xml.html">XML</a>
</li>
{% endif %}
{% endunless %}
{% unless excludejson == 'y' or contained_resource == 'y' %}
{% if include.active == 'json' %}
<li class="active">
<a href="#">JSON</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.profile.json.html">JSON</a>
</li>
{% endif %}
{% endunless %}
{% unless excludettl == 'y' or contained_resource == 'y' %}
{% if include.active == 'ttl' %}
<li class="active">
<a href="#">TTL</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.profile.ttl.html">TTL</a>
</li>
{% endif %}
{% endunless %}
{% if site.data.resources[resource_].['history'] %}
{% if include.active == 'history' %}
<li class="active">
<a href="#">History</a>
</li>
{% else %}
<li>
<a href="{{include.type}}-{{include.id}}.profile.history.html">History</a>
</li>
{% endif %}
{% endif %}
</ul>

View File

@@ -0,0 +1,114 @@
<table class="{{site.data.resources[resource_].status.class}}">
{% if site.data.resources[resource_].url != nil %}
<tr>
<td colspan="4"><i>Official URL</i>: <span class="copy-text">{{site.data.resources[resource_].url}}<button title="Click to copy URL" class="btn-copy" data-clipboard-text="{{site.data.resources[resource_].url}}"/></span>
</td>
<td><i>Version</i>:
<span class="copy-text">{{site.data.resources[resource_].version}}<button title="Click to copy versioned URL" class="btn-copy" data-clipboard-text="{{site.data.resources[resource_].url}}|{{site.data.resources[resource_].version}}"/></span>
</td>
</tr>
{% endif %}
<tr>
{% capture newJurisdictions %}
{% for jurisdiction in site.data.resources[resource_].jurisdictions %}
{% assign foundRes = false %}
{% for igjur in site.data.resources[igId].jurisdictions %}
{% if igjur.name == jurisdiction.name %}
{% assign foundRes = true %}
{% break %}
{% endif %}
{% endfor %}
{% if foundRes == false %}
{% if jurisdiction.flag %}
<img alt="{{jurisdiction.name}} flag" src="assets/images/{{jurisdiction.flag}}.svg" height="16" title="{{jurisdiction.name}}"/>
{% elsif jurisdiction.code %}
<span title="{{jurisdiction.name}}">{{jurisdiction.code}}</span>
{% else %}
{{jurisdiction.name}}
{% endif %}
{% endif %}
{% endfor %}
{% endcapture %}
{% assign trimmedJurisdictions = newJurisdictions | strip %}
{% assign colspan = 1 %}
{% if site.data.resources[resource_].status.fmm == nil %}
{% assign colspan = colspan | plus: 1 %}
{% endif %}
{% if site.data.resources[igId].status.owner == site.data.resources[resource_].status.owner %}
{% assign colspan = colspan | plus: 1 %}
{% endif %}
{% if trimmedJurisdictions == "" %}
{% assign colspan = colspan | plus: 1 %}
{% endif %}
<td colspan="{{colspan}}">
{% if site.data.resources[resource_].status.standards-status %}
<i>
{% if table_prefix != nil %}
{{table_prefix}}
{% endif %}
Standards status:
</i> <a href="{{site.data.fhir.path}}versions.html#std-process" title="Standard Status">{{site.data.resources[resource_].status.standards-status|capitalize}}</a>
{% if site.data.resources[resource_].status.normativeVersion %}
(from v{{site.data.resources[resource_].status.normativeVersion}})
{% endif %}
{% if site.data.resources[resource_].status.standards-status-support %}
<span title="{{site.data.resources[resource_].status.standards-status-support | markdownify}}">*</span>
{% endif %}
{% else %}
{{site.data.resources[resource_].status.status}}
{% if site.data.resources[resource_].date %}
as of {{site.data.resources[resource_].date | date: "%Y-%m-%d"}}
{% endif %}
{% endif %}
</td>
{% if site.data.resources[resource_].status.fmm %}
<td>
<a href="{{site.data.info.fmm-definition}}">Maturity Level</a>: {{site.data.resources[resource_].status.fmm}}
{% if site.data.resources[resource_].status.fmmSource or site.data.resources[resource_].status.fmm-support %}
<span title="{{site.data.resources[resource_].status.fmmSource}}{{site.data.resources[resource_].status.fmm-support | markdownify }}">*</span>
{% endif %}
</td>
{% endif %}
{% if site.data.resources[igId].status.owner != site.data.resources[resource_].status.owner and site.data.resources[resource_].status.owner != nil %}
<td>
<i>Responsible:</i>
{% if site.data.resources[resource_].status.link %}
<a href="{{site.data.resources[resource_].status.link}}">{{site.data.resources[resource_].status.owner}}</a>
{% else %}
{{site.data.resources[resource_].status.owner}}
{% endif %}
</td>
{% endif %}
{% if trimmedJurisdictions != "" %}
<td>
<i>Realm:</i> {{trimmedJurisdictions}}
</td>
{% endif %}
<td><i>Computable Name</i>: <span style="font-family: monospace;">{{site.data.resources[resource_].name}}</span></td>
</tr>
{% if site.data.resources[resource_].identifiers %}
<tr>
<td colspan="5">
<i>Other Identifiers:</i> {{site.data.resources[resource_].identifiers}}
</td>
</tr>
{% endif %}
{% if site.data.resources[resource_].keywords %}
<tr>
<td colspan="5">
<i>Keywords:</i> {{site.data.resources[resource_].keywords}}
</td>
</tr>
{% endif %}
{% if site.data.resources[resource_].contexts %}
<tr>
<td colspan="5">{{site.data.resources[resource_].contexts | prepend: '*Usage:*' | markdownify}}</td>
</tr>
{% endif %}
{%if site.data.resources[resource_].copyright %}
<tr>
<td colspan="5">{{site.data.resources[resource_].copyright | prepend: "*Copyright/Legal*: " | markdownify}}</td>
</tr>
{% endif %}
</table>

View File

@@ -0,0 +1,32 @@
{% if site.data.resources[resource_].status.status or site.data.resources[resource_].status.standards-status %}
<table class="{{site.data.resources[resource_].status.class}}">
<tr>
{% if site.data.resources[resource_].status.fmm %}
{% assign colspan = 1 %}
{% else %}
{% assign colspan = 2 %}
{% endif %}
<td colspan="{{colspan}}">
{% if site.data.resources[resource_].status.standards-status %}
<i>Page standards status:</i> <a href="{{site.data.fhir.path}}versions.html#std-process" title="Standard Status">{{site.data.resources[resource_].status.standards-status|capitalize}}</a>
{% if site.data.resources[resource_].status.normativeVersion %}
(from v{{site.data.resources[resource_].status.normativeVersion}})
{% endif %}
{% else %}
{{site.data.resources[resource_].status.status}}
{% if site.data.resources[resource_].date %}
as of {{site.data.resources[resource_].date | date: "%Y-%m-%d"}}
{% endif %}
{% endif %}
</td>
{% if site.data.resources[resource_].status.fmm %}
<td>
<a href="{{site.data.info.fmm-definition}}">Maturity Level</a>: {{site.data.resources[resource_].status.fmm}}
{% if site.data.resources[resource_].status.fmmSource %}
<span title="{{site.data.resources[resource_].status.fmmSource}}">*</span>
{% endif %}
</td>
{% endif %}
</tr>
</table>
{% endif %}

View File

@@ -0,0 +1,44 @@
{% include fragment-pagebegin.html %}
<style type="text/css">
h2:before{color:silver;counter-increment:section;content:var(--heading-prefix) " ";}
h3:before{color:silver;counter-increment:sub-section;content:var(--heading-prefix) "." counter(sub-section) " ";}
h4:before{color:silver;counter-increment:composite;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) " ";}
h5:before{color:silver;counter-increment:detail;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) "." counter(detail) " ";}
h6:before{color:silver;counter-increment:more-detail;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) "." counter(detail) "." counter(more-detail)" ";}
</style>
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<h2>{{site.data.pages[page.path].title | escape_once}}</h2>
{% assign path = page.path | split: '.html' %}
{% capture toc-content %} <!-- white space is critical inside of capture -->
<div class="markdown-toc" markdown="1">
{:toc}
* This will not be displayed
</div>
{% include {{path}}.md %}
{% endcapture %}
{% if page.path == 'index.html' %}
{% include fragment-igTable.html %}
{% endif %}
{% include fragment-pageTable.html %}
{% capture no-toc-content %} <!-- white space is critical inside of capture -->
<div>
<!-- do not remove - needed to prevent Jekyll from adding a p tag to any non block level element in the markdown.-->
</div>
{% include {{path}}.md %}
{% endcapture %}
{% assign teststring = no-toc-content | markdownify | remove: '###### ' | remove: '##### '| remove: '#### ' | replace: "<h3", "### " | remove_first: '### ' %}
{% assign h3headers = "### " %}
{% if teststring contains h3headers %}
{{ toc-content | markdownify }}
{% else %}
{{ no-toc-content | markdownify }}
{% endif %}
</div>
{% include fragment-pageend.html %}

View File

@@ -0,0 +1,19 @@
{% include fragment-pagebegin.html %}
<style type="text/css">
h2:before{color:silver;counter-increment:section;content:var(--heading-prefix) " ";}
h3:before{color:silver;counter-increment:sub-section;content:var(--heading-prefix) "." counter(sub-section) " ";}
h4:before{color:silver;counter-increment:composite;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) " ";}
h5:before{color:silver;counter-increment:detail;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) "." counter(detail) " ";}
h6:before{color:silver;counter-increment:more-detail;content:var(--heading-prefix) "." counter(sub-section) "." counter(composite) "." counter(detail) "." counter(more-detail)" ";}
</style>
<div class="col-12">
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
<h2>{{site.data.pages[page.path].title | escape_once}}</h2>
{% if page.path == 'index.html' %}
{% include fragment-igTable.html %}
{% endif %}
{% include fragment-pageTable.html %}
{% assign path = page.path | split: '.html' %}
{% include {{path}}.xml %}
</div>
{% include fragment-pageend.html %}