https://github.com/aehrc/labcodeset-fhir-transform
Application which transforms Nederlandse Labcodeset from its native XML file format to a collection of FHIR terminology resources.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.4%) to scientific vocabulary
Keywords
Repository
Application which transforms Nederlandse Labcodeset from its native XML file format to a collection of FHIR terminology resources.
Basic Info
Statistics
- Stars: 3
- Watchers: 8
- Forks: 2
- Open Issues: 0
- Releases: 2
Topics
Metadata Files
README.md
Labcodeset to FHIR transformation
A stand-alone command-line tool that transforms Nederlandse Labcodeset XML to a collection of FHIR resources, specifically
| Type | URI | Description | | ---- | --- | ----------- | | CodeSystem supplement | http://labterminologie.nl/cs/labconcepts | CodeSystem supplement containing Dutch translations and properties as defined in the Labcodeset XML file | | ValueSet | http://labterminologie.nl/vs/labconcepts | ValueSet containing the unique set of LOINC codes referenced by the Labcodeset XML file - note this contains LOINC codes in any state, not just active codes | | CodeSystem fragment | http://unitsofmeasure.org | Fragment of the UCUM CodeSystem containing the union of UCUM expressions referenced by Labcodeset and the "common" FHIR UCUM ValueSet. Language for this CodeSystem is nl_NL, and Dutch display terms are used where available with the English terms set as designations | | ValueSet | http://labterminologie.nl/vs/labconcepts-ucum | ValueSet containing the unique set of UCUM expressions referenced by Labcodeset | | ConceptMap | http://labterminologie.nl/cm/labconcepts-ucum | ConceptMap containing mappings for each LOINC code in Labcodeset where a unit is expressed | | ValueSet | http://labterminologie.nl/vs/labconcepts-materials | ValueSet containing the unique set of SNOMED CT "material" codes referenced by Labcodeset | | ConceptMap | http://labterminologie.nl/cm/labconcepts-materials | ConceptMap containing mappings from LOINC codes in Labcodeset that reference one or more SNOMED CT "material" codes | | ValueSet | http://labterminologie.nl/vs/labconcepts-ordinal-xxx | A set of ValueSets, one for each "ordinal" list included in the Labcodeset XML file where xxx in the URI is replaced with the OID of the ordinal set | | ConceptMap | http://labterminologie.nl/cm/labconcepts-outcomes | ConceptMap containing mappings from LOINC codes in Labcodeset to either a SNOMED CT Reference Set identifier or a ValueSet OID depending upon which is listed in Labcodeset for that LOINC code.
Build
mvn clean package
This will build a file called ./target/labcodeset-transforms-jar-with-dependencies.jar
If you just want to run it, you can simply download the labcodeset-transforms-jar-with-dependencies.jar from the prebuilt release packages and skip to the next step.
Run
The program requires a few command line parameters to execute, they are desribed by the usage message if you don't supply the correct parameters.
usage: java -jar labcodeset-transforms-jar-with-dependencies.jar [-clientId <client_id>] [-clientSecret <client_secret>]
-fhirEndpoint <fhir endpoint> -labcodesetFile <file_path> -loincVersion <loinc_version> [-outputDir <directory>]
[-tokenEndpoint <token _endpoint>]
-clientId <client_id> Client id part of client credentials to use with the token endpoint to get a bearer
token for use with the specified FHIR endpoin - optional if authorisation is
required for the FHIR endpoint
-clientSecret <client_secret> Client secret part of client credentials to use with the token endpoint to get a
bearer token for use with the specified FHIR endpoin - optional if authorisation is
required for the FHIR endpoint
-fhirEndpoint <fhir endpoint> FHIR terminology endpoint containing the appropriate LOINC and SNOMED CT-NL versions
to reference during the transformation
-labcodesetFile <file_path> File path to the Labcodeset XML file to transform
-loincVersion <loinc_version> Version of LOINC this Labcodeset XML file has been built with
-outputDir <directory> Location to output the resulting FHIR resources and Bundle - defaults to the
directory the program was executed from if not specified
-tokenEndpoint <token _endpoint> Token endpoint URL to get a bearer token with for the specified endpoint - optional
if authorisation is required for the FHIR endpoint
Following is an example execution
java -jar labcodeset-transforms-jar-with-dependencies.jar \
-fhirEndpoint https://r4.ontoserver.csiro.au/fhir \
-labcodesetFile /some/path/labcodeset.xml \
-loincVersion 2.69
Output
The transform will produce one JSON file for each of the generated resource as well as a Bundle resource JSON file containing all of the resources as a convenience.
The file names of the generated JSON files will contain the version number inside each of the resources, and the Bundle resource file name will carry the Labcodeset version it was generated from.
Owner
- Name: The Australian e-Health Research Centre
- Login: aehrc
- Kind: organization
- Website: https://aehrc.com
- Twitter: ehealthresearch
- Repositories: 101
- Profile: https://github.com/aehrc
The Australian e-Health Research Centre (AEHRC) is CSIRO’s digital health research program.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: 8 days
- Total issue authors: 0
- Total pull request authors: 3
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 4 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- dfleming9 (2)
- mertenssander (1)
- johngrimes (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- ca.uhn.hapi.fhir:hapi-fhir-base 5.2.1
- ca.uhn.hapi.fhir:hapi-fhir-client 5.2.1
- ca.uhn.hapi.fhir:hapi-fhir-structures-r4 5.2.1
- com.google.code.gson:gson 2.8.9
- com.sun.activation:jakarta.activation 2.0.0
- commons-cli:commons-cli 1.4
- commons-io:commons-io 2.8.0
- javax.xml.bind:jaxb-api 2.3.1
- org.glassfish.jaxb:jaxb-runtime 2.3.3
- org.slf4j:slf4j-simple 1.7.28
- actions/checkout v2 composite
- actions/setup-java v1 composite
- actions/checkout v2 composite
- actions/setup-java v1 composite