better-care / web-template

WebTemplate implementation for openEHR CDR
Apache License 2.0
5 stars 3 forks source link

Choose between input or output flat format #3

Closed ppazos closed 3 years ago

ppazos commented 3 years ago

Related to https://github.com/better-care/web-template/issues/2

My teams asked me if the flat format generated is the input or output one. It seems the EHRSCAPE API uses both, but I didn't see an option/parameter in this library to choose between those formats. Not sure if the EHRSCAPE API is using this library to transform to flat.

By the examples a colleague gave me, it seems this lib is generating the output flat format, but I'm not 100% sure https://github.com/ehrbase/ehrbase/pull/646#issuecomment-950632373

delopst commented 3 years ago

Hi @ppazos.

By EHR scape you mean the template example API? I think that only there you can choose between input and output option.

The example API is not part of the web-template library.

Web-template library will always generate the output.

Regards, Primož

ppazos commented 3 years ago

Thanks @delopst that is exactly what I needed to confirm!