use of org.hl7.fhir.definitions.model.DefinedCode in project kindling by HL7.
the class CodeListParser method processLine.
private void processLine(List<DefinedCode> codes, String[] titles, String[] values) throws Exception {
DefinedCode c = new DefinedCode();
c.setId(getColumn(titles, values, "Id"));
c.setCode(getColumn(titles, values, "Code"));
c.setDefinition(Utilities.appendPeriod(getColumn(titles, values, "Definition")));
c.setComment(Utilities.appendPeriod(getColumn(titles, values, "Comment")));
c.setParent(getColumn(titles, values, "Parent"));
c.setAbstract(getColumn(titles, values, "Abstract").toUpperCase().equals("Y"));
codes.add(c);
}
Aggregations