Skip to content

Commit

Permalink
Mye rart, rydde opp litt
Browse files Browse the repository at this point in the history
  • Loading branch information
rockphotog committed May 27, 2024
1 parent b9b7b70 commit d47aa6c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 13 deletions.
1 change: 0 additions & 1 deletion LMDI/input/fsh/profiles/lmdi-AdministrertLegemiddel.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// UTKAST - PLACEHOLDER
Profile: AdministrertLegemiddel
Parent: MedicationAdministration
Id: lmdi-administrert-legemiddel
Expand Down
6 changes: 4 additions & 2 deletions LMDI/input/fsh/profiles/lmdi-Condition-Diagnose.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Id: lmdi-condition-diagnose
Title: "Diagnose"
Description: "Diagnosen som pasienten har fått rekvirert og administrert legemiddelet for"
* ^status = #draft
* ^date = "2024-05-23"
* ^date = "2024-05-27"

// Krav:
// Krav:
// MVP: ICPC-2 eller ICD-10
* code 1..1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Profile: LmdiEncounterInstitusjonsopphold
Parent: Encounter
Id: lmdi-encounter-institusjonsopphold
Title: "Lmdi-Institusjonsopphold"
Title: "Institusjonsopphold"
Description: "TODO"
* ^status = #draft
* ^date = "2024-05-23"
Expand Down
4 changes: 2 additions & 2 deletions LMDI/input/fsh/profiles/lmdi-Organization.fsh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Profile: LmdiOrganization
Parent: Organization
Id: lmdi-organization
Title: "Lmdi-Organization"
Description: "TODO"
Title: "Organisasjon"
Description: "TODO #4"
* ^status = #draft
* ^date = "2024-05-23"

Expand Down
12 changes: 8 additions & 4 deletions LMDI/input/fsh/profiles/lmdi-patient.fsh
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
Profile: LmdiPatient
Id: lmdi-patient
Parent: Patient
Title: "LMDI Patient Profile"
Description: "Kun et eksempel for å vise verktøy"
Title: "Pasient"
Description: "Informasjon om pasienten"
* ^status = #draft
* ^date = "2024-05-23"

// Krav til profil:
// Krav (nasjonalt): Baseres på no-basis-patient <- profileres
// TODO #6 "Pasient" skal baseres på no-basis-Patient
// Parent: no-basis-Patient

// Krav: MÅ være FNR eller DNR <- profileres
// ESS: Må kanskje være MS hvis det er mulighet for kjønn+fdato
// Slice med FNR + DNR, TODO usikker på mutual excl.
* identifier MS
* identifier ^short = "Identifikator for pasienten."
* identifier ^definition = "Identifikator for pasienten. Skal være fødselsnummer (FNR) eller D-nummer (DNR)."
* identifier ^slicing.discriminator.type = #pattern
* identifier ^slicing.discriminator.path = "code"
* identifier ^slicing.rules = #closed
Expand All @@ -22,7 +24,9 @@ Description: "Kun et eksempel for å vise verktøy"
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
* identifier[DNR].system ^short = "The identification of the D-nummer"
* identifier[FNR].value 1..1
* identifier[DNR].value 1..1

// Krav: Hvis ikke ID, bruk
// - kjønn
Expand Down
15 changes: 12 additions & 3 deletions LMDI/input/fsh/profiles/lmdi-practitioner.fsh
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
Profile: LmdiPractitioner
Id: lmdi-practitioner
Parent: Practitioner
Title: "LMDI Helsepersonell"
Title: "Helsepersonell"
Description: "Helsepersonell som har foreskrevet eller administrert legemiddelet"
* ^status = #draft
* ^date = "2024-05-23"
* ^date = "2024-05-27"

// Krav til profil:
// Skal baseres på no-basis-practitioner
// TODO #5 "Helsepersonell" skal baseres på no-basis-practitioner

// Krav: Identifikator
* identifier 1..1
* identifier.value 1..1
// MVP: HPR-nummer
* identifier.system = "urn:oid:2.16.578.1.12.4.1.4.4"

// Krav: Spesialitet (qualification)
* qualification MS

0 comments on commit d47aa6c

Please sign in to comment.