use of org.hl7.fhir.r4b.model.Enumerations.FilterOperator in project org.hl7.fhir.core by hapifhir.
the class CodeSystemSpreadsheetGenerator method addFilters.
private void addFilters(List<CodeSystemFilterComponent> filters) {
Sheet sheet = makeSheet("Filters");
addHeaders(sheet, "Code", "Description", "Operators", "Value");
for (CodeSystemFilterComponent f : filters) {
CommaSeparatedStringBuilder cs = new CommaSeparatedStringBuilder();
for (Enumeration<FilterOperator> op : f.getOperator()) {
cs.append(op.asStringValue());
}
addRow(sheet, f.getCode(), f.getDescription(), cs.toString(), f.getValue());
}
}
use of org.hl7.fhir.r4b.model.Enumerations.FilterOperator in project org.hl7.fhir.core by hapifhir.
the class CodeSystemSpreadsheetGenerator method addFilters.
private void addFilters(List<CodeSystemFilterComponent> filters) {
Sheet sheet = makeSheet("Filters");
addHeaders(sheet, "Code", "Description", "Operators", "Value");
for (CodeSystemFilterComponent f : filters) {
CommaSeparatedStringBuilder cs = new CommaSeparatedStringBuilder();
for (Enumeration<FilterOperator> op : f.getOperator()) {
cs.append(op.asStringValue());
}
addRow(sheet, f.getCode(), f.getDescription(), cs.toString(), f.getValue());
}
}
Aggregations