EHRBase and ADL2.0

@joostholslag I had to spend some time writing the generators, but now it takes no handwork to generate an api for a template. Is this what you meant?

I have OpenAPI and GraphQL generators, but they require some more work – mostly to decide how to represent all the complexities of BMM and ADL in these formats. Once that is done it would take “a day” of handwork to add it to the generators.

Closest to production are Java “domain model” classes. The first screenshot is a classic approach with named setters. The second is using a LOINC code to automatically set the corresponding values. This is the approach @thomas.beale “added” to the generator.

All the classes used in the example are generated from OPT2.

LOINC:

1 Like