Skip to main content


class HS.FHIR.DTL.vR4.Model.Base.DomainResource extends HS.FHIR.DTL.vR4.Model.Base.Resource

A resource with narrative, extensions, and contained resources.

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 = DomainResource;
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 = DomainResource;
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 contained as list of HS.FHIR.DTL.vR4.Model.Base.Resource (XMLNAME = "contained", XMLPROJECTION = "ELEMENT");

Contained, inline Resources.

Property methods: containedBuildValueArray(), containedCollectionToDisplay(), containedCollectionToOdbc(), containedDisplayToCollection(), containedGet(), containedGetObject(), containedGetObjectId(), containedGetSwizzled(), containedIsValid(), containedOdbcToCollection(), containedSet(), containedSetObject(), containedSetObjectId()
property extension as list of HS.FHIR.DTL.vR4.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;
Property methods: idDisplayToLogical(), idGet(), idIsValid(), idLogicalToDisplay(), idLogicalToOdbc(), idNormalize(), idSet()
property implicitRules as %String (MAXLEN = 1000000, XMLNAME = "implicitRules", XMLPROJECTION = "ATTRIBUTE");

A set of rules under which this content was created.

Property methods: implicitRulesDisplayToLogical(), implicitRulesGet(), implicitRulesIsValid(), implicitRulesLogicalToDisplay(), implicitRulesLogicalToOdbc(), implicitRulesNormalize(), implicitRulesSet()
property language as %String (MAXLEN = 1000000, XMLNAME = "language", XMLPROJECTION = "ATTRIBUTE");

Language of the resource content.

languages is the PREFERRED FHIR4 ValueSet for codes, but if you need to express meanings not found in languages, you may use codes from any ValueSet.

Property methods: languageDisplayToLogical(), languageGet(), languageIsValid(), languageLogicalToDisplay(), languageLogicalToOdbc(), languageNormalize(), languageSet()
property meta as HS.FHIR.DTL.vR4.Model.Base.Meta (XMLNAME = "meta", XMLPROJECTION = "ELEMENT");

Metadata about the resource.

Property methods: metaGet(), metaGetSwizzled(), metaIsValid(), metaNewObject(), metaSet()
property modifierExtension as list of HS.FHIR.DTL.vR4.Model.Base.Extension (XMLNAME = "modifierExtension", XMLPROJECTION = "ELEMENT");

Extensions that cannot be ignored.

Property methods: modifierExtensionBuildValueArray(), modifierExtensionCollectionToDisplay(), modifierExtensionCollectionToOdbc(), modifierExtensionDisplayToCollection(), modifierExtensionGet(), modifierExtensionGetObject(), modifierExtensionGetObjectId(), modifierExtensionGetSwizzled(), modifierExtensionIsValid(), modifierExtensionOdbcToCollection(), modifierExtensionSet(), modifierExtensionSetObject(), modifierExtensionSetObjectId()
property text as HS.FHIR.DTL.vR4.Model.Base.Narrative (XMLNAME = "text", XMLPROJECTION = "ELEMENT");

Text summary of the resource, for human interpretation.

Property methods: textGet(), textGetSwizzled(), textIsValid(), textNewObject(), textSet()

Inherited Members

Inherited Properties

Inherited Methods


FeedbackOpens in a new tab