This app is a stand-alone FHIR resource validator. Using this app, you can validate a FHIR resource against an optional FHIR Profile.
- Node
12
withnpm
installed - Docker (to run the FHIR validator wrapper)
From the root directory of fhir-validator-app
:
npm install
From the root directory of fhir-validator-app
:
- Run the Typescript compilation engine:
npm start
- Note: this will auto-recompile whenever you save a change to one of the Typescript files, and will trigger a page refresh if you have the app open in development
- Run the validator wrapper:
docker run -p 8080:4567 infernocommunity/fhir-validator-service:latest
- Navigate to the app in your browser of choice at http://localhost:4567
From the root directory of fhir-validator-app
:
- Build the image, using
docker build . -t fhir_validator_app
- Run the container, using
docker run -p 8080:80 -e external_validator_url=<URL to external validator> fhir_validator_app
- Visit the site at
http://localhost:8080
From the root directory of fhir-validator-app
:
- Build the image, using
docker-compose build
- Run the compose file, using
docker-compose up
. This will run both the standalone validator app, as well as the fhir-validator-wrapper Docker container required to do external validation.
To avoid conflicts the published container ports can be customized using a .env
file in root directory of fhir-validator-app
, for example:
# default 80
FHIR_VALIDATOR_APP_PORT=8888
# default 4567
FHIR_VALIDATOR_SERVICE_PORT=9999
The Inferno development team can be reached by email at [email protected]. Inferno also has a dedicated HL7 FHIR chat channel.
Copyright 2020 The MITRE Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.