Search in sources :

Example 1 with StringPair

use of org.hl7.fhir.definitions.model.ResourceDefn.StringPair in project kindling by HL7.

the class MappingsGenerator method genInherited.

private void genInherited(StringBuilder s, ResourceDefn resource, String m) {
    for (StringPair t : resource.getMappings(m)) {
        s.append(" <tr><td><i>");
        s.append("&nbsp;");
        s.append("&nbsp;(");
        s.append(t.name.contains(".") ? t.name.substring(t.name.indexOf(".") + 1) : t.name);
        s.append(")</i></td><td>" + Utilities.escapeXml(t.value).replace("\n", "<br/>\n") + "</td></tr>\r\n");
    }
}
Also used : StringPair(org.hl7.fhir.definitions.model.ResourceDefn.StringPair)

Aggregations

StringPair (org.hl7.fhir.definitions.model.ResourceDefn.StringPair)1