Prelimary data model changes 2.0 - #68
Open
edsu7 wants to merge 2 commits into
Open
Conversation
edsu7
commented
Aug 20, 2026
Contributor
- study (migrated to study_translation)
- study_description — Deleted (field removed from study, moved to study_translation).
- program_name — Deleted (moved to study_translation).
- keywords — Deleted (moved to study_translation).
- participant_criteria — Deleted (moved to study_translation).
- funding_sources — Deleted (moved to study_translation).
- study_translation (migrated from study)
- language_id — New field for language short-code (e.g., en-ca, fr-ca).
- funding_sources — New field (migrated from study).
- study_description — New field (migrated from study).
- keywords — New field (migrated from study).
- participant_criteria — New field (migrated from study).
- program_name — New field (migrated from study).
- sociodemographic
- age_at_sociodem_collection — No longer unconditionally required; now conditionally required unless age_at_sociodem_collection_missing_reason exists.
- age_at_sociodem_collection_missing_reason — New field capturing reason when age is not provided.
- sociodem_date_collection — Regex updated to allow "Missing - Unknown/Not collected/Not provided/Restricted access" values.
- education — Code list consolidated: removed 4 granular degree options, added single "Postgraduate degree or other professional designation" option.
- geographic_location — Regex relaxed to accept partial (3-char) postal codes in addition to full 6-char format.
- treatment
- treatment.treatment_type_other — New free-text field required when treatment_type is "Other".
- New onotologies
- disease_code — Description/comments updated and regex extended to support ORPHANET codes.
- code — Description/comments updated and regex extended to allow SNOMED-CT codes alongside LOINC.
- unit — Description/regex extended to allow UCUM unit codes alongside UO.
- code — Description/regex extended to allow ECTO codes alongside SNOMED CT/ExO/LOINC.
- Update regex
- code — NCIT regex broadened from C\d+ to [CRPA]\d+.
- body_site_code — Regex syntax fixed (escaped decimal point).
- modality_code — NCIT regex broadened from C\d+ to [CRPA]\d+.
- anatomical_site_irradiated_code — Regex syntax fixed (escaped decimal point).
- anatomic_location_code — Regex syntax fixed (escaped decimal point).
- Multi-datatype support
- dataType — Changed from single value to array (pipe-delimited, isArray: true).
- added laterality
- body_site_laterality — New coded field for left/right laterality of
- irradiated_site_laterality — New coded field for left/right laterality of site.
- various free-text fields
- modality_source_text — New free-text field for original modality.
- source_text — New free-text field for original observation.
- unit_source_text — New free-text field for original unit.
- source_text — New free-text field for original description.
- source_text — New free-text field for original description.
- source_text — New free-text field for original description.
- anatomic_location_source_text — New free-text field for original location.
- tissue_source_text — New free-text field for original tissue source.
- molecular_type_source_text — New free-text field for original molecular analyte type.
- assay_type_source_text — New free-text field for original assay type.
- instrument_source_text — New free-text field for original sequencing instrument/platform.
- library_layout_source_text — New free-text field for original library layout description.
- body_site_source_text — New free-text field for original body site.
- source_text — New free-text field for original description.
- drug_source_text — New free-text field for original drug name/description.
- anatomical_site_irradiated_source_text — New free-text field for original irradiated site.
- disease_source_text — New free-text field for original disease description pre-mapping.
- study (migrated to study_translation)
- study_description — Deleted (field removed from study, moved to study_translation).
- program_name — Deleted (moved to study_translation).
- keywords — Deleted (moved to study_translation).
- participant_criteria — Deleted (moved to study_translation).
- funding_sources — Deleted (moved to study_translation).
- study_translation (migrated from study)
- language_id — New field for language short-code (e.g., en-ca, fr-ca).
- funding_sources — New field (migrated from study).
- study_description — New field (migrated from study).
- keywords — New field (migrated from study).
- participant_criteria — New field (migrated from study).
- program_name — New field (migrated from study).
- sociodemographic
- age_at_sociodem_collection — No longer unconditionally required; now conditionally required unless age_at_sociodem_collection_missing_reason exists.
- age_at_sociodem_collection_missing_reason — New field capturing reason when age is not provided.
- sociodem_date_collection — Regex updated to allow "Missing - Unknown/Not collected/Not provided/Restricted access" values.
- education — Code list consolidated: removed 4 granular degree options, added single "Postgraduate degree or other professional designation" option.
- geographic_location — Regex relaxed to accept partial (3-char) postal codes in addition to full 6-char format.
- treatment
- treatment.treatment_type_other — New free-text field required when treatment_type is "Other".
- New onotologies
- disease_code — Description/comments updated and regex extended to support ORPHANET codes.
- code — Description/comments updated and regex extended to allow SNOMED-CT codes alongside LOINC.
- unit — Description/regex extended to allow UCUM unit codes alongside UO.
- code — Description/regex extended to allow ECTO codes alongside SNOMED CT/ExO/LOINC.
- Update regex
- code — NCIT regex broadened from C\d+ to [CRPA]\d+.
- body_site_code — Regex syntax fixed (escaped decimal point).
- modality_code — NCIT regex broadened from C\d+ to [CRPA]\d+.
- anatomical_site_irradiated_code — Regex syntax fixed (escaped decimal point).
- anatomic_location_code — Regex syntax fixed (escaped decimal point).
- Multi-datatype support
- dataType — Changed from single value to array (pipe-delimited, isArray: true).
- added laterality
- body_site_laterality — New coded field for left/right laterality of
- irradiated_site_laterality — New coded field for left/right laterality of site.
- various free-text fields
- modality_source_text — New free-text field for original modality.
- source_text — New free-text field for original observation.
- unit_source_text — New free-text field for original unit.
- source_text — New free-text field for original description.
- source_text — New free-text field for original description.
- source_text — New free-text field for original description.
- anatomic_location_source_text — New free-text field for original location.
- tissue_source_text — New free-text field for original tissue source.
- molecular_type_source_text — New free-text field for original molecular analyte type.
- assay_type_source_text — New free-text field for original assay type.
- instrument_source_text — New free-text field for original sequencing instrument/platform.
- library_layout_source_text — New free-text field for original library layout description.
- body_site_source_text — New free-text field for original body site.
- source_text — New free-text field for original description.
- drug_source_text — New free-text field for original drug name/description.
- anatomical_site_irradiated_source_text — New free-text field for original irradiated site.
- disease_source_text — New free-text field for original disease description pre-mapping.
This was referenced Aug 20, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.