Skip to content

Commit 9bbca7d

Browse files
jkiddoKirstinerosenbecktmsMedcom
authored
2.1.0 (#77)
* first version of Condition * changed version number to 1.2.0 and status to draft * nyt eksempel condition * added new condition instances and a new GP organization instance * Condition documentation added * Update StructureDefinition-dk-core-condition-intro.md * Added NotFollowedAnymore, and asserter. More detailed documentation * Updated Organization and Patient profiles and removed LPR3-identifier #74 - removed LPR3-identifier #73 - added description of 'NNDNK' as identifier.type to DKCorePatient #72 - added description of selection of SOR and ydernummer to DkCoreOrganization #69 - removed '(GP's)' from DkCoreOrganization * Changes made to resolve issue #66 Danish/English names and #67 shorts added to slices and extension * target audience added to index.md, and scope and usage sections in patient and practioner strengthend to resolve issue #68 * Added section about connection between dk-core and common Danish architectures and standard to resolve issue #71 * Changes applied based on review comments * Changes to Condition following review, added pregancy example and a female patient * itemization and display for SCT code corrected * Added legal text * Re-fsh'ed * index description of approvals specified * Released v2.1.0 Co-authored-by: kirstinerosenbeck <[email protected]> Co-authored-by: tmsMedcom <[email protected]>
1 parent e93d0bd commit 9bbca7d

File tree

61 files changed

+1738
-2657
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1738
-2657
lines changed

input/fsh/AuthorizationIdentifier-Profile.fsh

-20
This file was deleted.

input/fsh/AuthorizationIdentifier.fsh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Profile: AuthorizationIdentifier
2+
Parent: Identifier
3+
Id: dk-core-authorization-identifier
4+
Title: "Danish Health Professionals Authorization Identifier"
5+
Description: "Identifier holding the official [authorization identifier](https://en.stps.dk/en/health-professionals-and-authorities/online-register-registered-health-professionals/) for a practitioner."
6+
* system 1..
7+
* system = "https://autregweb.sst.dk" (exactly)
8+
* value 1..
9+
* obeys authorization-id-format
10+
* ^maxLength = 5
11+
// WARNING: The constraint index in the following rule (e.g., constraint[0]) may be incorrect.
12+
// Please compare with the constraint array in the original definition's snapshot and adjust as necessary.
13+
* ^constraint.source = "https://stps.dk/da/autorisation/om-autorisationer/autorisations-id/"
14+
15+
Invariant: authorization-id-format
16+
Description: "Authorization ID consists of exactly 5 consonants and Y and or numbers in any order"
17+
Severity: #error
18+
Expression: "matches('^([b-df-hj-np-tv-zB-DF-HJ-NP-TV-Z0-9]){5}$')"

input/fsh/CVRIdentifier.fsh

+7-15
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,14 @@ Description: "Identifier holding a danish [CVR](https://datacvr.virk.dk/data/) n
88
* system 1..
99
* system = "http://cvr.dk" (exactly)
1010
* value 1..
11-
* value obeys CVR-length and CVR-modulus-11
11+
* obeys CVR-length and CVR-modulus-11
1212

13-
Invariant: CVR-length
13+
Invariant: CVR-length
1414
Description: "CVR must be exactly 8 numeric characters long"
15-
Expression: "value.matches('^[0-9]{8}$')"
16-
Severity: #error
15+
Severity: #error
16+
Expression: "value.matches('^[0-9]{8}$')"
1717

18-
Invariant: CVR-modulus-11
18+
Invariant: CVR-modulus-11
1919
Description: "CVR must pass the modulus 11 check"
20-
Expression: "((
21-
(value.substring(0,1).toInteger()*2)+
22-
(value.substring(1,1).toInteger()*7)+
23-
(value.substring(2,1).toInteger()*6)+
24-
(value.substring(3,1).toInteger()*5)+
25-
(value.substring(4,1).toInteger()*4)+
26-
(value.substring(5,1).toInteger()*3)+
27-
(value.substring(6,1).toInteger()*2)+
28-
(value.substring(7,1).toInteger()*1)) mod(11)=0)"
29-
Severity: #error
20+
Severity: #error
21+
Expression: "((\n (value.substring(0,1).toInteger()*2)+\n (value.substring(1,1).toInteger()*7)+\n (value.substring(2,1).toInteger()*6)+\n (value.substring(3,1).toInteger()*5)+\n (value.substring(4,1).toInteger()*4)+\n (value.substring(5,1).toInteger()*3)+\n (value.substring(6,1).toInteger()*2)+\n (value.substring(7,1).toInteger()*1)) mod(11)=0)"

