Skip to content

Commit

Permalink
Merge pull request #273 from CanDIG/develop
Browse files Browse the repository at this point in the history
Update versioned AJCC to single AJCC in enum and synth data
  • Loading branch information
SonQBChau authored Oct 16, 2024
2 parents 900dd3a + a7cec23 commit 8371d13
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 36 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chord_metadata_service/mohpackets/docs/schema_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fd2be0bb1831f72571095a6e231e4b74131e070c
827f8485764cf524dee24e3835778864ea25dd27
6 changes: 2 additions & 4 deletions chord_metadata_service/mohpackets/docs/schemas/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5652,9 +5652,7 @@
},
"TumourStagingSystemEnum": {
"enum": [
"AJCC 8th edition",
"AJCC 7th edition",
"AJCC 6th edition",
"AJCC cancer staging system",
"Ann Arbor staging system",
"Binet staging system",
"Durie-Salmon staging system",
Expand All @@ -5663,7 +5661,7 @@
"International Neuroblastoma Staging System",
"Lugano staging system",
"Rai staging system",
"Revised International staging system (RISS)",
"Revised International staging system (R-ISS)",
"SEER staging system",
"St Jude staging system",
"Not available"
Expand Down
36 changes: 17 additions & 19 deletions chord_metadata_service/mohpackets/docs/schemas/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,12 @@ Retrieves a single donor along with all related clinical data, organized in a ne
"cancer_type_code": "string",
"basis_of_diagnosis": "Clinical investigation",
"laterality": "Bilateral",
"clinical_tumour_staging_system": "AJCC 8th edition",
"clinical_tumour_staging_system": "AJCC cancer staging system",
"clinical_t_category": "T0",
"clinical_n_category": "N0",
"clinical_m_category": "M0",
"clinical_stage_group": "Stage 0",
"pathological_tumour_staging_system": "AJCC 8th edition",
"pathological_tumour_staging_system": "AJCC cancer staging system",
"pathological_t_category": "T0",
"pathological_n_category": "N0",
"pathological_m_category": "M0",
Expand Down Expand Up @@ -975,12 +975,12 @@ Used by the query service to return donors along with their sample IDs, treatmen
"cancer_type_code": "string",
"basis_of_diagnosis": "Clinical investigation",
"laterality": "Bilateral",
"clinical_tumour_staging_system": "AJCC 8th edition",
"clinical_tumour_staging_system": "AJCC cancer staging system",
"clinical_t_category": "T0",
"clinical_n_category": "N0",
"clinical_m_category": "M0",
"clinical_stage_group": "Stage 0",
"pathological_tumour_staging_system": "AJCC 8th edition",
"pathological_tumour_staging_system": "AJCC cancer staging system",
"pathological_t_category": "T0",
"pathological_n_category": "N0",
"pathological_m_category": "M0",
Expand Down Expand Up @@ -3896,12 +3896,12 @@ NCategoryEnum
"cancer_type_code": "string",
"basis_of_diagnosis": "Clinical investigation",
"laterality": "Bilateral",
"clinical_tumour_staging_system": "AJCC 8th edition",
"clinical_tumour_staging_system": "AJCC cancer staging system",
"clinical_t_category": "T0",
"clinical_n_category": "N0",
"clinical_m_category": "M0",
"clinical_stage_group": "Stage 0",
"pathological_tumour_staging_system": "AJCC 8th edition",
"pathological_tumour_staging_system": "AJCC cancer staging system",
"pathological_t_category": "T0",
"pathological_n_category": "N0",
"pathological_m_category": "M0",
Expand Down Expand Up @@ -4540,7 +4540,7 @@ TCategoryEnum
<a id="tocstumourstagingsystemenum"></a>

```json
"AJCC 8th edition"
"AJCC cancer staging system"

```

Expand All @@ -4556,9 +4556,7 @@ TumourStagingSystemEnum

|Property|Value|
|---|---|
|TumourStagingSystemEnum|AJCC 8th edition|
|TumourStagingSystemEnum|AJCC 7th edition|
|TumourStagingSystemEnum|AJCC 6th edition|
|TumourStagingSystemEnum|AJCC cancer staging system|
|TumourStagingSystemEnum|Ann Arbor staging system|
|TumourStagingSystemEnum|Binet staging system|
|TumourStagingSystemEnum|Durie-Salmon staging system|
Expand All @@ -4567,7 +4565,7 @@ TumourStagingSystemEnum
|TumourStagingSystemEnum|International Neuroblastoma Staging System|
|TumourStagingSystemEnum|Lugano staging system|
|TumourStagingSystemEnum|Rai staging system|
|TumourStagingSystemEnum|Revised International staging system (RISS)|
|TumourStagingSystemEnum|Revised International staging system (R-ISS)|
|TumourStagingSystemEnum|SEER staging system|
|TumourStagingSystemEnum|St Jude staging system|
|TumourStagingSystemEnum|Not available|
Expand Down Expand Up @@ -6917,12 +6915,12 @@ TreatmentTypeEnum
"cancer_type_code": "string",
"basis_of_diagnosis": "Clinical investigation",
"laterality": "Bilateral",
"clinical_tumour_staging_system": "AJCC 8th edition",
"clinical_tumour_staging_system": "AJCC cancer staging system",
"clinical_t_category": "T0",
"clinical_n_category": "N0",
"clinical_m_category": "M0",
"clinical_stage_group": "Stage 0",
"pathological_tumour_staging_system": "AJCC 8th edition",
"pathological_tumour_staging_system": "AJCC cancer staging system",
"pathological_t_category": "T0",
"pathological_n_category": "N0",
"pathological_m_category": "M0",
Expand Down Expand Up @@ -8074,12 +8072,12 @@ or
"cancer_type_code": "string",
"basis_of_diagnosis": "Clinical investigation",
"laterality": "Bilateral",
"clinical_tumour_staging_system": "AJCC 8th edition",
"clinical_tumour_staging_system": "AJCC cancer staging system",
"clinical_t_category": "T0",
"clinical_n_category": "N0",
"clinical_m_category": "M0",
"clinical_stage_group": "Stage 0",
"pathological_tumour_staging_system": "AJCC 8th edition",
"pathological_tumour_staging_system": "AJCC cancer staging system",
"pathological_t_category": "T0",
"pathological_n_category": "N0",
"pathological_m_category": "M0",
Expand Down Expand Up @@ -11313,12 +11311,12 @@ or
"cancer_type_code": "string",
"basis_of_diagnosis": "Clinical investigation",
"laterality": "Bilateral",
"clinical_tumour_staging_system": "AJCC 8th edition",
"clinical_tumour_staging_system": "AJCC cancer staging system",
"clinical_t_category": "T0",
"clinical_n_category": "N0",
"clinical_m_category": "M0",
"clinical_stage_group": "Stage 0",
"pathological_tumour_staging_system": "AJCC 8th edition",
"pathological_tumour_staging_system": "AJCC cancer staging system",
"pathological_t_category": "T0",
"pathological_n_category": "N0",
"pathological_m_category": "M0",
Expand Down Expand Up @@ -11409,12 +11407,12 @@ or
"cancer_type_code": "string",
"basis_of_diagnosis": "Clinical investigation",
"laterality": "Bilateral",
"clinical_tumour_staging_system": "AJCC 8th edition",
"clinical_tumour_staging_system": "AJCC cancer staging system",
"clinical_t_category": "T0",
"clinical_n_category": "N0",
"clinical_m_category": "M0",
"clinical_stage_group": "Stage 0",
"pathological_tumour_staging_system": "AJCC 8th edition",
"pathological_tumour_staging_system": "AJCC cancer staging system",
"pathological_t_category": "T0",
"pathological_n_category": "N0",
"pathological_m_category": "M0",
Expand Down
6 changes: 2 additions & 4 deletions chord_metadata_service/mohpackets/docs/schemas/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5058,9 +5058,7 @@ components:
type: string
TumourStagingSystemEnum:
enum:
- AJCC 8th edition
- AJCC 7th edition
- AJCC 6th edition
- AJCC cancer staging system
- Ann Arbor staging system
- Binet staging system
- Durie-Salmon staging system
Expand All @@ -5069,7 +5067,7 @@ components:
- International Neuroblastoma Staging System
- Lugano staging system
- Rai staging system
- Revised International staging system (RISS)
- Revised International staging system (R-ISS)
- SEER staging system
- St Jude staging system
- Not available
Expand Down
6 changes: 2 additions & 4 deletions chord_metadata_service/mohpackets/permissible_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@
]

TUMOUR_STAGING_SYSTEM = [
"AJCC 8th edition",
"AJCC 7th edition",
"AJCC 6th edition",
"AJCC cancer staging system",
"Ann Arbor staging system",
"Binet staging system",
"Durie-Salmon staging system",
Expand All @@ -105,7 +103,7 @@
"International Neuroblastoma Staging System",
"Lugano staging system",
"Rai staging system",
"Revised International staging system (RISS)",
"Revised International staging system (R-ISS)",
"SEER staging system",
"St Jude staging system",
"Not available"
Expand Down

0 comments on commit 8371d13

Please sign in to comment.