arkhn/fhir-river

Add and use a `Mapping` type in the `Analyzer`

Jasopaum opened this issue · 0 comments

Problem

Currently, we manipulate a dict. This is painful and error prone.

Description

We could deserialize the mappings extracted from the current batch with a pydantic model (or a subclass of MappingSerializer overriding the save method to not persist the data) and type hint everything.