Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.
/ spia-to-fhir Public archive

A Maven plugin for converting terminology from the Standards for Pathology Informatics in Australia (SPIA) into a set of FHIR terminology resources.

License

Notifications You must be signed in to change notification settings

aehrc/spia-to-fhir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPIA to FHIR

A Maven plugin for converting terminology from version 3.1 of the Standards for Pathology Informatics in Australia (SPIA) into a set of FHIR STU3 and FHIR R4 terminology resources.

The input is the ZIP archive distributed on the National Clinical Terminology Service web site.

The output is two FHIR Bundles (one for each FHIR version), each containing the following resources:

  1. Requesting reference set (SNOMED CT ValueSet)
  2. Chemical pathology reporting reference set (LOINC ValueSet)
  3. Chemical pathology unit map (ConceptMap)
  4. Chemical pathology combining results flag map (ConceptMap)
  5. Microbiology serology molecular reporting reference set (LOINC ValueSet)
  6. Microbiology serology molecular unit map (ConceptMap)
  7. Microbiology subset of organisms (SNOMED CT ValueSet)
  8. Haematology reporting reference set (LOINC ValueSet)
  9. Haematology unit map (ConceptMap)
  10. Immunopathology reporting reference set (LOINC ValueSet)
  11. Immunopathology unit map (ConceptMap)
  12. Preferred unit reference set (UCUM ValueSet)
  13. SPIA combining result flag (CodeSystem)

Overview of outputs

A FHIR terminology server that contains SNOMED CT and LOINC is required for the build process, as it is used to validate the content within the source files.

You can execute the plugin with the following commands:

mvn install

mvn -DinputPath=[zip file] \
    -DoutputDirectory=[path to output directory] \
    -DterminologyServerUrl=[FHIR terminology server endpoint] \
    -DpublicationDate=[publication date] \
    au.csiro:spia-to-fhir-maven-plugin:transform

Here is a description of the input parameters for the plugin:

  • inputPath: Path to the ZIP archive used to distribute the SPIA spreadsheets.
  • outputDirectory: Path where the output FHIR Bundles will be created (spia-stu3.Bundle.json and spia-r4.Bundle.json).
  • terminologyServerUrl: Endpoint of a FHIR terminology server which contains SNOMED CT and LOINC.
  • publicationDate: Date (in the format yyyy-MM-dd) used to populate the ValueSet.date and ConceptMap.date elements.

About

A Maven plugin for converting terminology from the Standards for Pathology Informatics in Australia (SPIA) into a set of FHIR terminology resources.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages