public Attachment addPresentedForm() { //3 Attachment t = new Attachment(); if (this.presentedForm == null) this.presentedForm = new ArrayList<Attachment>(); this.presentedForm.add(t); return t; }
public Attachment addImage() { //3 Attachment t = new Attachment(); if (this.image == null) this.image = new ArrayList<Attachment>(); this.image.add(t); return t; }
public Attachment addPhoto() { //3 Attachment t = new Attachment(); if (this.photo == null) this.photo = new ArrayList<Attachment>(); this.photo.add(t); return t; }
if (this.photo == null) this.photo = new ArrayList<Attachment>(); this.photo.add(t); return t; } public Practitioner addPhoto(Attachment t) { //3 if (t == null)
public Attachment addPhoto() { //3 Attachment t = new Attachment(); if (this.photo == null) this.photo = new ArrayList<Attachment>(); this.photo.add(t); return t; }
/** * @return {@link #value} (The answer (or one of the answers) provided by the respondent to the question.) */ public Attachment getValueAttachment() throws FHIRException { if (this.value == null) this.value = new Attachment(); if (!(this.value instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.value.getClass().getName()+" was encountered"); return (Attachment) this.value; }
/** * @return {@link #source} (The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.) */ public Attachment getSourceAttachment() throws FHIRException { if (this.source == null) this.source = new Attachment(); if (!(this.source instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.source.getClass().getName()+" was encountered"); return (Attachment) this.source; }
/** * @return {@link #content} (Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).) */ public Attachment getContentAttachment() throws FHIRException { if (this.content == null) this.content = new Attachment(); if (!(this.content instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.content.getClass().getName()+" was encountered"); return (Attachment) this.content; }
/** * @return {@link #content} (A communicated content (or for multi-part communications, one portion of the communication).) */ public Attachment getContentAttachment() throws FHIRException { if (this.content == null) this.content = new Attachment(); if (!(this.content instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.content.getClass().getName()+" was encountered"); return (Attachment) this.content; }
/** * @return {@link #legallyBinding} (Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.) */ public Attachment getLegallyBindingAttachment() throws FHIRException { if (this.legallyBinding == null) this.legallyBinding = new Attachment(); if (!(this.legallyBinding instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.legallyBinding.getClass().getName()+" was encountered"); return (Attachment) this.legallyBinding; }
/** * @return {@link #value} (Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.) */ public Attachment getValueAttachment() throws FHIRException { if (this.value == null) this.value = new Attachment(); if (!(this.value instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.value.getClass().getName()+" was encountered"); return (Attachment) this.value; }
/** * @return {@link #value} (Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.) */ public Attachment getValueAttachment() throws FHIRException { if (this.value == null) this.value = new Attachment(); if (!(this.value instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.value.getClass().getName()+" was encountered"); return (Attachment) this.value; }
/** * @return {@link #content} (Contract legal text in human renderable form.) */ public Attachment getContentAttachment() throws FHIRException { if (this.content == null) this.content = new Attachment(); if (!(this.content instanceof Attachment)) throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.content.getClass().getName()+" was encountered"); return (Attachment) this.content; }
/** * @return {@link #sequenceAttachment} (The sequence information shall be provided enumerating the amino acids from N- to C-terminal end using standard single-letter amino acid codes. Uppercase shall be used for L-amino acids and lowercase for D-amino acids. Transcribed SubstanceProteins will always be described using the translated sequence; for synthetic peptide containing amino acids that are not represented with a single letter code an X should be used within the sequence. The modified amino acids will be distinguished by their position in the sequence.) */ public Attachment getSequenceAttachment() { if (this.sequenceAttachment == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstanceProteinSubunitComponent.sequenceAttachment"); else if (Configuration.doAutoCreate()) this.sequenceAttachment = new Attachment(); // cc return this.sequenceAttachment; }
/** * @return {@link #attachment} (Todo.) */ public Attachment getAttachment() { if (this.attachment == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstancePolymerRepeatRepeatUnitStructuralRepresentationComponent.attachment"); else if (Configuration.doAutoCreate()) this.attachment = new Attachment(); // cc return this.attachment; }
/** * @return {@link #document} (The document being referenced, represented as an attachment. This is exclusive with the resource element.) */ public Attachment getDocument() { if (this.document == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create RelatedArtifact.document"); else if (Configuration.doAutoCreate()) this.document = new Attachment(); // cc return this.document; }
/** * @return {@link #attachment} (The document or URL of the document along with critical metadata to prove content has integrity.) */ public Attachment getAttachment() { if (this.attachment == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DocumentReferenceContentComponent.attachment"); else if (Configuration.doAutoCreate()) this.attachment = new Attachment(); // cc return this.attachment; }
/** * @return {@link #photo} (If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list.) */ public Attachment getPhoto() { if (this.photo == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create HealthcareService.photo"); else if (Configuration.doAutoCreate()) this.photo = new Attachment(); // cc return this.photo; }
/** * @return {@link #content} (The actual content of the media - inline or by direct reference to the media source file.) */ public Attachment getContent() { if (this.content == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Media.content"); else if (Configuration.doAutoCreate()) this.content = new Attachment(); // cc return this.content; }
public Attachment copy() { Attachment dst = new Attachment(); copyValues(dst); dst.contentType = contentType == null ? null : contentType.copy(); dst.language = language == null ? null : language.copy(); dst.data = data == null ? null : data.copy(); dst.url = url == null ? null : url.copy(); dst.size = size == null ? null : size.copy(); dst.hash = hash == null ? null : hash.copy(); dst.title = title == null ? null : title.copy(); dst.creation = creation == null ? null : creation.copy(); return dst; }