Gravitate-Health / mvp-issues

Gateway for issues/discussions/comments regarding MVPs development.
0 stars 0 forks source link

Transform lenses to FHIR format #32

Open gmej opened 5 months ago

gmej commented 5 months ago

More information in issue #22 .

Current lenses must be transformed to FHIR format, and store them in FHIR server. Lenses require:

  1. FSH file (metadata). Maybe there is a better format? I suggest stick to fsh as iti sknown and already used in GH.
  2. JS file with the lens code
  3. ci/cd pipeline to build the lens: JS code is base64 enconded in the FHIR lens at field ["content"]["data"]
  4. Provenance
gmej commented 5 months ago

Lens Structure Definition: https://build.fhir.org/ig/hl7-eu/gravitate-health/StructureDefinition-lens.html

aalonsolopez commented 5 months ago

Should we build a Lens Bundler to pass from JS to FHIR?

Answer: yes