public boolean hasImage() { if (this.image == null) return false; for (Attachment item : this.image) if (!item.isEmpty()) return true; return false; }
public boolean hasPresentedForm() { if (this.presentedForm == null) return false; for (Attachment item : this.presentedForm) if (!item.isEmpty()) return true; return false; }
public boolean hasPhoto() { if (this.photo == null) return false; for (Attachment item : this.photo) if (!item.isEmpty()) return true; return false; }
public boolean hasAttachment() { return this.attachment != null && !this.attachment.isEmpty(); }
public boolean hasForm() { return this.form != null && !this.form.isEmpty(); }
public boolean hasPhoto() { if (this.photo == null) return false; for (Attachment item : this.photo) if (!item.isEmpty()) return true; return false; }
public boolean hasImage() { if (this.image == null) return false; for (Attachment item : this.image) if (!item.isEmpty()) return true; return false; }
return false; for (Attachment item : this.photo) if (!item.isEmpty()) return true; return false; } public Attachment addPhoto() { //3 Attachment t = new Attachment();
public boolean hasContent() { if (this.content == null) return false; for (Attachment item : this.content) if (!item.isEmpty()) return true; return false; }
public boolean hasPhoto() { return this.photo != null && !this.photo.isEmpty(); }
public boolean hasSequenceAttachment() { return this.sequenceAttachment != null && !this.sequenceAttachment.isEmpty(); }
public boolean hasContent() { return this.content != null && !this.content.isEmpty(); }
public boolean hasAttachment() { return this.attachment != null && !this.attachment.isEmpty(); }
public boolean hasSequenceAttachment() { return this.sequenceAttachment != null && !this.sequenceAttachment.isEmpty(); }
public boolean hasAttachment() { return this.attachment != null && !this.attachment.isEmpty(); }
public boolean hasPhoto() { return this.photo != null && !this.photo.isEmpty(); }
public boolean hasDocument() { return this.document != null && !this.document.isEmpty(); }
public boolean hasForm() { return this.form != null && !this.form.isEmpty(); }
public org.hl7.fhir.instance.model.Attachment convertAttachment(org.hl7.fhir.r4.model.Attachment src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Attachment tgt = new org.hl7.fhir.instance.model.Attachment(); copyElement(src, tgt); tgt.setContentType(src.getContentType()); tgt.setLanguage(src.getLanguage()); tgt.setData(src.getData()); tgt.setUrl(src.getUrl()); tgt.setSize(src.getSize()); tgt.setHash(src.getHash()); tgt.setTitle(src.getTitle()); tgt.setCreation(src.getCreation()); return tgt; }
public static org.hl7.fhir.dstu2016may.model.Attachment convertAttachment(org.hl7.fhir.r4.model.Attachment src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.Attachment tgt = new org.hl7.fhir.dstu2016may.model.Attachment(); copyElement(src, tgt); if (src.hasContentType()) tgt.setContentType(src.getContentType()); if (src.hasLanguage()) tgt.setLanguage(src.getLanguage()); if (src.hasData()) tgt.setData(src.getData()); if (src.hasUrl()) tgt.setUrl(src.getUrl()); if (src.hasSize()) tgt.setSize(src.getSize()); if (src.hasHash()) tgt.setHash(src.getHash()); if (src.hasTitle()) tgt.setTitle(src.getTitle()); if (src.hasCreation()) tgt.setCreation(src.getCreation()); return tgt; }