I am trying to create a medication order template using Template designer and am getting an error while trying to add openEHR-EHR-CLUSTER.timing_daily.v0 and openEHR-EHR-CLUSTER.timing_repetition.v0. More details along with the screenshot of the error in the attached file. I am also attaching the template file set for reference.
I looked at the offending Archetypes, but could not find any problem. If any of you have faced similar problems before, pls point me in the right direction to find a solution.
I am getting the same problem with both timing_daily and timing_repetition. So far my efforts to trace the issue has not been successful. I am attaching the updated zip file with the offending Archetypes also.
This originated from editing the archetypes using the Marand ADL Designer to be able to add the DV_INTERVAL<DV_DURATION> data type, which the Ocean Archetype Editor doesn’t support. Apparently, the Marand tool adds these valid but unnecessary “existence” contstraint statements. We’ve since removed them from the archetypes, so Template Designer shouldn’t have trouble with the latest published revision of the archetypes from the CKM.
Regarding the interval of duration data type, it turned out Ocean Template Designer didn’t support it either, leading to those data types being removed again until either the Template Designer is patched to support it, or the ADL Designer is released publicly.