srdc / tofhir

Mapping toolset to migrate/transform existing datasets to HL7 FHIR
Apache License 2.0
6 stars 1 forks source link

Read HL7 mssages #177

Closed alkarkoukly closed 1 week ago

alkarkoukly commented 1 month ago

This is rather a question/suggestion, and not really an issue. Does toFHIR read HL7 messages? If so, how to identify the fields and sub-fields in the Schema? If not, is it planned in the future?

sinaci commented 1 month ago

Yes, we have recently added a new option to the sourceSettings of a mapping job configuration. You can find the short info at the readme: https://github.com/srdc/tofhir?tab=readme-ov-file#fhir-server

While adding a mapping definiton into a mapping job, the resourceType and query fields are expected. That mapping is also expected to use the schema definiton of the same resourceType. Hence, standard StructureDefinition from FHIR should be available to toFHIR. This can be done either by providing the StructureDefinition files manually or by pointing to a FHIR endpoint where the StructureDefinition(s) of those resourceTypes can be found.

sinaci commented 1 week ago

Closing the issue as I believe the question is answered. Please reopen to discuss further.