HL7v2 Test Cases Instructions

Steps taken to run the hl7 test cases

file-download
30MB

Pull santempi:

Pull santempi repository from github : https://github.com/santedb/santempi.gitarrow-up-right

Install docker containers:

Having docker installed, run the following command inside santempi/instant directory where the docker-compose.yml file exists to spin up docker containers.

 docker compose -f docker-compose.yml up
circle-info

It also can be done by running the "docker-compose.ui.yml" file but the ui component is not necessary here

Get sdbac(santedb admin console) from latest release

Get the latest sdbac release from github: https://github.com/santedb/santedb-server/releasesarrow-up-right

Download the sdbac.zip and extract the files.

Configure santempi instances for pre-conditions setup

1-Run the following commands inside sdbac directory where the sdbac.exe is located or run the sdbac.exe directly.

circle-info

The command prompt should be run in administrative mode

2-Insert the credentials for Username and Password.

3-Wait for the system to get ready

4-Run the following commands:

To create TEST_HARNESS application run:

To create TEST_HARNESS|TEST device run:

To create TEST identity domain and set the assigned authority to TEST_HARNESS run:

Pull hl7-testing-tool:

Pull hl7-testing-tool from github: https://github.com/santedb/hl7-testing-tool.gitarrow-up-right

Run hl7-testing-tool:

Run hl7-testing-tool solution with visual studio.

They can be run as an entire test suite or an individual test case or test step.

For a test step to pass all mandatory assertions and at least one of alternate assertions for the same terserstring must pass.

circle-info

For more information about how the tool works please visit The README section in hl7-testing-tool repository at github: https://github.com/santedb/hl7-testing-tool/blob/main/README.mdarrow-up-right

Last updated

Was this helpful?