Skip to content

Commit 71f204a

Browse files
committed
Usage and Develop
1 parent fdba173 commit 71f204a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,18 @@ This repository contains a FHIR® R4 models for Go. The models consist of Go str
88
* unmarshal functions are provided for every resource
99
* enums are provided for every ValueSet used in a [required binding][2], has a computer friendly name and refers only to one CodeSystem
1010

11+
## Usage
12+
13+
In your project, import `github.com/samply/golang-fhir-models/fhir-models/fhir` and you are done.
14+
1115
## TODOs
1216

13-
* https://github.com/samply/golang-fhir-models/issues/1
14-
* https://github.com/samply/golang-fhir-models/issues/2
17+
* [Support Polymorphic Data Elements](https://github.com/samply/golang-fhir-models/issues/1)
18+
* [Support ValueSets Referring to Multiple CodeSystems](https://github.com/samply/golang-fhir-models/issues/2)
19+
20+
## Develop
21+
22+
This repository contains two Go modules, the generated models itself and the generator. Both modules use `go generate` to generate the FHIR models. For `go generate` to work, you have to install the generator first. To do that, run `go install` in the `fhir-models-gen` directory. After that, you can regenerate the FHIR Models under `fhir-models` and the subset of FHIR models under `fhir-models-gen`.
1523

1624
## License
1725

0 commit comments

Comments
 (0)