public boolean hasSignature() { if (this.signature == null) return false; for (Signature item : this.signature) if (!item.isEmpty()) return true; return false; }
public boolean hasSignature() { if (this.signature == null) return false; for (Signature item : this.signature) if (!item.isEmpty()) return true; return false; }
public boolean hasSignature() { return this.signature != null && !this.signature.isEmpty(); }
public org.hl7.fhir.instance.model.Signature convertSignature(org.hl7.fhir.dstu3.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Signature tgt = new org.hl7.fhir.instance.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.dstu3.model.Coding t : src.getType()) tgt.addType(convertCoding(t)); tgt.setWhen(src.getWhen()); tgt.setWho(convertType(src.getWho())); tgt.setContentType(src.getContentType()); tgt.setBlob(src.getBlob()); return tgt; }
public static org.hl7.fhir.dstu2016may.model.Signature convertSignature(org.hl7.fhir.dstu3.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.Signature tgt = new org.hl7.fhir.dstu2016may.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.dstu3.model.Coding t : src.getType()) tgt.addType(convertCoding(t)); tgt.setWhen(src.getWhen()); tgt.setWho(convertType(src.getWho())); if (src.hasContentType()) tgt.setContentType(src.getContentType()); if (src.hasBlob()) tgt.setBlob(src.getBlob()); return tgt; }
public org.hl7.fhir.instance.model.Signature convertSignature(org.hl7.fhir.dstu3.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Signature tgt = new org.hl7.fhir.instance.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.dstu3.model.Coding t : src.getType()) tgt.addType(convertCoding(t)); tgt.setWhen(src.getWhen()); tgt.setWho(convertType(src.getWho())); tgt.setContentType(src.getContentType()); tgt.setBlob(src.getBlob()); return tgt; }
public static org.hl7.fhir.dstu2016may.model.Signature convertSignature(org.hl7.fhir.dstu3.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.Signature tgt = new org.hl7.fhir.dstu2016may.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.dstu3.model.Coding t : src.getType()) tgt.addType(convertCoding(t)); tgt.setWhen(src.getWhen()); tgt.setWho(convertType(src.getWho())); if (src.hasContentType()) tgt.setContentType(src.getContentType()); if (src.hasBlob()) tgt.setBlob(src.getBlob()); return tgt; }