davidhay25 / clinFHIR

Generates samples for a FHIR server
Apache License 2.0
2 stars 3 forks source link

FHIR Sample creator

This project is an Angular 'Single Page Application' that has 2 purposes (and 2 target audiences):

Installation

  1. Clone (or download) the repository
  2. Set up a simple HTTP server that will serve the files to a browser. On Mac OS X/Linux, the file 'startServer.sh' will start up the python HTTP server that serves up pages on port 8000 by default. On Windows, the file 'startServerWindows.bat' will start up the python HTTP server on port 8000 (make sure python is installed).
  3. In a browser, navigate to http://localhost:8000/launcher.html

Usage

As described above, this app is really targetted to 2 distinct sets of users.

Developers

There is a need in the FHIR community for a component that can generate sample fhir resources from profiles (StructureDefinition resources). These are useful for educational purposes, to help a profile designer understand what the conformant instances will look like, and to generate examples that are really helpful for other developers.

The current app goes some way towards meeting this need, but suffers from a number of bugs with the more complex resource types and doesn't manage extensions at all well. The hope is that a small community of developers will add their expertise to enhancing the component - effectively moving it from the current 'single developer' project to one supported by a community.

FHIR Users

Folder layout

artifacts

Configuration files such as options.json which contains options for the sample generation (eg resources to use, sample codesets etc)

css

Style sheerts and image files

fonts

Fonts

includes

HTML files that are 'included' in the main html file

js

JavaScript files used by the sample creator (not the resource builder ).

prTemplates

HTML 'include' files that are used by the resource builder and are specific for each datatype. They are included by the renderProfile.html file.

resourceBuilder

The files used by the resource Builder directive.