sdc-qrf 0.3.17 → 0.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/converter/fceToFhir/questionnaire/processExtensions.d.ts.map +1 -1
  2. package/dist/converter/fceToFhir/questionnaire/processExtensions.js +7 -1
  3. package/dist/converter/fceToFhir/questionnaire/processExtensions.js.map +1 -1
  4. package/dist/converter/fhirToFce/questionnaire/processExtensions.d.ts +1 -0
  5. package/dist/converter/fhirToFce/questionnaire/processExtensions.d.ts.map +1 -1
  6. package/dist/converter/fhirToFce/questionnaire/processExtensions.js +12 -6
  7. package/dist/converter/fhirToFce/questionnaire/processExtensions.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/converter/__tests__/resources/questionnaire_fce/allergies.json +1 -0
  10. package/src/converter/__tests__/resources/questionnaire_fce/beverages.json +67 -66
  11. package/src/converter/__tests__/resources/questionnaire_fce/choice_answer_option.json +49 -48
  12. package/src/converter/__tests__/resources/questionnaire_fce/consent.json +1 -0
  13. package/src/converter/__tests__/resources/questionnaire_fce/constraint.json +2 -2
  14. package/src/converter/__tests__/resources/questionnaire_fce/cqf-examples.json +59 -63
  15. package/src/converter/__tests__/resources/questionnaire_fce/enable_when.json +1 -0
  16. package/src/converter/__tests__/resources/questionnaire_fce/encounter_create.json +1 -0
  17. package/src/converter/__tests__/resources/questionnaire_fce/gad_7.json +6 -14
  18. package/src/converter/__tests__/resources/questionnaire_fce/immunization.json +6 -14
  19. package/src/converter/__tests__/resources/questionnaire_fce/medication.json +165 -164
  20. package/src/converter/__tests__/resources/questionnaire_fce/multiple_type_launch_context.json +5 -12
  21. package/src/converter/__tests__/resources/questionnaire_fce/patient_create.json +78 -77
  22. package/src/converter/__tests__/resources/questionnaire_fce/patient_edit.json +1 -0
  23. package/src/converter/__tests__/resources/questionnaire_fce/phq_2_phq_9.json +1 -0
  24. package/src/converter/__tests__/resources/questionnaire_fce/physicalexam.json +381 -380
  25. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_create.json +79 -78
  26. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_create_structure_map.json +1 -0
  27. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_edit.json +127 -126
  28. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_role_create.json +35 -34
  29. package/src/converter/__tests__/resources/questionnaire_fce/public_appointment.json +3 -4
  30. package/src/converter/__tests__/resources/questionnaire_fce/review_of_systems.json +384 -383
  31. package/src/converter/__tests__/resources/questionnaire_fce/source_queries.json +31 -30
  32. package/src/converter/__tests__/resources/questionnaire_fce/unit-option.json +1 -0
  33. package/src/converter/__tests__/resources/questionnaire_fce/vitals.json +1 -0
  34. package/src/converter/__tests__/resources/questionnaire_fhir/allergies.json +7 -8
  35. package/src/converter/__tests__/resources/questionnaire_fhir/beverages.json +96 -90
  36. package/src/converter/__tests__/resources/questionnaire_fhir/choice_answer_option.json +49 -43
  37. package/src/converter/__tests__/resources/questionnaire_fhir/consent.json +4 -0
  38. package/src/converter/__tests__/resources/questionnaire_fhir/constraint.json +6 -0
  39. package/src/converter/__tests__/resources/questionnaire_fhir/cqf-examples.json +87 -86
  40. package/src/converter/__tests__/resources/questionnaire_fhir/enable_when.json +6 -0
  41. package/src/converter/__tests__/resources/questionnaire_fhir/encounter_create.json +4 -0
  42. package/src/converter/__tests__/resources/questionnaire_fhir/gad_7.json +7 -8
  43. package/src/converter/__tests__/resources/questionnaire_fhir/immunization.json +7 -8
  44. package/src/converter/__tests__/resources/questionnaire_fhir/medication.json +203 -199
  45. package/src/converter/__tests__/resources/questionnaire_fhir/multiple_type_launch_context.json +387 -383
  46. package/src/converter/__tests__/resources/questionnaire_fhir/patient_create.json +92 -88
  47. package/src/converter/__tests__/resources/questionnaire_fhir/patient_edit.json +6 -4
  48. package/src/converter/__tests__/resources/questionnaire_fhir/phq_2_phq_9.json +565 -561
  49. package/src/converter/__tests__/resources/questionnaire_fhir/physicalexam.json +540 -536
  50. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_create.json +78 -74
  51. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_create_structure_map.json +4 -0
  52. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_edit.json +176 -172
  53. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_role_create.json +45 -41
  54. package/src/converter/__tests__/resources/questionnaire_fhir/public_appointment.json +6 -4
  55. package/src/converter/__tests__/resources/questionnaire_fhir/review_of_systems.json +364 -358
  56. package/src/converter/__tests__/resources/questionnaire_fhir/source_queries.json +37 -33
  57. package/src/converter/__tests__/resources/questionnaire_fhir/unit-option.json +6 -0
  58. package/src/converter/__tests__/resources/questionnaire_fhir/vitals.json +4 -0
  59. package/src/converter/fceToFhir/questionnaire/processExtensions.ts +8 -1
  60. package/src/converter/fhirToFce/questionnaire/processExtensions.ts +21 -15
