private static EventID[] toEventIDArray(String... ss) { EventID[] a = new EventID[ss.length]; for (int i = 0; i < ss.length; i++) { Code code = new Code(ss[i]); a[i] = new EventID(); a[i].setCsdCode(code.getCodeValue()); a[i].setCodeSystemName(code.getCodingSchemeDesignator()); a[i].setOriginalText(code.getCodeMeaning()); } return a; }
private static EventID[] toEventIDArray(String... ss) { EventID[] a = new EventID[ss.length]; for (int i = 0; i < ss.length; i++) { Code code = new Code(ss[i]); a[i] = new EventID(); a[i].setCsdCode(code.getCodeValue()); a[i].setCodeSystemName(code.getCodingSchemeDesignator()); a[i].setOriginalText(code.getCodeMeaning()); } return a; }