Gravitate-Health / lens-selector-mvp2

Set of lenses for MVP2
Apache License 2.0
0 stars 0 forks source link

[XL] Pipeline lenses: transform lenses to fsh and send encoded to FHIR #15

Closed gmej closed 5 months ago

gmej commented 8 months ago

Lenses build/push will be automated. The new process deprecates this lens-selector service.

gmej commented 8 months ago

@joofio do you have any github workflow that executes sushi that we can reuse for this task?

gmej commented 8 months ago

I would use this repo owned by @joofio as an example of a fsh/sushi project to use the same structure: https://github.com/joofio/test-epi-composition

gmej commented 8 months ago

This task is related and developel along with #16

joofio commented 8 months ago

why sushi? i dont quite understand this issue?

gmej commented 8 months ago

The idea is to develop lenses with a .fsh file and a .js file (the lens itself). a workflow would base64 the lens in the fsh encode and then build the JSON with sushi. Maybe we misunderstood the process of transforming sushi to HAPI FHIR

joofio commented 8 months ago

why the overhead of sushi and not plain json?

gmej commented 8 months ago

we thought that potential lens developers (and us) might prefer writing fsh than json. That's the reason, but we are open for suggestions. How would you proceed with this?

joofio commented 8 months ago

no. fsh is niche. I would go with json which everybody knows

aalonsolopez commented 6 months ago

we have now the first version of our new CLI tool (which can be implemented on Actions) to bundle normal lenses to a FHIR compliant JSON file. it also have a command to upload the file to a given domain including a FHIR IPS server

https://www.npmjs.com/package/@gravitate-health/fhir-lens-bundler

CC/ @joofio @jkiddo

joofio commented 6 months ago

what this mean in fact? what are "normal lenses"? what does the " it also have a command to upload the file to a given domain including a FHIR IPS server" mean?

aalonsolopez commented 6 months ago

Let me show you a demo video here, I'll see if I can

aalonsolopez commented 6 months ago

Demo

A normal lens is a Lens in its source code version, e.g. JavaScript

joofio commented 5 months ago

done