HL7Norway / basisprofiler-r4

HL7 FHIR Base profiles for Norway - R4
https://simplifier.net/guide/no-basis-entities-individuals
17 stars 2 forks source link

Deriverte profiler fra no-basis krever manuell prosess for å resolve dependencies med FSH workflow #115

Open thomiz opened 1 year ago

thomiz commented 1 year ago

NB! gjelder ikke bare no-basis

SIMPLIFIER genererer ikke pakker med snapshots som standard. Disse må lastes ned enten via SIMPLIFIER webgrensesnitt eller kommandolinje firely terminal. npm nedlasting fungerer ikke og gir bare differentials av profilene. Differentials virker ikke når man skal arve fra profiler i andre pakker og bruke FSH/SUSHI for å bygge IG'en.

Da vil man få følgende feil (eksempel med arv fra no-basis-Person):

Sushi: error Structure Definition http://hl7.no/fhir/StructureDefinition/no-basis-Person is missing snapshot. Snapshot is required for import. (00:05.607) Sushi: File: /github/workspace/igs/test-fsh/input/fsh/profiles/derived-Person.fsh (00:05.608)

Man må da laste ned pakken manuelt fra pakkedistribusjon.

thomiz commented 1 year ago

TEST: En mulig løsning kan være å bruke build.fhir.org arbeidsflyt

thomiz commented 1 year ago

Det er mulig å inkludere dette manuelt også med GitHub Action script. Men det krever endel ny kode.

vadi2 commented 1 year ago

+1 for getting this fixed. While snapshots can be generated locally by the user (docs), it is a hassle, and it also means the package cannot be used with the auto-ig-builder where this is not an option.

thomiz commented 9 months ago

This can also be fixed by baking a package containing snapshots I think. I will try to produce such a package in a day or two.

@vadi2