openEHRSDK in Any Language
Generated SDKs, APIs, forms, applications, schemas, libraries,... Flutter, TypeScript, Kotlin, C#, WebComponents, Vue, Angular, Blazor, GraphQL, OpenAPI,...
Generated SDKs, APIs, forms, applications, schemas, libraries,... Flutter, TypeScript, Kotlin, C#, WebComponents, Vue, Angular, Blazor, GraphQL, OpenAPI,...
If a human wrote computable specifications then there is no need for another human to implement them in code. The code should be generated by a computer.
NeoEHR.com
Generate code in TypeScript, C#, Kotlin,...
Code in these examples is for Dart but it is easy to generate code in any programming language. I just don’t want to spend time on other languages if there is lack of interest in them (send me an email if your preferred language is missing).
Dart's syntax is almost the same as Java and JavaScript. It is easy to learn. Dart tools can compile it to JavaScript (dart compile). It remains almost readable even after compiling. But the readability is not important. The important part is that the code can be run on Node.js or be called from other JavaScript code.
Update: I created an openEHR JavaScript SDK.
Here is the generator code used to generate code. Only these few methods must be changed and the generator can output code in TypeScript, C#, Kotlin,...
Here is the generator code for Dart and GraphQL. Almost the same:
And the almost identical code for the GraphQL generator:
And the generated GraphQL schema:
Builder
Learn more about generating openEHR applications
Computable Specifications
Learn more about openEHR AM / RM generator
openEHR SDK
Learn more about openEHR SDK generator