Closed MTroianov closed 2 years ago
All the save results
button did was display the url from the address bar in a modal. You can just copy the url from your browser's address bar for the same effect.
If you want the results in a machine-readable format, I'd recommend using the JSON API over directly querying the db. When you're using Inferno, your url will look like:
HOST_AND_BASE_PATH/test_sessions/TEST_SESSION_ID#GROUP_ID
You can get the results for a session as JSON by performing a GET to:
HOST_AND_BASE_PATH/api/test_sessions/TEST_SESSION_ID/results
If there is additional functionality that would be helpful in the JSON API, please let us know and we will consider adding it.
You're really looking for the results of a test session, rather than a test run. Any time you click a run button in inferno, a new test run is created. So a single test session can contain multiple test runs together.
Thanks for very descriptive response! I might be getting some questions while testing the JSON API that you shared, but it looks very useful to our needs at the first glance.
Sorry, one more question. Is there a way to install Inferno with US Core 4.0.0 locally?
Sure, if you don't want the g10 tests, you can just clone and run the US Core Test Kit.
If you want the g10 tests to be available, too, I'm pretty sure you need to:
require 'us_core_test_kit'
.lib/onc_certification_g10_test_kit/us_core_4_ig
folderdocker-compose.yml
us_core_4_validator_service:
image: infernocommunity/fhir-validator-service:v2.1.0
volumes:
- ./lib/onc_certification_g10_test_kit/us_core_4_igs:/home/igs
.env
: V400_VALIDATOR_URL=http://us_core_4_validator_service:4567
Be warned that the US Core 4 IG makes the validator use a lot of memory.
Our team is concentrated on compliance of Single Patient API with US Core 4.0.0, did I get it correctly that we can use US Core Test Kit with 4.0.0 selected for that?
Yes.
Thanks for help!
Hello! Our team is looking for the best way to store results of the profile runs for tracking purposes, how would you recommend to do it in this version? Previously, we were using 'save results' which we were able to retrieve later by hashed link, but now I can't find this option in the UI. I also tried looking into generated SQLITE db directly, but I haven't found clear indication of how to create a relation between results and the profile/test run. Thanks in advance!