Skip to content

Commit 80ddaa7

Browse files
committed
Update formatting, temporarily remove narrative display option
1 parent e24402c commit 80ddaa7

File tree

4 files changed

+45
-39
lines changed

4 files changed

+45
-39
lines changed

src/routes/home/+page.svelte

+12-16
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script lang="ts">
2-
import { goto } from '$app/navigation';
3-
import type { SHLAdminParams, SHLClient } from '$lib/managementClient';
4-
import { getContext } from 'svelte';
5-
import type { Writable } from 'svelte/store';
6-
import HealthLinkOverview from '$lib/HealthLinkOverview.svelte';
7-
import {
2+
import { goto } from '$app/navigation';
3+
import type { SHLAdminParams, SHLClient } from '$lib/managementClient';
4+
import { getContext } from 'svelte';
5+
import type { Writable } from 'svelte/store';
6+
import HealthLinkOverview from '$lib/HealthLinkOverview.svelte';
7+
import {
88
Dropdown,
99
Col,
1010
Collapse,
@@ -29,20 +29,16 @@
2929
</script>
3030
<Styles />
3131
<div style="padding-left: 17px">
32-
<!-- <h1 style="font-size: 38px; font-weight: 200; font-family: Verdana, sans-serif; color: rgb(200, 76, 14); margin: 30px 0px;">WA Verify<sup>+</sup> International Patient Summary</h1> -->
33-
<span style="font-size: 18px; font-weight: 200; font-family: Verdana, sans-serif; margin: 50px 0px;">
34-
<!-- <p>Welcome to a demonstration of WA State’s ability to allow individuals in WA State to share their health data, including state immunization records. -->
35-
<p>Test System - no protected health information
36-
</p>
32+
<span style="font-size: 18px; font-weight: 200; font-family: Verdana, sans-serif; margin: 50px 0px;">
33+
<p class="text-danger">Test System - no protected health information</p>
3734

38-
<p>The WA Verify<sup>+</sup> system enhances the WA Verify COVID-19 vaccination verification system which, since 2021, has allowed people receiving COVID-19 vaccinations in Washington State to access and share that information using SMART Health Card QR codes.
39-
</p>
35+
<p>The WA Verify<sup>+</sup> system enhances the WA Verify COVID-19 vaccination verification system which, since 2021, has allowed people receiving COVID-19 vaccinations in Washington State to access and share that information using SMART Health Card QR codes.</p>
4036

4137

42-
<p>WA Verify<sup>+</sup> WA allows people to access augment, and electively share their own Intternational Patient Summaries (IPS), a richer set of health information collected and stored on their behalf by the Washington State Department of Health. IPS data include critical clinical data, immunizations, advance directives, and other data needed for urgent medical care. This data may be helpful to those traveling away from home, to parents and caregivers, and to anyone who wants to be able to see their own records, or securely share their data with healthcare providers or others of their choosing. WA Verify<sup>+</sup> uses the secure, patient-controlled SMART Health Link (SHL) standard. </p>
38+
<p>WA Verify<sup>+</sup> WA allows people to access augment, and electively share their own Intternational Patient Summaries (IPS), a richer set of health information collected and stored on their behalf by the Washington State Department of Health. IPS data include critical clinical data, immunizations, advance directives, and other data needed for urgent medical care. This data may be helpful to those traveling away from home, to parents and caregivers, and to anyone who wants to be able to see their own records, or securely share their data with healthcare providers or others of their choosing. WA Verify<sup>+</sup> uses the secure, patient-controlled SMART Health Link (SHL) standard. </p>
4339

44-
<p>This system generates QR codes and links to demonstration the ability of WA Verify<sup>+</sup> to facilitate sharing directly controlled by individuals. You can see a list of SHLs generated <i>on this device</i>, as well as generate a new one.</p>
45-
</span>
40+
<p>This system generates QR codes and links to demonstration the ability of WA Verify<sup>+</sup> to facilitate sharing directly controlled by individuals. You can see a list of SHLs generated <i>on this device</i>, as well as generate a new one.</p>
41+
</span>
4642
</div>
4743
<Row style="padding: 0px 17px">
4844
<Col style="margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgb(204, 204, 204);">

static/ips/assets/js/renderIPS.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let headerLength = 0;
33

44
import config from "./config.js";
55

6-
export { update };
6+
export { update, updateFromText, mode };
77

88
let sectionCount = 0;
99

static/ips/index.html

+28-20
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,25 @@
2121
crossorigin="anonymous"></script>
2222
<script src="https://unpkg.com/[email protected]/dist/squirrelly.min.js"></script>
2323
<!-- IPS Specific Custom CSS-->
24-
<link rel="stylesheet" href="ips/assets/css/custom.css">
24+
<link rel="stylesheet" href="/ips/assets/css/custom.css">
2525

2626
<!-- IPS Rendering -->
27-
<script type="module" src="ips/assets/js/renderIPS.js"></script>
28-
<script type="module" src="ips/assets/js/retreiveIPS.js"></script>
27+
<script type="module" src="/ips/assets/js/renderIPS.js"></script>
28+
<script type="module" src="/ips/assets/js/retreiveIPS.js"></script>
29+
<script type="module">
30+
import { updateFromText, mode } from "/ips/assets/js/renderIPS.js";
31+
window.updateFromText = updateFromText;
32+
window.mode = mode;
33+
</script>
34+
2935

3036
<title>IPS Viewer</title>
3137
</head>
3238

3339
<body style="margin: 10px;">
40+
<div id="ips-editor" style="display:none">
41+
<textarea id="ipsInput" rows="8" style="width: 100%; max-width: 100%;"></textarea>
42+
</div>
3443
<div id="content" style="display:none">
3544
<!-- IPS Default Header for Connectathons -->
3645
<!-- Removing header id element will remove header -->
@@ -41,25 +50,24 @@
4150
<!-- IPS documents have both machine-processable FHIR resources and Narrative HTML -->
4251
<div style="padding-left: 17px">
4352
<h2>Patient Summary Viewer</h2>
44-
<div class="dropdown" style="display:inline">
45-
<button class="btn btn-secondary dropdown-toggle" id="mode" type="button" data-toggle="dropdown"
46-
aria-haspopup="true" aria-expanded="false">
53+
<div class="dropdown" style="display:none">
54+
<button class="btn btn-secondary dropdown-toggle" id="mode" type="button" data-toggle="dropdown"
55+
aria-haspopup="true" aria-expanded="false">
56+
Display FHIR Entries
57+
</button>
58+
<br>
59+
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
60+
<a id="FhirDropdown" class="dropdown-item">
4761
Display FHIR Entries
48-
</button>
49-
<br>
50-
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
51-
<a id="FhirDropdown" class="dropdown-item">
52-
Display FHIR Entries
53-
</a>
54-
<a id= "NarrativeDropdown" class="dropdown-item" >
55-
Display Narrative
56-
</a>
57-
</div>
58-
<div class="text-info" id="renderMessage" style="display: none;">
59-
Unsupported sections displayed using composition narratives
60-
</div>
62+
</a>
63+
<a id= "NarrativeDropdown" class="dropdown-item" >
64+
Display Narrative
65+
</a>
6166
</div>
62-
</h2>
67+
</div>
68+
<div class="text-info" id="renderMessage" style="display: none;">
69+
Unsupported sections displayed using composition narratives
70+
</div>
6371
</div>
6472
<div id="ips-loader" class="row">
6573
<span class="loader"></span>

static/ips/templates-waverify/Immunizations.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
{{if(@this.vaccineCode.coding[0].display)}}
1515
{{@this.vaccineCode.coding[0].display}}
1616
{{#else}}
17-
{{@this.vaccineCode.text}} np
17+
{{@this.vaccineCode.text}}
1818
{{/if}}
1919
</span>
20+
<br>
2021
<span class="badge badge-primary">{{@this.vaccineCode.coding[0].system}}</span>
21-
{{@this.vaccineCode.coding[0].code}}<br>
22+
{{@this.vaccineCode.coding[0].code}}
23+
<br>
2224
</li>
2325
{{/each}}
2426
</ul>

0 commit comments

Comments
 (0)