Due to recent review and fixes to various BMMs due to @borut.jures (Borut Jures) implementation work, I realised that none of the Hash<>
(= Map<>
in Java) relationships in the BMMs are using the P_BMM_INDEXED_CONTAINER_PROPERTY
meta-type (see here in the P_BMM spec), which generates BMM_INDEXED_CONTAINER_PROPERTY
instances at runtime (see here in BMM spec).
An example of what this meta-type looks like in a BMM is as follows. Not complicated - just like the P_BMM_CONTAINER_PROPERTY
meta-type but with an extra field index_type
.
["CALLBACK_WAIT"] = <
name = <"CALLBACK_WAIT">
ancestors = <"...">
properties = <
["custom_actions"] = (P_BMM_INDEXED_CONTAINER_PROPERTY) <
name = <"custom_actions">
type_def = <
container_type = <"Hash">
index_type = <"String">
type = <"EVENT_ACTION">
>
cardinality = <|>=0|>
>
>
I had this working in ADL Workbench long ago, and would like to upgrade the BMMs to use it - but I need to know if it has been implemented elsewhere. So, calling:
- Archie - @pieterbos
- Archetype Designer - @borut.fabjan
- NeoEHR - @borut.jures
- LinkEHR - @yampeku
- anyone else got a BMM implementation?
Please respond here.