Stream: implementers
Topic: Pain Scale
Pranitha Sruthi (Jul 28 2017 at 09:17):
Hi all, how can I create a profile for pain severity scale which has a series of faces ranging from a happy face at 0 to a crying face at 10 using the resource observation? Thank you
Lloyd McKenzie (Jul 28 2017 at 16:00):
The list of possible pain scale values wouldn't be in the Observation profile, they'd be in the CodeSystem drawn from by the ValueSet that your Observation profile binds Observation.value to. You'll need to put an extension on CodeSystem.concept with a name like "graphicDesignation" of type Attachment which would then either contain or point to the relevant images. (Please submit a change request for us to define a standard extension for this purpose, as it's a relatively common need.) Your value set would then select all (or a subset) of the codes having an image representation. And your profile on Observation would bind Observation.value to that value set.
Grahame Grieve (Jul 29 2017 at 03:06):
are there any open source graphics for the faces?
Eric Haas (Jul 29 2017 at 18:36):
@Lloyd McKenzie why not use the designation
element I don't see a lot difference between emoticons and a Pictographic/ideographic language.
Lloyd McKenzie (Jul 29 2017 at 19:09):
The designation element mandates the inclusion of a string value.
Lloyd McKenzie (Jul 29 2017 at 19:09):
(I did look at that first)
Lloyd McKenzie (Jul 29 2017 at 19:10):
If there's a corresponding string label for each graphic, then an extension on designation would work.
Pranitha Sruthi (Jul 31 2017 at 05:23):
@Lloyd McKenzie Thanks for your response. Where can I get the images?
Lloyd McKenzie (Jul 31 2017 at 05:24):
I'm not following the question. I presume the images exist as part of the code system?
Grahame Grieve (Jul 31 2017 at 05:27):
see this: https://openclipart.org/detail/218053/pain-scale
Grahame Grieve (Jul 31 2017 at 05:28):
typically, the images are associated with a form / visualiser, not with the actual codes
Pranitha Sruthi (Jul 31 2017 at 05:29):
Ok how can I create a profile for the pain scale on forge?
Lloyd McKenzie (Jul 31 2017 at 05:31):
You can't. The pain scale would be a code system and value set and Forge doesn't do that. You'll have to define those directly using XML or JSON. What Forge will let you do is point to a particular value set - i.e. You can use a profile to point to Pain Scale A rather than Pain Scale B. But defining both scales is outside the scope of Forge.
Pranitha Sruthi (Jul 31 2017 at 05:41):
Ok. How can a particular image be displayed for a code?
Lloyd McKenzie (Jul 31 2017 at 14:18):
As I said, you'll need an extension to convey the image. If software supports the extension, it will display the image.
Last updated: Apr 12 2022 at 19:14 UTC