Discover Packages
github.com/googleinterns/healthcare-data-harmonization-lineage
command
module
Version:
v0.0.0-...-12d7af2
Opens a new window with list of versions in this module.
Published: Sep 22, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Data Harmonization Lineage
This is not an officially supported Google product.
What is this?
The whistle mapping language is used to map between healtcare schemas such as FHIR and OMOP. This tool reads whistle code and generates a graph representing the lineage of transformations applied to each field.
example whistle code:
x: foo()
def foo() {
if $Eq(0, 5) {
y: "true value"
} else {
y: "false value"
}
}
example lineage graph:
Installation
Make sure you have a golang development environment set up
Download and build the healthcare-data-harmonization
Download and build this repository using build.sh. You must provide the path to the healthcare-data-harmonization repository to the build script
Use
Simply run the healthcare-data-harmonization-lineage executable
Flags:
--help
-mapping_file_spec=[path/to/your/mapping.wstl]
path and filename of the whistle code you want to generate a graph for
-dot_out=[path/to/your/dottext.dot]
if provided, generates a dot representation of the graph with the given path and file name
-png_out=[path/to/your/image.png]
if provided, generates a png image of the graph with the given path and file name
-protobuf_out=[path/to/your/protobuf.pb.bin]
if provided, generates a serialized protobuf representation of the graph with the given path and file name
-write_examples=[true|false]
if provided, generates images and dot files for the whistle code in examples/. all other flags are ignored if this is activated.
Expand ▾
Collapse ▴
Documentation
¶
Package main runs the lineage graph generation program
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.