hcert-kotlin icon indicating copy to clipboard operation
hcert-kotlin copied to clipboard

Data Classes for Business Rules

Open Alival-IT opened this issue 3 years ago • 1 comments

Hello,

saw that you @nodh added some code to store the business rules as Json, is there gonna be an interoperability between this library and https://github.com/ehn-dcc-development/dgc-business-rules ? Since hcert-kotlin already contains data and valueSets, it could technically generate data structure that can be used with the business rules.

Alival-IT avatar Jul 16 '21 10:07 Alival-IT

You're right, we could add a data class to actually hold a business rule, i.e. one that deserializes the JSON strings we're storing. Unfortunately, this is not on our roadmap in the near future.

nodh avatar Jul 16 '21 11:07 nodh