FHIR Chat · Smart validation Error · IG creation

Stream: IG creation

Topic: Smart validation Error


view this post on Zulip Eric Haas (Mar 30 2021 at 22:32):

@Grahame Grieve we need some help on this error:

QA error on smart example CapabilityStatement issues to resolve:

Summary the url for the extension lives in both the Smart guide and the FHIR spec so...

this snippet from the CapabilityStatement :

    security:
      extension:
        - extension:
            - url: token
              valueUri: 'https://my-server.org/token'
            - url: authorize
              valueUri: 'https://my-server.org/authorize'
            - url: manage
              valueUri: 'https://my-server.org/authorizations/manage'
            - url: introspect
              valueUri: 'https://my-server.org/authorizations/introspect'
            - url: revoke
              valueUri: 'https://my-server.org/authorizations/revoke'
          url: >-
            http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris

leads to the following validator error because the validator is using the SD from the core spec here : http://hl7.org/fhir/extension-oauth-uris.html instead of the updated definition from the IG:

This element does not match any known slicedefined_in_the_profilehttp://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris
- CapabilityStatement.rest[0].security.extension[0].extension[3]: discriminator = true and ('authorize' in url)

  • CapabilityStatement.rest[0].security.extension[0].extension[3]: discriminator = true and ('token' in url)
  • CapabilityStatement.rest[0].security.extension[0].extension[3]: discriminator = true and ('register' in url)
  • CapabilityStatement.rest[0].security.extension[0].extension[3]: discriminator = true and ('manage' in url)

What I did

As a temporary fix I appended the version which seems to redirect the validator to look in the IG package , but then get the following error (since the element is type uri not canonical):

view this post on Zulip Eric Haas (Mar 30 2021 at 22:36):

I think this is related to the renaming the package for the SMART ig that @Josh Mandel mentioned before here: https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/SMART.20and.20.22uv.22

view this post on Zulip Eric Haas (Apr 01 2021 at 17:16):

(deleted)

view this post on Zulip Eric Haas (Apr 01 2021 at 18:02):

@Grahame Grieve NM is resolved !


Last updated: Apr 12 2022 at 19:14 UTC