From 0132c602a148d284dd231fcafe57fafd24169bd2 Mon Sep 17 00:00:00 2001 From: josephatJ Date: Mon, 2 Dec 2024 13:32:08 +0300 Subject: [PATCH] Update fhir_id definition reference --- views/patient_flat_view.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/patient_flat_view.json b/views/patient_flat_view.json index ba781a0..e8dc536 100644 --- a/views/patient_flat_view.json +++ b/views/patient_flat_view.json @@ -11,9 +11,9 @@ "type": "string" }, { - "path": "(SELECT fhir_id FROM hfj_resource WHERE resource_type = 'Patient' AND res_id = id)", + "path": "fhir_id", "name": "patient_id", - "type": "string" + "sql": "SELECT fhir_id FROM hfj_resource WHERE resource_type = 'Patient' AND res_id = id" }, { "path": "active",