From f268f84705ece9acbcc83472a0ae5373874b9877 Mon Sep 17 00:00:00 2001 From: kazlaw Date: Wed, 28 Aug 2024 09:54:53 +0300 Subject: [PATCH 1/2] HSC-287: Fixed identifier --- .../autogenerationoptions/autogenerationoptions.csv | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 configs/openmrs/initializer_config/autogenerationoptions/autogenerationoptions.csv diff --git a/configs/openmrs/initializer_config/autogenerationoptions/autogenerationoptions.csv b/configs/openmrs/initializer_config/autogenerationoptions/autogenerationoptions.csv new file mode 100644 index 0000000..11ea3e5 --- /dev/null +++ b/configs/openmrs/initializer_config/autogenerationoptions/autogenerationoptions.csv @@ -0,0 +1,2 @@ +Uuid,Identifier type,Location,Identifier Source,Manual Entry Enabled,Auto Generation Enabled,_order:2000 +00de512d-418a-432b-9b39-9fbfd25d7fd4,b303f207-a094-457f-9833-f1cdc7b5d184,,0b16368a-b083-4308-bc21-05bb833d29a8,true,true, From e93a25bd074c6da9794e4ac489e54beb7a20c0ba Mon Sep 17 00:00:00 2001 From: kazlaw Date: Thu, 26 Sep 2024 14:41:23 +0300 Subject: [PATCH 2/2] Added global property for location based id_prefix --- .../globalproperties/globalproperties-core_data.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/openmrs/initializer_config/globalproperties/globalproperties-core_data.xml b/configs/openmrs/initializer_config/globalproperties/globalproperties-core_data.xml index 2329597..5ba406e 100644 --- a/configs/openmrs/initializer_config/globalproperties/globalproperties-core_data.xml +++ b/configs/openmrs/initializer_config/globalproperties/globalproperties-core_data.xml @@ -12,6 +12,10 @@ visits.assignmentHandler org.openmrs.api.handler.ExistingVisitAssignmentHandler + + idgen.prefixLocationAttributeType + id_prefix +