@aehrc/smart-forms-renderer 1.0.0-alpha.48.dev1 → 1.0.0-alpha.49

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 (108) hide show
  1. package/lib/components/Checkbox.styles.js +11 -0
  2. package/lib/components/Checkbox.styles.js.map +1 -1
  3. package/lib/components/FormComponents/BooleanItem/BooleanField.js +4 -2
  4. package/lib/components/FormComponents/BooleanItem/BooleanField.js.map +1 -1
  5. package/lib/components/FormComponents/ChoiceItems/CheckboxFormGroup.d.ts +16 -0
  6. package/lib/components/FormComponents/ChoiceItems/CheckboxFormGroup.js +24 -0
  7. package/lib/components/FormComponents/ChoiceItems/CheckboxFormGroup.js.map +1 -0
  8. package/lib/components/FormComponents/ChoiceItems/ChoiceAutocompleteField.js +6 -10
  9. package/lib/components/FormComponents/ChoiceItems/ChoiceAutocompleteField.js.map +1 -1
  10. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxFormGroup.d.ts +16 -0
  11. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxFormGroup.js +24 -0
  12. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxFormGroup.js.map +1 -0
  13. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxGroup.d.ts +0 -0
  14. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxGroup.js +2 -0
  15. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxGroup.js.map +1 -0
  16. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxList.d.ts +0 -0
  17. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxList.js +2 -0
  18. package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxList.js.map +1 -0
  19. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.js +2 -1
  20. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.js.map +1 -1
  21. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.js +2 -1
  22. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.js.map +1 -1
  23. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioGroup.d.ts +16 -0
  24. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioGroup.js +29 -0
  25. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioGroup.js.map +1 -0
  26. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioSingle.js +2 -1
  27. package/lib/components/FormComponents/ChoiceItems/ChoiceRadioSingle.js.map +1 -1
  28. package/lib/components/FormComponents/ChoiceItems/RadioFormGroup.d.ts +16 -0
  29. package/lib/components/FormComponents/ChoiceItems/RadioFormGroup.js +29 -0
  30. package/lib/components/FormComponents/ChoiceItems/RadioFormGroup.js.map +1 -0
  31. package/lib/components/FormComponents/ItemParts/CheckboxFormGroup.d.ts +16 -0
  32. package/lib/components/FormComponents/ItemParts/CheckboxFormGroup.js +24 -0
  33. package/lib/components/FormComponents/ItemParts/CheckboxFormGroup.js.map +1 -0
  34. package/lib/components/FormComponents/ItemParts/CheckboxSingle.js +1 -1
  35. package/lib/components/FormComponents/ItemParts/CheckboxSingle.js.map +1 -1
  36. package/lib/components/FormComponents/ItemParts/CheckboxSingleWithOpenLabel.js +1 -1
  37. package/lib/components/FormComponents/ItemParts/CheckboxSingleWithOpenLabel.js.map +1 -1
  38. package/lib/components/FormComponents/ItemParts/RadioFormGroup.d.ts +16 -0
  39. package/lib/components/FormComponents/ItemParts/RadioFormGroup.js +29 -0
  40. package/lib/components/FormComponents/ItemParts/RadioFormGroup.js.map +1 -0
  41. package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceAutocompleteField.js +5 -8
  42. package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceAutocompleteField.js.map +1 -1
  43. package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.js +2 -1
  44. package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.js.map +1 -1
  45. package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetFields.js +2 -1
  46. package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetFields.js.map +1 -1
  47. package/lib/components/FormComponents/Tables/GroupTableRow.js +2 -2
  48. package/lib/components/FormComponents/Tables/GroupTableRow.js.map +1 -1
  49. package/lib/components/FormComponents/Tables/GroupTableView.js +5 -2
  50. package/lib/components/FormComponents/Tables/GroupTableView.js.map +1 -1
  51. package/lib/components/FormComponents/Tables/SelectRowButton.d.ts +1 -1
  52. package/lib/components/FormComponents/Tables/SelectRowButton.js +2 -2
  53. package/lib/components/FormComponents/Tables/SelectRowButton.js.map +1 -1
  54. package/lib/components/Radio.styles.js +11 -0
  55. package/lib/components/Radio.styles.js.map +1 -1
  56. package/lib/hooks/useAnswerOptionsToggleExpressions.d.ts +7 -0
  57. package/lib/hooks/useAnswerOptionsToggleExpressions.js +67 -0
  58. package/lib/hooks/useAnswerOptionsToggleExpressions.js.map +1 -0
  59. package/lib/interfaces/answerOptionsToggleExpression.interface.d.ts +9 -0
  60. package/lib/interfaces/answerOptionsToggleExpression.interface.js +2 -0
  61. package/lib/interfaces/answerOptionsToggleExpression.interface.js.map +1 -0
  62. package/lib/stores/extractOperationStore.d.ts +26 -0
  63. package/lib/stores/extractOperationStore.js +20 -0
  64. package/lib/stores/extractOperationStore.js.map +1 -0
  65. package/lib/templates/bloodPressureTemplate.d.ts +23 -0
  66. package/lib/templates/bloodPressureTemplate.js +80 -0
  67. package/lib/templates/bloodPressureTemplate.js.map +1 -0
  68. package/lib/tests/test-data/bloodPressureSample.d.ts +3 -0
  69. package/lib/tests/test-data/bloodPressureSample.js +250 -0
  70. package/lib/tests/test-data/bloodPressureSample.js.map +1 -0
  71. package/lib/tests/test-data/complexTemplateSample.d.ts +3 -0
  72. package/lib/tests/test-data/complexTemplateSample.js +578 -0
  73. package/lib/tests/test-data/complexTemplateSample.js.map +1 -0
  74. package/lib/utils/answerOptionsToggleExpressions.d.ts +24 -0
  75. package/lib/utils/answerOptionsToggleExpressions.js +144 -0
  76. package/lib/utils/answerOptionsToggleExpressions.js.map +1 -0
  77. package/lib/utils/calculatedExpression.js +8 -5
  78. package/lib/utils/calculatedExpression.js.map +1 -1
  79. package/lib/utils/checkbox.d.ts +2 -0
  80. package/lib/utils/checkbox.js +6 -0
  81. package/lib/utils/checkbox.js.map +1 -0
  82. package/lib/utils/extractTemplate.d.ts +44 -0
  83. package/lib/utils/extractTemplate.js +809 -0
  84. package/lib/utils/extractTemplate.js.map +1 -0
  85. package/lib/utils/questionnaireStoreUtils/extractAnswerOptionsToggleExpressions.d.ts +3 -0
  86. package/lib/utils/questionnaireStoreUtils/extractAnswerOptionsToggleExpressions.js +6 -0
  87. package/lib/utils/questionnaireStoreUtils/extractAnswerOptionsToggleExpressions.js.map +1 -0
  88. package/lib/utils/templateMatching.d.ts +15 -0
  89. package/lib/utils/templateMatching.js +62 -0
  90. package/lib/utils/templateMatching.js.map +1 -0
  91. package/package.json +2 -2
  92. package/src/components/Checkbox.styles.ts +14 -0
  93. package/src/components/FormComponents/BooleanItem/BooleanField.tsx +7 -0
  94. package/src/components/FormComponents/ChoiceItems/ChoiceAutocompleteField.tsx +6 -10
  95. package/src/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.tsx +2 -0
  96. package/src/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.tsx +2 -0
  97. package/src/components/FormComponents/ChoiceItems/ChoiceRadioSingle.tsx +2 -1
  98. package/src/components/FormComponents/ItemParts/CheckboxSingle.tsx +3 -0
  99. package/src/components/FormComponents/ItemParts/CheckboxSingleWithOpenLabel.tsx +3 -0
  100. package/src/components/FormComponents/OpenChoiceItems/OpenChoiceAutocompleteField.tsx +5 -8
  101. package/src/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.tsx +2 -0
  102. package/src/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetFields.tsx +2 -0
  103. package/src/components/FormComponents/Tables/GroupTableRow.tsx +2 -2
  104. package/src/components/FormComponents/Tables/GroupTableView.tsx +14 -6
  105. package/src/components/FormComponents/Tables/SelectRowButton.tsx +6 -3
  106. package/src/components/Radio.styles.tsx +13 -0
  107. package/src/utils/calculatedExpression.ts +13 -5
  108. package/src/utils/checkbox.ts +7 -0
