Редагувати

Поділитися через


Tutorial for Da Vinci Drug Formulary

In this tutorial, we'll walk through setting up the FHIR® service in Azure Health Data Services (FHIR service) to pass the Touchstone tests for the Da Vinci Payer Data Exchange US Drug Formulary Implementation Guide.

Touchstone capability statement

The first test focuses on testing the FHIR service against the Da Vinci Drug Formulary capability statement. If you run this test without any updates, the test fails due to missing search parameters and missing profiles.

Define search parameters

As part of the Da Vinci Drug Formulary IG, you'll need to define three new search parameters for the FormularyDrug resource. All three of these are tested in the capability statement.

The rest of the search parameters needed for the Da Vinci Drug Formulary IG are defined by the base specification and are already available in FHIR service without updates.

Store profiles

Outside of defining search parameters, the only other update you need to make to pass this test is to load the required profiles. There are two profiles used as part of the Da Vinci Drug Formulary IG.

Sample rest file

To assist with creation of these search parameters and profiles, we have the Da Vinci Formulary sample HTTP file on the open-source site that includes all the steps previously outlined in a single file. Once you've uploaded all the necessary profiles and search parameters, you can run the capability statement test in Touchstone. You should get a successful run:

Da Vinci test script execution.

Touchstone query test

The second test is the query capabilities. This test validates that you can search for specific Coverage Plan and Drug resources using various parameters. The best path would be to test against resources that you already have in your database, but we also have the Da VinciFormulary_Sample_Resources HTTP file available with sample resources pulled from the examples in the IG, which you can use to create the resources and test against.

Da Vinci test execution results.

Next steps

In this tutorial, we walked through how to pass the Da Vinci Payer Data Exchange US Drug Formulary in Touchstone. Next, you can learn how to test the Da Vinci PDex Implementation Guide in Touchstone.

Note

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