Stream: IG creation
Topic: Questionnaire: Value not in value set
Sarah Gaunt (May 06 2021 at 03:16):
So I have the following Questionnaire item:
<item>
<linkId value="informant-relationship"/>
<prefix value="27a"/>
<text value="What is your relationship to the baby's mother?"/>
<type value="open-choice"/>
<required value="false"/>
<repeats value="false"/>
<answerValueSet value="http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7580"/>
</item>
And the following QuestionnaireResponse item:
<item>
<linkId value="informant-relationship"/>
<text value="What is your relationship to the baby's mother?"/>
<answer>
<valueCoding>
<system value="urn:oid:2.16.840.1.114222.4.5.274"/>
<code value="PHC1497"/>
<display value="Other relative"/>
</valueCoding>
</answer>
</item>
I can see that code in the value set from the PhinVads package:
"include": [
{
"system": "urn:oid:2.16.840.1.114222.4.5.274",
"version": "20200526",
"concept": [
{
"code": "PHC1496",
"display": "Father of baby"
},
{
"code": "PHC1498",
"display": "Hospital employee"
},
{
"code": "PHC1499",
"display": "Other (with write in text)"
},
{
"code": "PHC1497",
"display": "Other relative"
}
]
}
]
But I'm getting: The value provided (urn:oid:2.16.840.1.114222.4.5.274::PHC1497) is not in the options value set in the questionnaire
I can't see what I'm doing wrong?
Lloyd McKenzie (May 06 2021 at 06:11):
Is this committed somewhere it could be tested? (Also, @Grahame Grieve )
Sarah Gaunt (May 06 2021 at 19:59):
Yes, it's here: https://github.com/HL7/fhir-bfdr/tree/master
Sarah Gaunt (May 06 2021 at 20:13):
I also get Code System URI 'urn:oid:2.16.840.1.113883.6.238' is unknown so the code cannot be validated
but the exact same code system (ethnicity) is used in patient.
Sarah Gaunt (May 06 2021 at 20:13):
Never mind, that's failing in Patient too...
Michaela Ziegler (Jun 10 2021 at 12:24):
We have the same problem here (@Juerg Bleuer , @Oliver Egger )
Could the problem be evaluated/resolved in the meantime? If yes, how? Thanks for the support.
Sarah Gaunt (Jul 09 2021 at 04:58):
I am still getting this issue here: http://build.fhir.org/ig/HL7/fhir-bfdr/branches/master/qa.html#_scratch_ig-build-temp-ZHO9FP_repo_input_resources_questionnaireresponse_QuestionnaireResponse-mothers-live-birth-jada-quinn
(It seems to be all the codes from PhinVads - all the other codes are validating with no issues.
Again, this is in an IG we are hoping to publish soon - I presume it is not something I'm doing wrong and if so, can we get a pass on these errors for publication? @Lloyd McKenzie
Sarah Gaunt (Jul 09 2021 at 05:00):
(And ignore the ethnicty thing that was also in Patient that I mentioned above, that was the US Core issue which has now been fixed.)
Lloyd McKenzie (Jul 09 2021 at 05:06):
expansion-parameters shouldn't be a resource listed in your IG at all - it's used by the publication process, but you don't want it to publish. You should also resolve the Jira alignment issue. Looks like there are lots of other issues to address? That link didn't take me to a specific issue, so hard for me to evaluate.
Sarah Gaunt (Jul 09 2021 at 05:21):
Haven't fixed the expansion parameters thing yet - it's on my list.
This is the issue with QuestionnareResponse - see beginning of thread.
Sarah Gaunt (Jul 09 2021 at 05:22):
Sarah Gaunt (Jul 09 2021 at 05:23):
And I'm not talking tomorrow for publication, I'm talking in the next few weeks - obviously I'm going to fix those other errors - those are all fixable, but this QuestionnaireResponse doesn't seem to be fixable by me.
Lloyd McKenzie (Jul 09 2021 at 06:05):
Agree
Last updated: Apr 12 2022 at 19:14 UTC