Skip to main content

HS.FHIR.vSTU3.Model.Resource.Binary

deprecated class HS.FHIR.vSTU3.Model.Resource.Binary extends HS.FHIR.vSTU3.Model.Base.Resource

THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
A binary resource can contain any content, whether text, image, pdf, zip archive, etc.
If the element is present, it must have either a @value, an @id, 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 XMLNAME = Binary;
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 content as HS.FHIR.vSTU3.Model.Datatype.Base64Binary (XMLNAME = "content", XMLPROJECTION = "ELEMENT") [ Required ];
The actual content, base64 encoded.
Property methods: contentGet(), contentGetSwizzled(), contentIsValid(), contentNewObject(), contentSet()
property contentType as HS.FHIR.vSTU3.Model.Datatype.Code (XMLNAME = "contentType", XMLPROJECTION = "ELEMENT") [ Required ];
MimeType of the binary content represented as a standard MimeType (BCP 13).
Property methods: contentTypeGet(), contentTypeGetSwizzled(), contentTypeIsValid(), contentTypeNewObject(), contentTypeSet()
property securityContext as HS.FHIR.vSTU3.Model.Base.Reference (XMLNAME = "securityContext", XMLPROJECTION = "ELEMENT");
Treat this binary as if it was this other resource for access control purposes.
Property methods: securityContextGet(), securityContextGetSwizzled(), securityContextIsValid(), securityContextNewObject(), securityContextSet()

Methods

deprecated method SetContent(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 "content" property.
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 SetSecurityContext(pReference As %String = "", pDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "securityContext" property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab