Aidbox / aidbox-sdk-js

Aidbox JavaScript SDK
https://aidbox.github.io/aidbox-sdk-js/
3 stars 2 forks source link

Unable to generate javascript sdk for hl7-fhir-r5-core #9

Open julienwilliams1 opened 2 months ago

julienwilliams1 commented 2 months ago

I'm trying to use zen-cli sdk to generate the javascript sdk for hl7-fhir-r5-core.

Before running zen-cli zen pull-deps,

I modified zen-project/zen-package.edn to pull dependencies from r5 instead such as

{:deps {hl7-fhir-r5-core "https://github.com/zen-fhir/hl7-fhir-r5-core.git"}}

But there are a few things going wrong as there are other dependencies to r4 (hl7-fhir-r4-core) in the code.

Even after updating those, it fails due to the hl7-fhir-r5-core package which also pulls the hl7-fhir-uv-extension-r5 package which is not supported by the generator.

Also removing references to hl7-fhir-uv-extension-r5 from the generator code allows this to work.

Is there, or are there plans to, support the build of a fhir r5 profile in a more straightforward way?

Thanks,