update
Browse files
app.py
CHANGED
|
@@ -466,16 +466,17 @@ def _map_confidence_for_form(raw_confidence, form_hint):
|
|
| 466 |
# date_reg → date_submitted (via confidenceKeyMap)
|
| 467 |
# all others are direct display-key lookups
|
| 468 |
return {
|
| 469 |
-
'registry_no':
|
| 470 |
-
'
|
| 471 |
-
'
|
| 472 |
-
'
|
| 473 |
-
'
|
| 474 |
-
'
|
| 475 |
-
'
|
| 476 |
-
'
|
| 477 |
-
'
|
| 478 |
-
'
|
|
|
|
| 479 |
}
|
| 480 |
|
| 481 |
if form_hint == '3A':
|
|
|
|
| 466 |
# date_reg → date_submitted (via confidenceKeyMap)
|
| 467 |
# all others are direct display-key lookups
|
| 468 |
return {
|
| 469 |
+
'registry_no': p('registry_no'),
|
| 470 |
+
'city_municipality': p('city_municipality'),
|
| 471 |
+
'date_submitted': p('registration_date'),
|
| 472 |
+
'deceased_name': p('deceased_name'),
|
| 473 |
+
'sex': p('sex'),
|
| 474 |
+
'age': p('age'),
|
| 475 |
+
'civil_status': p('civil_status'),
|
| 476 |
+
'nationality': p('citizenship'),
|
| 477 |
+
'dod': p('date_of_death', 'dod_full'),
|
| 478 |
+
'pod': p('place_of_death', 'pod_hospital'),
|
| 479 |
+
'cause': p('cause_immediate'),
|
| 480 |
}
|
| 481 |
|
| 482 |
if form_hint == '3A':
|