use of com.nedap.archie.rm.datavalues.TermMapping in project ehrbase by ehrbase.
the class PersistentTermMapping method termMappingRepresentation.
public String[] termMappingRepresentation(List<TermMapping> termMappings) {
List<String> dvCodedTextTermMappingRecords = new ArrayList<>();
for (TermMapping termMapping : termMappings) {
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append(new PersistentTermMapping(termMapping).encodeAsString());
dvCodedTextTermMappingRecords.add(stringBuilder.toString());
}
return dvCodedTextTermMappingRecords.toArray(new String[] {});
}
Aggregations