Skip to main content

HS.FHIR.vSTU3.Model.Base.Attachment

deprecated class HS.FHIR.vSTU3.Model.Base.Attachment extends HS.FHIR.vSTU3.Model.Base.Element

THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
For referring to data content defined in other formats.
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Property Inventory

Method Inventory

Parameters

parameter ELEMENTQUALIFIED = 1;
Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute. NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.
parameter JSONTYPEFIELD;
Inherited description: Type property name for JSON export.
parameter XMLNAME = Attachment;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.

Properties

property contentType as HS.FHIR.vSTU3.Model.Datatype.Code (XMLNAME = "contentType", XMLPROJECTION = "ELEMENT");
Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
Property methods: contentTypeGet(), contentTypeGetSwizzled(), contentTypeIsValid(), contentTypeNewObject(), contentTypeSet()
property creation as HS.FHIR.vSTU3.Model.Datatype.DateTime (XMLNAME = "creation", XMLPROJECTION = "ELEMENT");
The date that the attachment was first created.
Property methods: creationGet(), creationGetSwizzled(), creationIsValid(), creationNewObject(), creationSet()
property data as HS.FHIR.vSTU3.Model.Datatype.Base64Binary (XMLNAME = "data", XMLPROJECTION = "ELEMENT");
The actual data of the attachment - a sequence of bytes. In XML, represented using base64.
Property methods: dataGet(), dataGetSwizzled(), dataIsValid(), dataNewObject(), dataSet()
property hash as HS.FHIR.vSTU3.Model.Datatype.Base64Binary (XMLNAME = "hash", XMLPROJECTION = "ELEMENT");
The calculated hash of the data using SHA-1. Represented using base64.
Property methods: hashGet(), hashGetSwizzled(), hashIsValid(), hashNewObject(), hashSet()
property language as HS.FHIR.vSTU3.Model.Datatype.Code (XMLNAME = "language", XMLPROJECTION = "ELEMENT");
The human language of the content. The value can be any valid value according to BCP 47.
Property methods: languageGet(), languageGetSwizzled(), languageIsValid(), languageNewObject(), languageSet()
property size as HS.FHIR.vSTU3.Model.Datatype.UnsignedInt (XMLNAME = "size", XMLPROJECTION = "ELEMENT");
The number of bytes of data that make up this attachment (before base64 encoding, if that is done).
Property methods: sizeGet(), sizeGetSwizzled(), sizeIsValid(), sizeNewObject(), sizeSet()
property title as HS.FHIR.vSTU3.Model.Datatype.String (XMLNAME = "title", XMLPROJECTION = "ELEMENT");
A label or set of text to display in place of the data.
Property methods: titleGet(), titleGetSwizzled(), titleIsValid(), titleNewObject(), titleSet()
property url as HS.FHIR.vSTU3.Model.Datatype.Uri (XMLNAME = "url", XMLPROJECTION = "ELEMENT");
An alternative location where the data can be accessed.
Property methods: urlGet(), urlGetSwizzled(), urlIsValid(), urlNewObject(), urlSet()

Methods

deprecated method %OnNew(pContentType As %String, pLanguage As %String, pData As %String, pUrl As %String, pSize As %String, pHash As %String, pTitle As %String, pCreation As %String, pId As %String, pExtension As %RegisteredObject) as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Get new object, populated with specified data.
deprecated method SetContentType(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "contentType" property.
deprecated method SetCreation(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "creation" property.
deprecated method SetData(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "data" property.
deprecated method SetHash(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "hash" property.
deprecated method SetLanguage(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "language" property.
deprecated method SetSize(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "size" property.
deprecated method SetTitle(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "title" property.
deprecated method SetUrl(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "url" property.

Inherited Members

Inherited Properties

Inherited Methods

Feedback