FHIR Chat · primary care IG repository URL · australia/primary-care

Stream: australia/primary-care

Topic: primary care IG repository URL


view this post on Zulip Jim Steel (Apr 19 2020 at 23:51):

https://github.com/aehrc/primary-care-data-technical

view this post on Zulip David Hay (Apr 20 2020 at 01:58):

I cloned the folder, but getting the following error when running sushi:

error Failed to load hl7.fhir.au.base#dev

Do I need to do anything special to be able to access Au base?

view this post on Zulip Jim Steel (Apr 20 2020 at 01:58):

@Michael Lawley

view this post on Zulip David Hay (Apr 20 2020 at 02:02):

It seems to want it in my local cache:

error The package hl7.fhir.au.base#dev could not be loaded locally. Dev packages must be present in local cache

I guess one option is for me to clone au base as well and build it locally, which will place it in the cache...

view this post on Zulip Grahame Grieve (Apr 20 2020 at 02:37):

you should make this an error on Sushi. if #dev doesn't exist, it should fall back to #current.

view this post on Zulip David Hay (Apr 20 2020 at 02:48):

So changing the dependency to #current fixed this issue (thanks!) - are you suggesting that this should be the default behaviour for sushi?

view this post on Zulip Grahame Grieve (Apr 20 2020 at 02:49):

the definition of #dev is your dev if you have one, or else to fall back to #current

view this post on Zulip David Hay (Apr 20 2020 at 03:06):

@Michael Lawley - getting the following sushi error:

error No element found at path reaction.substance.coding[snomedSubstance] for AUPrimaryCareAllergyIntolerance, skipping rule
  File: /Users/davidhay/IG/primary-care-data-technical/allergy-resources.fsh
  Line: 27

Not sure what you're intending to mean with this (and not familiar with the syntax TBH) I'm guessing that it is restricting the value to one from the snomed substance hierarchy - but don't see where 'snomedSubstance' is defined. Is it an alias?

There's a similar issue a few lines down with 'snomedManifestation'

view this post on Zulip Michael Lawley (Apr 20 2020 at 03:09):

From memory, I think those are slice names defined in parent profile?

view this post on Zulip David Hay (Apr 20 2020 at 03:16):

OK - will drag down those porfiles and take a look...

view this post on Zulip David Hay (Apr 20 2020 at 03:21):

yep - they are there all right - so that slice is must support then. Not sure why sushi is complaining. Will take it up with the developers...

view this post on Zulip David Hay (Apr 20 2020 at 03:29):

BTW is there a non-fsh version of primary-care? Have got a few (3) null errors that I should be able to fix from there (look like ValueSet urls are missing):

error Resolved value "null" is not a valid URI.
  File: /Users/davidhay/IG/primary-care-data-technical/condition-resources.fsh
  Line: 17
error Resolved value "null" is not a valid URI.
  File: /Users/davidhay/IG/primary-care-data-technical/patient-resources.fsh
  Line: 40
error Resolved value "null" is not a valid URI.
  File: /Users/davidhay/IG/primary-care-data-technical/procedure-resources.fsh
  Line: 39

view this post on Zulip David Hay (Apr 20 2020 at 20:06):

@Michael Lawley , @Brett Esler - take a look at https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/Constraining.20a.20parent . What should I be using in package.json to refer to au base?


Last updated: Apr 12 2022 at 19:14 UTC