ehn-dcc-development / hcert-kotlin

Kotlin multiplatform implementation of the HCERT/DCC specification
Apache License 2.0
25 stars 25 forks source link

Data Classes for Business Rules #52

Open Alival-IT opened 3 years ago

Alival-IT commented 3 years ago

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.

nodh commented 3 years ago

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.