Skip to content

Shared test cases across multiple FHIR reference implementations / validators

License

Notifications You must be signed in to change notification settings

FHIR/fhir-test-cases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fhir-test-cases

CI Status (master) Release Pipeline Current Release Latest SNAPSHOT
Build Status Build Status Release Artifacts Snapshot Artifact

Contents

This repository contains:

  • r5: r5 test cases (actively maintained)
  • r4: r4 test cases (not maintained)
  • cda: test case CDA for roundtripping/validation based on FHIR definition of CDA
  • ucum: source for ucum
  • validator - test cases for the cross-version validation
  • target - maven administrative stuff

FHIR Foundation Project Statement

  • Maintainers: Grahame Grieve
  • Issues / Discussion: Various, but primarily https://chat.fhir.org/#narrow/stream/179239-tooling
  • License: The contents in here are covered by Creative Commons Public Domain
  • Contribution Policy: See below
  • Security Information: There shouldn't be any security issues, since this is all static content, but if there are any, use the standard github security reporting framework

Contribution Policy

  • Contributions are welcome, but are almost always tied to contributions made to the repositories that use this material as part of their test regime.
  • All contributions must be made in public through this github as a PR, or as comments on other Github repositories, or on a public zulip channel

Accessing the test cases

You can access the test cases via Maven. If using Maven doesn't suit, then another option is to download the test cases directly from https://github.com/FHIR/fhir-test-cases/releases/latest/download/testcases.zip

Building this Project

You can find detailed instructions on setting up this project in your IDE here.

This project uses Apache Maven to build. To build:

mvn install

Note: there's no java code in here. The fact that maven is used is just to make it easy to book up other maven dependencies to the test cases

Download

Maven

<dependency>
    <groupId>org.hl7.fhir.testcases</groupId>
    <artifactId>fhir-test-cases</artifactId>
    <version>(latest version)</version>
</dependency>

Gradle

compile group: 'org.hl7.fhir.testcases', name: 'fhir-test-cases', version: '(latest version)'

Releases

Releases and release notes are published to GitHub, and can also be downloaded from Maven Central.

CI/CD

This project has pipelines hosted on Azure Pipelines.

  • Pull Request Pipeline is automatically run for every Pull Request to ensure that the project can be built via maven. [Azure Pipeline] [source]
  • Master Branch Pipeline is automatically run whenever code is merged to the master branch and builds the SNAPSHOT binaries distributed to OSSRH [Azure Pipeline][source]
  • Release Branch Pipeline is run manually whenever a release is ready to be made. It builds the release binaries, distributes them to artifact repositories and sends release notifications. [Azure Pipeline][source]

A brief overview of our publishing process is here.

For more detailed instructions on cutting a release, please read the wiki

Maintenance

This project is maintained by the FHIR community to help implementations test their functionality.