We're updating the issue view to help you get more done. 

New API for providing metadata about entities

Description

This is for decoupling modules, and can be used, for example, to specify which family does a patient belong to, without the patients module knowing about the families module.

New API:

1 2 3 4 public interface PrimaryEntityMetadataManager { Map<String, Object> getMetadata(PrimaryEntity entity); }

New SPI:

1 2 3 4 public interface PrimaryEntityMetadataProvider { Map<String, Object> provideMetadata(PrimaryEntity entity); }

Environment

None

Status

Assignee

Sergiu Dumitriu

Reporter

Sergiu Dumitriu

Labels

External issue ID

None

External issue ID

None

Components

Fix versions

Priority

Medium