From 5c98b7df80fc663619ba8ca793e7aec0983abedc Mon Sep 17 00:00:00 2001 From: Niklas Reimer Date: Tue, 5 Mar 2024 18:49:47 +0100 Subject: [PATCH] fix point event --- src/main/java/de/uksh/medic/etl/openehrmapper/Generator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/uksh/medic/etl/openehrmapper/Generator.java b/src/main/java/de/uksh/medic/etl/openehrmapper/Generator.java index 3cd6619..7cd9bcc 100644 --- a/src/main/java/de/uksh/medic/etl/openehrmapper/Generator.java +++ b/src/main/java/de/uksh/medic/etl/openehrmapper/Generator.java @@ -84,7 +84,7 @@ public static void processAttributeChildren(String path, String name, Object jso return; } String type = "gen_" + children.item(i).getFirstChild().getTextContent(); - type = type.replaceAll("[^A-Za-z_]+", "_"); + type = type.replaceAll("[^A-Za-z_]+", "_").replace("POINT_", ""); Method met; try { met = Generator.class.getMethod(type, String.class, String.class, Object.class,