diff --git a/views/patient_flat_view.json b/views/patient_flat_view.json index 54751fe..9ccc28f 100644 --- a/views/patient_flat_view.json +++ b/views/patient_flat_view.json @@ -10,6 +10,11 @@ "name": "id", "type": "string" }, + { + "path": "(SELECT fhir_id FROM hjf_resource WHERE resource_type = 'Patient' AND resource_id = id)", + "name": "patient_id", + "type": "string" + }, { "path": "active", "name": "active",