Skip to content

Commit

Permalink
Add shl json output in client and sqlite in db for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Apr 29, 2024
1 parent 2d3411b commit 06024c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ <h2>Details</h2>
.map((r) => `<li><pre>${JSON.stringify(r, null, 2)}</pre></li>`)
.join(' ')}
</ul>
</div>
<div>
<h2>Raw JSON content:</h2>
<span>${JSON.stringify(decoded
.flatMap((s) => s.fhirBundle.entry)
.map((s) => s.resource)
.map(({text, ...r}) => r))}</span>
</div>`;
}
</script>
Expand Down
3 changes: 3 additions & 0 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM denoland/deno:1.25.2
EXPOSE 8000
WORKDIR /app
USER root
RUN apt-get update && \
apt-get install -y sqlite3
USER deno
COPY --chown=deno deps.ts .
RUN deno cache deps.ts
Expand Down

0 comments on commit 06024c0

Please sign in to comment.