Stream: implementers
Topic: observation.value datatypes
AbdulMalik Shakir (Nov 27 2019 at 04:58):
Is it permissible to extend observation.value to use a datatype other than the ones specified in the base resource?
Grahame Grieve (Nov 27 2019 at 04:59):
no. you can only use one of the types specified in the base resource. You think you need something else?
AbdulMalik Shakir (Nov 30 2019 at 02:30):
@Grahame Grieve Yes. I have an observation that asks for the preferred telecom address for the patient. The observation value should be datatype ContactPoint. I've made it string because ContactPoint is not among the allowed types.
Vassil Peytchev (Nov 30 2019 at 02:41):
"Asks for" sounds like QuestionnaireResponse - where you can have valueUri as the response to the question "preferred telecom address"...
AbdulMalik Shakir (Nov 30 2019 at 18:07):
@Vassil Peytchev Thanks. That should work. Do I need to define the question using a questionnaire resource?
Grahame Grieve (Nov 30 2019 at 18:13):
yes, the question. I'm not sure that it's the answer, but I don't think we think of those things as Observations?
Last updated: Apr 12 2022 at 19:14 UTC