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,165 @@
1
+ {
2
+ "questionnaire": "gad-7",
3
+ "meta": {
4
+ "lastUpdated": "2023-04-06T01:29:05.681893Z",
5
+ "createdAt": "2023-04-06T01:28:53.793848Z",
6
+ "versionId": "20442"
7
+ },
8
+ "encounter": {
9
+ "id": "e133b999-9e91-4ebd-967e-450bad770682",
10
+ "resourceType": "Encounter"
11
+ },
12
+ "item": [
13
+ {
14
+ "answer": [
15
+ {
16
+ "value": {
17
+ "dateTime": "2023-04-06T01:28:52+00:00"
18
+ }
19
+ }
20
+ ],
21
+ "linkId": "dateTime"
22
+ },
23
+ {
24
+ "answer": [
25
+ {
26
+ "value": {
27
+ "string": "683e382b-fed4-433e-9b6d-a847a7953bc0"
28
+ }
29
+ }
30
+ ],
31
+ "linkId": "patientId"
32
+ },
33
+ {
34
+ "answer": [
35
+ {
36
+ "value": {
37
+ "string": "Emily Nguyen"
38
+ }
39
+ }
40
+ ],
41
+ "linkId": "patientName"
42
+ },
43
+ {
44
+ "item": [
45
+ {
46
+ "answer": [
47
+ {
48
+ "value": {
49
+ "Coding": {
50
+ "code": "LA6569-3",
51
+ "system": "http://loinc.org",
52
+ "display": "Several days"
53
+ }
54
+ }
55
+ }
56
+ ],
57
+ "linkId": "69725-0"
58
+ },
59
+ {
60
+ "answer": [
61
+ {
62
+ "value": {
63
+ "Coding": {
64
+ "code": "LA6570-1",
65
+ "system": "http://loinc.org",
66
+ "display": "More than half the days"
67
+ }
68
+ }
69
+ }
70
+ ],
71
+ "linkId": "68509-9"
72
+ },
73
+ {
74
+ "answer": [
75
+ {
76
+ "value": {
77
+ "Coding": {
78
+ "code": "LA6568-5",
79
+ "system": "http://loinc.org",
80
+ "display": "Not at all"
81
+ }
82
+ }
83
+ }
84
+ ],
85
+ "linkId": "69733-4"
86
+ },
87
+ {
88
+ "answer": [
89
+ {
90
+ "value": {
91
+ "Coding": {
92
+ "code": "LA6571-9",
93
+ "system": "http://loinc.org",
94
+ "display": "Nearly every day"
95
+ }
96
+ }
97
+ }
98
+ ],
99
+ "linkId": "69734-2"
100
+ },
101
+ {
102
+ "answer": [
103
+ {
104
+ "value": {
105
+ "Coding": {
106
+ "code": "LA6570-1",
107
+ "system": "http://loinc.org",
108
+ "display": "More than half the days"
109
+ }
110
+ }
111
+ }
112
+ ],
113
+ "linkId": "69735-9"
114
+ },
115
+ {
116
+ "answer": [
117
+ {
118
+ "value": {
119
+ "Coding": {
120
+ "code": "LA6569-3",
121
+ "system": "http://loinc.org",
122
+ "display": "Several days"
123
+ }
124
+ }
125
+ }
126
+ ],
127
+ "linkId": "69689-8"
128
+ },
129
+ {
130
+ "answer": [
131
+ {
132
+ "value": {
133
+ "Coding": {
134
+ "code": "LA6568-5",
135
+ "system": "http://loinc.org",
136
+ "display": "Not at all"
137
+ }
138
+ }
139
+ }
140
+ ],
141
+ "linkId": "69736-7"
142
+ },
143
+ {
144
+ "answer": [
145
+ {
146
+ "value": {
147
+ "integer": 9
148
+ }
149
+ }
150
+ ],
151
+ "linkId": "anxiety-score"
152
+ }
153
+ ],
154
+ "linkId": "gad-7"
155
+ }
156
+ ],
157
+ "resourceType": "QuestionnaireResponse",
158
+ "source": {
159
+ "id": "683e382b-fed4-433e-9b6d-a847a7953bc0",
160
+ "resourceType": "Patient"
161
+ },
162
+ "status": "completed",
163
+ "id": "a00b8309-f74f-462c-a7e4-64852d5bf707",
164
+ "authored": "2023-04-06T01:29:05Z"
165
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "questionnaire": "immunization",
3
+ "meta": {
4
+ "lastUpdated": "2023-04-06T02:39:03.018390Z",
5
+ "createdAt": "2023-04-06T02:38:51.964987Z",
6
+ "versionId": "20519"
7
+ },
8
+ "encounter": {
9
+ "id": "e133b999-9e91-4ebd-967e-450bad770682",
10
+ "resourceType": "Encounter"
11
+ },
12
+ "item": [
13
+ {
14
+ "answer": [
15
+ {
16
+ "value": {
17
+ "dateTime": "2023-04-06T02:38:50+00:00"
18
+ }
19
+ }
20
+ ],
21
+ "linkId": "dateTime"
22
+ },
23
+ {
24
+ "answer": [
25
+ {
26
+ "value": {
27
+ "string": "e133b999-9e91-4ebd-967e-450bad770682"
28
+ }
29
+ }
30
+ ],
31
+ "linkId": "encounterId"
32
+ },
33
+ {
34
+ "answer": [
35
+ {
36
+ "value": {
37
+ "string": "683e382b-fed4-433e-9b6d-a847a7953bc0"
38
+ }
39
+ }
40
+ ],
41
+ "linkId": "patientId"
42
+ },
43
+ {
44
+ "answer": [
45
+ {
46
+ "value": {
47
+ "string": "Emily Nguyen"
48
+ }
49
+ }
50
+ ],
51
+ "linkId": "patientName"
52
+ },
53
+ {
54
+ "answer": [
55
+ {
56
+ "value": {
57
+ "Coding": {
58
+ "code": "173",
59
+ "system": "http://hl7.org/fhir/sid/cvx",
60
+ "display": "cholera, BivWC"
61
+ }
62
+ }
63
+ }
64
+ ],
65
+ "linkId": "vaccine-code"
66
+ },
67
+ {
68
+ "answer": [
69
+ {
70
+ "value": {
71
+ "date": "2023-04-13"
72
+ }
73
+ }
74
+ ],
75
+ "linkId": "date-of-injection"
76
+ }
77
+ ],
78
+ "resourceType": "QuestionnaireResponse",
79
+ "source": {
80
+ "id": "683e382b-fed4-433e-9b6d-a847a7953bc0",
81
+ "resourceType": "Patient"
82
+ },
83
+ "status": "completed",
84
+ "id": "5d59e534-a7ce-4254-8a41-31b3895ea525",
85
+ "authored": "2023-04-06T02:39:02Z"
86
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "questionnaire": "medication",
3
+ "meta": {
4
+ "lastUpdated": "2023-04-06T01:59:42.145206Z",
5
+ "createdAt": "2023-04-06T01:59:02.311377Z",
6
+ "versionId": "20458"
7
+ },
8
+ "encounter": {
9
+ "id": "e133b999-9e91-4ebd-967e-450bad770682",
10
+ "resourceType": "Encounter"
11
+ },
12
+ "item": [
13
+ {
14
+ "answer": [
15
+ {
16
+ "value": {
17
+ "dateTime": "2023-04-06T01:59:00+00:00"
18
+ }
19
+ }
20
+ ],
21
+ "linkId": "dateTime"
22
+ },
23
+ {
24
+ "answer": [
25
+ {
26
+ "value": {
27
+ "string": "e133b999-9e91-4ebd-967e-450bad770682"
28
+ }
29
+ }
30
+ ],
31
+ "linkId": "encounterId"
32
+ },
33
+ {
34
+ "answer": [
35
+ {
36
+ "value": {
37
+ "string": "683e382b-fed4-433e-9b6d-a847a7953bc0"
38
+ }
39
+ }
40
+ ],
41
+ "linkId": "patientId"
42
+ },
43
+ {
44
+ "answer": [
45
+ {
46
+ "value": {
47
+ "string": "Emily Nguyen"
48
+ }
49
+ }
50
+ ],
51
+ "linkId": "patientName"
52
+ },
53
+ {
54
+ "answer": [
55
+ {
56
+ "value": {
57
+ "Coding": {
58
+ "code": "261000",
59
+ "system": "http://snomed.info/sct",
60
+ "display": "Codeine phosphate"
61
+ }
62
+ }
63
+ }
64
+ ],
65
+ "linkId": "medication"
66
+ },
67
+ {
68
+ "answer": [
69
+ {
70
+ "value": {
71
+ "string": "25 or 20"
72
+ }
73
+ }
74
+ ],
75
+ "linkId": "dosage"
76
+ },
77
+ {
78
+ "answer": [
79
+ {
80
+ "value": {
81
+ "date": "2023-04-10"
82
+ }
83
+ }
84
+ ],
85
+ "linkId": "start-date"
86
+ },
87
+ {
88
+ "answer": [
89
+ {
90
+ "value": {
91
+ "date": "2023-04-17"
92
+ }
93
+ }
94
+ ],
95
+ "linkId": "stop-date"
96
+ },
97
+ {
98
+ "answer": [
99
+ {
100
+ "value": {
101
+ "string": "nothing"
102
+ }
103
+ }
104
+ ],
105
+ "linkId": "notes"
106
+ }
107
+ ],
108
+ "resourceType": "QuestionnaireResponse",
109
+ "source": {
110
+ "id": "683e382b-fed4-433e-9b6d-a847a7953bc0",
111
+ "resourceType": "Patient"
112
+ },
113
+ "status": "completed",
114
+ "id": "3d077aed-ccd4-43d4-843e-0e2224e7571e",
115
+ "authored": "2023-04-06T01:59:41Z"
116
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "authored": "2023-04-05T06:27:57Z",
3
+ "id": "cf6d9d4b-bfcd-463f-9d26-b6769c2a3fc3",
4
+ "item": [
5
+ {
6
+ "answer": [
7
+ {
8
+ "value": {
9
+ "string": "683e382b-fed4-433e-9b6d-a847a7953bc0"
10
+ }
11
+ }
12
+ ],
13
+ "linkId": "patientId"
14
+ },
15
+ {
16
+ "answer": [
17
+ {
18
+ "value": {
19
+ "string": "Emily Nguyen"
20
+ }
21
+ }
22
+ ],
23
+ "linkId": "patientName"
24
+ },
25
+ {
26
+ "answer": [
27
+ {
28
+ "value": {
29
+ "Reference": {
30
+ "display": "Sanjay Patel - Cardiology",
31
+ "id": "429e6a55-8a64-4ede-ad12-1206522253eb",
32
+ "resourceType": "PractitionerRole"
33
+ }
34
+ }
35
+ }
36
+ ],
37
+ "linkId": "practitioner-role"
38
+ },
39
+ {
40
+ "answer": [
41
+ {
42
+ "value": {
43
+ "Coding": {
44
+ "code": "consultation",
45
+ "display": "The first appointment",
46
+ "system": "http://fhir.org/guides/argonaut-scheduling/CodeSystem/visit-type"
47
+ }
48
+ }
49
+ }
50
+ ],
51
+ "linkId": "service"
52
+ },
53
+ {
54
+ "answer": [
55
+ {
56
+ "value": {
57
+ "date": "2023-04-26"
58
+ }
59
+ }
60
+ ],
61
+ "linkId": "date"
62
+ },
63
+ {
64
+ "item": [
65
+ {
66
+ "answer": [
67
+ {
68
+ "value": {
69
+ "time": "15:00:00"
70
+ }
71
+ }
72
+ ],
73
+ "linkId": "start-time"
74
+ },
75
+ {
76
+ "answer": [
77
+ {
78
+ "value": {
79
+ "time": "16:00:00"
80
+ }
81
+ }
82
+ ],
83
+ "linkId": "end-time"
84
+ }
85
+ ],
86
+ "linkId": "Time period"
87
+ }
88
+ ],
89
+ "meta": {
90
+ "createdAt": "2023-04-05T06:27:58.499391Z",
91
+ "lastUpdated": "2023-04-05T06:27:58.499391Z",
92
+ "versionId": "20420"
93
+ },
94
+ "resourceType": "QuestionnaireResponse",
95
+ "status": "completed"
96
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "authored": "2023-04-05T06:03:19Z",
3
+ "id": "24306b57-b463-4e39-807f-e715a80bbe5f",
4
+ "item": [
5
+ {
6
+ "answer": [],
7
+ "linkId": "patient-id"
8
+ },
9
+ {
10
+ "answer": [
11
+ {
12
+ "value": {
13
+ "string": "Nguyen"
14
+ }
15
+ }
16
+ ],
17
+ "linkId": "last-name"
18
+ },
19
+ {
20
+ "answer": [
21
+ {
22
+ "value": {
23
+ "string": "Emily"
24
+ }
25
+ }
26
+ ],
27
+ "linkId": "first-name"
28
+ },
29
+ {
30
+ "answer": [
31
+ {
32
+ "value": {
33
+ "string": "Marie"
34
+ }
35
+ }
36
+ ],
37
+ "linkId": "middle-name"
38
+ },
39
+ {
40
+ "answer": [
41
+ {
42
+ "value": {
43
+ "date": "1991-12-29"
44
+ }
45
+ }
46
+ ],
47
+ "linkId": "birth-date"
48
+ },
49
+ {
50
+ "answer": [
51
+ {
52
+ "value": {
53
+ "string": "female"
54
+ }
55
+ }
56
+ ],
57
+ "linkId": "gender"
58
+ },
59
+ {
60
+ "answer": [
61
+ {
62
+ "value": {
63
+ "string": "123-45-6789"
64
+ }
65
+ }
66
+ ],
67
+ "linkId": "ssn"
68
+ },
69
+ {
70
+ "answer": [
71
+ {
72
+ "value": {
73
+ "string": "15551234567"
74
+ }
75
+ }
76
+ ],
77
+ "linkId": "mobile"
78
+ }
79
+ ],
80
+ "meta": {
81
+ "createdAt": "2023-04-05T06:03:21.353895Z",
82
+ "lastUpdated": "2023-04-05T06:03:21.353895Z",
83
+ "versionId": "20412"
84
+ },
85
+ "resourceType": "QuestionnaireResponse",
86
+ "status": "completed"
87
+ }