Stream: implementers
Topic: answerValueSet in QuestionnaireResponse
Ludvig Eek Hofmann (Jun 10 2021 at 13:47):
Hi!
We are currently working on creating a questionnaire/QuestionnarieResponse for a Journal Note use case.
One requirement is to only permit answers from ICD10(Code system containing diagnosis codes), KVÅ (Code system for classification of procedure codes) or both depending on the Question/Item.
We have understood that we need to state which valueSet that are permitted in Questionnaire.Item.answerValueSet.
We would like to create implicit valueSets for this to state that the valueSet contains all codes from ICD10, KVÅ or both. Meaning that we would probably need to create/Support three different kinds of value set with codes from ICD10, KVÅ or Both.
Do you think that this is the best approch? Or do you have any valuable input? Also, I have not created an Implicit value set. How do I reference the code system?
Lloyd McKenzie (Jun 10 2021 at 14:55):
To clarify, there are some questions for which the answers are just ICD10 codes, some that are KVA and some that are both and you want to define 3 expression-based (i.e. "intensional") value sets to cover those 3 use-cases?
Ludvig Eek Hofmann (Jun 14 2021 at 11:53):
Yes, exactly @Lloyd McKenzie
Ludvig Eek Hofmann (Jun 15 2021 at 13:54):
Lloyd McKenzie said:
To clarify, there are some questions for which the answers are just ICD10 codes, some that are KVA and some that are both and you want to define 3 expression-based (i.e. "intensional") value sets to cover those 3 use-cases?
I will try to be more clear.
In our system we use keywords(Questions binded with snomed codes) in our journal notes. These keywords can support different kinds of input/answers. E.g. values, strings, or codes.
In the questionnaire profile we want to specify that for a ceratin keyword we only support codes from a certain codeSystem in the QuestionnaireResponse. Our idea is to use the type = 'Choice' and in answerValueSet specify which valueSet that can be used.
- First question is if you agree with this approach?
We would like to support three different keywords that are limited to codes from ICD10 and/or KVA.
One value set with all codes from ICD10. One with all codes from KVÅ and one that value set that supports codes from both.
Our Idea is therefore to create 3 expression-based value sets that only refers to the code system since all codes should be valid,
- Second question is if this is a good approach our if you would recommend anything else?
- How do I create a expression based value set that refers to two different code systems?
Thanks!
Grahame Grieve (Jun 15 2021 at 21:26):
I'm not sure what you mean by 'keywords'? These are alias codes?
Lloyd McKenzie (Jun 25 2021 at 02:07):
Sorry for the delayed response @Ludvig Eek Hofmann - I was away for a bit. So you've got a selection of questions. Each question 'item' will have a 'code' that corresponds to a SNOMED concept. You want to indicate that the 'answer' for certain SNOMED codes is limited to a particular value set. That's completely fine. Each Questionnaire.item allows you to have an answerValueSet. You can share answerValueSets across multiple questions or you can have distinct ValueSets for whichever question you wish.
Last updated: Apr 12 2022 at 19:14 UTC