The openEHR BMM format which we use for the computable representation of
the openEHR model has been upgraded to support enumeration types and
nested generic and container types. The BMM Github repo
<https://github.com/openEHR/bmm/wiki> has some basic documentation, and
all the relevant links.
Coming very soon: support for documentation fields.
Here's an example of an enumerated type in BMM syntax, from the openEHR RM:
["PROPORTION_KIND_2"] = (P_BMM_ENUMERATION_INTEGER) <
name = <"PROPORTION_KIND">
ancestors = <"Integer", ...>
item_names = <"pk_ratio", "pk_unitary", "pk_percent",
"pk_fraction", "pk_integer_fraction">
item_values = <0, 1, 2, 3, 4>
>
This is supported in the forthcoming ADL Workbench beta:
An example nested container type, from the FHIR schema:
["Patient"] = <
name = <"Patient">
ancestors = <"Person", ...>
properties = <
.....
["careProvider"] = (P_BMM_CONTAINER_PROPERTY) <
name = <"careProvider">
type_def = <
container_type = <"List">
type_def = (P_BMM_GENERIC_TYPE) <
root_type = <"ResourceReference">
generic_parameters = <"Party">
>
>
cardinality = <|>=0|>
>
...
>
>
- thomas beale
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20140623/0e41a511/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ihgabeac.png
Type: image/png
Size: 19112 bytes
Desc: not available
URL:
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20140623/0e41a511/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: biacagjj.png
Type: image/png
Size: 39127 bytes
Desc: not available
URL:
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20140623/0e41a511/attachment-0003.png>