input/fsh/DK_Valid_Identifier-ValueSet.fsh

-16
This file was deleted.

input/fsh/DkCoreCondition.fsh

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
Profile: DkCoreCondition
2+
Parent: Condition
3+
Id: dk-core-condition
4+
Title: "Danish Core Condition Profile"
5+
Description: "HL7 Denmark core profile for professionally asserted conditions, as specified by danish health and social care organizations"
6+
* ^status = #active
7+
* extension contains
8+
$condition-dueTo named dueTo 0..1 and
9+
ConditionLastAssertedDate named conditionLastAssertedDate 0..1 and
10+
NotFollowedAnymore named notFollowedAnymore 0..1
11+
* extension[conditionLastAssertedDate] ^short = "Last date a condition was confirmed valid in its current state"
12+
* extension[notFollowedAnymore] ^short = "Date where a condition lost focus in a specific clinical context"
13+
* code.coding ^slicing.discriminator.type = #value
14+
* ^slicing.discriminator.path = "system"
15+
* ^slicing.rules = #open
16+
* ^slicing.ordered = false
17+
* ^slicing.description = "Slice based on the code.system value which allow different code-systems to represent a condition"
18+
* ^short = "Condition code, [DA] tilstandskode"
19+
* code.coding contains
20+
FSIIIConditionCode 0..1 and
21+
SCTConditionCode 0..1 and
22+
FFBConditionCode 0..1 and
23+
SKS-D 0..1 and
24+
ICPC2code 0..1
25+
* code.coding[FSIIIConditionCode] ^short = "[DA] FSIII tilstandskode"
26+
* system 1..
27+
* system = "urn:oid:1.2.208.176.2.21"
28+
* code.coding[SCTConditionCode] from $condition-code (required)
29+
* ^short = "SNOMED CT condition code"
30+
* system 1..
31+
* system = "http://snomed.info/sct"
32+
* code.coding[FFBConditionCode] ^short = "[DA] FFB undertemakode"
33+
* system 1..
34+
* system = "urn:oid:1.2.208.176.2.22"
35+
* code.coding[SKS-D] ^short = "[DA] Kode fra D-hierarkiet i SKS"
36+
* system 1..
37+
* system = "urn:oid:1.2.208.176.2.4.12"
38+
* code.coding[ICPC2code] ^short = "ICPC2 code"
39+
* system 1..
40+
* system = "urn:oid:1.2.208.176.2.31"
41+
* subject only Reference(DkCorePatient)
42+
* recorder only Reference(DkCorePractitioner or PractitionerRole or DkCorePatient or RelatedPerson)
43+
* asserter only Reference(DkCorePractitioner or PractitionerRole)
44+
45+
Instance: ConditionPressureUlcer
46+
InstanceOf: DkCoreCondition
47+
Title: "John tryksår"
48+
Description: "John, tryksår, kommunal tilstand"
49+
Usage: #example
50+
* code.coding[0] = urn:oid:1.2.208.176.2.21#I4.4 "Problemer med tryksår"
51+
* code.coding[+] = $sct#1163220007 "Pressure injury stage II"
52+
* code.text = "Tryksår i stadium 2, siddende på venstre lår. 4cmx5cm, dybde 3mm, ingen infektion."
53+
* extension.url = "http://hl7.dk/fhir/core/StructureDefinition/ConditionLastAssertedDate"
54+
* extension.valueDateTime = "2020-12-12"
55+
* clinicalStatus = $condition-clinical#active
56+
* category = $condition-category#problem-list-item
57+
* subject.reference = "Patient/john"
58+
* recordedDate = "2020-06-05"
59+
60+
Instance: ElseGraviditet
61+
InstanceOf: DkCoreCondition
62+
Title: "Else Graviditet"
63+
Description: "Else Graviditet, tilstandskode som indberettes ifm Elses ambulante forløb (fx jordemoder), og ved eventuel indlæggelse i graviditeten"
64+
Usage: #example
65+
* code = urn:oid:1.2.208.176.2.4.12#DZ340 "Graviditet, førstegangsfødende"
66+
* subject.reference = "Patient/else"
67+
* category = $condition-category#encounter-diagnosis
68+
* recordedDate = "2021-07-03"
69+
* clinicalStatus = $condition-clinical#active
70+
* verificationStatus = $condition-ver-status#confirmed
71+
72+
Instance: JohnDiabetes
73+
InstanceOf: DkCoreCondition
74+
Title: "John diabetes"
75+
Description: "Johns diabetes-diagnose, udskrivningsdiagnose fra hospitalet fx til brug i indberetning og epikrise"
76+
Usage: #example
77+
* code = urn:oid:1.2.208.176.2.4.12#DE11 "Type 2-diabetes"
78+
* subject.reference = "Patient/john"
79+
* asserter.reference = "Practitioner/AbrahamLaege"
80+
* recorder.reference = "Practitioner/AbrahamLaege"
81+
* category = $condition-category#encounter-diagnosis
82+
* onsetDateTime = "2020-02-20"
83+
* recordedDate = "2020-03-15"
84+
* clinicalStatus = $condition-clinical#active
85+
* verificationStatus = $condition-ver-status#confirmed
86+
87+
Instance: JohnMelanoma
88+
InstanceOf: DkCoreCondition
89+
Title: "John mistanke om Modermærkekræft"
90+
Description: "Johns mistanke om modermærkekræft i huden, kan fx bruges som henvisningsdiagnosese"
91+
Usage: #example
92+
* code = urn:oid:1.2.208.176.2.4.12#DC43 "Modermærkekræft i huden"
93+
* subject.reference = "Patient/john"
94+
* asserter.reference = "Practitioner/AbrahamLaege"
95+
* recorder.reference = "Practitioner/AbrahamLaege"
96+
* category = $condition-category#encounter-diagnosis
97+
* recordedDate = "2021-05-01"
98+
* clinicalStatus = $condition-clinical#active
99+
* verificationStatus = $condition-ver-status#unconfirmed
100+
101+
Instance: JohnPacemaker
102+
InstanceOf: DkCoreCondition
103+
Title: "John pacemaker"
104+
Description: "Johns status efter pacemakeroperation, udtrykt semantisk korrekt med fund frem for operationskode"
105+
Usage: #example
106+
* code = $sct#441509002 "Cardiac pacemaker in situ"
107+
* subject.reference = "Patient/john"
108+
* recorder.reference = "Practitioner/AbrahamLaege"
109+
* category = $condition-category#problem-list-item
110+
* recordedDate = "2021-05-01"
111+
* clinicalStatus = $condition-clinical#active
112+
* verificationStatus = $condition-ver-status#confirmed

