Sampade07 commited on
Commit
dc3cb6d
·
verified ·
1 Parent(s): 1446542

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +113 -1
README.md CHANGED
@@ -1,3 +1,115 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - tabular-classification
5
+ - regression
6
+ tags:
7
+ - medical
8
+ - oncology
9
+ - genomics
10
+ - synthetic
11
+ - healthcare-claims
12
+ pretty_name: Synthetic Cancer Clinical Genomics Dataset
13
+ size_categories:
14
+ - n<1K
15
  ---
16
+
17
+ # Synthetic Cancer Clinical Genomics Dataset
18
+
19
+ This repository contains multi-modal synthetic clinical-genomic data designed for oncology tracking, therapeutic progression analysis, and financial cost-modeling. The dataset is organized relationally under four core entities: Patients, Genomic Biomarkers, Clinical Encounters, and Financial Claims.
20
+
21
+ ## Dataset Structure
22
+
23
+ The dataset is provided as a unified JSON file containing four arrays of structured objects.
24
+
25
+ ```json
26
+ {
27
+ "patients": [...],
28
+ "genomic_biomarkers": [...],
29
+ "clinical_encounters": [...],
30
+ "financial_claims": [...]
31
+ }
32
+ ```
33
+
34
+ ---
35
+
36
+ ## Data Fields
37
+
38
+ ### 1. Patients Table (`patients`)
39
+ Contains baseline demographics for each unique patient tracked across the clinical timeline.
40
+
41
+ | Field Name | Type | Description | Example |
42
+ | :--- | :--- | :--- | :--- |
43
+ | `patient_id` | String | Unique identifier for the patient (Primary Key) | `"PT-60900"` |
44
+ | `age_at_diagnosis` | Integer | Patient's age at initial cancer diagnosis | `83` |
45
+ | `biological_sex` | String | Confirmed biological sex (`Male`, `Female`) | `"Female"` |
46
+ | `race_ethnicity` | String | Demographic group (`White`, `Black`, `Asian`, `Hispanic`, `Other`) | `"Black"` |
47
+
48
+ ### 2. Genomic Biomarkers Table (`genomic_biomarkers`)
49
+ Tracks sequencing pipeline metrics, targeted alterations, and immune checkpoint expression values.
50
+
51
+ | Field Name | Type | Description | Example |
52
+ | :--- | :--- | :--- | :--- |
53
+ | `genomic_id` | String | Unique identifier for the molecular testing event (Primary Key) | `"G-92403"` |
54
+ | `patient_id` | String | Associated patient identifier (Foreign Key linking to `patients`) | `"PT-60900"` |
55
+ | `sequencing_date` | String | ISO 8601 date of the genomic profile extraction | `"2025-08-23"` |
56
+ | `gene_mutated` | String | Target mutated gene analyzed | `"HER2"` |
57
+ | `variant_classification` | String | Specific variant alteration category | `"R273H"` |
58
+ | `tmb_score` | Float | Tumor Mutational Burden score (mutations per megabase) | `34.2` |
59
+ | `pd_l1_expression_pct` | Integer | Tumor proportion score (TPS) percentage for PD-L1 expression | `29` |
60
+
61
+ ### 3. Clinical Encounters Table (`clinical_encounters`)
62
+ Captures serial physical assessments, clinical staging advancements, and real-world therapy switches.
63
+
64
+ | Field Name | Type | Description | Example |
65
+ | :--- | :--- | :--- | :--- |
66
+ | `encounter_id` | String | Unique clinical interaction code (Primary Key) | `"ENC-35247"` |
67
+ | `patient_id` | String | Associated patient identifier (Foreign Key linking to `patients`) | `"PT-49536"` |
68
+ | `date_of_encounter` | String | ISO 8601 date of the specific medical appointment | `"2024-11-14"` |
69
+ | `primary_icd10_code` | String | ICD-10 code designating malignant neoplasm site location | `"C34.90"` |
70
+ | `cancer_stage` | String | Clinical disease stage evaluated during the encounter | `"Stage IV"` |
71
+ | `treatment_line` | Integer | Active line of systemic antineoplastic therapy | `1` |
72
+ | `medication_rxnorm` | String | RxNorm Concept Unique Identifier (CUI) for prescribed medication | `"2145574"` |
73
+ | `progression_free_survival_status` | Integer | Binary indicator for clinical progression event (1 = Progressed, 0 = Stable) | `1` |
74
+
75
+ ### 4. Financial Claims Table (`financial_claims`)
76
+ Captures cost profiles, contractually allowed medical insurance amounts, and liability balances.
77
+
78
+ | Field Name | Type | Description | Example |
79
+ | :--- | :--- | :--- | :--- |
80
+ | `claim_id` | String | Unique invoice/billing system item (Primary Key) | `"CLM-98596"` |
81
+ | `patient_id` | String | Associated patient identifier (Foreign Key linking to `patients`) | `"PT-49536"` |
82
+ | `encounter_id` | String | Linked clinical encounter (Foreign Key linking to `clinical_encounters`) | `"ENC-35247"` |
83
+ | `allowed_amount` | Float | Maximum negotiated contract value allowed by the payor ($) | `18622.89` |
84
+ | `out_of_pocket_cost` | Float | Patient out-of-pocket financial liability ($) | `677.35` |
85
+
86
+ ---
87
+
88
+ ## Intended Use Cases
89
+
90
+ * **Survival Analysis:** Modeling Real-World Progression-Free Survival (rwPFS) trends utilizing biomarker cohorts (`tmb_score`, `gene_mutated`).
91
+ * **Health Economics and Outcomes Research (HEOR):** Aggregating longitudinal out-of-pocket balances and total allowed claims costs linked directly to specific therapy lines (`treatment_line`).
92
+ * **Relational Feature Engineering:** Evaluating categorical entity embeddings via multi-table merge architectures.
93
+
94
+ ---
95
+
96
+ ## Data Loading Quickstart
97
+
98
+ Load the entire schema into separate tabular `pandas` DataFrames via Python:
99
+
100
+ ```python
101
+ import json
102
+ import pandas as pd
103
+
104
+ # Load relational file
105
+ with open("oncology_data_batch_4.json", "r") as file:
106
+ data = json.load(file)
107
+
108
+ # Parse distinct arrays into relational DataFrames
109
+ df_patients = pd.DataFrame(data["patients"])
110
+ df_genomics = pd.DataFrame(data["genomic_biomarkers"])
111
+ df_encounters = pd.DataFrame(data["clinical_encounters"])
112
+ df_claims = pd.DataFrame(data["financial_claims"])
113
+
114
+ print(f"Loaded {len(df_patients)} patients and {len(df_genomics)} biomarker profiles.")
115
+ ```