# BMM (Basic Meta-Model) upgrade
**Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156)
**Created:** 2014-06-23 14:21 UTC
**Views:** 1
**Replies:** 0
**URL:** https://discourse.openehr.org/t/bmm-basic-meta-model-upgrade/14314
---
## Post #1 by @thomas.beale
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
---
**Canonical:** https://discourse.openehr.org/t/bmm-basic-meta-model-upgrade/14314
**Original content:** https://discourse.openehr.org/t/bmm-basic-meta-model-upgrade/14314