From 59818b9a49825e180e88d3caa79922d6980577fa Mon Sep 17 00:00:00 2001 From: josephatJ Date: Mon, 2 Dec 2024 13:17:36 +0300 Subject: [PATCH] Update patient_view to accommodate fhir_id --- views/patient_flat_view.json | 5 +++++ 1 file changed, 5 insertions(+) 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",