Skip to main content


class HS.FHIR.DTL.vDSTU2.Model.Datatype.SampledData extends HS.FHIR.DTL.vDSTU2.Model.Base.Element

Data that comes from a series of measurements taken by a device, which may have upper and lower limits. The data type also supports more than one dimension in the data. A SampledData provides a concise way to handle the data produced by devices that sample a particular physical state at a high frequency. A typical use for this is for the output of an ECG or EKG device. The data type includes a series of raw decimal values (which are mostly simple integers), along with adjustments for scale and factor.

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 = SampledData;
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 = SampledData;
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 data as %String (MAXLEN = 1000000, XMLNAME = "data", XMLPROJECTION = "ATTRIBUTE") [ Required ];

Decimal values with spaces, or "E" | "U" | "L"

Property methods: dataDisplayToLogical(), dataGet(), dataIsValid(), dataLogicalToDisplay(), dataLogicalToOdbc(), dataNormalize(), dataSet()
property dimensions as %Integer (XMLNAME = "dimensions", XMLPROJECTION = "ATTRIBUTE") [ Required ];

Number of sample points at each time point.

Property methods: dimensionsDisplayToLogical(), dimensionsGet(), dimensionsIsValid(), dimensionsLogicalToDisplay(), dimensionsNormalize(), dimensionsSet(), dimensionsXSDToLogical()
property factor as %Decimal (XMLNAME = "factor", XMLPROJECTION = "ATTRIBUTE");

Multiply data by this before adding to origin.

Property methods: factorDisplayToLogical(), factorGet(), factorIsValid(), factorLogicalToDisplay(), factorNormalize(), factorSet(), factorXSDToLogical()
property lowerLimit as %Decimal (XMLNAME = "lowerLimit", XMLPROJECTION = "ATTRIBUTE");

Lower limit of detection.

Property methods: lowerLimitDisplayToLogical(), lowerLimitGet(), lowerLimitIsValid(), lowerLimitLogicalToDisplay(), lowerLimitNormalize(), lowerLimitSet(), lowerLimitXSDToLogical()
property origin as HS.FHIR.DTL.vDSTU2.Model.Datatype.SimpleQuantity (XMLNAME = "origin", XMLPROJECTION = "ELEMENT") [ Required ];

Zero value and units.

Property methods: originGet(), originGetSwizzled(), originIsValid(), originNewObject(), originSet()
property period as %Decimal (XMLNAME = "period", XMLPROJECTION = "ATTRIBUTE") [ Required ];

Number of milliseconds between samples.

Property methods: periodDisplayToLogical(), periodGet(), periodIsValid(), periodLogicalToDisplay(), periodNormalize(), periodSet(), periodXSDToLogical()
property upperLimit as %Decimal (XMLNAME = "upperLimit", XMLPROJECTION = "ATTRIBUTE");

Upper limit of detection.

Property methods: upperLimitDisplayToLogical(), upperLimitGet(), upperLimitIsValid(), upperLimitLogicalToDisplay(), upperLimitNormalize(), upperLimitSet(), upperLimitXSDToLogical()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab