0.11.0 • Published 2 years ago

@imaware/fhir-gen v0.11.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

fhir-gen

Node/Typescript module for generating random test FHIR data.

Purpose

This library provides a set of factory functions for generating test FHIR data. Its purpose is to allow for easy on-the-fly generation of FHIR resources for writing unit tests. The factory functions use the fishery module for factory generation.

Required fields

Due to how this module uses DeepPartial\ objects to allow for overriding resource properties during generation, the factory functions do not check for required FHIR properties. FHIR resources returned from these factory functions are not guaranteed to be

References

Randomly generated resources will not pass back any References in any properties. Due to the relational nature of these fields, it would not make sense to randomly generate a reference to a resource that doesn't exist.

FHIR Specifications Implemented

  • STU3
  • R4 (Partial)

API Documentation

Auto-generated docs can found in ./docs.md.

Contributing

Read the guide for contributing in CONTRIBUTING.md.

0.10.0

2 years ago

0.11.0

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago

0.9.0

3 years ago

0.8.4

3 years ago

0.8.3

3 years ago

0.8.2

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.2

3 years ago