diff --git a/appointment-import/src/main/java/smash/appointment/parse/RedcapCalendarParser.java b/appointment-import/src/main/java/smash/appointment/parse/RedcapCalendarParser.java index 41a5d791d53a07ad39a1fc3c35db84bb9d3ebd1d..7175ed8d4604f90f76463705a77c1f5dcb58db7f 100644 --- a/appointment-import/src/main/java/smash/appointment/parse/RedcapCalendarParser.java +++ b/appointment-import/src/main/java/smash/appointment/parse/RedcapCalendarParser.java @@ -107,6 +107,14 @@ public class RedcapCalendarParser { query = query.substring(index); if (query.startsWith("_lev a_")) { collection = AppointmentTypeCollection.LEVEL_A; + } else { + index = query.indexOf("_", 1); + if (index >= 0) { + query = query.substring(index); + if (query.startsWith("_lev a_")) { + collection = AppointmentTypeCollection.LEVEL_A; + } + } } } if (collection == null) {