fhir-ts
v0.0.6
Published
FHIR TypeScript definitions generator
Downloads
3
Readme
fhir-ts
FHIR TypeScript definitions generator.
Disclaimer
This project is still in early stages of development and should not be considered "production-ready".
Installation
npm install fhir-ts -g
Usage
fhir-ts <pattern> <output-directory>
Example:
fhir-ts "structure-defintions/**.profile.json" "types"
Roadmap
- Resource Definitions
- [x] Interface declaration from snapshot
- [x] Property names
- [x] Property type names
- [x] Optional properties
- [x] Array properties
- [x] JSDoc comments
- [x] Backbone Element properties
- [ ] Interface declaration from differential
- [ ] Default values
- [x] Content reference
- Primitive types
- [x] Type aliases
- [x] Extensions
- CLI options