FHIR Chat · IG publishing - extension valueset binding error · IG creation

Stream: IG creation

Topic: IG publishing - extension valueset binding error


view this post on Zulip Halina Labikova (Apr 29 2020 at 21:19):

I'm trying to generate STU3 profile with a custom extension. For the valueset binding, the source file has format "id": "RequestGroup.extension:this-is-the-extension.valueCodeableConcept" which the publisher translates into "id": "RequestGroup.extension:this-is-the-extension.value[x]:valueCodeableConcept" - any idea why is this happening?

view this post on Zulip Grahame Grieve (Apr 29 2020 at 21:21):

because that's what the standard says for the ElementDefinition.id value

view this post on Zulip Halina Labikova (Apr 29 2020 at 21:24):

Hmm I see. I thought that's why loading of the valueset is breaking in my system, but I guess the error is somewhere else. Thanks!

view this post on Zulip Grahame Grieve (Apr 29 2020 at 21:28):

I'm not sure how what you asked about has anything to do with value sets

view this post on Zulip Halina Labikova (Apr 29 2020 at 21:54):

Hmm, so I rechecked again. The StructureDefinitions that load the values correctly have format "id": "RequestGroup.extension:this-is-the-extension.valueCodeableConcept", for the value of the extension...

view this post on Zulip Halina Labikova (May 01 2020 at 15:40):

So to re-verify: This format is NOT correct?

  {
    "id": "RequestGroup.extension:this-is-the-extension",
    "path": "RequestGroup.extension",
    "sliceName": "this-is-the-extension",
    "type": [
      {
        "code": "Extension",
        "profile": "http://whatever.com/fhir-DSTU3/StructureDefinition/this-is-the-extension"
      }
    ],
    "isModifier": false
  },
  {
    "id": "RequestGroup.extension:request-group-code.this-is-the-extension",
    "path": "RequestGroup.extension.valueCodeableConcept",
    "type": [
      {
        "code": "CodeableConcept"
      }
    ],
    "binding": {
      "strength": "required",
      "valueSetReference": {
        "reference": "http://whatever.com/fhir-DSTU3/ValueSet/these-are-the-codes"
      }
    }
  },

Last updated: Apr 12 2022 at 19:14 UTC