Skip to content

Commit

Permalink
Prøver igjen med slice på Patient.identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
rockphotog committed May 27, 2024
1 parent c00bc78 commit b9b7b70
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
13 changes: 0 additions & 13 deletions LMDI/input/fsh/profiles/lmdi-Patient-test.fsh

This file was deleted.

12 changes: 11 additions & 1 deletion LMDI/input/fsh/profiles/lmdi-patient.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ Description: "Kun et eksempel for å vise verktøy"

// Krav: MÅ være FNR eller DNR <- profileres
// ESS: Må kanskje være MS hvis det er mulighet for kjønn+fdato
* identifier 1..1 // TODO arv fra no-basis-Patient
// Slice med FNR + DNR, TODO usikker på mutual excl.
* identifier MS
* identifier ^slicing.discriminator.type = #pattern
* identifier ^slicing.discriminator.path = "code"
* identifier ^slicing.rules = #closed
* identifier contains
FNR 0..1 and
DNR 0..1
* identifier[FNR].system = "urn:oid:2.16.578.1.12.4.1.4.1"
* identifier[DNR].system = "urn:oid:2.16.578.1.12.4.1.4.2"
* identifier.value 1..1

// Krav: Hvis ikke ID, bruk
// - kjønn
Expand Down

0 comments on commit b9b7b70

Please sign in to comment.