Skip to content

Commit

Permalink
fix for warnings/errors with slicing a sliced extension
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMoehrke committed Jul 14, 2023
1 parent ab83387 commit 6301bdf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions input/fsh/SAMLaccessToken.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 6301bdf

@JohnMoehrke
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

close #37

Please sign in to comment.