sdc-qrf 0.1.3 → 0.3.1

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 (176) hide show
  1. package/lib/components.d.ts +3 -3
  2. package/lib/components.js +12 -12
  3. package/lib/components.js.map +1 -1
  4. package/lib/context.d.ts +0 -1
  5. package/lib/converter/extensions.d.ts +35 -0
  6. package/lib/converter/extensions.js +128 -0
  7. package/lib/converter/extensions.js.map +1 -0
  8. package/lib/converter/fceToFhir/index.d.ts +4 -0
  9. package/lib/converter/fceToFhir/index.js +15 -0
  10. package/lib/converter/fceToFhir/index.js.map +1 -0
  11. package/lib/converter/fceToFhir/questionnaire/index.d.ts +3 -0
  12. package/lib/converter/fceToFhir/questionnaire/index.js +17 -0
  13. package/lib/converter/fceToFhir/questionnaire/index.js.map +1 -0
  14. package/lib/converter/fceToFhir/questionnaire/processExtensions.d.ts +3 -0
  15. package/lib/converter/fceToFhir/questionnaire/processExtensions.js +61 -0
  16. package/lib/converter/fceToFhir/questionnaire/processExtensions.js.map +1 -0
  17. package/lib/converter/fceToFhir/questionnaire/processItems.d.ts +3 -0
  18. package/lib/converter/fceToFhir/questionnaire/processItems.js +144 -0
  19. package/lib/converter/fceToFhir/questionnaire/processItems.js.map +1 -0
  20. package/lib/converter/fceToFhir/questionnaire/processMeta.d.ts +3 -0
  21. package/lib/converter/fceToFhir/questionnaire/processMeta.js +20 -0
  22. package/lib/converter/fceToFhir/questionnaire/processMeta.js.map +1 -0
  23. package/lib/converter/fceToFhir/questionnaireResponse/index.d.ts +3 -0
  24. package/lib/converter/fceToFhir/questionnaireResponse/index.js +20 -0
  25. package/lib/converter/fceToFhir/questionnaireResponse/index.js.map +1 -0
  26. package/lib/converter/fceToFhir/questionnaireResponse/processAnswers.d.ts +2 -0
  27. package/lib/converter/fceToFhir/questionnaireResponse/processAnswers.js +48 -0
  28. package/lib/converter/fceToFhir/questionnaireResponse/processAnswers.js.map +1 -0
  29. package/lib/converter/fceToFhir/questionnaireResponse/processMeta.d.ts +3 -0
  30. package/lib/converter/fceToFhir/questionnaireResponse/processMeta.js +18 -0
  31. package/lib/converter/fceToFhir/questionnaireResponse/processMeta.js.map +1 -0
  32. package/lib/converter/fceToFhir/questionnaireResponse/processReference.d.ts +3 -0
  33. package/lib/converter/fceToFhir/questionnaireResponse/processReference.js +19 -0
  34. package/lib/converter/fceToFhir/questionnaireResponse/processReference.js.map +1 -0
  35. package/lib/converter/fhirToFce/index.d.ts +4 -0
  36. package/lib/converter/fhirToFce/index.js +15 -0
  37. package/lib/converter/fhirToFce/index.js.map +1 -0
  38. package/lib/converter/fhirToFce/questionnaire/index.d.ts +3 -0
  39. package/lib/converter/fhirToFce/questionnaire/index.js +21 -0
  40. package/lib/converter/fhirToFce/questionnaire/index.js.map +1 -0
  41. package/lib/converter/fhirToFce/questionnaire/processExtensions.d.ts +8 -0
  42. package/lib/converter/fhirToFce/questionnaire/processExtensions.js +89 -0
  43. package/lib/converter/fhirToFce/questionnaire/processExtensions.js.map +1 -0
  44. package/lib/converter/fhirToFce/questionnaire/processItems.d.ts +3 -0
  45. package/lib/converter/fhirToFce/questionnaire/processItems.js +131 -0
  46. package/lib/converter/fhirToFce/questionnaire/processItems.js.map +1 -0
  47. package/lib/converter/fhirToFce/questionnaire/processMeta.d.ts +32 -0
  48. package/lib/converter/fhirToFce/questionnaire/processMeta.js +14 -0
  49. package/lib/converter/fhirToFce/questionnaire/processMeta.js.map +1 -0
  50. package/lib/converter/fhirToFce/questionnaireResponse/index.d.ts +3 -0
  51. package/lib/converter/fhirToFce/questionnaireResponse/index.js +20 -0
  52. package/lib/converter/fhirToFce/questionnaireResponse/index.js.map +1 -0
  53. package/lib/converter/fhirToFce/questionnaireResponse/processAnswers.d.ts +2 -0
  54. package/lib/converter/fhirToFce/questionnaireResponse/processAnswers.js +46 -0
  55. package/lib/converter/fhirToFce/questionnaireResponse/processAnswers.js.map +1 -0
  56. package/lib/converter/fhirToFce/questionnaireResponse/processMeta.d.ts +3 -0
  57. package/lib/converter/fhirToFce/questionnaireResponse/processMeta.js +15 -0
  58. package/lib/converter/fhirToFce/questionnaireResponse/processMeta.js.map +1 -0
  59. package/lib/converter/fhirToFce/questionnaireResponse/processReference.d.ts +3 -0
  60. package/lib/converter/fhirToFce/questionnaireResponse/processReference.js +18 -0
  61. package/lib/converter/fhirToFce/questionnaireResponse/processReference.js.map +1 -0
  62. package/lib/converter/fhirToFce/utils.d.ts +3 -0
  63. package/lib/converter/fhirToFce/utils.js +37 -0
  64. package/lib/converter/fhirToFce/utils.js.map +1 -0
  65. package/lib/converter/index.d.ts +12 -0
  66. package/lib/converter/index.js +84 -0
  67. package/lib/converter/index.js.map +1 -0
  68. package/lib/index.d.ts +1 -0
  69. package/lib/index.js +1 -0
  70. package/lib/index.js.map +1 -1
  71. package/lib/setupTests.d.ts +1 -0
  72. package/lib/setupTests.js +4 -0
  73. package/lib/setupTests.js.map +1 -0
  74. package/lib/types.d.ts +10 -10
  75. package/lib/utils.d.ts +4 -1
  76. package/lib/utils.js +9 -2
  77. package/lib/utils.js.map +1 -1
  78. package/package.json +4 -5
  79. package/src/components.tsx +12 -12
  80. package/src/converter/__tests__/fce.test.ts +224 -0
  81. package/src/converter/__tests__/resources/questionnaire_fce/allergies.json +405 -0
  82. package/src/converter/__tests__/resources/questionnaire_fce/beverages.json +72 -0
  83. package/src/converter/__tests__/resources/questionnaire_fce/choice_answer_option.json +53 -0
  84. package/src/converter/__tests__/resources/questionnaire_fce/consent.json +86 -0
  85. package/src/converter/__tests__/resources/questionnaire_fce/enable_when.json +103 -0
  86. package/src/converter/__tests__/resources/questionnaire_fce/encounter_create.json +126 -0
  87. package/src/converter/__tests__/resources/questionnaire_fce/gad_7.json +459 -0
  88. package/src/converter/__tests__/resources/questionnaire_fce/immunization.json +182 -0
  89. package/src/converter/__tests__/resources/questionnaire_fce/medication.json +189 -0
  90. package/src/converter/__tests__/resources/questionnaire_fce/multiple_type_launch_context.json +406 -0
  91. package/src/converter/__tests__/resources/questionnaire_fce/patient_create.json +84 -0
  92. package/src/converter/__tests__/resources/questionnaire_fce/patient_edit.json +125 -0
  93. package/src/converter/__tests__/resources/questionnaire_fce/phq_2_phq_9.json +552 -0
  94. package/src/converter/__tests__/resources/questionnaire_fce/physicalexam.json +385 -0
  95. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_create.json +90 -0
  96. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_create_structure_map.json +91 -0
  97. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_edit.json +144 -0
  98. package/src/converter/__tests__/resources/questionnaire_fce/practitioner_role_create.json +37 -0
  99. package/src/converter/__tests__/resources/questionnaire_fce/public_appointment.json +91 -0
  100. package/src/converter/__tests__/resources/questionnaire_fce/review_of_systems.json +389 -0
  101. package/src/converter/__tests__/resources/questionnaire_fce/source_queries.json +34 -0
  102. package/src/converter/__tests__/resources/questionnaire_fce/vitals.json +234 -0
  103. package/src/converter/__tests__/resources/questionnaire_fhir/allergies.json +433 -0
  104. package/src/converter/__tests__/resources/questionnaire_fhir/beverages.json +99 -0
  105. package/src/converter/__tests__/resources/questionnaire_fhir/choice_answer_option.json +49 -0
  106. package/src/converter/__tests__/resources/questionnaire_fhir/consent.json +119 -0
  107. package/src/converter/__tests__/resources/questionnaire_fhir/enable_when.json +87 -0
  108. package/src/converter/__tests__/resources/questionnaire_fhir/encounter_create.json +171 -0
  109. package/src/converter/__tests__/resources/questionnaire_fhir/gad_7.json +489 -0
  110. package/src/converter/__tests__/resources/questionnaire_fhir/immunization.json +215 -0
  111. package/src/converter/__tests__/resources/questionnaire_fhir/medication.json +226 -0
  112. package/src/converter/__tests__/resources/questionnaire_fhir/multiple_type_launch_context.json +416 -0
  113. package/src/converter/__tests__/resources/questionnaire_fhir/patient_create.json +97 -0
  114. package/src/converter/__tests__/resources/questionnaire_fhir/patient_edit.json +183 -0
  115. package/src/converter/__tests__/resources/questionnaire_fhir/phq_2_phq_9.json +580 -0
  116. package/src/converter/__tests__/resources/questionnaire_fhir/physicalexam.json +544 -0
  117. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_create.json +87 -0
  118. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_create_structure_map.json +91 -0
  119. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_edit.json +193 -0
  120. package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_role_create.json +44 -0
  121. package/src/converter/__tests__/resources/questionnaire_fhir/public_appointment.json +116 -0
  122. package/src/converter/__tests__/resources/questionnaire_fhir/review_of_systems.json +368 -0
  123. package/src/converter/__tests__/resources/questionnaire_fhir/source_queries.json +37 -0
  124. package/src/converter/__tests__/resources/questionnaire_fhir/vitals.json +317 -0
  125. package/src/converter/__tests__/resources/questionnaire_response_fce/allergies_inprogress.json +78 -0
  126. package/src/converter/__tests__/resources/questionnaire_response_fce/cardiology.json +96 -0
  127. package/src/converter/__tests__/resources/questionnaire_response_fce/few_answers.json +48 -0
  128. package/src/converter/__tests__/resources/questionnaire_response_fce/gad_7.json +165 -0
  129. package/src/converter/__tests__/resources/questionnaire_response_fce/immunization.json +86 -0
  130. package/src/converter/__tests__/resources/questionnaire_response_fce/medication.json +116 -0
  131. package/src/converter/__tests__/resources/questionnaire_response_fce/new_appointment.json +96 -0
  132. package/src/converter/__tests__/resources/questionnaire_response_fce/patient.json +87 -0
  133. package/src/converter/__tests__/resources/questionnaire_response_fce/phq_2_phq_9.json +193 -0
  134. package/src/converter/__tests__/resources/questionnaire_response_fce/physicalexam.json +187 -0
  135. package/src/converter/__tests__/resources/questionnaire_response_fce/practitioner.json +57 -0
  136. package/src/converter/__tests__/resources/questionnaire_response_fce/reference_answer_with_assoc.json +147 -0
  137. package/src/converter/__tests__/resources/questionnaire_response_fce/review_of_systems.json +129 -0
  138. package/src/converter/__tests__/resources/questionnaire_response_fce/vitals.json +168 -0
  139. package/src/converter/__tests__/resources/questionnaire_response_fhir/allergies_inprogress.json +73 -0
  140. package/src/converter/__tests__/resources/questionnaire_response_fhir/cardiology.json +87 -0
  141. package/src/converter/__tests__/resources/questionnaire_response_fhir/few_answers.json +46 -0
  142. package/src/converter/__tests__/resources/questionnaire_response_fhir/gad_7.json +146 -0
  143. package/src/converter/__tests__/resources/questionnaire_response_fhir/immunization.json +77 -0
  144. package/src/converter/__tests__/resources/questionnaire_response_fhir/medication.json +101 -0
  145. package/src/converter/__tests__/resources/questionnaire_response_fhir/new_appointment.json +86 -0
  146. package/src/converter/__tests__/resources/questionnaire_response_fhir/patient.json +78 -0
  147. package/src/converter/__tests__/resources/questionnaire_response_fhir/phq_2_phq_9.json +170 -0
  148. package/src/converter/__tests__/resources/questionnaire_response_fhir/physicalexam.json +158 -0
  149. package/src/converter/__tests__/resources/questionnaire_response_fhir/practitioner.json +54 -0
  150. package/src/converter/__tests__/resources/questionnaire_response_fhir/reference_answer_with_assoc.json +86 -0
  151. package/src/converter/__tests__/resources/questionnaire_response_fhir/review_of_systems.json +118 -0
  152. package/src/converter/__tests__/resources/questionnaire_response_fhir/vitals.json +145 -0
  153. package/src/converter/extensions.ts +149 -0
  154. package/src/converter/fceToFhir/index.ts +27 -0
  155. package/src/converter/fceToFhir/questionnaire/index.ts +15 -0
  156. package/src/converter/fceToFhir/questionnaire/processExtensions.ts +75 -0
  157. package/src/converter/fceToFhir/questionnaire/processItems.ts +194 -0
  158. package/src/converter/fceToFhir/questionnaire/processMeta.ts +19 -0
  159. package/src/converter/fceToFhir/questionnaireResponse/index.ts +21 -0
  160. package/src/converter/fceToFhir/questionnaireResponse/processAnswers.ts +53 -0
  161. package/src/converter/fceToFhir/questionnaireResponse/processMeta.ts +16 -0
  162. package/src/converter/fceToFhir/questionnaireResponse/processReference.ts +24 -0
  163. package/src/converter/fhirToFce/index.ts +27 -0
  164. package/src/converter/fhirToFce/questionnaire/index.ts +25 -0
  165. package/src/converter/fhirToFce/questionnaire/processExtensions.ts +113 -0
  166. package/src/converter/fhirToFce/questionnaire/processItems.ts +159 -0
  167. package/src/converter/fhirToFce/questionnaire/processMeta.ts +17 -0
  168. package/src/converter/fhirToFce/questionnaireResponse/index.ts +21 -0
  169. package/src/converter/fhirToFce/questionnaireResponse/processAnswers.ts +53 -0
  170. package/src/converter/fhirToFce/questionnaireResponse/processMeta.ts +14 -0
  171. package/src/converter/fhirToFce/questionnaireResponse/processReference.ts +20 -0
  172. package/src/converter/fhirToFce/utils.ts +36 -0
  173. package/src/converter/index.ts +106 -0
  174. package/src/index.ts +1 -0
  175. package/src/setupTests.ts +1 -0
  176. package/src/utils.ts +13 -2