@@ -1,87 +1,91 @@
1
1
  {
2
- "meta": {
3
- "profile": ["https://beda.software/beda-emr-questionnaire"],
4
- "lastUpdated": "2023-04-10T03:43:34.792167Z",
5
- "versionId": "694",
6
- "extension": [
7
- {
8
- "url": "ex:createdAt",
9
- "valueInstant": "2023-04-05T05:22:35.752466Z"
10
- }
11
- ]
12
- },
13
- "name": "practitioner-create",
14
- "item": [
15
- {
16
- "text": "Last name",
17
- "type": "string",
18
- "linkId": "last-name",
19
- "required": true
20
- },
21
- {
22
- "text": "First name",
23
- "type": "string",
24
- "linkId": "first-name"
25
- },
26
- {
27
- "text": "Middle name",
28
- "type": "string",
29
- "linkId": "middle-name"
2
+ "meta": {
3
+ "profile": ["https://beda.software/beda-emr-questionnaire"],
4
+ "lastUpdated": "2023-04-10T03:43:34.792167Z",
5
+ "versionId": "694",
6
+ "extension": [
7
+ {
8
+ "url": "ex:createdAt",
9
+ "valueInstant": "2023-04-05T05:22:35.752466Z"
10
+ }
11
+ ]
30
12
  },
31
- {
32
- "text": "Specialty",
33
- "type": "choice",
34
- "linkId": "specialty",
35
- "answerOption": [
13
+ "name": "practitioner-create",
14
+ "item": [
36
15
  {
37
- "valueCoding": {
38
- "code": "394577000",
39
- "system": "http://snomed.info/sct",
40
- "display": "Anesthetics"
41
- }
16
+ "text": "Last name",
17
+ "type": "string",
18
+ "linkId": "last-name",
19
+ "required": true
42
20
  },
43
21
  {
44
- "valueCoding": {
45
- "code": "394579002",
46
- "system": "http://snomed.info/sct",
47
- "display": "Cardiology"
48
- }
22
+ "text": "First name",
23
+ "type": "string",
24
+ "linkId": "first-name"
49
25
  },
50
26
  {
51
- "valueCoding": {
52
- "code": "394582007",
53
- "system": "http://snomed.info/sct",
54
- "display": "Dermatology"
55
- }
27
+ "text": "Middle name",
28
+ "type": "string",
29
+ "linkId": "middle-name"
56
30
  },
57
31
  {
58
- "valueCoding": {
59
- "code": "394583002",
60
- "system": "http://snomed.info/sct",
61
- "display": "Endocrinology"
62
- }
32
+ "text": "Specialty",
33
+ "type": "choice",
34
+ "linkId": "specialty",
35
+ "answerOption": [
36
+ {
37
+ "valueCoding": {
38
+ "code": "394577000",
39
+ "system": "http://snomed.info/sct",
40
+ "display": "Anesthetics"
41
+ }
42
+ },
43
+ {
44
+ "valueCoding": {
45
+ "code": "394579002",
46
+ "system": "http://snomed.info/sct",
47
+ "display": "Cardiology"
48
+ }
49
+ },
50
+ {
51
+ "valueCoding": {
52
+ "code": "394582007",
53
+ "system": "http://snomed.info/sct",
54
+ "display": "Dermatology"
55
+ }
56
+ },
57
+ {
58
+ "valueCoding": {
59
+ "code": "394583002",
60
+ "system": "http://snomed.info/sct",
61
+ "display": "Endocrinology"
62
+ }
63
+ },
64
+ {
65
+ "valueCoding": {
66
+ "code": "419772000",
67
+ "system": "http://snomed.info/sct",
68
+ "display": "Family practice"
69
+ }
70
+ }
71
+ ]
72
+ }
73
+ ],
74
+ "resourceType": "Questionnaire",
75
+ "title": "Practitioner create",
76
+ "extension": [
77
+ {
78
+ "url": "http://beda.software/fhir-extensions/questionnaire-mapper",
79
+ "valueReference": {
80
+ "reference": "Mapping/practitioner-create"
81
+ }
63
82
  },
64
83
  {
65
- "valueCoding": {
66
- "code": "419772000",
67
- "system": "http://snomed.info/sct",
68
- "display": "Family practice"
69
- }
84
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom",
85
+ "valueCanonical": "practitioner-create"
70
86
  }
71
- ]
72
- }
73
- ],
74
- "resourceType": "Questionnaire",
75
- "title": "Practitioner create",
76
- "extension": [
77
- {
78
- "url": "http://beda.software/fhir-extensions/questionnaire-mapper",
79
- "valueReference": {
80
- "reference": "Mapping/practitioner-create"
81
- }
82
- }
83
- ],
84
- "status": "active",
85
- "id": "practitioner-create",
86
- "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/practitioner-create"
87
+ ],
88
+ "status": "active",
89
+ "id": "practitioner-create",
90
+ "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/practitioner-create"
87
91
  }
@@ -83,6 +83,10 @@
83
83
  {
84
84
  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap",
85
85
  "valueCanonical": "StructureMap/practitioner-create"
86
+ },
87
+ {
88
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom",
89
+ "valueCanonical": "practitioner-create-structure-map"
86
90
  }
87
91
  ],
