Open oliveregger opened 2 years ago
I can provide an implementation based on Groovy and Apache Velocity, if you want.
@unixoid thanks for the offer and yes sure, we would very much like an implementation, is this doable with the current ipf / mobile access gateway dependencies?
CH:PPQm support was added in IPF 4.8-m1 released today. This includes Camel components for all three transactions and routines for translating messages between CH:PPQ and CH:PPQm. In that way, the only part of the business logic to be implemented in the MAG is to handle transactional updates, i.e. to determine whether a PUT request shall be translated in an AddPolicyRequest or an UpdatePolicyRequest. I will implement this for the Projectathon in a separate project, and can contribute the code to the MAG project then.
Another minor restriction is that audit trail is only DICOM-based at the moment, because the corresponding IPF issue is not yet implemented. But this is not specific for CH:PPQm and relates to all FHIR-based transactions.
BTW, by updating to IPF 4.8-m1, you probably could get rid of proprietary Camel components named "mhd-itiXX-v401" in the MAG project.
sounds great, looking forward for you contribution!
See project https://github.com/unixoid/pton-ppqm and feel free to integrate it into the Mobile Access Gateway. IPF 4.8-SNAPSHOT is required as there were relevant changes after 4.8-m1.
See #126
Current changes in the Release 2024 of the PPQm profile (in particular, integration into the CH-EPR-FHIR IG and addition of template 304) are implemented in IPF 4.8-SNAPSHOT and 5.0-SNAPSHOT. This implementation will be finalized after the ballot. See https://github.com/oehf/ipf/issues/450.
eHealth Suisse has published a first draft for the PPQm profile:
The implementation of the PPQm profile and translation would be a nice addition in a future version.