FHIR Chat · Profile slicing identifiers · implementers

Stream: implementers

Topic: Profile slicing identifiers


view this post on Zulip Nick Robison (Jul 09 2019 at 13:13):

Hi folks,

I have a quick question for ya'll. I'm working on a profile definition that needs to validate that a specific identifier is present. I've been able to do so via slicing, but the profile is failing the validator due to the elements not having unique IDs. I'm sure I'm missing something simple, do the individual slice elements need to have IDs listed? Also, is this the correct way to verify that an Identifier with a specific system is present?

Here's my profile definition, which is doing what I want, it's just not valid!

      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "definition": "Must have MBI",
        "slicing": [
          {
            "discriminator": [
              {
                "type": "value",
                "path": "system"
              }
            ],
            "rules": "open"
          }
        ]
      },
      {
        "id": "Patient.identifier[x]",
        "path": "Patient.identifier",
        "name": "MedicareMBI",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier[x]:system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedCode": "http://bluebutton.cms.hhs.gov/identifier#bene_id"
      },

view this post on Zulip Lloyd McKenzie (Jul 10 2019 at 00:28):

I'd should include both path and sliceName

view this post on Zulip Nick Robison (Jul 10 2019 at 18:40):

That works. Thanks!


Last updated: Apr 12 2022 at 19:14 UTC