The current MDM implementation only supports the Patient resource. If you need support for additional resources, please contact us.
Add model to Aidbox
To add a matching model, you need to create a custom resource named AidboxLinkageModel. This resource contains a DSL that describes:
resource: The type of resource being matched
thresholds: Contains thresholds for automatic and manual matching
vars: Defines variables that can be used in expressions
features: Defines the matching features with expressions and their corresponding Bayes Factors
blocks: Defines blocking conditions to limit the number of comparisons
The features section contains multiple matching criteria, each with an expr (expression) and a bf (Bayes Factor). The bf values are used to calculate the overall match score based on the specified expressions.
Here's an example of creating an AidboxLinkageModel: