Stream: implementers
Topic: sdc
Brian Postlethwaite (Jul 25 2016 at 02:09):
In reviewing my SDC validation code and extending the error messages I wondered if there were standard codes to include in the Detail section of the OperationOutcome.
For use when encountering things like required question not answered, or incorrect answer for question type.
And also if there is a standard format for the location
to identify the question/answer (currently i'm populating it with linkid='213412')
Grahame Grieve (Jul 25 2016 at 02:41):
there are not, but SDC could define them
Brian Postlethwaite (Jul 25 2016 at 02:42):
Thanks, I might have a look and see if the validator that is in HAPI produces them, and if not, I shall propose some definitions
Brian Postlethwaite (Aug 05 2016 at 06:17):
Is there an Extension on Questionnaire for HH/MM formatted times (excluding the seconds where it isn't desired or important)
Lots of systems don't capture that level of detail where is it user entered (and not a timestamp)
So that it will just append the :00 to it and strip it off for display.
Brian Postlethwaite (Aug 05 2016 at 06:17):
(can't see one, and does anyone else think they would use it?)
If so I'll log it.
Lloyd McKenzie (Aug 05 2016 at 06:19):
Doesn't exist yet . . .
Lloyd McKenzie (Sep 07 2016 at 19:29):
So, the last connectathon, we ran SDC as a thread under the implementer's stream. I'm wondering whether it would be useful/appropriate to have a separate stream for Questionnaire-related content. (Normally new stream proposals get raised on Social, but seeing as those most impacted will be on the implementers stream, I figured I'd raise the question here. Preferences for a new Questionnaire-specific stream or for keeping the discussion here on Implementers?
Grahame Grieve (Sep 07 2016 at 21:54):
I think it's too specific. And many questions about questionnaire are about how it relates to other resources
Lloyd McKenzie (Sep 12 2016 at 20:08):
Attention everyone who will be joining us in person for the Structured Data Capture track at the Connecthaton this weekend in Baltimore!
Please add your name to this spreadsheet and set your primary track to SDC. This will give the Connectathon organizers a headcount as to who is participating in each track so that they can allocate space appropriately to ensure we're all sitting together.
(Copied with modifications from @Kevin Shekleton's post on CDS hooks :))
Michele Mottini (Sep 15 2016 at 19:54):
Our STU3 test server is now up at http://fhir.careevolution.com/apitest/fhir (open - no authentication required). It has a dozen questionnaires from one of our customer already loaded - http://fhir.careevolution.com/apitest/fhir/Questionnaire to list them all.
Michele Mottini (Sep 15 2016 at 19:56):
...whats the Clinical Research Track? It seems similar to SDC from the name of the roles ?
Lloyd McKenzie (Sep 15 2016 at 20:01):
It's not an official track. They're looking at acquiring data for use in populating clinical research forms. They haven't necessarily landed on using Questionnaire yet, but they may do some playing with SDC to get a sense of it
Michele Mottini (Sep 15 2016 at 20:03):
I see, thanks
Michele Mottini (Sep 15 2016 at 20:04):
The questionnaires loaded on our server come from a population clinical research study
Michele Mottini (Sep 15 2016 at 20:04):
https://www.framinghamheartstudy.org/
Brian Postlethwaite (Sep 16 2016 at 23:08):
I've just partially updated my older Questionnaire renderer so its at least partially usable with the current version.
http://smartq21.azurewebsites.net/Home/SelectSurvey?fhirServiceUrl=http://fhir.careevolution.com/apitest/fhir
Will let you view the CareEvolution forms.
Brian Postlethwaite (Sep 16 2016 at 23:09):
Yes, it looks like I still have some work to do for option groups.
Currently only supporting valuesets (contained or referenced) for these.
Michele Mottini (Sep 17 2016 at 13:02):
Nice
Michele Mottini (Sep 17 2016 at 13:02):
Is there a way to select the patient the questionnaire applies to?
Michele Mottini (Sep 17 2016 at 13:03):
Our server will require a patient to submit a questionnaire response
David Kwan (Sep 17 2016 at 13:17):
We are logged into the GotoWebinar, with meeting not stated yet. Has the Connectathon meeting started?
Brian Postlethwaite (Sep 17 2016 at 13:22):
@Michele Mottini just add a clientID as a parameter on the url, that should talk to your server and show a tile at the top for the patient too.
Michele Mottini (Sep 17 2016 at 13:28):
Like '&clientID=<patient ID>' ?
Lloyd McKenzie (Sep 17 2016 at 13:28):
Having issues with the webinar. We'll try to get it working shortly, but probably miss the kickoff
David Kwan (Sep 17 2016 at 13:32):
Thanks Lloyd will standby.
Brian Postlethwaite (Sep 17 2016 at 13:46):
that's right. and can be the full fhir url too.
Michele Mottini (Sep 17 2016 at 14:05):
Anyone else has a questionnaire client?
Michele Mottini (Sep 17 2016 at 14:19):
Questionnaires URL on our server: http://fhir.careevolution.com/apitest/fhir/Questionnaire/2 http://fhir.careevolution.com/apitest/fhir/Questionnaire/3 etc.
Michele Mottini (Sep 17 2016 at 14:19):
http://fhir.careevolution.com/apitest/fhir/Questionnaire to list them all
Michele Mottini (Sep 17 2016 at 14:20):
We accept standard QuestionnaireResponse posted at http://fhir.careevolution.com/apitest/fhir/QuestionnaireResponse
Michele Mottini (Sep 17 2016 at 14:20):
response must contain a valid patient reference
Brian Postlethwaite (Sep 17 2016 at 14:26):
Want to retry a submit using that form, think I have it ok.
Your server isn't returning the conrtent back, nor is it putting a version id on the returned content.
http://smartq21.azurewebsites.net/Home/Survey?questionnaireId=http%3A%2F%2Ffhir.careevolution.com%2Fapitest%2Ffhir%2FQuestionnaire%2F3&fhirServiceUrl=http%3A%2F%2Ffhir.careevolution.com%2Fapitest%2Ffhir%2F&clientId=http%3A%2F%2Ffhir.careevolution.com%2Fapitest%2Ffhir%2FPatient/7a81ba0d-b533-e611-8128-0a69c1b3225b
Brian Postlethwaite (Sep 17 2016 at 14:29):
Ok, Its not saving values properly :(
My bug...
Michele Mottini (Sep 17 2016 at 14:30):
Yes - we do not support versions
Michele Mottini (Sep 17 2016 at 14:30):
You should get back a 201 with the url of the created resource in the location header
David Kwan (Sep 17 2016 at 17:22):
We have attempting our questionnaire to the UHN FHIR server and have not been successful. We ran into errors caused by terminology elements. Our latest xml verified against DSTU 3 ballot for schema and schematron. We were able to post a previous version , no standard terminology to the UHN FHIR server. here is the link to the posted questionnaire xml: http://fhirtest.uhn.ca/baseDstu3/Questionnaire/140242/_history/1
Brian Postlethwaite (Sep 17 2016 at 17:23):
I would be interested if you could try posting it to my server at http://sqlonfhir-stu3.azurewebsites.net/fhir/Questionnaire
Brian Postlethwaite (Sep 17 2016 at 17:24):
There is a tonne of validation in there specific for Questionnaires and QuestionnaireResponses.
David Kwan (Sep 17 2016 at 17:37):
Brian, Will try to post to your server. We are not developers, so if we run into questions would you mind assisting?
Lloyd McKenzie (Sep 17 2016 at 17:39):
@David Kwan Can you be specific about your issues? @James Agnew can then figure out if it's your issue or his
David Kwan (Sep 17 2016 at 17:43):
We are getting this error message when we attempt verification: Error: HTTP 412 Precondition Failed: Unkonwn code {http://loinc.org}55752-0.
Grahame Grieve (Sep 17 2016 at 17:49):
where are you getting this?
David Kwan (Sep 17 2016 at 17:54):
from the UHN FHIR server, http://fhirtest.uhn.ca/baseDstu3/Questionnaire/$validate?_format=xml&_pretty=true
Michele Mottini (Sep 17 2016 at 17:57):
You can also try to post to our server: http://fhir.careevolution.com/apitest/fhir - I am sitting right at the SDC table if you have problem / questions
Michele Mottini (Sep 17 2016 at 17:58):
You need to specify a valid patient for the subject - like /Patient/8a5f65fe-3121-e611-8128-0a69c1b3225b
David Kwan (Sep 17 2016 at 18:02):
Michele, Will try to post.
David Kwan (Sep 17 2016 at 18:05):
Michele, we cannot access your server. How do you suggest we post to your server. Also we are not developers so bare with us.
Michele Mottini (Sep 17 2016 at 18:06):
one sec...
Michele Mottini (Sep 17 2016 at 18:09):
@David Kwan ..where are you?
David Kwan (Sep 17 2016 at 18:10):
We are participating remotely, We are in Toronto.
Michele Mottini (Sep 17 2016 at 18:11):
ah I see
David Kwan (Sep 17 2016 at 18:11):
Is it a border problem, cannot access!
Michele Mottini (Sep 17 2016 at 18:11):
which problem are you getting trying to access our server?
Michele Mottini (Sep 17 2016 at 18:11):
are you trying to POST data ?
David Kwan (Sep 17 2016 at 18:12):
Should we be trying to use Postman or Fiddler to POST?
Michele Mottini (Sep 17 2016 at 18:13):
either should work
Michele Mottini (Sep 17 2016 at 18:13):
I use PostMan usually
Michele Mottini (Sep 17 2016 at 18:13):
do you have a questionnaire or a questionnaire response to POST?
Michele Mottini (Sep 17 2016 at 18:14):
our server accepts both JSON and XML - so you can use either
David Kwan (Sep 17 2016 at 18:15):
It is a questionnaire.
Michele Mottini (Sep 17 2016 at 18:16):
ok - so if you POST it to http://fhir.careevolution.com/apitest/fhir/Questionnaire our server should accept it
Michele Mottini (Sep 17 2016 at 18:16):
and store it
David Kwan (Sep 17 2016 at 18:18):
Trying it now.
Alex Goel (Sep 17 2016 at 18:32):
(deleted)
David Kwan (Sep 17 2016 at 18:36):
Not having success with Postman, Paul Donovan is assisting, he is at the SDC table.
Michele Mottini (Sep 17 2016 at 18:38):
what happen with Postman ?
Michele Mottini (Sep 17 2016 at 18:39):
you are getting at error?
Michele Mottini (Sep 17 2016 at 18:39):
(an error)
Alex Goel (Sep 17 2016 at 18:39):
<OperationOutcome xmlns="http://hl7.org/fhir">
<text>
<status value="generated" />
<div xmlns="http://www.w3.org/1999/xhtml">Cannot process the Questionnaire because it is missing the 'Url' field</div>
</text>
<issue>
<severity value="error" />
<details>
<text value="Cannot process the Questionnaire because it is missing the 'Url' field" />
</details>
</issue>
</OperationOutcome>
Alex Goel (Sep 17 2016 at 18:39):
We keep getting this error
Michele Mottini (Sep 17 2016 at 18:39):
yes
Michele Mottini (Sep 17 2016 at 18:39):
you need to specify the Url property of the questionnaire
Michele Mottini (Sep 17 2016 at 18:40):
we use it as the questionnaire identifier
Michele Mottini (Sep 17 2016 at 18:42):
add something like <url value="http://hl7.org/fhir/Questionnaire/3141"/>
David Kwan (Sep 17 2016 at 18:46):
So would the URL value be assigned by a form manager, rather than a form designer?
Michele Mottini (Sep 17 2016 at 18:46):
It would be assigned by the form designer
Michele Mottini (Sep 17 2016 at 18:46):
when you create a new form
Michele Mottini (Sep 17 2016 at 18:47):
( i. .e new questionnaire)
David Kwan (Sep 17 2016 at 18:47):
Thanks. Will add and try to post.
Michele Mottini (Sep 17 2016 at 18:47):
you can use the URL of your organization as the root : <your org url>/questionnaire/1 or something like that
Alex Goel (Sep 17 2016 at 19:04):
We weren't able to send to http://fhir.careevolution.com/apitest/fhir/Questionnaire because of issues with our CCO template
Alex Goel (Sep 17 2016 at 19:05):
we were able to send to the http://sdsdemo.jbsinternational.com/SDC/rest/fhir/Questionnaire/
Michele Mottini (Sep 17 2016 at 19:05):
what's a CCO template?
Alex Goel (Sep 17 2016 at 19:07):
the CancerCareOntario Low Dose CT Lung Cancer Screening Template
Alex Goel (Sep 17 2016 at 19:07):
We were also able to post to http://sqlonfhir-stu3.azurewebsites.net/fhir/Questionnaire
Michele Mottini (Sep 17 2016 at 19:07):
Our server being picky..
Alex Goel (Sep 17 2016 at 19:08):
We're on the UHN FHIR Server http://fhirtest.uhn.ca/
Alex Goel (Sep 17 2016 at 19:08):
seems to be validation issues with our template
Alex Goel (Sep 17 2016 at 19:09):
thanks for your patience
Alex Goel (Sep 17 2016 at 19:09):
and help
Alex Goel (Sep 17 2016 at 19:14):
It looks like we were able to post to the careevolution server
Access-Control-Allow-Origin →*
Access-Control-Expose-Headers →*
Content-Length →0
Date →Sat, 17 Sep 2016 19:13:43 GMT
Location →http://fhir.careevolution.com/apitest/fhir/Questionnaire/13
Server →Microsoft-HTTPAPI/2.0
Michele Mottini (Sep 17 2016 at 19:15):
yes, I can see it there
Michele Mottini (Sep 17 2016 at 19:16):
what did you have to do to make it work? add linkId to all items?
Alex Goel (Sep 17 2016 at 19:16):
@Paul Donovan fixed it for us because he's a nice guy!
Alex Goel (Sep 17 2016 at 19:17):
Had to add the linkId stuff
Paul Donovan (Sep 17 2016 at 19:17):
Right, linkId was missing from some of the items
Michele Mottini (Sep 17 2016 at 19:18):
OK
Michele Mottini (Sep 17 2016 at 19:18):
I'll look into relaxing that requirement
Michele Mottini (Sep 17 2016 at 19:18):
linkId are not really important for items that are just groups
Michele Mottini (Sep 17 2016 at 19:22):
or display items
Brian Postlethwaite (Sep 17 2016 at 19:37):
display items, yes (as not expecting content in the QuestionniaireResponse) group however would want linkids in there, especially if repeating groups are in there.
Michele Mottini (Sep 17 2016 at 19:47):
Yes, got it
Michele Mottini (Sep 17 2016 at 19:47):
Thanks
Lloyd McKenzie (Jan 14 2017 at 15:25):
Is anyone here doing SDC?
Chris Grenz (Aug 23 2017 at 14:45):
Looking for the current state of SDC and reference implementations. Can anyone point me? @Brian Postlethwaite ?
Last updated: Apr 12 2022 at 19:14 UTC