-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: add core__observation_component_* tables (#215)
* core: add core__observation_component_* tables New features: - The headline features are new core__observation_component_* tables, holding Observation.component rows (with code, dataAbsentReason, interpretation, valueCodeableConcept, and valueQuantity tables) - In core__observation, add a valueQuantity_code_system alias (but keep the old-name field of valueQuantity_system around to avoid breaking consumers) - In core__observation_vital_signs, add valueQuantity_* fields - In core__condition, add category_code_system - For database backends, add proper table schema parsing, to allow deeper field schema checks (i.e. we can now ask if field.sub.sub exists, rather than just field.sub) Bug fixes: - For core__documentreference, the "date" field was always NULL. Now it should be filled in, as a day datetime field. - For core__condition, don't leave out rows which don't have all three of category, clinicalStatus, and verificationStatus. Instead, show them with null values. - Fix CountsBuilder.write_counts() to not raise an exception * Convert concept & coding builders to new schema approach - Remove a lot of codeable concept expected values, when passed to a jinja file. The concept builders handle that themselves. - Move validate_schema() from core_templates to sql_utils - Have the concept & coding builders use validate_schema to check for field existence, and pass down the full expected field schema in places that need it. - Remove deprecated valueQuantity_system, as no one should be using it right now.
- Loading branch information
Showing
50 changed files
with
1,714 additions
and
615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Package metadata""" | ||
|
||
__version__ = "2.0.1" | ||
__version__ = "2.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.