Stream: IG creation
Topic: adding slices in a dependent profile
David Pyke (Feb 22 2022 at 19:48):
Theoretical question: if I want to create a dependent profile on a profile that has an element with open slicing in it and add a slice to their slicing, is that possible?
Jean Duteau (Feb 22 2022 at 19:51):
yes. I've done that in many of my profiles
David Pyke (Feb 22 2022 at 19:54):
Can you give me a link to one where that's been done in sushi?
Jean Duteau (Feb 22 2022 at 21:12):
hmm, in the one guide where I did it (ICSR AE Reporting), we have since combined the three profiles into one. I'll have to go searching for you...
Jean Duteau (Feb 22 2022 at 21:14):
and in my other SPL guide, I turned the base profile into just a rule:
RuleSet: DUNSNumber
* identifier 1..* MS
* identifier.system 1..1 MS
* identifier.value 1..1 MS
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "system"
* identifier ^slicing.rules = #open
* identifier ^slicing.description = "Require specific types of identifiers."
* identifier contains DUNSNumber 1..1 MS
* identifier[DUNSNumber].system = "urn:oid:1.3.6.1.4.1.519.1"
* identifier[DUNSNumber] obeys spl-2.1.5.2
each profile then does 'insert DUNSNumber' and then adds their specific slices.
David Pyke (Feb 22 2022 at 21:16):
What if the base profile is from another IG?
Jean Duteau (Feb 22 2022 at 21:19):
that's what I was looking for. I thought I had done some but now I can't find any! I don't remember there being a problem with doing it.
Last updated: Apr 12 2022 at 19:14 UTC