input/fsh/DkCoreCprIdentifier-Profile.fsh

-24
This file was deleted.

input/fsh/DkCoreCprIdentifier.fsh

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Profile: DkCoreCprIdentifier
2+
Parent: Identifier
3+
Id: dk-core-cpr-identifier
4+
Title: "Danish Central Person Register (CPR) Identifier"
5+
Description: "This structure holds the danish [CPR](https://cpr.dk/) identifier"
6+
* ^status = #draft
7+
* use = #official (exactly)
8+
* system 1..
9+
* system = "urn:oid:1.2.208.176.1.2" (exactly)
10+
* value 1..
11+
* obeys cpr
12+
* ^maxLength = 10
13+
// WARNING: The constraint index in the following rule (e.g., constraint[0]) may be incorrect.
14+
// Please compare with the constraint array in the original definition's snapshot and adjust as necessary.
15+
* ^constraint.source = "https://cpr.dk/cpr-systemet/opbygning-af-cpr-nummeret/#:~:text=5%20%2D%206%20position%20angiver%20personens,i%20personnummeret%20angiver%20personens%20k%C3%B8n."
16+
// WARNING: The constraint index in the following rule (e.g., constraint[0]) may be incorrect.
17+
// Please compare with the constraint array in the original definition's snapshot and adjust as necessary.
18+
* ^constraint.requirements = "Requirement of danish civil registration numbers"
19+
* ^mustSupport = false
20+
21+
Invariant: cpr
22+
Description: "Requirement of danish civil registration numbers"
23+
Severity: #error
24+
Expression: "value.matches('^(?:(?:31(?:0[13578]|1[02])|(?:30|29)(?:0[13-9]|1[0-2])|(?:0[1-9]|1[0-9]|2[0-8])(?:0[1-9]|1[0-2]))[0-9]{2}[0-9]|290200[4-9]|2902(?:(?!00)[02468][048]|[13579][26])[0-3])[0-9]{3}$')"

input/fsh/DkCoreCprIdentifierSystem-CodeSystem.fsh

-16
This file was deleted.

0 commit comments

Comments
 (0)