From 042d7e61d696549aa5dfe63dfa791db4a7e635af Mon Sep 17 00:00:00 2001 From: Ethan Steinberg Date: Tue, 30 Apr 2024 20:48:04 -0700 Subject: [PATCH] Update test_schema.py --- tests/test_schema.py | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/tests/test_schema.py b/tests/test_schema.py index ce27f9b..ccdf31b 100644 --- a/tests/test_schema.py +++ b/tests/test_schema.py @@ -15,22 +15,13 @@ def test_patient_schema(): patient_data = [ { "patient_id": 123, - "static_measurements": [{ - "code": "some_static_code", - "text_value": "example", - "numeric_value": 1.0, - "datetime_value": datetime.datetime(2019, 1, 1, 0, 0, 0), - "metadata": None, - }], "events": [{ # Nested list for events "time": datetime.datetime(2020, 1, 1, 12, 0, 0), - "measurements": [{ # Nested list for measurements - "code": "some_code", - "text_value": "Example", - "numeric_value": 10.0, - "datetime_value": datetime.datetime(2020, 1, 1, 12, 0, 0), - "metadata": None - }] + "code": "some_code", + "text_value": "Example", + "numeric_value": 10.0, + "datetime_value": datetime.datetime(2020, 1, 1, 12, 0, 0), + "properties": None }] } ]