Skip to content

Prelimary data model changes 2.0 - #68

Open
edsu7 wants to merge 2 commits into
developfrom
data_model_2-issue_18_regex
Open

Prelimary data model changes 2.0#68
edsu7 wants to merge 2 commits into
developfrom
data_model_2-issue_18_regex

Conversation

@edsu7

@edsu7 edsu7 commented Aug 20, 2026

Copy link
Copy Markdown
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant