Skip to content

Commit

Permalink
replace pattern per value
Browse files Browse the repository at this point in the history
  • Loading branch information
nriss committed Nov 13, 2024
1 parent a71ce12 commit 407ccc9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions input/fsh/profiles/AsDeviceProfile.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Description: "Profil générique créé à partir de Device dans le contexte de

/* device.identifier */
* identifier MS
* identifier ^slicing.discriminator.type = #pattern
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "system"
* identifier ^slicing.rules = #open
* identifier ^slicing.description = "Slice based on the identifier.system pattern"
* identifier ^slicing.description = "Slice based on the identifier.system value"

// Contains rule
* identifier contains numAutorisationArhgos 0..1 // Slice numeroAutorisationARHGOS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Description: "Profil générique créé à partir de HealthcareService dans le c
AsAuthorizationExtension named as-ext-authorization 0..* MS

/* HealthcareService.identifier */
* identifier ^slicing.discriminator.type = #pattern
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "system"
* identifier ^slicing.rules = #open
* identifier ^slicing.description = "Slice based on the identifier.system pattern"
* identifier ^slicing.description = "Slice based on the identifier.system value"

* identifier contains numAutorisationArhgos 0..1
* identifier[numAutorisationArhgos] MS
Expand All @@ -42,7 +42,7 @@ Description: "Profil générique créé à partir de HealthcareService dans le c
* category ^short = "La modalité étant un mode d’application ou un type de soin prévu par les textes réglementaires encadrant chaque activité de soins (modalite)."
* category from $JDV-J132-ModaliteActivite-RASS (required)

* type ^slicing.discriminator.type = #pattern
* type ^slicing.discriminator.type = #value
* type ^slicing.discriminator.path = "$this"
* type ^slicing.rules = #open

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Description: "Profil générique créé à partir de HealthcareService dans le c

/* HealthcareService.identifier */
* identifier MS
* identifier ^slicing.discriminator.type = #pattern
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "system"
* identifier ^slicing.rules = #open
* identifier ^slicing.description = "Slice based on the identifier.system pattern"
* identifier ^slicing.description = "Slice based on the identifier.system value"


* identifier contains numAutorisationArhgos 0..1
Expand All @@ -39,7 +39,7 @@ Description: "Profil générique créé à partir de HealthcareService dans le c
// disciplineEquipementSociale
* type MS

* type ^slicing.discriminator.type = #pattern
* type ^slicing.discriminator.type = #value
* type ^slicing.discriminator.path = "$this"
* type ^slicing.rules = #open

Expand Down
6 changes: 3 additions & 3 deletions input/fsh/profiles/AsPractitionerRoleProfile.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Description: "Profil générique créé à partir de FrPractitionerRoleExercice

/* PractitionerRole.identifier */
* identifier MS
* identifier ^slicing.discriminator.type = #pattern
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "system"
* identifier ^slicing.rules = #open
* identifier ^slicing.description = "Slice based on the identifier.system pattern"
* identifier ^slicing.description = "Slice based on the identifier.system value"

// Contains rule
* identifier contains idSituationExercice 0..* and numeroAm 0..*
Expand Down Expand Up @@ -70,7 +70,7 @@ Description: "Profil générique créé à partir de FrPractitionerRoleExercice


// Slicing au niveau de PractitionerRole.code
* code ^slicing.discriminator.type = #pattern
* code ^slicing.discriminator.type = #value
* code ^slicing.discriminator.path = "$this"
* code ^slicing.rules = #open
* code contains
Expand Down

0 comments on commit 407ccc9

Please sign in to comment.