Skip to content

Commit

Permalink
Added additional fields that have been added to the FHIR Converter an…
Browse files Browse the repository at this point in the history
…d message parser (#232)
  • Loading branch information
BradySkylight authored Aug 2, 2023
1 parent 6ace10b commit 443c793
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scripts/Synapse/updateECRDataStore.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,19 @@
" \"specimen_type_20\": [\"string\", True],\n",
" \"performing_lab_20\": [\"string\", True],\n",
" \"specimen_collection_date_20\": [\"timestamp\", True],\n",
" \"result_date_20\": [\"timestamp\", True]\n",
" \"result_date_20\": [\"timestamp\", True],\n",
" \"birth_sex\": [\"string\", True],\n",
" \"gender_identity\": [\"string\", True],\n",
" \"homelessness_status\": [\"string\", True],\n",
" \"disabilities\": [\"string\", True],\n",
" \"tribal_affiliation\": [\"string\", True],\n",
" \"tribal_enrollment_status\": [\"string\", True],\n",
" \"current_job_title\": [\"string\", True],\n",
" \"current_job_industry\": [\"string\", True],\n",
" \"usual_occupation\": [\"string\", True],\n",
" \"usual_industry\": [\"string\", True],\n",
" \"preferred_language\": [\"string\", True],\n",
" \"pregnancy_status\": [\"string\", True]\n",
" }\n",
"\n",
"def get_schemas(schema: dict) -> Tuple[StructType, dict]:\n",
Expand Down
12 changes: 12 additions & 0 deletions scripts/assets/dummy_delta_lake.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,18 @@
" \"performing_lab_20\",\n",
" \"specimen_collection_date_20\",\n",
" \"result_date_20\",\n",
" \"birth_sex\",\n",
" \"gender_identity\",\n",
" \"homelessness_status\",\n",
" \"disabilities\",\n",
" \"tribal_affiliation\",\n",
" \"tribal_enrollment_status\",\n",
" \"current_job_title\",\n",
" \"current_job_industry\",\n",
" \"usual_occupation\",\n",
" \"usual_industry\",\n",
" \"preferred_language\",\n",
" \"pregnancy_status\"\n",
"]\n",
"\n",
"schema_cols = [StructField(f, StringType(), True) for f in schema_fields]\n",
Expand Down

0 comments on commit 443c793

Please sign in to comment.