FHIR Chat · SampledData in Observation · Orders and Observation WG

Stream: Orders and Observation WG

Topic: SampledData in Observation


view this post on Zulip Raheel Sayeed (Sep 24 2019 at 18:07):

I'm trying to implement Observation for a computer based cognition test. Principally, patient is asked to perform a set of tasks on screen and the result is an overall (summarized) observation based on the various components its. I'm unsure if there's a good way to use SampledData to store 2D datapoint, specially if theres no set frequency or regularity. SampledData.period or origin aren't applicable as its variable .

in the data below, final observation value is just the summary of samples. But what would be the best suited element for samples? The number of samples is variable

Cognition Test
Hand: Right
Total Successful: 2
Total TimeTaken: 8.2 seconds
Samples: [
    Time: 2.5 second; sketch-distance: 236.02
    Time: 3.5 second; sketch-distance: 122.02
    Time: 2.2 second; sketch-distance: 122.02
]

view this post on Zulip Lloyd McKenzie (Sep 24 2019 at 18:38):

@Eric Haas

view this post on Zulip Eric Haas (Sep 24 2019 at 20:01):

if is not a regular frequency the sampledData could be used with a bunch of predefined integer values for empty (such as -1) and pick a reasonable time interval like .1 sec.. then you would get something like

-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 236.02 -1 -1 -1 -1 -1 -1 -1 -1 -1 122.02 -1 -1 -1 -1 -1 -1 122.02 .....

assuming these are sequential events.

view this post on Zulip Eric Haas (Sep 24 2019 at 20:04):

otherwise we are re-introducing valueAttachment and you could represent as a csv binary. or go with a string I guess.

view this post on Zulip Raheel Sayeed (Sep 25 2019 at 15:08):

These are sequential events, however, time-interval is itself a measure of activity other than the distance. Its probably safe to assume that SampledData is not best suited here. Any extension that I could use that would indicate that valueString is a tab or comma delimited string?

view this post on Zulip Raheel Sayeed (Sep 25 2019 at 15:09):

Will switch to valueAttachment when its out

view this post on Zulip Eric Haas (Sep 25 2019 at 15:52):

Any extension that I could use that would indicate that valueString is a tab or comma delimited string?

No

view this post on Zulip Eric Haas (Sep 25 2019 at 15:52):

you can make your own.

view this post on Zulip Rob Hausam (Oct 07 2019 at 17:48):

Since it's a set of tasks, it might work well as either a set of components or linked observations (probably using derivedFrom)?

view this post on Zulip Eric Haas (Oct 07 2019 at 19:08):

@Raheel Sayeed here is the valueattachment extension for R4 and below...


Last updated: Apr 12 2022 at 19:14 UTC