From 646c3da20fc27bc8c4beaab2144e7c2edae7bb52 Mon Sep 17 00:00:00 2001 From: Ethan Steinberg Date: Thu, 18 Jan 2024 10:21:29 -0800 Subject: [PATCH] Update schema.py --- src/meds/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meds/schema.py b/src/meds/schema.py index 3e2508c..199767d 100644 --- a/src/meds/schema.py +++ b/src/meds/schema.py @@ -111,7 +111,7 @@ def patient_schema(per_event_metadata_schema=pa.null()): # Python types for the above schema -CodeMetadataEntry = TypedDict("CodeMetadataEntry", {"description": str, "standard_ontology_codes": List[str]}) +CodeMetadataEntry = TypedDict("CodeMetadataEntry", {"description": str, "parent_codes": List[str]}) CodeMetadata = Mapping[str, CodeMetadataEntry] DatasetMetadata = TypedDict( "DatasetMetadata",