Skip to content

Commit

Permalink
Update formatting, temporarily remove narrative display option
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Jun 20, 2023
1 parent 5fa25a5 commit 09cc07b
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 39 deletions.
28 changes: 12 additions & 16 deletions src/routes/home/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script lang="ts">
import { goto } from '$app/navigation';
import type { SHLAdminParams, SHLClient } from '$lib/managementClient';
import { getContext } from 'svelte';
import type { Writable } from 'svelte/store';
import HealthLinkOverview from '$lib/HealthLinkOverview.svelte';
import {
import { goto } from '$app/navigation';
import type { SHLAdminParams, SHLClient } from '$lib/managementClient';
import { getContext } from 'svelte';
import type { Writable } from 'svelte/store';
import HealthLinkOverview from '$lib/HealthLinkOverview.svelte';
import {
Dropdown,
Col,
Collapse,
Expand All @@ -29,20 +29,16 @@
</script>
<Styles />
<div style="padding-left: 17px">
<!-- <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> -->
<span style="font-size: 18px; font-weight: 200; font-family: Verdana, sans-serif; margin: 50px 0px;">
<!-- <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. -->
<p>Test System - no protected health information
</p>
<span style="font-size: 18px; font-weight: 200; font-family: Verdana, sans-serif; margin: 50px 0px;">
<p class="text-danger">Test System - no protected health information</p>

<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>
<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>


<p>WA Verify<sup>+</sup> allows people to access augment, and electively share their own health data using the Intternational Patient Summary (IPS) standard. IPS data include important clinical data, immunizations, advance directives, and other data useful for urgent medical care. This data may be helpful to those traveling, to parents or 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 to allow people to share information collected and stored on their behalf by the Washington State Department of Health.
<p>WA Verify<sup>+</sup> allows people to access augment, and electively share their own health data using the Intternational Patient Summary (IPS) standard. IPS data include important clinical data, immunizations, advance directives, and other data useful for urgent medical care. This data may be helpful to those traveling, to parents or 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 to allow people to share information collected and stored on their behalf by the Washington State Department of Health. </p>

<p>This system generates QR codes and links which demonstrate the ability of WA Verify<sup>+</sup> to facilitate sharing directly controlled by individuals. You can see a list of SHLs previously generated <i>on this device</i>, and you can generate a new SHL.</p>
</span>
<p>This system generates QR codes and links which demonstrate the ability of WA Verify<sup>+</sup> to facilitate sharing directly controlled by individuals. You can see a list of SHLs previously generated <i>on this device</i>, and you can generate a new SHL.</p>
</span>
</div>
<Row style="padding: 0px 17px">
<Col style="margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgb(204, 204, 204);">
Expand Down
2 changes: 1 addition & 1 deletion static/ips/assets/js/renderIPS.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let headerLength = 0;

import config from "./config.js";

export { update };
export { update, updateFromText, mode };

let sectionCount = 0;

Expand Down
48 changes: 28 additions & 20 deletions static/ips/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,25 @@
crossorigin="anonymous"></script>
<script src="https://unpkg.com/squirrelly@7.9.2/dist/squirrelly.min.js"></script>
<!-- IPS Specific Custom CSS-->
<link rel="stylesheet" href="ips/assets/css/custom.css">
<link rel="stylesheet" href="/ips/assets/css/custom.css">

<!-- IPS Rendering -->
<script type="module" src="ips/assets/js/renderIPS.js"></script>
<script type="module" src="ips/assets/js/retreiveIPS.js"></script>
<script type="module" src="/ips/assets/js/renderIPS.js"></script>
<script type="module" src="/ips/assets/js/retreiveIPS.js"></script>
<script type="module">
import { updateFromText, mode } from "/ips/assets/js/renderIPS.js";
window.updateFromText = updateFromText;
window.mode = mode;
</script>


<title>IPS Viewer</title>
</head>

<body style="margin: 10px;">
<div id="ips-editor" style="display:none">
<textarea id="ipsInput" rows="8" style="width: 100%; max-width: 100%;"></textarea>
</div>
<div id="content" style="display:none">
<!-- IPS Default Header for Connectathons -->
<!-- Removing header id element will remove header -->
Expand All @@ -41,25 +50,24 @@
<!-- IPS documents have both machine-processable FHIR resources and Narrative HTML -->
<div style="padding-left: 17px">
<h2>Patient Summary Viewer</h2>
<div class="dropdown" style="display:inline">
<button class="btn btn-secondary dropdown-toggle" id="mode" type="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<div class="dropdown" style="display:none">
<button class="btn btn-secondary dropdown-toggle" id="mode" type="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Display FHIR Entries
</button>
<br>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a id="FhirDropdown" class="dropdown-item">
Display FHIR Entries
</button>
<br>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a id="FhirDropdown" class="dropdown-item">
Display FHIR Entries
</a>
<a id= "NarrativeDropdown" class="dropdown-item" >
Display Narrative
</a>
</div>
<div class="text-info" id="renderMessage" style="display: none;">
Unsupported sections displayed using composition narratives
</div>
</a>
<a id= "NarrativeDropdown" class="dropdown-item" >
Display Narrative
</a>
</div>
</h2>
</div>
<div class="text-info" id="renderMessage" style="display: none;">
Unsupported sections displayed using composition narratives
</div>
</div>
<div id="ips-loader" class="row">
<span class="loader"></span>
Expand Down
6 changes: 4 additions & 2 deletions static/ips/templates-waverify/Immunizations.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
{{if(@this.vaccineCode.coding[0].display)}}
{{@this.vaccineCode.coding[0].display}}
{{#else}}
{{@this.vaccineCode.text}} np
{{@this.vaccineCode.text}}
{{/if}}
</span>
<br>
<span class="badge badge-primary">{{@this.vaccineCode.coding[0].system}}</span>
{{@this.vaccineCode.coding[0].code}}<br>
{{@this.vaccineCode.coding[0].code}}
<br>
</li>
{{/each}}
</ul>
Expand Down

0 comments on commit 09cc07b

Please sign in to comment.