@ahryman40k/fhir-spec-loader

load spec from hl7.org/fhir or from local files

Usage no npm install needed!

<script type="module">
  import ahryman40kFhirSpecLoader from 'https://cdn.skypack.dev/@ahryman40k/fhir-spec-loader';
</script>

README

FHIR Loader Helper

Typescript / Javascript library that load FHIR specifications from files, zip or from website It currently works with R4 specifications of FHIR

npm version Build Status codecov Known Vulnerabilities Project dependencies overview(Beta) License: GPL v3

Installation

npm i -S @ahryman40k/fhir-spec-loader

or

yarn install @ahryman40k/fhir-spec-loader

Examples

import { Loader } from '@ahryman40k/fhir-spec-loader'

const service = FromFiles([
                path.join(__dirname, './R4/definition/profiles-resources.json'),
            ]);


Please don't hesitate to give me advices and feedback !