Skip to content

Commit

Permalink
Initial documentation (#4)
Browse files Browse the repository at this point in the history
* Initial documentation
  • Loading branch information
hughsimpson authored Mar 16, 2021
1 parent 0b2635c commit a7d1778
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,4 @@ workflows:
context: babylon
filters:
tags:
only: /^g\d+\.\d+\.\d+$/
only: /^g\d+\.\d+\.\d+(-\d+)?$/
58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# lit

Opinionated experimental library for easily constructing v4.0.1 compatible FHIR resources.
Supports generating Scala and Java from FHIR structureDefinition and valueSet jsons, with _extremely early days and very tentative_ support for transforming from the model at [Google's open-sourced FHIR stuff](https://github.com/google/fhir).

[About Lit](https://github.com/babylonhealth/lit-fhir/blob/master/docs/documentation.md)

---

## Bugs, questions or suggestions?

Please make a new issue!

---

## Building and testing

First you may want to generate the classes:

```bash
make build-all-class-models
```

Then you can run the tests:

```
make test
```

---

## Releasing

A tag of the form `\d+.\d+.\d+` will publish the generated modules with that semver
A tag of the form `g\d+.\d+.\d+(-\d+)?` will publish the generator module with that semver (and the common module, if not already released with that semver. For that reason, generator module should always be tagged with whatever version of the generated libs it currently depends on)


---

## Plans for the future

- Better support for protobuf models (current approach just round-trips through json, which is dog-slow)
- Support future versions of FHIR spec
- Better support for slices
- Better support for extensions
- Scala 3 support
- Support for typescript and python

---


## Maintainers

Hugh Simpson ([email protected])

Felix Chapman ([email protected])

Greg McKay ([email protected])
Loading

0 comments on commit a7d1778

Please sign in to comment.