BBMRI-cz / fhir-module

A data integration tool for BBMRI-ERIC biobanks.
Apache License 2.0
2 stars 1 forks source link

[FEATURE] Add a configuration template for mapping XML to Python objects #4

Closed RadovanTomik closed 1 year ago

RadovanTomik commented 1 year ago

Brief description. In order for this application to be as robust as possible we need to provide an easily customizable map for parsing objects from XML files. E.g.

{
patient_map: {id: "patient.@id", gender: "patient.@sex"},
sample_map: {id: "**.STS.material.@id"}
}

The path syntax should be compatible with glom. Desired functionality acceptance criteria