FHIR Chat · Dependency 'hl7.fhir.us.core' has no id · shorthand

Stream: shorthand

Topic: Dependency 'hl7.fhir.us.core' has no id


view this post on Zulip Jean Duteau (Apr 25 2020 at 20:16):

I get this strange warning/info message when I'm running my IG build:
Dependency 'hl7.fhir.us.core' has no id, so can't be referred to in markdown in the IG (00:30.0255)

Is this something I'm doing wrong in my package.json?

view this post on Zulip Grahame Grieve (Apr 25 2020 at 20:18):

i don't think it's a shorthand question. are you using the new IG driven approach or the old json config approach?

view this post on Zulip Jean Duteau (Apr 25 2020 at 20:19):

i'm using whatever SUSHI generates for me, so I'm assuming the new IG driven approach

view this post on Zulip Grahame Grieve (Apr 25 2020 at 20:23):

so the dependency will look something like this:

"dependsOn": [
    {
      "uri": "http://hl7.org/fhir/ImplementationGuide/uscore",
      "version" : "3.1.0"
    }
  ]

view this post on Zulip Grahame Grieve (Apr 25 2020 at 20:23):

what that message is saying is that it could like this:

view this post on Zulip Grahame Grieve (Apr 25 2020 at 20:23):

"dependsOn": [
    {
      "id" : "uscore",
      "uri": "http://hl7.org/fhir/ImplementationGuide/uscore",
      "version" : "3.1.0"
    }
  ]

view this post on Zulip Jean Duteau (Apr 25 2020 at 20:23):

"dependsOn": [
{
"uri": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core",
"packageId": "hl7.fhir.us.core",
"version": "3.1.0"
}
],

view this post on Zulip Jean Duteau (Apr 25 2020 at 20:24):

so SUSHI isn't generating an ID in the dependsOn section of IG json

view this post on Zulip Grahame Grieve (Apr 25 2020 at 20:24):

and if it does, then you can use the id uscore in your markdown and it will automatically refer to the right version of us-core

view this post on Zulip Grahame Grieve (Apr 25 2020 at 20:24):

if you don't want to do that, then you can ignore that note

view this post on Zulip Jean Duteau (Apr 25 2020 at 20:24):

okay. thx

view this post on Zulip Chris Moesel (Apr 26 2020 at 03:13):

@Grahame Grieve -- a few questions based on this:

  1. You said to expect this: "uri": "http://hl7.org/fhir/ImplementationGuide/uscore" but SUSHI found this URL in US Core's actual IG resource: http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core". I just want to confirm we're not missing something here.
  2. You said it could have "id" : "uscore"... is the id arbitrary (and only used for that markdown feature) or is there somewhere in the IG source we should be extracting that? (Note that US Core's IG JSON id is hl7.fhir.us.core).

view this post on Zulip Grahame Grieve (Apr 26 2020 at 03:56):

it's arbitrary

view this post on Zulip Grahame Grieve (Apr 26 2020 at 03:56):

the full URL is correct


Last updated: Apr 12 2022 at 19:14 UTC