Skip to content

Commit

Permalink
Merge pull request #11 in LFOR/questionnaire-viewer from add_demo_lin…
Browse files Browse the repository at this point in the history
…k to master

* commit '67ed408ec9bb63dce5030dc1eacdea50ea36f685':
  Updated lforms to 29.2.3
  Updated lforms; also the built files changed, perhaps due to an update to a package in package.json
  Updated the tests to be handle another change to the order of items in a list
  Reinstalled packages because the tests complained that module could not be found
  Updated the change log and set the version to 0.4.3
  npm audit fix
  Updated lforms
  Updated some tests
  Updated README to include a link to the demo
  • Loading branch information
plynchnlm committed Aug 27, 2021
2 parents fe4caa9 + 67ed408 commit eace88b
Show file tree
Hide file tree
Showing 12 changed files with 840 additions and 1,169 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This log documents the significant changes for each release.
This project follows [Semantic Versioning](http://semver.org/).

## [0.4.3] - 2021-08-11
### Fixed
- Added a link to the demo from the README, and updated lforms.

## [0.4.2] - 2021-06-14
### Fixed
- Corrected typos in an error message and added the exception text to it.
Expand Down
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
The is a website that uses LHC-Forms widget to render a FHIR Questionare, along with a FHIR resources package.
# Questionnaire Viewer
## Overview

It takes two URLs as prameters:
This is the code for a [website](https://lhncbc.github.io/questionnaire-viewer/)
that uses the [LHC-Forms](http://lhncbc.github.io/lforms/) widget to
render a [FHIR](https://www.hl7.org/fhir/)
[Questionnaire](https://www.hl7.org/fhir/questionnaire.html) with an optional FHIR
resources package.

This single page app accepts two parameters in its URL to specify other URLs for
retrieving the questionnaire to display and the package of resources:
- q: specifies where to get the FHIR Questionnare resource.
- p: specifies where to get the FHIR resource package file, and is optional.

Expand All @@ -10,4 +18,7 @@ Usage:

An example npm package is the one for SDC: https://build.fhir.org/ig/HL7/sdc/package.tgz

The package format is defined here: https://confluence.hl7.org/display/FHIR/NPM+Package+Specification
The package format is defined here: https://confluence.hl7.org/display/FHIR/NPM+Package+Specification

## Demo
A demo of this website is [here](https://lhncbc.github.io/questionnaire-viewer/).
2 changes: 0 additions & 2 deletions docs/app.0c3f00efb15c8ec7f8ec.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/app.0c3f00efb15c8ec7f8ec.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion docs/app.389999af61f3c80b9bd4.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/app.cdab808d55246effe311.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/app.cdab808d55246effe311.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<meta name="viewport" content="width=device-width">
<link href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700"
rel="stylesheet" type="text/css">
<link href="https://clinicaltables.nlm.nih.gov/lforms-versions/29.0.3/styles/lforms.min.css"
<link href="https://clinicaltables.nlm.nih.gov/lforms-versions/29.2.3/styles/lforms.min.css"
media="screen" rel="stylesheet" />
<link href="app.389999af61f3c80b9bd4.css" rel="stylesheet"></head>
<body onload="app.onPageLoad()">
Expand Down Expand Up @@ -110,9 +110,9 @@ <h1 id="siteName">FHIR Questionnaire Viewer</h1><br>
<div id="qv-lforms"></div>
</div>

<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/29.0.3/lforms.min.js"></script>
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/29.0.3/fhir/R4/lformsFHIR.min.js"></script>
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/29.0.3/fhir/STU3/lformsFHIR.min.js"></script>
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/29.2.3/lforms.min.js"></script>
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/29.2.3/fhir/R4/lformsFHIR.min.js"></script>
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/29.2.3/fhir/STU3/lformsFHIR.min.js"></script>

<script type="text/javascript" src="app.0c3f00efb15c8ec7f8ec.js"></script></body>
<script type="text/javascript" src="app.cdab808d55246effe311.js"></script></body>
</html>
Loading

0 comments on commit eace88b

Please sign in to comment.