} else if ("device_class".equals(annotation.type)) {
String code = stringSlots.remove("associatedCode");
ProcedureDevice attribute = new ProcedureDevice(jCas);
attribute.setValue(code);
ProcedureDeviceModifier modifier = new ProcedureDeviceModifier(jCas, coveringSpan.begin, coveringSpan.end);
modifier.setNormalizedForm(attribute);
modifier.addToIndexes();
idAnnotationMap.put(annotation.id, modifier);
} else if ("method_class".equals(annotation.type)) {
String code = stringSlots.remove("associatedCode");
ProcedureMethod attribute = new ProcedureMethod(jCas);
attribute.setValue(code);
ProcedureMethodModifier modifier = new ProcedureMethodModifier(jCas, coveringSpan.begin, coveringSpan.end);
modifier.setNormalizedForm(attribute);
modifier.addToIndexes();
idAnnotationMap.put(annotation.id, modifier);
} else if ("severity_class".equals(annotation.type)) {
Severity attribute = new Severity(jCas);
attribute.setValue(stringSlots.remove("severity_normalization"));
attribute.addToIndexes();
SeverityModifier modifier = new SeverityModifier(jCas, coveringSpan.begin, coveringSpan.end);
modifier.setTypeID(CONST.MODIFIER_TYPE_ID_SEVERITY_CLASS);
modifier.setNormalizedForm(attribute);
modifier.addToIndexes();
idAnnotationMap.put(annotation.id, modifier);
} else if ("Date".equals(annotation.type)) {
String month = stringSlots.remove("month");
String day = stringSlots.remove("day");