-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error parsing Capability statement #16
Comments
Hmm, strange. This is breaking because our code is expecting a string for operation.definition, not an object with a reference key. I just ran it, and it passed because it is a string as our test expects. We'll take a closer look. Regardless, you should never see those 'purple runtime errors' and our tests need to be more tolerant to unexpected content in responses... so we'll clean that up. Regarding groups, it would be nice if the group ids were static and printed in the interface, as it is something you need to communicate with clients out-of-band (of the bulk data spec) so would be helpful for them to have, right? No problem if not though, just an idea. And while I'm just looking at the capability statement, looks like you have capabilitystatement-expectations still in there, but those don't make a lot of sense for 'instance' kind CapabilityStatements. They are more for kind=requirements CapabilityStatements (as you would find provided in an IG) I believe. Thanks for the feedback, much appreciated. |
Right, I seem to recall pre-R4 FHIR was a reference and not a canonical, and your server supports pre-r4, so seems like maybe we are running tests expecting R4 but are configured to run against a DSTU2 or STU3 simulated endpoint. |
Ups, yes I somehow ran it with wrong server URL pointing to the R3 version of the server, where that is a reference. Seems to work fine with the right R4 URL (https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAwMCwiZHVyIjoxMCwidGx0IjoxNSwibSI6MSwic3R1Ijo0LCJkZWwiOjAsInNlY3VyZSI6MX0/fhir/metadata). Perhaps you can still add some protection against incorrect input, but otherwise feel free to close this. Thanks! |
Very good idea! Groups are now listed on the home page https://bulk-data.smarthealthit.org/index.html. Thanks! |
Not sure exactly how to describe this one, but I hope the image gives you enough info.
The response being parsed is:
To reproduce, run it with the SMART Server preset.
P.S. I am making some changes to the Bulk Data Reference Server which may require you to update the preset:
https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAwMCwiZHVyIjoxMCwidGx0IjoxNSwibSI6MSwic3R1IjozLCJkZWwiOjAsInNlY3VyZSI6MH0/fhir
https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAwMCwiZHVyIjoxMCwidGx0IjoxNSwibSI6MSwic3R1IjozLCJkZWwiOjAsInNlY3VyZSI6MX0/fhir
5033ae08-fb5b-40fb-ab9a-23674bc1b42b
. This is 3 patients only, therefore good for testing. However, group IDs might change if I re-generate the patient data, in which case I'll let you know.The text was updated successfully, but these errors were encountered: