FHIR Chat · Validation UX rework · hapi

Stream: hapi

Topic: Validation UX rework


view this post on Zulip Grahame Grieve (Jul 03 2020 at 00:43):

a topic for discussing the work @Mark Iantorno is doing on the validation UX. Roughly our goals are:

  • ship a cross-platform UI so the user can run the validator.
  • base that on a Web-UI so that in the background, it runs as web service
  • the web service will be usable from another service as well - e.g. offer a validation web service for integration into * other FHIR servers (beyond the way it is already integrated into HAPI)
  • we will make that available on the web at validation.fhir.org

Also, integrate the web service into Zulip so you can ask for a validation report for resources in Zulip messages

view this post on Zulip Michael Lawley (Jul 04 2020 at 04:32):

Is it planned to allow for an external terminology server to be used?

view this post on Zulip Grahame Grieve (Jul 04 2020 at 22:30):

yes. it's a wrapper around the existing validator, and the -tx parameter (along with all others) will be surfaced

view this post on Zulip Kevin Mayfield (Jul 05 2020 at 03:57):

I'm interested in the service. I've done a basic hapi based service https://github.com/NHSDigital/fhir-validation-service

view this post on Zulip Reece Adamson (Jul 06 2020 at 13:11):

@Mark Iantorno is the web service code/web UI code available anywhere for us to take a look?

As I mentioned in the other stream the Inferno team has been working on a standalone web validator for any IG and we'd be interested in seeing what you've been working on in case there are any opportunities of share or collaborate!

You can find what we've been working on from the links below:
A live instance is hosted here: inferno.healthit.gov/validator
The source for the frontend app is here
And the super simple backend service which is launched with it is here

view this post on Zulip Mark Iantorno (Jul 06 2020 at 13:13):

nice, the code itself is in the core library itself right now, however I'm in the process of cleaning up a lot of it and moving it to it's own repo. Once that's ready, I'll be able to share. I'll definitely take a look at what you have done

view this post on Zulip Mark Iantorno (Jul 16 2020 at 19:22):

So, @Reece Adamson , your validator ui only works with the US core ig right?

view this post on Zulip Mark Iantorno (Jul 16 2020 at 19:23):

I'm just reviewing the project now and it seems like it's hardcoded in there, correct/

view this post on Zulip Reece Adamson (Jul 16 2020 at 19:54):

Right now its US Core, Base FHIR or SANER. We've been digging into using packages.fhir.org and have a PR that will make it able to support any IG on package.fhir.org (we use FilesystemPackageCacheManager::listAllIds to get the NPM package Ids). That PR is ready, but it just hasn't been reviewed/merged yet (should be in by the end of the week). We also have another branch in the works that will allow users to upload a package.tgz to support IGs not on packages.fhir.org.

The hosted version on inferno.healthit.gov/validator hasn't been updated yet with any of this yet. But, once these last PRs are in that really flesh it out we'll be adding it to the landing page and deploying as we go.

You can try it locally by running the UI and webservice like so:

# Checkout UI and run it
git clone -b load-ig-packages --single-branch https://github.com/inferno-community/fhir-validator-app.git
npm start
# Checkout web service and run it
git clone -b simplify-spark --single-branch https://github.com/inferno-community/fhir-validator-wrapper.git
VALIDATOR_PORT=8080 ./gradlew run

I just recorded a little GIF demo too if you'd rather watch 45 seconds of me frantically going through it :slight_smile: (you can just drop the file into chrome to play it or click the little zoom button over the icon below)
Validator_Demo.gif


Last updated: Apr 12 2022 at 19:14 UTC