Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4 Questionnaire parser type 'choice' not found #16

Open
mcjustin opened this issue Apr 2, 2019 · 1 comment
Open

v4 Questionnaire parser type 'choice' not found #16

mcjustin opened this issue Apr 2, 2019 · 1 comment
Assignees
Labels

Comments

@mcjustin
Copy link

mcjustin commented Apr 2, 2019

Using the latest (44ecffe ), v4 (haven't tried other versions) Questionnaire parser type 'choice' not found
It's complaining about
location: "Questionnaire.item[0].type" message: "Code \"choice\" not found in value set"
... For each of these questions. However, https://www.hl7.org/fhir/valueset-item-type.html shows that 'choice' is valid here.
It does run clean against other parsers

{
"identifier": [
{
"system": "http://us.truenth.org/questionnaire",
"use": "usual",
"value": "epic26"
}
],
"item": [
{
"linkId": "epic26.1",
"option": [
{
"valueCoding": {
"code": "epic26.1.1",
"display": "More than once a day"
}
},
{
"valueCoding": {
"code": "epic26.1.2",
"display": "About once a day"
}
},
{
"valueCoding": {
"code": "epic26.1.3",
"display": "More than once a week"
}
},
{
"valueCoding": {
"code": "epic26.1.4",
"display": "About once a week"
}
},
{
"valueCoding": {
"code": "epic26.1.5",
"display": "Rarely or never"
}
}
],
"text": "Over the past 4 weeks, how often have you leaked urine?",
"type": "choice"
},
{
"linkId": "epic26.2",
"option": [
{
"valueCoding": {
"code": "epic26.2.1",
"display": "No urinary control whatsoever"
}
},
{
"valueCoding": {
"code": "epic26.2.2",
"display": "Frequent dribbling"
}
},
{
"valueCoding": {
"code": "epic26.2.3",
"display": "Occasional dribbling"
}
},
{
"valueCoding": {
"code": "epic26.2.4",
"display": "Total control"
}
}
],
"text": "Which of the following best describes your urinary control during the last 4 weeks?",
"type": "choice"
},
{
"linkId": "epic26.3",
"option": [
{
"valueCoding": {
"code": "epic26.3.1",
"display": "None"
}
},
{
"valueCoding": {
"code": "epic26.3.2",
"display": "1 pad per day"
}
},
{
"valueCoding": {
"code": "epic26.3.3",
"display": "2 pads per day"
}
},
{
"valueCoding": {
"code": "epic26.3.4",
"display": "3 or more pads per day"
}
}
],
"text": "How many pads or adult diapers per day did you usually use to control leakage during the last 4 weeks?",
"type": "choice"
},
{
"linkId": "epic26.4",
"option": [
{
"valueCoding": {
"code": "epic26.4.1",
"display": "No problem"
}
},
{
"valueCoding": {
"code": "epic26.4.2",
"display": "Very small problem"
}
},
{
"valueCoding": {
"code": "epic26.4.3",
"display": "Small Problem"
}
},
{
"valueCoding": {
"code": "epic26.4.4",
"display": "Moderate Problem"
}
},
{
"valueCoding": {
"code": "epic26.4.5",
"display": "Big Problem"
}
}
],
"text": "Dripping or leaking urine",
"type": "choice"
}
],
"resourceType": "Questionnaire",
"status": "draft"
}

@seanmcilvenna
Copy link
Collaborator

I'll investigate what the issue is. Thanks for reporting.

@seanmcilvenna seanmcilvenna self-assigned this Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants