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 c999719..3ba9ea5 100644 --- a/src/main/java/de/uksh/medic/etl/openehrmapper/Generator.java +++ b/src/main/java/de/uksh/medic/etl/openehrmapper/Generator.java @@ -479,7 +479,20 @@ public static void gen_DV_CODED_TEXT(String path, String name, Object jsonmap, } - // DV_PARAGRAPH + // public static void gen_DV_PARAGRAPH(String path, String name, Object jsonmap, + // Map> map) + // throws Exception { + // if (!map.containsKey(name)) { + // return; + // } + // List dts = new ArrayList<>(); + // for(String s : map.get(name)) { + // dts.add(new DvText(s)); + // } + // DvParagraph dp = new DvParagraph(); + // dp.setItems(dts); + // ((Element) jsonmap).setValue(dp); + // } // Quantity Class descriptions // https://specifications.openehr.org/releases/RM/latest/data_types.html#_class_descriptions_3