Exemplo n.º 1
0
 protected void codedTriple(Subject subject, String predicate, CodeableConcept cc) {
   for (Coding c : cc.getCoding()) {
     String s = getLinkedForm(c);
     if (s != null)
       subject.predicate(
           predicate, new StringType(s), c.hasDisplay() ? c.getDisplay() : cc.getText());
   }
 }
Exemplo n.º 2
0
 protected void codedTriple(
     Section section, String subject, String predicate, CodeableConcept cc) {
   for (Coding c : cc.getCoding()) {
     String s = getLinkedForm(c);
     if (s != null)
       section.triple(subject, predicate, s, c.hasDisplay() ? c.getDisplay() : cc.getText());
   }
 }