Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def get_patient(name: str) -> Tuple[Patient, str]:
|
|
126 |
patient.name[0].given = [example_patient["name"].split()[0]]
|
127 |
# patient.name[0].family = [example_patient["name"].split()[0]]
|
128 |
|
129 |
-
patient.birthDate = FHIRDate(example_patient["birthdate"])
|
130 |
patient.gender = example_patient["gender"]
|
131 |
patient.address = [Address()]
|
132 |
patient.address[0].line = example_patient["address"]["line"]
|
|
|
126 |
patient.name[0].given = [example_patient["name"].split()[0]]
|
127 |
# patient.name[0].family = [example_patient["name"].split()[0]]
|
128 |
|
129 |
+
# patient.birthDate = FHIRDate(example_patient["birthdate"])
|
130 |
patient.gender = example_patient["gender"]
|
131 |
patient.address = [Address()]
|
132 |
patient.address[0].line = example_patient["address"]["line"]
|