@@ -0,0 +1,544 @@
1
+ {
2
+ "subjectType": ["Encounter"],
3
+ "meta": {
4
+ "profile": ["https://beda.software/beda-emr-questionnaire"],
5
+ "lastUpdated": "2023-04-10T03:43:34.792167Z",
6
+ "versionId": "694",
7
+ "extension": [
8
+ {
9
+ "url": "ex:createdAt",
10
+ "valueInstant": "2023-04-05T05:22:35.752466Z"
11
+ }
12
+ ]
13
+ },
14
+ "name": "Physical exam",
15
+ "item": [
16
+ {
17
+ "item": [
18
+ {
19
+ "code": [
20
+ {
21
+ "code": "71389-1",
22
+ "system": "http://loinc.org",
23
+ "display": "CMS - constitutional exam panel"
24
+ }
25
+ ],
26
+ "text": "General",
27
+ "type": "text",
28
+ "extension": [
29
+ {
30
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
31
+ "valueCodeableConcept": {
32
+ "coding": [
33
+ {
34
+ "code": "text-with-macro"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
41
+ "valueString": "Well nourished, well developed, awake and alert, resting comfortably in no acute distress, cooperative on exam"
42
+ }
43
+ ],
44
+ "linkId": "general"
45
+ },
46
+ {
47
+ "code": [
48
+ {
49
+ "code": "71392-5",
50
+ "system": "http://loinc.org",
51
+ "display": "CMS - ear-nose-mouth-throat exam panel"
52
+ }
53
+ ],
54
+ "text": "HEENT",
55
+ "type": "text",
56
+ "extension": [
57
+ {
58
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
59
+ "valueCodeableConcept": {
60
+ "coding": [
61
+ {
62
+ "code": "text-with-macro"
63
+ }
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
69
+ "valueString": "NCAT, PERRL, normal conjunctivae, nonicteric sclerae, bilateral EAC/TM clear, no nasal discharge, OP clear, moist mucous membranes"
70
+ }
71
+ ],
72
+ "linkId": "heent"
73
+ },
74
+ {
75
+ "code": [
76
+ {
77
+ "code": "71393-3",
78
+ "system": "http://loinc.org",
79
+ "display": "CMS - neck exam panel"
80
+ }
81
+ ],
82
+ "text": "Neck",
83
+ "type": "text",
84
+ "extension": [
85
+ {
86
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
87
+ "valueCodeableConcept": {
88
+ "coding": [
89
+ {
90
+ "code": "text-with-macro"
91
+ }
92
+ ]
93
+ }
94
+ },
95
+ {
96
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
97
+ "valueString": "Supple, normal ROM, no lymphadenopathy/masses, nontender"
98
+ }
99
+ ],
100
+ "linkId": "neck"
101
+ },
102
+ {
103
+ "code": [
104
+ {
105
+ "code": "71395-8",
106
+ "system": "http://loinc.org",
107
+ "display": "CMS - cardiovascular exam panel"
108
+ }
109
+ ],
110
+ "text": "Cardiovascular",
111
+ "type": "text",
112
+ "extension": [
113
+ {
114
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
115
+ "valueCodeableConcept": {
116
+ "coding": [
117
+ {
118
+ "code": "text-with-macro"
119
+ }
120
+ ]
121
+ }
122
+ },
123
+ {
124
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
125
+ "valueString": "RRR, normal S1/S2, no murmurs/gallops/rub"
126
+ }
127
+ ],
128
+ "linkId": "cardiovascular"
129
+ },
130
+ {
131
+ "code": [
132
+ {
133
+ "code": "71394-1",
134
+ "system": "http://loinc.org",
135
+ "display": "CMS - respiratory exam panel"
136
+ }
137
+ ],
138
+ "text": "Pulmonary",
139
+ "type": "text",
140
+ "extension": [
141
+ {
142
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
143
+ "valueCodeableConcept": {
144
+ "coding": [
145
+ {
146
+ "code": "text-with-macro"
147
+ }
148
+ ]
149
+ }
150
+ },
151
+ {
152
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
153
+ "valueString": "No respiratory distress, lungs CTAB: no rales, rhonchi, or wheeze"
154
+ }
155
+ ],
156
+ "linkId": "pulmonary"
157
+ },
158
+ {
159
+ "code": [
160
+ {
161
+ "code": "71397-4",
162
+ "system": "http://loinc.org",
163
+ "display": "CMS - gastrointestinal - abdomen exam panel"
164
+ }
165
+ ],
166
+ "text": "Abdominal",
167
+ "type": "text",
168
+ "extension": [
169
+ {
170
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
171
+ "valueCodeableConcept": {
172
+ "coding": [
173
+ {
174
+ "code": "text-with-macro"
175
+ }
176
+ ]
177
+ }
178
+ },
179
+ {
180
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
181
+ "valueString": "Soft and non-tender with no guarding or rebound; +BS normoactive, no tympany on auscultation"
182
+ }
183
+ ],
184
+ "linkId": "abdominal"
185
+ },
186
+ {
187
+ "code": [
188
+ {
189
+ "code": "71402-2",
190
+ "system": "http://loinc.org",
191
+ "display": "CMS - musculoskeletal exam panel"
192
+ }
193
+ ],
194
+ "text": "Musculoskeletal",
195
+ "type": "text",
196
+ "extension": [
197
+ {
198
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
199
+ "valueCodeableConcept": {
200
+ "coding": [
201
+ {
202
+ "code": "text-with-macro"
203
+ }
204
+ ]
205
+ }
206
+ },
207
+ {
208
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
209
+ "valueString": "Normal ROM of UE and LE, normal bulk and tone,"
210
+ }
211
+ ],
212
+ "linkId": "musculoskeletal"
213
+ },
214
+ {
215
+ "code": [
216
+ {
217
+ "code": "71401-4",
218
+ "system": "http://loinc.org",
219
+ "display": "CMS - extremities exam panel"
220
+ }
221
+ ],
222
+ "text": "Extremities",
223
+ "type": "text",
224
+ "extension": [
225
+ {
226
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
227
+ "valueCodeableConcept": {
228
+ "coding": [
229
+ {
230
+ "code": "text-with-macro"
231
+ }
232
+ ]
233
+ }
234
+ },
235
+ {
236
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
237
+ "valueString": "Pulses intact with normal cap refill, no LE pitting edema or calf tenderness"
238
+ }
239
+ ],
240
+ "linkId": "extremities"
241
+ },
242
+ {
243
+ "code": [
244
+ {
245
+ "code": "71404-8",
246
+ "system": "http://loinc.org",
247
+ "display": "CMS - neurologic exam panel"
248
+ }
249
+ ],
250
+ "text": "Neurologic",
251
+ "type": "text",
252
+ "extension": [
253
+ {
254
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
255
+ "valueCodeableConcept": {
256
+ "coding": [
257
+ {
258
+ "code": "text-with-macro"
259
+ }
260
+ ]
261
+ }
262
+ },
263
+ {
264
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
265
+ "valueString": "AAOx3, converses normally. CN II - XII grossly intact. Gait and coordination intact. 5+ BL UE/LE strength, no gross motor or sensory defects"
266
+ }
267
+ ],
268
+ "linkId": "neurologic"
269
+ },
270
+ {
271
+ "code": [
272
+ {
273
+ "code": "71405-5",
274
+ "system": "http://loinc.org",
275
+ "display": "CMS - psychiatric exam panel"
276
+ }
277
+ ],
278
+ "text": "Psychiatric",
279
+ "type": "text",
280
+ "extension": [
281
+ {
282
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
283
+ "valueCodeableConcept": {
284
+ "coding": [
285
+ {
286
+ "code": "text-with-macro"
287
+ }
288
+ ]
289
+ }
290
+ },
291
+ {
292
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
293
+ "valueString": "Normal mood and affect. Judgement/competence is appropriate"
294
+ }
295
+ ],
296
+ "linkId": "psychiatric"
297
+ },
298
+ {
299
+ "code": [
300
+ {
301
+ "code": "71403-0",
302
+ "system": "http://loinc.org",
303
+ "display": "CMS - skin exam panel"
304
+ }
305
+ ],
306
+ "text": "Skin",
307
+ "type": "text",
308
+ "extension": [
309
+ {
310
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
311
+ "valueCodeableConcept": {
312
+ "coding": [
313
+ {
314
+ "code": "text-with-macro"
315
+ }
316
+ ]
317
+ }
318
+ },
319
+ {
320
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
321
+ "valueString": "Warm, dry, and intact. No rashes, dermatoses, petechiae, or lesions"
322
+ }
323
+ ],
324
+ "linkId": "skin"
325
+ },
326
+ {
327
+ "code": [
328
+ {
329
+ "code": "32473-1",
330
+ "system": "http://loinc.org",
331
+ "display": "Physical findings.sensation"
332
+ }
333
+ ],
334
+ "text": "Monofilament",
335
+ "type": "text",
336
+ "extension": [
337
+ {
338
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
339
+ "valueCodeableConcept": {
340
+ "coding": [
341
+ {
342
+ "code": "text-with-macro"
343
+ }
344
+ ]
345
+ }
346
+ },
347
+ {
348
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
349
+ "valueString": "Normal sensation bilaterally on soles of feet with 10g monofilament"
350
+ }
351
+ ],
352
+ "linkId": "monofilament"
353
+ },
354
+ {
355
+ "text": "Other Systems (optional)",
356
+ "type": "display",
357
+ "linkId": "other-systems-optional"
358
+ },
359
+ {
360
+ "code": [
361
+ {
362
+ "code": "71396-6",
363
+ "system": "http://loinc.org",
364
+ "display": "CMS - breast exam panel"
365
+ }
366
+ ],
367
+ "text": "Chest",
368
+ "type": "text",
369
+ "extension": [
370
+ {
371
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
372
+ "valueCodeableConcept": {
373
+ "coding": [
374
+ {
375
+ "code": "text-with-macro"
376
+ }
377
+ ]
378
+ }
379
+ },
380
+ {
381
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
382
+ "valueString": "The chest wall is symmetric, without deformity, and is atraumatic in appearance"
383
+ }
384
+ ],
385
+ "linkId": "chest"
386
+ },
387
+ {
388
+ "code": [
389
+ {
390
+ "code": "71399-0",
391
+ "system": "http://loinc.org",
392
+ "display": "CMS - genitourinary exam - female panel"
393
+ }
394
+ ],
395
+ "text": "Genitourinary",
396
+ "type": "text",
397
+ "extension": [
398
+ {
399
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
400
+ "valueCodeableConcept": {
401
+ "coding": [
402
+ {
403
+ "code": "text-with-macro"
404
+ }
405
+ ]
406
+ }
407
+ },
408
+ {
409
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
410
+ "valueExpression": {
411
+ "language": "text/fhirpath",
412
+ "expression": "%Patient.gender = 'female'"
413
+ }
414
+ },
415
+ {
416
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
417
+ "valueString": "External genitalia without erythema, exudate or discharge"
418
+ }
419
+ ],
420
+ "linkId": "genitourinary-female"
421
+ },
422
+ {
423
+ "code": [
424
+ {
425
+ "code": "71398-2",
426
+ "system": "http://loinc.org",
427
+ "display": "CMS - genitourinary exam - male panel"
428
+ }
429
+ ],
430
+ "text": "Genitourinary",
431
+ "type": "text",
432
+ "extension": [
433
+ {
434
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
435
+ "valueCodeableConcept": {
436
+ "coding": [
437
+ {
438
+ "code": "text-with-macro"
439
+ }
440
+ ]
441
+ }
442
+ },
443
+ {
444
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
445
+ "valueExpression": {
446
+ "language": "text/fhirpath",
447
+ "expression": "%Patient.gender = 'male'"
448
+ }
449
+ },
450
+ {
451
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
452
+ "valueString": "Penis without lesions. No urethral discharge. Testes normal size without masses or tenderness. No scrotal masses. No hernia"
453
+ }
454
+ ],
455
+ "linkId": "genitourinary-male"
456
+ },
457
+ {
458
+ "code": [
459
+ {
460
+ "code": "8708-0",
461
+ "system": "http://loinc.org",
462
+ "display": "Phys find Rectum"
463
+ }
464
+ ],
465
+ "text": "Rectal",
466
+ "type": "text",
467
+ "extension": [
468
+ {
469
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
470
+ "valueCodeableConcept": {
471
+ "coding": [
472
+ {
473
+ "code": "text-with-macro"
474
+ }
475
+ ]
476
+ }
477
+ },
478
+ {
479
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
480
+ "valueString": "Normal external anus and normal tone. No palpable masses, normal mucosa, brown stool. Hemoccult negative"
481
+ }
482
+ ],
483
+ "linkId": "rectal"
484
+ },
485
+ {
486
+ "code": [
487
+ {
488
+ "code": "71400-6",
489
+ "system": "http://loinc.org",
490
+ "display": "CMS - lymphatic exam panel"
491
+ }
492
+ ],
493
+ "text": "Lymphatic",
494
+ "type": "text",
495
+ "extension": [
496
+ {
497
+ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
498
+ "valueCodeableConcept": {
499
+ "coding": [
500
+ {
501
+ "code": "text-with-macro"
502
+ }
503
+ ]
504
+ }
505
+ },
506
+ {
507
+ "url": "https://beda.software/fhir-emr-questionnaire/macro",
508
+ "valueString": "No enlarged lymph nodes of occipital, pre- and postauricular, submandibular, anterior or posterior cervical, or supraclavicular identified"
509
+ }
510
+ ],
511
+ "linkId": "lymphatic"
512
+ }
513
+ ],
514
+ "type": "group",
515
+ "linkId": "physical-exam-group"
516
+ }
517
+ ],
518
+ "resourceType": "Questionnaire",
519
+ "extension": [
520
+ {
521
+ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
522
+ "extension": [
523
+ {
524
+ "url": "name",
525
+ "valueCoding": {
526
+ "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
527
+ "code": "Patient"
528
+ }
529
+ },
530
+ {
531
+ "url": "type",
532
+ "valueCode": "Patient"
533
+ },
534
+ {
535
+ "url": "description",
536
+ "valueString": "Patient is answering the questionnaire"
537
+ }
538
+ ]
539
+ }
540
+ ],
541
+ "status": "active",
542
+ "id": "physical-exam",
543
+ "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/physical-exam"
544
+ }
@@ -0,0 +1,87 @@
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"
30
+ },
31
+ {
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
+ }
82
+ }
83
+ ],
84
+ "status": "active",
85
+ "id": "practitioner-create",
86
+ "url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/practitioner-create"
87
+ }