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';


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


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


yarn install @ahryman40k/fhir-spec-loader


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

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

I meet some disappointment swith tests. So LoadFromArchive and LoadFromWeb are not ready yet.

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