Defaults for fields

For some of the fields in openEHR, there is often no corresponding element in FHIR. This is typically the case for the composer and the Composition context.

However, the composer is a mandatory element in openEHR, and the context is usually populated, which includes the mandatory element start_time. It is recommended to default the composer, if not populated by a mapping, with a value such as FHIRconnect party.

For the context_start_time, the default mapping time can be used. The EVENT_CONTEXT setting should be defined by the project performing the mapping. It can be defaulted to one of the valid values from settings.

The language, territory, and category of the Composition should be set either as part of the project mapping files or as default values by the engine.