Today @siljelb commented on the Pulse/heart beat archetype:
And previous discussion: Pulse and heart beat conundrum
Can we use this as an example to prepare for similar breaking changes when an archetype is significantly refactored including cases when a single archetype is replaced by two or more archetypes?
- Is there a written protocol for such a change?
- Do the existing CDRs support such a change?
- Are there tools for automating such a change in the existing AQL queries?
- Are there recommendations for handling such changes outside the CDRs? For example forms, mappings, analytics,âŚ
- Anybody has experience performing such a change?
And the changes donât come from the clinical modelers only:
- A similar scenario can be a result of somebody who is still in kindergarten today and will some day implement new (breaking) RM ideas. The data stored today, is supposed to be migrated to the new RM version.
- I expected that openEHR would be able to handle a change from
at-codestoid-codesintroduced with ADL2, but it was decided not to open that can of worms either.
These scenarios could be a good exercise for big breaking changes expected in the future which involve a lot of data and related AQL queries.
The reasoning for not updating the existing data upfront was the time it would take in production CDRs (something confirmed by @Sidharth_Ramesh in another thread). It would also require custom migration code for each CDR. More data is stored on a daily basis. Can we proactively address the bottlenecks that forced us to make compromises in the past?
Please donât read this as a critique of the existing CDRs. They are all huge achievements by a very smart group of early adopters. Given enough time, they will easily implement the necessary features. I would just like to see that we prepare in advance.