Skip to content

Commit

Permalink
fix: make field oid non mandatory for all code systems
Browse files Browse the repository at this point in the history
make code value and uri fields non-unique as repititions should be allowed
  • Loading branch information
akurungadam authored and akashkrishna619 committed Feb 8, 2024
1 parent 26e3873 commit 61fe137
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 2 additions & 4 deletions healthcare/healthcare/doctype/code_system/code_system.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions healthcare/healthcare/doctype/code_value/code_value.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 61fe137

Please sign in to comment.