From 6301bdf0ac09a657129814720daa9867bcd63536 Mon Sep 17 00:00:00 2001 From: JohnMoehrke Date: Fri, 14 Jul 2023 07:09:57 -0500 Subject: [PATCH] fix for warnings/errors with slicing a sliced extension --- input/fsh/SAMLaccessToken.fsh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/input/fsh/SAMLaccessToken.fsh b/input/fsh/SAMLaccessToken.fsh index 395e92d..76664b4 100644 --- a/input/fsh/SAMLaccessToken.fsh +++ b/input/fsh/SAMLaccessToken.fsh @@ -204,9 +204,10 @@ The following table uses a short-hand for the SAML fields and FHIR AuditEvent el * agent[user].purposeOfUse MS * agent[user].purposeOfUse ^short = "SAML subject:purposeofuse" -* agent[user].extension ^slicing.discriminator.type = #value -* agent[user].extension ^slicing.discriminator.path = "type" -* agent[user].extension ^slicing.rules = #open +// Thanks to Chris Moesel for figuring out how to slice an extension +// Note: slicing.discriminator[0] is the standard extension discriminator (#value / url) +* agent[user].extension ^slicing.discriminator[1].type = #value +* agent[user].extension ^slicing.discriminator[=].path = "value.ofType(Identifier).type" * agent[user].extension[otherId] contains subject-id 0..* and npi 0..* and