README
TypeScript-FHIR
FHIR TypeScript Classes
Prerequisites
- NodeJS
- Typescript
npm install typescript --global
Setup
- Get the latest FHIR JSON schema
- A schema is included in the repository, but could be out of date.
- Download the JSON schema from here: https://www.hl7.org/fhir/downloads.html
- Update
INPUT_FILEinside ofgenerateFHIRClasses.tsto reference the JSON schema file - Install code:
npm install
Build TypeScript Classes
npm run build
Run Unit Tests
npm run test