Skip to content

Commit 7234936

Browse files
changed dependency to dk-core, added questionnaire as json including its codes
1 parent 607a1c8 commit 7234936

12 files changed

+387
-8
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
temp
22
fsh-generated
33
template
4+
output
5+
input-cache

input/fsh/patient.fsh

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
// This file can be renamed, and additional FSH files can be added.
33
// SUSHI will look for definitions in any file using the .fsh ending.
44
Profile: MyPatient
5-
Parent: ehealth-patient
5+
Parent: DkCorePatient
66
Description: "An example profile of the Patient resource."
77
* name 1..* MS
88

99
Instance: PatientExample
1010
InstanceOf: MyPatient
1111
Usage: #example
12-
* meta.profile = "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"
1312
* identifier.use = #official
1413
* identifier.system = "urn:oid:1.2.208.176.1.2"
1514
* identifier.value = "2512489996"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"resourceType": "Questionnaire",
3+
"id": "MentalHealthQuestionnaire",
4+
"url": "http://hl7.org/fhir/Questionnaire/MentalHealthQuestionnaire",
5+
"title": "Psykisk helbred questionnaire",
6+
"description":"Spørgeskema der undersøger psykisk helbred for børn og unge, der er i risiko for at udvikle depression eller angst",
7+
"experimental": true,
8+
"status": "draft",
9+
"subjectType": [
10+
"Patient"
11+
],
12+
"date": "2022-06-17",
13+
"item": [
14+
{
15+
"linkId": "1",
16+
"text": "Fællesskab",
17+
"type": "group",
18+
"item": [
19+
{
20+
"linkId": "1.1",
21+
"text": "Venskaber",
22+
"type": "choice",
23+
"answerValueSet": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/FriendshipCodes"
24+
},
25+
{
26+
"linkId": "1.2",
27+
"text": "Lyst til være sammen med andre",
28+
"type": "choice",
29+
"answerValueSet": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/DesireToBeWithOthersCodes"
30+
},
31+
{
32+
"linkId": "1.3",
33+
"text": "Kærlighed",
34+
"type": "choice",
35+
"answerValueSet": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/LoveCodes"
36+
}
37+
]
38+
},
39+
{
40+
"linkId": "2",
41+
"text": "Daglige opgaver",
42+
"type": "group",
43+
"item": [
44+
{
45+
"linkId": "2.1",
46+
"text": "Arbejde/skole forventning",
47+
"type": "choice",
48+
"answerValueSet": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/WorkSchoolExpectationCodes"
49+
},
50+
{
51+
"linkId": "2.2",
52+
"text": "Pres",
53+
"type": "choice",
54+
"answerValueSet": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/PressureCodes"
55+
}
56+
]
57+
},
58+
{
59+
"linkId": "3",
60+
"text": "Følelser",
61+
"type": "group",
62+
"item": [
63+
{
64+
"linkId": "3.1",
65+
"text": "Oplagthed",
66+
"type": "choice",
67+
"answerValueSet": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/EnergyCodes"
68+
},
69+
{
70+
"linkId": "3.2",
71+
"text": "Humør",
72+
"type": "choice",
73+
"answerValueSet": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/MoodCodes"
74+
}
75+
]
76+
}
77+
]
78+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"resourceType": "CodeSystem",
3+
"id": "MentalHealthCodes",
4+
"url": "http://hl7.dk/fhir/Hackathon-Sep-2022/CodeSystem/MentalHealthCodes",
5+
"version": "1.0.0",
6+
"title": "Psykisk helbred koder",
7+
"status": "active",
8+
"date": "2022-06-17T10:13:23+00:00",
9+
"description": "CodeSystem indeholdende valgmuligheder i forbindelse med psykisk helbred spørgeskema til hackathon 2022",
10+
"content": "complete",
11+
"concept": [
12+
{
13+
"code": "60e95414-b97d-4197-af85-d5efc5628e86",
14+
"display": "Jeg føler mig tæt på mine venner"
15+
},
16+
{
17+
"code": "93105f14-245e-4e66-8db0-86866978de58",
18+
"display": "Jeg har venner, men de er ikke tætte mere"
19+
},
20+
{
21+
"code": "597872aa-a00e-4de3-b0a3-03dae9fd890a",
22+
"display": "Jeg har ingen venner"
23+
},
24+
{
25+
"code": "bf1232a5-f7fa-470f-9b22-58e850a047a9",
26+
"display": "Jeg vil gerne være sammen med andre"
27+
},
28+
{
29+
"code": "48405c96-5f94-4ccf-b9ef-44579da052a8",
30+
"display": "Nogle få gange ugentligt har jeg lyst til at være sammen med andre"
31+
},
32+
{
33+
"code": "cbce7f88-408f-45bf-bfcf-5ea995476bb7",
34+
"display": "Jeg har aldrig lyst til at være sammen med andre"
35+
},
36+
{
37+
"code": "8270c0ae-2ae5-4204-8c12-bd35e61b7498",
38+
"display": "Jeg føler mig elsket"
39+
},
40+
{
41+
"code": "2620845c-4831-4291-a02c-b56b2c8908fe",
42+
"display": "Jeg føler mig nogle gange elsket"
43+
},
44+
{
45+
"code": "1a705260-cf44-4dd8-83fb-994baf656a6a",
46+
"display": "Jeg føler mig ikke elsket"
47+
},
48+
{
49+
"code": "6eb62a15-8b69-4940-9276-704a0a1c0a60",
50+
"display": "Jeg gør det, der forventes"
51+
},
52+
{
53+
"code": "f1898e69-7602-4e4d-9dbb-43deb9a51c2b",
54+
"display": "Jeg gør det, der forventes det meste af tiden"
55+
},
56+
{
57+
"code": "bd91207b-2ade-4d91-871f-8c64f32c9782",
58+
"display": "Jeg gør ikke det, der forventes"
59+
},
60+
{
61+
"code": "be7fa5d8-ad1f-49c4-9bce-4370c81f6ac9",
62+
"display": "Jeg klarer mine opgaver uden at føle mig presset"
63+
},
64+
{
65+
"code": "7cffb548-c0ff-4521-9782-4d862d952885",
66+
"display": "Jeg presser mig selv hele tiden for at klare mine daglige opgaver"
67+
},
68+
{
69+
"code": "14293f45-25fc-48a1-b8be-918d44009e91",
70+
"display": "Jeg klarer ikke mine daglige opgaver"
71+
},
72+
{
73+
"code": "a5341a86-677d-4d53-84a1-498dc1a4ed42",
74+
"display": "Jeg føler mig klar og frisk de fleste dage"
75+
},
76+
{
77+
"code": "ea31af7a-cf51-4b53-b4d2-bef393b42946",
78+
"display": "Jeg har følt mig uoplagt et par gange om ugen"
79+
},
80+
{
81+
"code": "6f4db47c-cf6a-44c4-b434-aa6edec6e064",
82+
"display": "Jeg er hele tiden træt"
83+
},
84+
{
85+
"code": "b9453f69-31a2-4a67-a453-569d7cd9691a",
86+
"display": "Jeg er glad"
87+
},
88+
{
89+
"code": "18b6720d-8ae2-4abf-87e7-c068efb5346c",
90+
"display": "Jeg er trist det meste af tiden"
91+
},
92+
{
93+
"code": "f78ce5be-f7d1-4f03-9eed-bd2563466abe",
94+
"display": "Jeg er trist hele tiden og har trang til at græde hver dag"
95+
}
96+
]
97+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"resourceType": "ValueSet",
3+
"id": "DesireToBeWithOthersCodes",
4+
"url": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/DesireToBeWithOthersCodes",
5+
"title": "Lyst til at være sammen med andre",
6+
"status": "active",
7+
"description": "Svarmuligheder for lyst til at være sammen med andre i forbindelse med psykisk helbred questionnaire hackathon 2022",
8+
"compose": {
9+
"include": [
10+
{
11+
"system": "http://hl7.dk/fhir/Hackathon-Sep-2022/CodeSystem/MentalHealthCodes",
12+
"concept": [
13+
{
14+
"code": "bf1232a5-f7fa-470f-9b22-58e850a047a9",
15+
"display": "Jeg vil gerne være sammen med andre"
16+
},
17+
{
18+
"code": "48405c96-5f94-4ccf-b9ef-44579da052a8",
19+
"display": "Nogle få gange ugentligt har jeg lyst til at være sammen med andre"
20+
},
21+
{
22+
"code": "cbce7f88-408f-45bf-bfcf-5ea995476bb7",
23+
"display": "Jeg har aldrig lyst til at være sammen med andre"
24+
}
25+
]
26+
}
27+
]
28+
}
29+
}
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"resourceType": "ValueSet",
3+
"id": "EnergyCodes",
4+
"url": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/EnergyCodes",
5+
"title": "Oplagthed",
6+
"status": "active",
7+
"description": "Svarmuligheder for oplagthed i forbindelse med psykisk helbred questionnaire hackathon 2022",
8+
"compose": {
9+
"include": [
10+
{
11+
"system": "http://hl7.dk/fhir/Hackathon-Sep-2022/CodeSystem/MentalHealthCodes",
12+
"concept": [
13+
{
14+
"code": "a5341a86-677d-4d53-84a1-498dc1a4ed42",
15+
"display": "Jeg føler mig klar og frisk de fleste dage"
16+
},
17+
{
18+
"code": "ea31af7a-cf51-4b53-b4d2-bef393b42946",
19+
"display": "Jeg har følt mig uoplagt et par gange om ugen"
20+
},
21+
{
22+
"code": "6f4db47c-cf6a-44c4-b434-aa6edec6e064",
23+
"display": "Jeg er hele tiden træt"
24+
}
25+
]
26+
}
27+
]
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"resourceType": "ValueSet",
3+
"id": "FriendshipCodes",
4+
"url": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/FriendshipCodes",
5+
"title": "Venskaber",
6+
"status": "active",
7+
"description": "Svarmuligheder for venskaber i forbindelse med psykisk helbred questionnaire hackathon 2022",
8+
"compose": {
9+
"include": [
10+
{
11+
"system": "http://hl7.dk/fhir/Hackathon-Sep-2022/CodeSystem/MentalHealthCodes",
12+
"concept": [
13+
{
14+
"code": "60e95414-b97d-4197-af85-d5efc5628e86",
15+
"display": "Jeg føler mig tæt på mine venner"
16+
},
17+
{
18+
"code": "93105f14-245e-4e66-8db0-86866978de58",
19+
"display": "Jeg har venner, men de er ikke tætte mere"
20+
},
21+
{
22+
"code": "597872aa-a00e-4de3-b0a3-03dae9fd890a",
23+
"display": "Jeg har ingen venner"
24+
}
25+
]
26+
}
27+
]
28+
}
29+
}
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"resourceType": "ValueSet",
3+
"id": "LoveCodes",
4+
"url": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/LoveCodes",
5+
"title": "Kærlighed",
6+
"status": "active",
7+
"description": "Svarmuligheder for kærlighed i forbindelse med psykisk helbred questionnaire hackathon 2022",
8+
"compose": {
9+
"include": [
10+
{
11+
"system": "http://hl7.dk/fhir/Hackathon-Sep-2022/CodeSystem/MentalHealthCodes",
12+
"concept": [
13+
{
14+
"code": "8270c0ae-2ae5-4204-8c12-bd35e61b7498",
15+
"display": "Jeg føler mig elsket"
16+
},
17+
{
18+
"code": "2620845c-4831-4291-a02c-b56b2c8908fe",
19+
"display": "Jeg føler mig nogle gange elsket"
20+
},
21+
{
22+
"code": "1a705260-cf44-4dd8-83fb-994baf656a6a",
23+
"display": "Jeg føler mig ikke elsket"
24+
}
25+
]
26+
}
27+
]
28+
}
29+
}
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"resourceType": "ValueSet",
3+
"id": "MoodCodes",
4+
"url": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/MoodCodes",
5+
"title": "Humør",
6+
"status": "active",
7+
"description": "Svarmuligheder for humør i forbindelse med psykisk helbred questionnaire hackathon 2022",
8+
"compose": {
9+
"include": [
10+
{
11+
"system": "http://hl7.dk/fhir/Hackathon-Sep-2022/CodeSystem/MentalHealthCodes",
12+
"concept": [
13+
{
14+
"code": "b9453f69-31a2-4a67-a453-569d7cd9691a",
15+
"display": "Jeg er glad"
16+
},
17+
{
18+
"code": "18b6720d-8ae2-4abf-87e7-c068efb5346c",
19+
"display": "Jeg er trist det meste af tiden"
20+
},
21+
{
22+
"code": "f78ce5be-f7d1-4f03-9eed-bd2563466abe",
23+
"display": "Jeg er trist hele tiden og har trang til at græde hver dag"
24+
}
25+
]
26+
}
27+
]
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"resourceType": "ValueSet",
3+
"id": "PressureCodes",
4+
"url": "http://hl7.dk/fhir/Hackathon-Sep-2022/ValueSet/PressureCodes",
5+
"title": "Pres",
6+
"status": "active",
7+
"description": "Svarmuligheder for pres i forbindelse med psykisk helbred questionnaire hackathon 2022",
8+
"compose": {
9+
"include": [
10+
{
11+
"system": "http://hl7.dk/fhir/Hackathon-Sep-2022/CodeSystem/MentalHealthCodes",
12+
"concept": [
13+
{
14+
"code": "be7fa5d8-ad1f-49c4-9bce-4370c81f6ac9",
15+
"display": "Jeg klarer mine opgaver uden at føle mig presset"
16+
},
17+
{
18+
"code": "7cffb548-c0ff-4521-9782-4d862d952885",
19+
"display": "Jeg presser mig selv hele tiden for at klare mine daglige opgaver"
20+
},
21+
{
22+
"code": "14293f45-25fc-48a1-b8be-918d44009e91",
23+
"display": "Jeg klarer ikke mine daglige opgaver"
24+
}
25+
]
26+
}
27+
]
28+
}
29+
}

0 commit comments

Comments
 (0)