88
92
  "status": "active",
@@ -1,193 +1,197 @@
1
1
  {
2
- "meta": {
3
- "profile": ["https://beda.software/beda-emr-questionnaire"],
4
- "lastUpdated": "2023-04-10T03:43:34.792167Z",
5
- "versionId": "694",
6
- "extension": [
7
- {
8
- "url": "ex:createdAt",
9
- "valueInstant": "2023-04-05T05:22:35.752466Z"
10
- }
11
- ]
12
- },
13
- "name": "practitioner edit",
14
- "item": [
15
- {
16
- "text": "practitionerId",
17
- "type": "string",
18
- "extension": [
19
- {
20
- "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
21
- "valueBoolean": true
22
- },
23
- {
24
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
25
- "valueExpression": {
26
- "language": "text/fhirpath",
27
- "expression": "%Practitioner.id"
28
- }
29
- }
30
- ],
31
- "linkId": "practitioner-id",
32
- "readOnly": true
2
+ "meta": {
3
+ "profile": ["https://beda.software/beda-emr-questionnaire"],
4
+ "lastUpdated": "2023-04-10T03:43:34.792167Z",
5
+ "versionId": "694",
6
+ "extension": [
7
+ {
8
+ "url": "ex:createdAt",
9
+ "valueInstant": "2023-04-05T05:22:35.752466Z"
10
+ }
11
+ ]
33
12
  },
34
- {
35
- "text": "practitionerRoleId",
36
- "type": "string",
37
- "extension": [
38
- {
39
- "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
40
- "valueBoolean": true
13
+ "name": "practitioner edit",
14
+ "item": [
15
+ {
16
+ "text": "practitionerId",
17
+ "type": "string",
18
+ "extension": [
19
+ {
20
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
21
+ "valueBoolean": true
22
+ },
23
+ {
24
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
25
+ "valueExpression": {
26
+ "language": "text/fhirpath",
27
+ "expression": "%Practitioner.id"
28
+ }
29
+ }
30
+ ],
31
+ "linkId": "practitioner-id",
32
+ "readOnly": true
41
33
  },
42
34
  {
43
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
44
- "valueExpression": {
45
- "language": "text/fhirpath",
46
- "expression": "%PractitionerRole.id"
47
- }
48
- }
49
- ],
50
- "linkId": "practitioner-role-id",
51
- "readOnly": true
52
- },
53
- {
54
- "text": "First name",
55
- "type": "string",
56
- "linkId": "first-name",
57
- "extension": [
58
- {
59
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
60
- "valueExpression": {
61
- "language": "text/fhirpath",
62
- "expression": "%Practitioner.name.given[0]"
63
- }
64
- }
65
- ]
66
- },
67
- {
68
- "text": "Middle name",
69
- "type": "string",
70
- "linkId": "middle-name",
71
- "extension": [
72
- {
73
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
74
- "valueExpression": {
75
- "language": "text/fhirpath",
76
- "expression": "%Practitioner.name.given[1]"
77
- }
78
- }
79
- ]
80
- },
81
- {
82
- "text": "Last name",
83
- "type": "string",
84
- "linkId": "last-name",
85
- "required": true,
86
- "extension": [
87
- {
88
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
89
- "valueExpression": {
90
- "language": "text/fhirpath",
91
- "expression": "%Practitioner.name.family"
92
- }
93
- }
94
- ]
95
- },
96
- {
97
- "text": "Specialty",
98
- "type": "choice",
99
- "linkId": "specialty",
100
- "answerOption": [
101
- {
102
- "valueCoding": {
103
- "code": "394577000",
104
- "system": "http://snomed.info/sct",
105
- "display": "Anesthetics"
106
- }
35
+ "text": "practitionerRoleId",
36
+ "type": "string",
37
+ "extension": [
38
+ {
39
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
40
+ "valueBoolean": true
41
+ },
42
+ {
43
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
44
+ "valueExpression": {
45
+ "language": "text/fhirpath",
46
+ "expression": "%PractitionerRole.id"
47
+ }
48
+ }
49
+ ],
50
+ "linkId": "practitioner-role-id",
51
+ "readOnly": true
107
52
  },
108
53
  {
109
- "valueCoding": {
110
- "code": "394579002",
111
- "system": "http://snomed.info/sct",
112
- "display": "Cardiology"
113
- }
54
+ "text": "First name",
55
+ "type": "string",
56
+ "linkId": "first-name",
57
+ "extension": [
58
+ {
59
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
60
+ "valueExpression": {
61
+ "language": "text/fhirpath",
62
+ "expression": "%Practitioner.name.given[0]"
63
+ }
64
+ }
65
+ ]
114
66
  },
115
67
  {
116
- "valueCoding": {
117
- "code": "394582007",
118
- "system": "http://snomed.info/sct",
119
- "display": "Dermatology"
120
- }
68
+ "text": "Middle name",
69
+ "type": "string",
70
+ "linkId": "middle-name",
71
+ "extension": [
72
+ {
73
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
74
+ "valueExpression": {
75
+ "language": "text/fhirpath",
76
+ "expression": "%Practitioner.name.given[1]"
77
+ }
78
+ }
79
+ ]
121
80
  },
122
81
  {
123
- "valueCoding": {
124
- "code": "394583002",
125
- "system": "http://snomed.info/sct",
126
- "display": "Endocrinology"
127
- }
82
+ "text": "Last name",
83
+ "type": "string",
84
+ "linkId": "last-name",
85
+ "required": true,
86
+ "extension": [
87
+ {
88
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
89
+ "valueExpression": {
90
+ "language": "text/fhirpath",
91
+ "expression": "%Practitioner.name.family"
92
+ }
93
+ }
94
+ ]
128
95
  },
129
96
  {
130
- "valueCoding": {
131
- "code": "419772000",
132
- "system": "http://snomed.info/sct",
133
- "display": "Family practice"
134
- }
135
- }
136
- ],
137
- "extension": [
138
- {
139
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
140
- "valueExpression": {
141
- "language": "text/fhirpath",
142
- "expression": "%PractitionerRole.specialty[0].coding"
143
- }
97
+ "text": "Specialty",
98
+ "type": "choice",
99
+ "linkId": "specialty",
100
+ "answerOption": [
101
+ {
102
+ "valueCoding": {
103
+ "code": "394577000",
104
+ "system": "http://snomed.info/sct",
105
+ "display": "Anesthetics"
106
+ }
107
+ },
108
+ {
109
+ "valueCoding": {
110
+ "code": "394579002",
111
+ "system": "http://snomed.info/sct",
112
+ "display": "Cardiology"
113
+ }
114
+ },
115
+ {
116
+ "valueCoding": {
117
+ "code": "394582007",
118
+ "system": "http://snomed.info/sct",
119
+ "display": "Dermatology"
120
+ }
121
+ },
122
+ {
123
+ "valueCoding": {
124
+ "code": "394583002",
125
+ "system": "http://snomed.info/sct",
126
+ "display": "Endocrinology"
127
+ }
128
+ },
129
+ {
130
+ "valueCoding": {
131
+ "code": "419772000",
132
+ "system": "http://snomed.info/sct",
133
+ "display": "Family practice"
134
+ }
135
+ }
136
+ ],
137
+ "extension": [
138
+ {
139
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
140
+ "valueExpression": {
141
+ "language": "text/fhirpath",
142
+ "expression": "%PractitionerRole.specialty[0].coding"
143
+ }
144
+ }
145
+ ]
144
146
  }
145
- ]
146
- }
147
- ],
148
- "resourceType": "Questionnaire",
149
- "title": "Practitioner edit",
150
- "extension": [
151
- {
152
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
153
- "extension": [
147
+ ],
148
+ "resourceType": "Questionnaire",
149
+ "title": "Practitioner edit",
150
+ "extension": [
154
151
  {
155
- "url": "name",
156
- "valueCoding": {
157
- "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
158
- "code": "Practitioner"
159
- }
152
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
153
+ "extension": [
154
+ {
155
+ "url": "name",
156
+ "valueCoding": {
157
+ "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
158
+ "code": "Practitioner"
159
+ }
160
+ },
161
+ {
162
+ "url": "type",
163
+ "valueCode": "Practitioner"
164
+ }
165
+ ]
160
166
  },
161
167
  {
162
- "url": "type",
163
- "valueCode": "Practitioner"
164
- }
165
- ]
166
- },
167
- {
168
- "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
169
- "extension": [
168
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
169
+ "extension": [
170
+ {
171
+ "url": "name",
172
+ "valueCoding": {
173
+ "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
174
+ "code": "PractitionerRole"
175
+ }
176
+ },
177
+ {
178
+ "url": "type",
179
+ "valueCode": "PractitionerRole"
180
+ }
181
+ ]
182
+ },
170
183
  {
171
- "url": "name",
172
- "valueCoding": {
173
- "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
174
- "code": "PractitionerRole"
175
- }
184
+ "url": "http://beda.software/fhir-extensions/questionnaire-mapper",
185
+ "valueReference": {
186
+ "reference": "Mapping/practitioner-edit"
187
+ }
176
188
  },
177
189
  {
178
- "url": "type",
179
- "valueCode": "PractitionerRole"
190
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom",
191
+ "valueCanonical": "practitioner-edit"
180
192
  }
181
- ]
182
- },
183
- {
184
- "url": "http://beda.software/fhir-extensions/questionnaire-mapper",
185
- "valueReference": {
186
- "reference": "Mapping/practitioner-edit"
187
- }
188
- }
189
- ],
190
- "status": "active",
191
- "id": "practitioner-edit",
192
- "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/practitioner-edit"
193
+ ],
194
+ "status": "active",
195
+ "id": "practitioner-edit",
196
+ "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/practitioner-edit"
193
197
  }
@@ -1,44 +1,48 @@
1
1
  {
2
- "meta": {
3
- "profile": ["https://beda.software/beda-emr-questionnaire"],
4
- "lastUpdated": "2023-04-10T03:43:34.792167Z",
5
- "versionId": "694",
6
- "extension": [
7
- {
8
- "url": "ex:createdAt",
9
- "valueInstant": "2023-04-05T05:22:35.752466Z"
10
- }
11
- ]
12
- },
13
- "name": "practitioner-role-create",
14
- "item": [
15
- {
16
- "text": "Organization",
17
- "type": "string",
18
- "linkId": "organization"
19
- },
20
- {
21
- "text": "Practitioner",
22
- "type": "string",
23
- "linkId": "practitioner"
2
+ "meta": {
3
+ "profile": ["https://beda.software/beda-emr-questionnaire"],
4
+ "lastUpdated": "2023-04-10T03:43:34.792167Z",
5
+ "versionId": "694",
6
+ "extension": [
7
+ {
8
+ "url": "ex:createdAt",
9
+ "valueInstant": "2023-04-05T05:22:35.752466Z"
10
+ }
11
+ ]
24
12
  },
25
- {
26
- "text": "Speciality",
27
- "type": "string",
28
- "linkId": "specialty"
29
- }
30
- ],
31
- "resourceType": "Questionnaire",
32
- "title": "Create practitioner role",
33
- "extension": [
34
- {
35
- "url": "http://beda.software/fhir-extensions/questionnaire-mapper",
36
- "valueReference": {
37
- "reference": "Mapping/practitioner-role-create"
38
- }
39
- }
40
- ],
41
- "status": "active",
42
- "id": "practitioner-role-create",
43
- "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/practitioner-role-create"
13
+ "name": "practitioner-role-create",
14
+ "item": [
15
+ {
16
+ "text": "Organization",
17
+ "type": "string",
18
+ "linkId": "organization"
19
+ },
20
+ {
21
+ "text": "Practitioner",
22
+ "type": "string",
23
+ "linkId": "practitioner"
24
+ },
25
+ {
26
+ "text": "Speciality",
27
+ "type": "string",
28
+ "linkId": "specialty"
29
+ }
30
+ ],
31
+ "resourceType": "Questionnaire",
32
+ "title": "Create practitioner role",
33
+ "extension": [
34
+ {
35
+ "url": "http://beda.software/fhir-extensions/questionnaire-mapper",
36
+ "valueReference": {
37
+ "reference": "Mapping/practitioner-role-create"
38
+ }
39
+ },
40
+ {
41
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom",
42
+ "valueCanonical": "practitioner-role-create"
43
+ }
44
+ ],
45
+ "status": "active",
46
+ "id": "practitioner-role-create",
47
+ "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/practitioner-role-create"
44
48
  }