A HAPI FHIR Validator has been developed with the necessary configurations to properly process SHIN-NY IG-related FHIR Bundles. The current version (v1.1.0) of the SHIN-NY IG can be found here: SHIN-NY IG v1.1.0. All examples in this version validate with no errors. The project is built using Gradle for build automation and is designed to be integrated as a module in an existing Gradle project.
Project Structure:
The module is built using Gradle and can be imported as a new Gradle project or added as a module to an existing project.
Entry Point: The method validateResources from the class org.shinny.validator.ShinnyValidator serves as the entry point.
Testing: The class org.shinny.validator.ShinnyValidatorTest can be used for running quick tests with FHIR bundle examples.
Codes:
LOINC codes related to screening observations are loaded into the validation support module for the observation-codes value set.
SNOMED codes are loaded into the validation support module for the SNOMED code system.
ICD-10-CM codes are loaded into the validation support module for the ICD-10-CM code system.
All codes are read from the resources/reference folder.
Packages:
The SHIN-NY IG package (v1.1.0) and its dependency packages are loaded into the validation support module from the resources/packages folder.
Value Sets:
External binding value sets, including gender identity and sexual orientation, are loaded into the validation support module from the resources/vs folder.
This setup can be integrated into existing FHIR validation workflows.
A HAPI FHIR Validator has been developed with the necessary configurations to properly process SHIN-NY IG-related FHIR Bundles. The current version (v1.1.0) of the SHIN-NY IG can be found here: SHIN-NY IG v1.1.0. All examples in this version validate with no errors. The project is built using Gradle for build automation and is designed to be integrated as a module in an existing Gradle project.
Project Structure:
validateResources
from the classorg.shinny.validator.ShinnyValidator
serves as the entry point.org.shinny.validator.ShinnyValidatorTest
can be used for running quick tests with FHIR bundle examples.Codes:
observation-codes
value set.resources/reference
folder.Packages:
resources/packages
folder.Value Sets:
resources/vs
folder.This setup can be integrated into existing FHIR validation workflows.