public boolean hasAgent() { return this.agent != null && !this.agent.isEmpty(); }
public boolean isEmpty() { return super.isEmpty() && (role == null || role.isEmpty()) && (type == null || type.isEmpty()) && (reference == null || reference.isEmpty()) && (display == null || display.isEmpty()) && (agent == null || agent.isEmpty()) ; }
public boolean hasAgent() { if (this.agent == null) return false; for (ProvenanceAgentComponent item : this.agent) if (!item.isEmpty()) return true; return false; }
public org.hl7.fhir.dstu3.model.Provenance.ProvenanceAgentComponent convertProvenanceAgentComponent(org.hl7.fhir.instance.model.Provenance.ProvenanceAgentComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Provenance.ProvenanceAgentComponent tgt = new org.hl7.fhir.dstu3.model.Provenance.ProvenanceAgentComponent(); copyElement(src, tgt); // tgt.setRole(convertCoding(src.getRole())); tgt.setWho(convertReference(src.getActor())); return tgt; }
public boolean hasAgent() { return this.agent != null && !this.agent.isEmpty(); }
public boolean isEmpty() { return super.isEmpty() && (role == null || role.isEmpty()) && (type == null || type.isEmpty()) && (reference == null || reference.isEmpty()) && (display == null || display.isEmpty()) && (agent == null || agent.isEmpty()) ; }
public org.hl7.fhir.dstu3.model.Provenance.ProvenanceAgentComponent convertProvenanceAgentComponent(org.hl7.fhir.instance.model.Provenance.ProvenanceAgentComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Provenance.ProvenanceAgentComponent tgt = new org.hl7.fhir.dstu3.model.Provenance.ProvenanceAgentComponent(); copyElement(src, tgt); // tgt.setRole(convertCoding(src.getRole())); tgt.setWho(convertReference(src.getActor())); return tgt; }
public boolean hasAgent() { if (this.agent == null) return false; for (ProvenanceAgentComponent item : this.agent) if (!item.isEmpty()) return true; return false; }