@@ -0,0 +1,250 @@
1
+ export const bloodPressureQuestionnaire = {
2
+ resourceType: 'Questionnaire',
3
+ id: 'blood-pressure-questionnaire',
4
+ identifier: [
5
+ {
6
+ system: 'http://example.org/questionnaire-identifier',
7
+ value: 'blood-pressure-questionnaire'
8
+ }
9
+ ],
10
+ status: 'active',
11
+ title: 'Blood Pressure Measurement',
12
+ extension: [
13
+ {
14
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract',
15
+ valueBoolean: true
16
+ },
17
+ {
18
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext',
19
+ extension: [
20
+ {
21
+ url: 'name',
22
+ valueCoding: {
23
+ system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext',
24
+ code: 'patient'
25
+ }
26
+ },
27
+ {
28
+ url: 'type',
29
+ valueCode: 'Patient'
30
+ },
31
+ {
32
+ url: 'description',
33
+ valueString: 'The patient that is to be used to pre-populate the form'
34
+ }
35
+ ]
36
+ }
37
+ ],
38
+ contained: [
39
+ {
40
+ resourceType: 'Observation',
41
+ id: 'systolic-bp-template',
42
+ status: 'final',
43
+ category: [
44
+ {
45
+ coding: [
46
+ {
47
+ system: 'http://terminology.hl7.org/CodeSystem/observation-category',
48
+ code: 'vital-signs'
49
+ }
50
+ ]
51
+ }
52
+ ],
53
+ code: {
54
+ coding: [
55
+ {
56
+ system: 'http://loinc.org',
57
+ code: '8480-6',
58
+ display: 'Systolic blood pressure'
59
+ }
60
+ ]
61
+ },
62
+ subject: {
63
+ extension: [
64
+ {
65
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue',
66
+ valueString: '%QuestionnaireResponse.subject'
67
+ }
68
+ ]
69
+ },
70
+ effectiveDateTime: '1900-01-01',
71
+ _effectiveDateTime: {
72
+ extension: [
73
+ {
74
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue',
75
+ valueString: 'now()'
76
+ }
77
+ ]
78
+ },
79
+ valueQuantity: {
80
+ extension: [
81
+ {
82
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue',
83
+ valueString: "item.where(linkId = 'systolic').answer.valueQuantity.value"
84
+ }
85
+ ],
86
+ unit: 'mmHg',
87
+ system: 'http://unitsofmeasure.org',
88
+ code: 'mm[Hg]'
89
+ }
90
+ },
91
+ {
92
+ resourceType: 'Observation',
93
+ id: 'diastolic-bp-template',
94
+ status: 'final',
95
+ category: [
96
+ {
97
+ coding: [
98
+ {
99
+ system: 'http://terminology.hl7.org/CodeSystem/observation-category',
100
+ code: 'vital-signs'
101
+ }
102
+ ]
103
+ }
104
+ ],
105
+ code: {
106
+ coding: [
107
+ {
108
+ system: 'http://loinc.org',
109
+ code: '8462-4',
110
+ display: 'Diastolic blood pressure'
111
+ }
112
+ ]
113
+ },
114
+ subject: {
115
+ extension: [
116
+ {
117
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue',
118
+ valueString: '%QuestionnaireResponse.subject'
119
+ }
120
+ ]
121
+ },
122
+ effectiveDateTime: '1900-01-01',
123
+ _effectiveDateTime: {
124
+ extension: [
125
+ {
126
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue',
127
+ valueString: 'now()'
128
+ }
129
+ ]
130
+ },
131
+ valueQuantity: {
132
+ extension: [
133
+ {
134
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue',
135
+ valueString: "item.where(linkId = 'diastolic').answer.valueQuantity.value"
136
+ }
137
+ ],
138
+ unit: 'mmHg',
139
+ system: 'http://unitsofmeasure.org',
140
+ code: 'mm[Hg]'
141
+ }
142
+ }
143
+ ],
144
+ item: [
145
+ {
146
+ linkId: 'systolic',
147
+ text: 'Systolic Blood Pressure',
148
+ type: 'quantity',
149
+ required: true,
150
+ code: [
151
+ {
152
+ system: 'http://loinc.org',
153
+ code: '8480-6',
154
+ display: 'Systolic blood pressure'
155
+ }
156
+ ],
157
+ extension: [
158
+ {
159
+ url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit',
160
+ valueCoding: {
161
+ system: 'http://unitsofmeasure.org',
162
+ code: 'mm[Hg]',
163
+ display: 'mmHg'
164
+ }
165
+ },
166
+ {
167
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract',
168
+ extension: [
169
+ {
170
+ url: 'template',
171
+ valueReference: {
172
+ reference: '#systolic-bp-template'
173
+ }
174
+ }
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ linkId: 'diastolic',
181
+ text: 'Diastolic Blood Pressure',
182
+ type: 'quantity',
183
+ required: true,
184
+ code: [
185
+ {
186
+ system: 'http://loinc.org',
187
+ code: '8462-4',
188
+ display: 'Diastolic blood pressure'
189
+ }
190
+ ],
191
+ extension: [
192
+ {
193
+ url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit',
194
+ valueCoding: {
195
+ system: 'http://unitsofmeasure.org',
196
+ code: 'mm[Hg]',
197
+ display: 'mmHg'
198
+ }
199
+ },
200
+ {
201
+ url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract',
202
+ extension: [
203
+ {
204
+ url: 'template',
205
+ valueReference: {
206
+ reference: '#diastolic-bp-template'
207
+ }
208
+ }
209
+ ]
210
+ }
211
+ ]
212
+ }
213
+ ]
214
+ };
215
+ export const bloodPressureResponse = {
216
+ resourceType: 'QuestionnaireResponse',
217
+ status: 'completed',
218
+ subject: {
219
+ reference: 'Patient/123'
220
+ },
221
+ item: [
222
+ {
223
+ linkId: 'systolic',
224
+ answer: [
225
+ {
226
+ valueQuantity: {
227
+ value: 120,
228
+ unit: 'mmHg',
229
+ system: 'http://unitsofmeasure.org',
230
+ code: 'mm[Hg]'
231
+ }
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ linkId: 'diastolic',
237
+ answer: [
238
+ {
239
+ valueQuantity: {
240
+ value: 80,
241
+ unit: 'mmHg',
242
+ system: 'http://unitsofmeasure.org',
243
+ code: 'mm[Hg]'
244
+ }
245
+ }
246
+ ]
247
+ }
248
+ ]
249
+ };
250
+ //# sourceMappingURL=bloodPressureSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bloodPressureSample.js","sourceRoot":"","sources":["../../../src/tests/test-data/bloodPressureSample.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,0BAA0B,GAAkB;IACvD,YAAY,EAAE,eAAe;IAC7B,EAAE,EAAE,8BAA8B;IAClC,UAAU,EAAE;QACV;YACE,MAAM,EAAE,6CAA6C;YACrD,KAAK,EAAE,8BAA8B;SACtC;KACF;IACD,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,4BAA4B;IACnC,SAAS,EAAE;QACT;YACE,GAAG,EAAE,kFAAkF;YACvF,YAAY,EAAE,IAAI;SACnB;QACD;YACE,GAAG,EAAE,gFAAgF;YACrF,SAAS,EAAE;gBACT;oBACE,GAAG,EAAE,MAAM;oBACX,WAAW,EAAE;wBACX,MAAM,EAAE,qDAAqD;wBAC7D,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD;oBACE,GAAG,EAAE,MAAM;oBACX,SAAS,EAAE,SAAS;iBACrB;gBACD;oBACE,GAAG,EAAE,aAAa;oBAClB,WAAW,EAAE,yDAAyD;iBACvE;aACF;SACF;KACF;IACD,SAAS,EAAE;QACT;YACE,YAAY,EAAE,aAAa;YAC3B,EAAE,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AAQ;wBACd,OAAO,EAAE,MAAM;qBAChB;iBACF;gBACD;oBACE,GAAG,EAAE,kFAAkF;oBACvF,SAAS,EAAE;wBACT;4BACE,GAAG,EAAE,UAAU;4BACf,cAAc,EAAE;gCACd,SAAS,EAAE,wBAAwB;6BACpC;yBACF;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA0B;IAC1D,YAAY,EAAE,uBAAuB;IACrC,MAAM,EAAE,WAAW;IACnB,OAAO,EAAE;QACP,SAAS,EAAE,aAAa;KACzB;IACD,IAAI,EAAE;QACJ;YACE,MAAM,EAAE,UAAU;YAClB,MAAM,EAAE;gBACN;oBACE,aAAa,EAAE;wBACb,KAAK,EAAE,GAAG;wBACV,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,2BAA2B;wBACnC,IAAI,EAAE,QAAQ;qBACf;iBACF;aACF;SACF;QACD;YACE,MAAM,EAAE,WAAW;YACnB,MAAM,EAAE;gBACN;oBACE,aAAa,EAAE;wBACb,KAAK,EAAE,EAAE;wBACT,IAAI,EAAE,MAAM;wBACZ,MAAM,EAAE,2BAA2B;wBACnC,IAAI,EAAE,QAAQ;qBACf;iBACF;aACF;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Questionnaire, QuestionnaireResponse } from 'fhir/r4';
2
+ export declare const complexTemplateQuestionnaire: Questionnaire;
3
+ export declare const complexTemplateResponse: QuestionnaireResponse;