awacke1 commited on
Commit
e8db54a
β€’
1 Parent(s): 84695d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -128,7 +128,9 @@ def get_patient(name: str) -> Tuple[Patient, str]:
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"]
133
  patient.address[0].city = example_patient["address"]["city"]
134
  patient.address[0].state = example_patient["address"]["state"]
 
128
 
129
  # patient.birthDate = FHIRDate(example_patient["birthdate"])
130
  patient.gender = example_patient["gender"]
131
+ #patient.address = [Address()]
132
+ patient.address.append(Address())
133
+
134
  patient.address[0].line = example_patient["address"]["line"]
135
  patient.address[0].city = example_patient["address"]["city"]
136
  patient.address[0].state = example_patient["address"]["state"]