...
Once all data structure is in target (Postgres) database, that database is re-worked to migrate data model into a FHIR-compatible format (fhirbase see technology stack for chosen fhir implementation)
... which allow openIMIS to expose a FHIR - compatible API (for the migrated entities)