Quintonn
Quintonn

Reputation: 768

How to find all TestScript items for a HL7 FHIR Server (v4)

I am learning about HL7 and I am trying to find out more about the TestScript resources.

As I understand it, using the TestScript resource, I can find all tests available on a FHIR server.

So I found a test server (https://vonk.fire.ly).

And I request the TestScript resource which returns a Bundle resource and it shows it has 7 items in the searchset

First question is how do I get the other 6 items?

Other websites I've found suggested there should be a Bundle.link with relation=next, but I don't see that in the response I get.

The second question:

I found this website: https://www.projectcrucible.org/, which will run all tests on the server you give it.

Now if I enter https://vonk.fire.ly, it manages to find a ton of tests.

My question is how does it get all those tests?

My understanding from HL7 FHIR is that based on the available resources, I should be able to find all those tests too. But I can't.

Any help is appreciated.

Upvotes: 0

Views: 181

Answers (2)

Mirjam Baltus
Mirjam Baltus

Reputation: 2299

When you do a search, you get back a FHIR Bundle with entries for each resource that fulfilled your query. The Vonk server sends back 10 resources per page, so if only 7 resources match, you just get 1 Bundle without a next link.

The Vonk server is called a test server, because you can test your FHIR client against it. Vonk does not test anything itself - other than validating the incoming data - but will store data that you send to it, and responds to queries. So even though Vonk has 7 TestScript resources, they are just data that is stored.

The Crucible project is a testing platform that is set up to test FHIR servers. Crucible does not load the TestScript resources from the server you want to test, but uses its own tests.

Upvotes: 0

Lloyd McKenzie
Lloyd McKenzie

Reputation: 6803

The vonk.fire.ly server only has 7 scripts. When you query it, you get back one Bundle which contains 7 entries. Each entry has one TestScript. There are no other pages to retrieve which is why there's no 'next' link. When you us projectcrucible.org, it must be grabbing TestScripts from somewhere other than just the vonk server.

Upvotes: 0

Related Questions