-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Organize $lib files into components (svelte components) and utils (library, type and class files) subdirectories * Delete old static ips (viewer) folder * Remove unused static files * Update .env default files * Fix up remaining changed import paths * Fix viewer url logic * Fixup one more path
- Loading branch information
1 parent
42c3338
commit e822f30
Showing
456 changed files
with
248 additions
and
134,390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
# If overrides to .env values are needed for development | ||
# VITE_API_BASE= | ||
# VITE_INTERMEDIATE_FHIR_SERVER_BASE= | ||
|
||
# Override vite dev server port | ||
# DEV_SERVER_PORT= | ||
# vite dev server port | ||
DEV_SERVER_PORT=4000 | ||
|
||
# SHL API endpoint | ||
VITE_API_BASE=https://smart-health-links-server.cirg.washington.edu/api | ||
|
||
# FHIR Server endpoint url | ||
VITE_INTERMEDIATE_FHIR_SERVER_BASE=https://fhir.ips-demo.dev.cirg.uw.edu/fhir | ||
|
||
# SHL Viewer url override | ||
# VITE_VIEWER_BASE=https://shlips.fl.dlorigan.dev.cirg.uw.edu/ips/index.html |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...esource-templates/AdvanceDirective.svelte → ...esource-templates/AdvanceDirective.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<script lang="ts"> | ||
import type { Dosage } from 'fhir/r4'; | ||
export let dosage: Dosage | undefined; | ||
</script> | ||
|
||
{#if dosage} | ||
{#if dosage.route?.coding || dosage.doseAndRate || dosage.timing?.repeat} | ||
<table class="table table-bordered table-sm"> | ||
<thead> | ||
<tr><th colspan="5">Dosage</th></tr> | ||
<tr> | ||
<th scope="col">Route</th> | ||
<th scope="col">Qty</th> | ||
<th scope="col">Unit</th> | ||
<th scope="col">Freq. Qty</th> | ||
<th scope="col">Freq. Period</th> | ||
</tr> | ||
</thead> | ||
<tr> | ||
<td>{dosage.route?.coding?.[0].display ?? ''}</td> | ||
<td>{dosage.doseAndRate?.[0].doseQuantity?.value ?? ''}</td> | ||
<td>{dosage.doseAndRate?.[0].doseQuantity?.unit ?? ''}</td> | ||
<td>{dosage.timing?.repeat?.count ?? ''}</td> | ||
<td> | ||
{#if dosage.timing?.repeat?.period && dosage.timing?.repeat?.periodUnit} | ||
{dosage.timing?.repeat?.period}{dosage.timing?.repeat?.periodUnit} | ||
{/if} | ||
</td> | ||
</tr> | ||
</table> | ||
{:else if dosage.text} | ||
Dosage: {dosage.text} | ||
{:else if dosage.asNeededBoolean} | ||
Dosage: as needed | ||
{:else} | ||
<span class="text-muted">No dosage information</span> | ||
{/if} | ||
{:else} | ||
<span class="text-muted">No dosage information</span> | ||
{/if} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.