FHIR Chat · Crucible test expectations? · crucible

Stream: crucible

Topic: Crucible test expectations?


view this post on Zulip Abbie Watson (Jan 06 2017 at 07:06):

Is there any documentation on the expected results for the Crucible tests? I'm trying to get my first tests to pass green, and I've got some typo in my API response... maybe I'm returning an array instead of an object; or I need to put the things into a Bundle... that sort of thing...

view this post on Zulip Abbie Watson (Jan 06 2017 at 07:17):

Here's a screenshot of what we're getting back from the Crucible test - Argonaut Sprint 1, Test 1.

Screen-Shot-2017-01-06-at-1.13.45-AM.png

The server correctly responds to the POST command with 1 patient record. But obviously there needs to be a bit more editing of headers and body content. But I'm not entirely sure what is incorrect and needs changing.

view this post on Zulip Brian Postlethwaite (Jan 06 2017 at 07:52):

For the core interactions with a server, you need to refer to the content on http://hl7.org/fhir/2017Jan/http.html

view this post on Zulip Brian Postlethwaite (Jan 06 2017 at 07:52):

This page has all the details on what HTTP actions require what content and headers.

view this post on Zulip Jason Walonoski (Jan 06 2017 at 13:03):

Abigail, it looks like you're returning an Array... but that should be a search result, which is supposed to be a Bundle.

view this post on Zulip Abbie Watson (Jan 06 2017 at 14:53):

Thank you much! I'll get started implementing the Bundle resource.

view this post on Zulip Abbie Watson (Jan 06 2017 at 20:00):

Got the Bundle implemented. Any idea why it's skipping these tests?

Screen-Shot-2017-01-06-at-1.59.38-PM.png

view this post on Zulip Jason Walonoski (Jan 10 2017 at 13:12):

They are skipping because you're not authenticated. Try clicking on the pad lock icon and entering your OAuth2 info.

view this post on Zulip Abbie Watson (Jan 11 2017 at 02:36):

Thank you! Yes, that would very likely be it!


Last updated: Apr 12 2022 at 19:14 UTC