Skip to main content


class HS.FHIR.DTL.vDSTU2.Model.Base.Element extends %Library.RegisteredObject, HS.FHIR.DTL.Util.JSON.Adapter, HS.FHIR.DTL.Util.XML.Adapter, %XML.Adaptor

The base definition for all elements contained inside a resource.

Property Inventory


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 = Element;
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.
parameter XMLTYPE = Element;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type.

The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.


property extension as list of HS.FHIR.DTL.vDSTU2.Model.Base.Extension (XMLNAME = "extension", XMLPROJECTION = "ELEMENT");

Additional Content defined by implementations.

Property methods: extensionBuildValueArray(), extensionCollectionToDisplay(), extensionCollectionToOdbc(), extensionDisplayToCollection(), extensionGet(), extensionGetObject(), extensionGetObjectId(), extensionGetSwizzled(), extensionIsValid(), extensionOdbcToCollection(), extensionSet(), extensionSetObject(), extensionSetObjectId()
property id as %String (MAXLEN = 1000000, XMLNAME = "id", XMLPROJECTION = "ATTRIBUTE");

xml:id (or equivalent in JSON)

Property methods: idDisplayToLogical(), idGet(), idIsValid(), idLogicalToDisplay(), idLogicalToOdbc(), idNormalize(), idSet()
property newResource as list of HS.FHIR.DTL.vDSTU2.Model.Base.Resource;
Generated property, not a FHIR element: Storage space for 'contained' resources that are actually separate from the parent, and need to be serialized as separate objects.
Property methods: newResourceBuildValueArray(), newResourceCollectionToDisplay(), newResourceCollectionToOdbc(), newResourceDisplayToCollection(), newResourceGet(), newResourceGetObject(), newResourceGetObjectId(), newResourceGetSwizzled(), newResourceIsValid(), newResourceOdbcToCollection(), newResourceSet(), newResourceSetObject(), newResourceSetObjectId()
property newResourceReference as %String;
Generated property, not a FHIR element: Storage space for the location the corresponding newResource entry reference should be stored in after adding it to a repository
Property methods: newResourceReferenceDisplayToLogical(), newResourceReferenceGet(), newResourceReferenceIsValid(), newResourceReferenceLogicalToDisplay(), newResourceReferenceLogicalToOdbc(), newResourceReferenceNormalize(), newResourceReferenceSet()
property primitiveExtension as list of HS.FHIR.DTL.vDSTU2.Model.Base.Extension;
Generated property, not a FHIR element: Storage space for extensions of any elements that have a primitive data type.
Property methods: primitiveExtensionBuildValueArray(), primitiveExtensionCollectionToDisplay(), primitiveExtensionCollectionToOdbc(), primitiveExtensionDisplayToCollection(), primitiveExtensionGet(), primitiveExtensionGetObject(), primitiveExtensionGetObjectId(), primitiveExtensionGetSwizzled(), primitiveExtensionIsValid(), primitiveExtensionOdbcToCollection(), primitiveExtensionSet(), primitiveExtensionSetObject(), primitiveExtensionSetObjectId()

Inherited Members

Inherited Methods


FeedbackOpens in a new tab