From 61fe1379eb3f16d7dd14bb81552e7afc23867bd2 Mon Sep 17 00:00:00 2001 From: Anoop Kurungadam Date: Sun, 12 Nov 2023 15:04:27 +0530 Subject: [PATCH] fix: make field oid non mandatory for all code systems make code value and uri fields non-unique as repititions should be allowed --- healthcare/healthcare/doctype/code_system/code_system.json | 6 ++---- healthcare/healthcare/doctype/code_value/code_value.json | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/healthcare/healthcare/doctype/code_system/code_system.json b/healthcare/healthcare/doctype/code_system/code_system.json index 7f14803da0..60a9017cd6 100644 --- a/healthcare/healthcare/doctype/code_system/code_system.json +++ b/healthcare/healthcare/doctype/code_system/code_system.json @@ -24,15 +24,13 @@ "in_list_view": 1, "label": "URI", "no_copy": 1, - "reqd": 1, - "unique": 1 + "reqd": 1 }, { "depends_on": "eval:!doc.is_fhir_defined", "fieldname": "oid", "fieldtype": "Data", "label": "OID", - "mandatory_depends_on": "eval:!doc.is_fhir_defined", "no_copy": 1, "read_only_depends_on": "eval:doc.is_fhir_defined", "unique": 1 @@ -85,7 +83,7 @@ "link_fieldname": "code_system" } ], - "modified": "2023-11-04 15:05:21.980203", + "modified": "2023-11-12 15:03:58.378011", "modified_by": "Administrator", "module": "Healthcare", "name": "Code System", diff --git a/healthcare/healthcare/doctype/code_value/code_value.json b/healthcare/healthcare/doctype/code_value/code_value.json index 59263ed6cb..99fb3b36aa 100644 --- a/healthcare/healthcare/doctype/code_value/code_value.json +++ b/healthcare/healthcare/doctype/code_value/code_value.json @@ -62,8 +62,7 @@ "in_list_view": 1, "label": "Code Value", "no_copy": 1, - "reqd": 1, - "unique": 1 + "reqd": 1 }, { "fetch_from": "code_system.uri", @@ -76,7 +75,7 @@ } ], "links": [], - "modified": "2023-11-04 17:11:03.579052", + "modified": "2023-11-12 23:07:41.209432", "modified_by": "Administrator", "module": "Healthcare", "name": "Code Value",