Stream: implementers
Topic: questionnaires
Abhas Arya (Dec 30 2020 at 08:43):
The MyChart app has the option to have patients fill questionnaires. Is this questionnaire resource supported by FHIR? Say if a provider creates a questionnaire and I'd like to display that in my own app. Is there both read/write access?
Lin Zhang (Dec 30 2020 at 15:16):
See
http://hl7.org/fhir/questionnaire.html
http://hl7.org/fhir/questionnaireresponse.html
Abhas Arya (Dec 30 2020 at 21:29):
Lin Zhang said:
See
http://hl7.org/fhir/questionnaire.html
http://hl7.org/fhir/questionnaireresponse.html
Thanks for your comment. I'm glad to see that it's a part of the HL7 standard, but is it supported by Epic? I don't see any of these resources here: https://fhir.epic.com/
돌림정 (Apr 21 2021 at 08:56):
I want to make OMOP CDM 5.3 fhir
Has anyone ever tried this?
I am curious about which data loss is occurring or what kind of problem is there
David Pyke (Apr 21 2021 at 13:32):
Here is a paper on attempting to do just that: https://www.ohdsi.org/web/wiki/lib/exe/fetch.php?media=resources:ohdsionfhir_gatech.pdf
John Silva (Apr 21 2021 at 19:50):
@Abhas Arya I'm not sure but I don't believe the Epic FHIR API supports write operations. https://fhir.epic.com/Specifications
Kostiantyn Bondarenko (Jun 04 2021 at 10:53):
Hello!
Before a patient appointment (or after), rather often you want the patient to fill in a questionnaire as input to the Appointment. It could be around life style, smoking habits, exercise etc.
What is a suitable way to reference the Questionnaire from the Appointment so that the consumer knows what questionnaire to fill in?
Where can I get id for request?
Request:
https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4/Questionnaire
Response:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "fatal",
"code": "invalid",
"details": {
"coding": [
{
"system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.657369",
"code": "59102",
"display": "Content invalid against the specification or a profile."
}
],
"text": "Content invalid against the specification or a profile."
},
"diagnostics": "Only an _ID search is allowed."
}
]
}
Lloyd McKenzie (Jun 04 2021 at 14:14):
Already asked and answered here: https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/intake.20form
Please don't raise the same question on multiple streams simultaneously
booma radhakrishnan (Jun 04 2021 at 14:30):
I have created the Fhir resource for the Observation resrouce out of the queistonnaireResponse resource
Need help to validate the resource
{
"resourceType": "Observation",
"subject": {
"reference": "Patient/f001"
},
"authored": "2013-02-19T14:15:00-05:00",
"differential": {
"item": [{
"linkId": "1",
"item": [{
"linkId": "1.1",
"text": "Question1?",
"answer": [{
"valueString": "No"
}]
}]
},
{
"linkId": "2",
"item": [{
"linkId": "2.1",
"text": "Question2?",
"answer": [{
"valueString": "No"
}]
}]
},
{
"linkId": "3",
"item": [{
"linkId": "3.1",
"text": "Question 3?",
"answer": [{
"valueString": "Yes"
}]
}]
},
{
"linkId": "4",
"item": [{
"linkId": "4.1",
"text": "Question4?",
"answer": [{
"valueString": "Yes"
}]
}]
},
{
"linkId": "5",
"item": [{
"linkId": "5.1",
"text": "Question5",
"answer": [{
"valueString": "No"
}]
}]
},
{
"linkId": "6",
"item": [{
"linkId": "6.1",
"text": "Have you ever had a period of at least 1 week during which you needed much less sleep than usual?",
"answer": [{
"valueString": "No"
}]
}]
}
]
}
}
Mareike Przysucha (Jun 04 2021 at 15:00):
Hello everyone.
Just in case you didn't know: There is a #questionnaire stream where questions about questionnaires and questionnaire response are discussed.
@booma radhakrishnan:
For questionnaire(response)s, there is an implementation guide (http://hl7.org/fhir/uv/sdc/), sdc stands for structured data capture. It also contains a section related to the extraction of data into e.g. observation (http://hl7.org/fhir/uv/sdc/2019May/extraction.html).
As for your observation resource:
You have a lot of differentials. But if I am right, differentials are normally used only for Structure Definitions. As you made an observation resource, I assume that you chose to use Observations to represent your content. Then you need a code - or a text, but code is preferred - which represents the concept of each question best. Your answer would be the value of the resource. If you only have "true / yes" or "false / no", it would be nice to use valueBoolean, but the decision is up to you. Then you fill all the other data you need (e.g. reference to patient if appropriate), as you already did. But maybe you could have a closer look at the IG mentioned above. If there are more questions, probably the stream mentioned above may also help you. Good luck for you.
Lloyd McKenzie (Jun 04 2021 at 15:14):
@Mareike Przysucha is correct - you can't have differential in an Observation. You're going to need to create a separate Observation for every question in the Questionnaire and possibly a grouping Questionnaire for the overall results.
booma radhakrishnan (Jun 12 2021 at 01:22):
@Lloyd McKenzie
As per the QuestionnaireReponse Schema, it is not having any reference to the patient and it is not mandatory.
But I wanted to post the QuestionnaireResponse resource against the particular patient using Identifier and retrieve the data using the same Identifier.
Need your help.
{
"resourceType": "QuestionnaireResponse",
"status": "completed",
"authored": "2021-03-16T18:05:32+07:00",
"item": [{
"linkId": "unit_name",
"text": "Governing unit name",
"answer": [{
"valueString": "Vi?t Nam"
}]
},
{
"linkId": "patient-information",
"text": "Patient Information",
"item": [{
"linkId": "name",
"text": "Full name",
"answer": [{
"valueString": "Phan Thị Minh Thư"
}]
}]
}
]
}
Brian Postlethwaite (Jun 12 2021 at 06:51):
The patient reference is through the subject property.
Last updated: Apr 12 2022 at 19:14 UTC