Stream: questionnaire
Topic: Hunger Vital Signs Questionnaire
Lisa Nelson (May 05 2020 at 13:07):
@Brian Postlethwaite @Paul Lynch The Gravity Project has generated a Hunger Vital Sign Questionnaire based on your LHC Form Building. Unfortunately the generated instanced are generating errors in our FHIR IG. I had to remove the examples from the IG last Friday because they were blocking the build. I would like to add them back into the IG this week, to recreate the problems. Would you be able to take a look at the errors to see what you think is going wrong, but more important, help us fix the situation so the examples can be added without causing errors.
@Lloyd McKenzie
Brian Postlethwaite (May 05 2020 at 13:24):
Can you send a link to the actual example and the errors reported?
Paul Lynch (May 05 2020 at 14:04):
Sure-- Could you send us the Questionnaire and the errors? I am not familiar with IG building, but I might be able to spot something about the Questionnaire.
Lloyd McKenzie (May 05 2020 at 15:38):
Some of the extension URLs were using the 'us' path instead of the new 'uv' path was one of the issues.
Grahame Grieve (May 05 2020 at 22:38):
why would that block the build?
Lloyd McKenzie (May 05 2020 at 22:50):
It doesn't block the build - it produces error messages in the QA
Lisa Nelson (May 06 2020 at 20:54):
@Brian Postlethwaite I am attaching the current Questionnaire resource instance I am attempting to load as an example. I copied the errors into a word document and attached them too. Thanks for taking a look. I created the Questionnaire from the LHC tool. The loinc codes were all missing the system element in the coding, so I added that manually. You can see the validator is now not happy with the associated display elements. Other problems too, which I appreciate your assistance deciphering. SDOHCC_Questionnaire_HungerVitalSign_1_Example_1.xml Errors-in-the-Questionnaire.docx
Paul Lynch (May 07 2020 at 23:49):
@Lisa Nelson The complaints about the display elements are because the display strings on the questions are missing some text in brackets (e.g., " [U.S. FSS]"). This fault existed in the definition I sent you back in February. The form definition we have from LOINC for this form is does not have that bracketed text, for some reason. Anyway, the validator is requiring that the display string match the official display string of the LOINC codes. You can see what they are supposed to be here: https://loinc.org/88121-9/.
Paul Lynch (May 07 2020 at 23:53):
The complaint about the "name" field is that it has a space in it.
Paul Lynch (May 07 2020 at 23:55):
The complaints about observationLinkPeriod is that the URI for that extension changed to http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod.
Paul Lynch (May 08 2020 at 00:00):
The complaint about calculatedExpression is also due to a URI change (which is news to me, and something we will need to update in LHC-Forms). The new one is http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression .
Paul Lynch (May 08 2020 at 09:27):
Regarding the display strings for the LOINC codes, I think it should be okay for the question text the user sees to be as it is. The display strings the validator is complaining about are the ones in the item.code property (a statement about the display text of the question's code, not for the question itself.) Also, I am now not sure the display text for the codes are actually wrong; codes can have more than one associated display text. However, it should make the validator happy if you adjust it, and it won't affect what the user sees.
Abbie Watson (May 08 2020 at 14:30):
Is there a folder or URL that contains all of the Gravity artifacts? I can't seem to find it. Am loading up the Hunger Vital Signs Questionnaire today, and want to see what other artifacts are part of the IG.
Abbie Watson (May 11 2020 at 14:33):
Just as an FYI, I created a Gravity plugin for Symptomatic, and was able to pull in the HungerVitalSigns questionnaire over the weekend. Currently have file import/export working, and am deploying online and testing the REST Questionnaire endpoints today (via Postman).
Gravity-Questionnaire-HungerVitals.png
Daniel Vreeman (May 13 2020 at 21:57):
In case it's helpful, the LOINC panel for the Hunger Vital Sign panel (and all other questionnaires represented in LOINC) is available in Argo profile compliant Questionnaire from the LOINC FHIR API. Canonical URI (which redirects to the resource) is: http://loinc.org/q/88121-9 (requires a free LOINC user account).
Last updated: Apr 12 2022 at 19:14 UTC