Skip to content

Latest commit

 

History

History
82 lines (51 loc) · 6.57 KB

carin-implementation-guide-blue-button-tutorial.md

File metadata and controls

82 lines (51 loc) · 6.57 KB
title description services ms.service ms.subservice ms.topic ms.author author ms.date
CARIN Blue Button Implementation Guide for Blue Button - Azure API for FHIR
This tutorial walks through the steps of setting up Azure API for FHIR to pass the Touchstone tests for the CARIN Implementation Guide for Blue Button (C4BB IG).
healthcare-apis
healthcare-apis
fhir
tutorial
kesheth
expekesheth
09/27/2023

CARIN Implementation Guide for Blue Button® for Azure API for FHIR

[!INCLUDE retirement banner]

In this tutorial, we'll walk through setting up Azure API for FHIR to pass the Touchstone tests for the CARIN Implementation Guide for Blue Button (C4BB IG).

Touchstone capability statement

The first test that we'll focus on is testing Azure API for FHIR against the C4BB IG capability statement. If you run this test against Azure API for FHIR without any updates, the test will fail due to missing search parameters and missing profiles.

Define search parameters

As part of the C4BB IG, you'll need to define three new search parameters for the ExplanationOfBenefit resource. Two of these are tested in the capability statement (type and service-date), and one is needed for _include searches (insurer).

Note

In the raw JSON for these search parameters, the name is set to ExplanationOfBenefit_<SearchParameter Name>. The Touchstone test is expecting that the name for these will be type, service-date, and insurer.

The rest of the search parameters needed for the C4BB IG are defined by the base specification and are already available in Azure API for FHIR without any additional updates.

Store profiles

Outside of defining search parameters, the other update you need to make to pass this test is to load the required profiles. There are eight profiles defined within the C4BB IG.

Sample rest file

To assist with creation of these search parameters and profiles, we have a sample http file that includes all the steps outlined in this tutorial in a single file. Once you've uploaded all the necessary profiles and search parameters, you can run the capability statement test in Touchstone.

:::image type="content" source="media/cms-tutorials/capability-test-script-execution-results.png" alt-text="Capability test script execution results.":::

Touchstone read test

After testing the capabilities statement, we'll test the read capabilities in Azure API for FHIR against the C4BB IG. This test is testing conformance against the eight profiles you loaded in the first test. You'll need to have resources loaded that conform to the profiles. The best path would be to test against resources that you already have in your database, but we also have an http file available with sample resources pulled from the examples in the IG that you can use to create the resources and test against.

:::image type="content" source="media/cms-tutorials/test-execution-results-touchstone.png" alt-text="Touchstone read test execution results.":::

Touchstone EOB query test

The next test we'll review is the EOB query test. If you've already completed the read test, you have all the data loaded that you'll need. This test validates that you can search for specific Patient and ExplanationOfBenefit resources using various parameters.

:::image type="content" source="media/cms-tutorials/test-execution-touchstone-eob-query-test.png" alt-text="Touchstone EOB query execution results.":::

Touchstone error handling test

The final test we'll walk through is testing error handling. The only step you need to do is delete an ExplanationOfBenefit resource from your database and use the ID of the deleted ExplanationOfBenefit resource in the test.

:::image type="content" source="media/cms-tutorials/test-execution-touchstone-error-handling.png" alt-text="Touchstone EOB error handling results.":::

Next steps

In this tutorial, we walked through how to pass the CARIN IG for Blue Button tests in Touchstone. Next, you can review how to test the Da Vinci formulary tests.

[!div class="nextstepaction"] DaVinci Drug Formulary

FHIR® is a registered trademark of HL7 and is used with the permission of HL7.