FHIR Chat · SampledData.dimensions > 1 · implementers

Stream: implementers

Topic: SampledData.dimensions > 1


view this post on Zulip Vadim Peretokin (Mar 22 2022 at 07:10):

Looking to use SampledData with more than one dimension. Given this definition -

The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.

Is this interpretation correct?

"valueSampledData": {
  "data": "1 6 2 8 3 1 6 4",
  "dimensions": 2,
measure A measure B
timepoint 1 1 6
timepoint 2 2 8
timepoint 3 3 1
timepoint 4 6 4

view this post on Zulip Lloyd McKenzie (Mar 22 2022 at 13:33):

@Grahame Grieve

view this post on Zulip Eric Haas (Mar 22 2022 at 15:06):

Yes interlacing (or interleaving) of data here refers to the interspersing of fields or channels of different meaning sequentially in the file format. For example, for coordinate data, x0 y0 z0 w0 x1 y1 z1 w1 x2 y2 z2 w2 is interlaced with a dimension of 3 whilst x0 x1 x2 x3 y0 y1 y2 y3 z0 z1 z2 z3 w0 w1 w2 w3 is not.

view this post on Zulip Vadim Peretokin (Mar 22 2022 at 15:13):

@Eric Haas how does my example stack up with that?

view this post on Zulip Eric Haas (Mar 22 2022 at 15:17):

it aligns with this.

view this post on Zulip Gino Canessa (Mar 22 2022 at 15:20):

I always think in terms of graphics for this (RGB). Planar data means your pixels are RRRRRR...GGGGGG.....BBBBBB..... vs 'interlaced' of RGBRGBRGB... . Easier for me to remember planar because each data component is in a plane.


Last updated: Apr 12 2022 at 19:14 UTC