Open declankieran-nhsd opened 1 year ago
Thanks for this.
@clarotech: This PR relates to #30
Do you know if the proposal would be compatible with the CI build process configured for this repo? My instinct is that the standard FHIR build might lack a) a step where we can run custom scripts b) a means of configuring a simplifier account. I may be wrong though!
@Dunmail Here is a basic version (just linux) of what I mentioned in the other PR.
I couldn't get the snapshot to generate without logging in and running inflate first, so just note there is a
fhir login
in there. Not ideal, but assuming you have a simplifier account, if you've previously logged in, it seems to find the previous token within the terminal session, so it would be straightforward to handle that appropriately somehow with secret management on your CI server.I'm using Microsofts linux install script for the dotnet sdk which makes it pretty widely supported on linux distros with different package management. For the firely terminal install, I'm assuming if the command
fhir
is not available it needs installed. It then overwrites the UKCore profiles in the cache.Sushi (npm run compile) will then run fine after removing the resource in
input/resources
, bar the other error with the canonical. I didn't include it here, but there are no errors at all with the other change.