Skip to content

Commit

Permalink
adding meta prefix to all relevant meta keys. (#323)
Browse files Browse the repository at this point in the history
* adding meta prefix to all relevant meta keys.
moved extractor functions into reusable script.

* adding comprensive tests and types for extracted data stored in tables.

* update with README.

* using choiceTypePaths to correctly append types to the search parameter queries.

* adding comment or `keyword` types

* better extraction of Date information.

* fix tests.
  • Loading branch information
AnalogJ committed Nov 19, 2023
1 parent d37fb12 commit dbd868c
Show file tree
Hide file tree
Showing 66 changed files with 5,967 additions and 25,953 deletions.
30 changes: 30 additions & 0 deletions backend/pkg/database/mock/mock_database.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions backend/pkg/models/database/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Database Models

Please note, almost all of the files in this directory are generated automatically.

- Files are generated by the [generate.go](./generate.go) script.
- The generate script uses the [search-parameters.json](./search-parameters.json) file to generate the models.
- **SOURCE**: this file is downloaded from the [HL7 FHIR website](http://hl7.org/fhir/R4/definitions.json.zip) and extracted from the zip file.
- The `fhirpath.min.js` file a pre-compiled version of [fhirpath.js](https://github.com/hl7/fhirpath.js/)
- **SOURCE**: this file is downloaded from the [Github Release](https://github.com/HL7/fhirpath.js/releases) and saved to this directory.
- The `searchParameterExtractor.js` file is manually
- The [choiceTypePaths.json](./choiceTypePaths.json) file contains a list of "types" associated with a "path" in the FHIR spec.
- **SOURCE**: this file is downloaded from the fhirpath.js repo: [fhir-context/r4/choiceTypePaths.json](https://github.com/HL7/fhirpath.js/blob/master/fhir-context/r4/choiceTypePaths.json)

0 comments on commit dbd868c

Please sign in to comment.