public org.hl7.fhir.dstu3.model.Contract.SignatoryComponent convertSignatoryComponent(org.hl7.fhir.instance.model.Contract.SignatoryComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Contract.SignatoryComponent tgt = new org.hl7.fhir.dstu3.model.Contract.SignatoryComponent(); copyElement(src, tgt); tgt.setType(convertCoding(src.getType())); tgt.setParty(convertReference(src.getParty())); if (src.hasSignature()) tgt.addSignature(new org.hl7.fhir.dstu3.model.Signature().setBlob(src.getSignature().getBytes())); return tgt; }
public org.hl7.fhir.dstu3.model.Signature convertSignature(org.hl7.fhir.instance.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Signature tgt = new org.hl7.fhir.dstu3.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.instance.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 Signature addSignature() { //3 Signature t = new Signature(); if (this.signature == null) this.signature = new ArrayList<Signature>(); this.signature.add(t); return t; }
public Signature addSignature() { //3 Signature t = new Signature(); if (this.signature == null) this.signature = new ArrayList<Signature>(); this.signature.add(t); return t; }
public static org.hl7.fhir.dstu3.model.Signature convertSignature(org.hl7.fhir.dstu2016may.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Signature tgt = new org.hl7.fhir.dstu3.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.dstu2016may.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; }
/** * @return {@link #signature} (Digital Signature - base64 encoded. XML-DSIg or a JWT.) */ public Signature getSignature() { if (this.signature == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Bundle.signature"); else if (Configuration.doAutoCreate()) this.signature = new Signature(); // cc return this.signature; }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { this.identifier = new Identifier(); return this.identifier; } else if (name.equals("type")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.type"); } else if (name.equals("total")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.total"); } else if (name.equals("link")) { return addLink(); } else if (name.equals("entry")) { return addEntry(); } else if (name.equals("signature")) { this.signature = new Signature(); return this.signature; } else return super.addChild(name); }
public Signature copy() { Signature dst = new Signature(); copyValues(dst); if (type != null) { dst.type = new ArrayList<Coding>(); for (Coding i : type) dst.type.add(i.copy()); }; dst.when = when == null ? null : when.copy(); dst.who = who == null ? null : who.copy(); dst.onBehalfOf = onBehalfOf == null ? null : onBehalfOf.copy(); dst.contentType = contentType == null ? null : contentType.copy(); dst.blob = blob == null ? null : blob.copy(); return dst; }
return new SampledData(); else if (name.equals("Signature")) return new Signature(); else if (name.equals("HumanName")) return new HumanName();
this.value = new Signature(); return this.value;
this.value = new Signature(); return this.value;
return new BooleanType(); if ("Signature".equals(name)) return new Signature(); if ("unsignedInt".equals(name)) return new UnsignedIntType();
this.value = new Signature(); return this.value;
this.defaultValue = new Signature(); return this.defaultValue;
this.value = new Signature(); return this.value;
this.value = new Signature(); return this.value;
public org.hl7.fhir.dstu3.model.Contract.SignatoryComponent convertSignatoryComponent(org.hl7.fhir.instance.model.Contract.SignatoryComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Contract.SignatoryComponent tgt = new org.hl7.fhir.dstu3.model.Contract.SignatoryComponent(); copyElement(src, tgt); tgt.setType(convertCoding(src.getType())); tgt.setParty(convertReference(src.getParty())); if (src.hasSignature()) tgt.addSignature(new org.hl7.fhir.dstu3.model.Signature().setBlob(src.getSignature().getBytes())); return tgt; }
public org.hl7.fhir.dstu3.model.Signature convertSignature(org.hl7.fhir.instance.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Signature tgt = new org.hl7.fhir.dstu3.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.instance.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.dstu3.model.Signature convertSignature(org.hl7.fhir.dstu2016may.model.Signature src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Signature tgt = new org.hl7.fhir.dstu3.model.Signature(); copyElement(src, tgt); for (org.hl7.fhir.dstu2016may.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; }
case 1414192097: return new Sequence(); case 194378184: return new ServiceDefinition(); case -1217415016: return new Signature(); case -1097468803: return new SimpleQuantity(); case 2579998: return new Slot();