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,77 @@
1
+ {
2
+ "questionnaire": "immunization",
3
+ "meta": {
4
+ "lastUpdated": "2023-04-06T02:39:03.018390Z",
5
+ "versionId": "20519",
6
+ "extension": [
7
+ {
8
+ "url": "ex:createdAt",
9
+ "valueInstant": "2023-04-06T02:38:51.964987Z"
10
+ }
11
+ ]
12
+ },
13
+ "encounter": {
14
+ "reference": "Encounter/e133b999-9e91-4ebd-967e-450bad770682"
15
+ },
16
+ "item": [
17
+ {
18
+ "answer": [
19
+ {
20
+ "valueDateTime": "2023-04-06T02:38:50+00:00"
21
+ }
22
+ ],
23
+ "linkId": "dateTime"
24
+ },
25
+ {
26
+ "answer": [
27
+ {
28
+ "valueString": "e133b999-9e91-4ebd-967e-450bad770682"
29
+ }
30
+ ],
31
+ "linkId": "encounterId"
32
+ },
33
+ {
34
+ "answer": [
35
+ {
36
+ "valueString": "683e382b-fed4-433e-9b6d-a847a7953bc0"
37
+ }
38
+ ],
39
+ "linkId": "patientId"
40
+ },
41
+ {
42
+ "answer": [
43
+ {
44
+ "valueString": "Emily Nguyen"
45
+ }
46
+ ],
47
+ "linkId": "patientName"
48
+ },
49
+ {
50
+ "answer": [
51
+ {
52
+ "valueCoding": {
53
+ "code": "173",
54
+ "system": "http://hl7.org/fhir/sid/cvx",
55
+ "display": "cholera, BivWC"
56
+ }
57
+ }
58
+ ],
59
+ "linkId": "vaccine-code"
60
+ },
61
+ {
62
+ "answer": [
63
+ {
64
+ "valueDate": "2023-04-13"
65
+ }
66
+ ],
67
+ "linkId": "date-of-injection"
68
+ }
69
+ ],
70
+ "resourceType": "QuestionnaireResponse",
71
+ "source": {
72
+ "reference": "Patient/683e382b-fed4-433e-9b6d-a847a7953bc0"
73
+ },
74
+ "status": "completed",
75
+ "id": "5d59e534-a7ce-4254-8a41-31b3895ea525",
76
+ "authored": "2023-04-06T02:39:02Z"
77
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "questionnaire": "medication",
3
+ "meta": {
4
+ "lastUpdated": "2023-04-06T01:59:42.145206Z",
5
+ "versionId": "20458",
6
+ "extension": [
7
+ {
8
+ "url": "ex:createdAt",
9
+ "valueInstant": "2023-04-06T01:59:02.311377Z"
10
+ }
11
+ ]
12
+ },
13
+ "encounter": {
14
+ "reference": "Encounter/e133b999-9e91-4ebd-967e-450bad770682"
15
+ },
16
+ "item": [
17
+ {
18
+ "answer": [
19
+ {
20
+ "valueDateTime": "2023-04-06T01:59:00+00:00"
21
+ }
22
+ ],
23
+ "linkId": "dateTime"
24
+ },
25
+ {
26
+ "answer": [
27
+ {
28
+ "valueString": "e133b999-9e91-4ebd-967e-450bad770682"
29
+ }
30
+ ],
31
+ "linkId": "encounterId"
32
+ },
33
+ {
34
+ "answer": [
35
+ {
36
+ "valueString": "683e382b-fed4-433e-9b6d-a847a7953bc0"
37
+ }
38
+ ],
39
+ "linkId": "patientId"
40
+ },
41
+ {
42
+ "answer": [
43
+ {
44
+ "valueString": "Emily Nguyen"
45
+ }
46
+ ],
47
+ "linkId": "patientName"
48
+ },
49
+ {
50
+ "answer": [
51
+ {
52
+ "valueCoding": {
53
+ "code": "261000",
54
+ "system": "http://snomed.info/sct",
55
+ "display": "Codeine phosphate"
56
+ }
57
+ }
58
+ ],
59
+ "linkId": "medication"
60
+ },
61
+ {
62
+ "answer": [
63
+ {
64
+ "valueString": "25 or 20"
65
+ }
66
+ ],
67
+ "linkId": "dosage"
68
+ },
69
+ {
70
+ "answer": [
71
+ {
72
+ "valueDate": "2023-04-10"
73
+ }
74
+ ],
75
+ "linkId": "start-date"
76
+ },
77
+ {
78
+ "answer": [
79
+ {
80
+ "valueDate": "2023-04-17"
81
+ }
82
+ ],
83
+ "linkId": "stop-date"
84
+ },
85
+ {
86
+ "answer": [
87
+ {
88
+ "valueString": "nothing"
89
+ }
90
+ ],
91
+ "linkId": "notes"
92
+ }
93
+ ],
94
+ "resourceType": "QuestionnaireResponse",
95
+ "source": {
96
+ "reference": "Patient/683e382b-fed4-433e-9b6d-a847a7953bc0"
97
+ },
98
+ "status": "completed",
99
+ "id": "3d077aed-ccd4-43d4-843e-0e2224e7571e",
100
+ "authored": "2023-04-06T01:59:41Z"
101
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "authored": "2023-04-05T06:27:57Z",
3
+ "id": "cf6d9d4b-bfcd-463f-9d26-b6769c2a3fc3",
4
+ "item": [
5
+ {
6
+ "answer": [
7
+ {
8
+ "valueString": "683e382b-fed4-433e-9b6d-a847a7953bc0"
9
+ }
10
+ ],
11
+ "linkId": "patientId"
12
+ },
13
+ {
14
+ "answer": [
15
+ {
16
+ "valueString": "Emily Nguyen"
17
+ }
18
+ ],
19
+ "linkId": "patientName"
20
+ },
21
+ {
22
+ "answer": [
23
+ {
24
+ "valueReference": {
25
+ "display": "Sanjay Patel - Cardiology",
26
+ "reference": "PractitionerRole/429e6a55-8a64-4ede-ad12-1206522253eb"
27
+ }
28
+ }
29
+ ],
30
+ "linkId": "practitioner-role"
31
+ },
32
+ {
33
+ "answer": [
34
+ {
35
+ "valueCoding": {
36
+ "code": "consultation",
37
+ "display": "The first appointment",
38
+ "system": "http://fhir.org/guides/argonaut-scheduling/CodeSystem/visit-type"
39
+ }
40
+ }
41
+ ],
42
+ "linkId": "service"
43
+ },
44
+ {
45
+ "answer": [
46
+ {
47
+ "valueDate": "2023-04-26"
48
+ }
49
+ ],
50
+ "linkId": "date"
51
+ },
52
+ {
53
+ "item": [
54
+ {
55
+ "answer": [
56
+ {
57
+ "valueTime": "15:00:00"
58
+ }
59
+ ],
60
+ "linkId": "start-time"
61
+ },
62
+ {
63
+ "answer": [
64
+ {
65
+ "valueTime": "16:00:00"
66
+ }
67
+ ],
68
+ "linkId": "end-time"
69
+ }
70
+ ],
71
+ "linkId": "Time period"
72
+ }
73
+ ],
74
+ "meta": {
75
+ "extension": [
76
+ {
77
+ "url": "ex:createdAt",
78
+ "valueInstant": "2023-04-05T06:27:58.499391Z"
79
+ }
80
+ ],
81
+ "lastUpdated": "2023-04-05T06:27:58.499391Z",
82
+ "versionId": "20420"
83
+ },
84
+ "resourceType": "QuestionnaireResponse",
85
+ "status": "completed"
86
+ }
@@ -0,0 +1,78 @@
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
+ "valueString": "Nguyen"
13
+ }
14
+ ],
15
+ "linkId": "last-name"
16
+ },
17
+ {
18
+ "answer": [
19
+ {
20
+ "valueString": "Emily"
21
+ }
22
+ ],
23
+ "linkId": "first-name"
24
+ },
25
+ {
26
+ "answer": [
27
+ {
28
+ "valueString": "Marie"
29
+ }
30
+ ],
31
+ "linkId": "middle-name"
32
+ },
33
+ {
34
+ "answer": [
35
+ {
36
+ "valueDate": "1991-12-29"
37
+ }
38
+ ],
39
+ "linkId": "birth-date"
40
+ },
41
+ {
42
+ "answer": [
43
+ {
44
+ "valueString": "female"
45
+ }
46
+ ],
47
+ "linkId": "gender"
48
+ },
49
+ {
50
+ "answer": [
51
+ {
52
+ "valueString": "123-45-6789"
53
+ }
54
+ ],
55
+ "linkId": "ssn"
56
+ },
57
+ {
58
+ "answer": [
59
+ {
60
+ "valueString": "15551234567"
61
+ }
62
+ ],
63
+ "linkId": "mobile"
64
+ }
65
+ ],
66
+ "meta": {
67
+ "extension": [
68
+ {
69
+ "url": "ex:createdAt",
70
+ "valueInstant": "2023-04-05T06:03:21.353895Z"
71
+ }
72
+ ],
73
+ "lastUpdated": "2023-04-05T06:03:21.353895Z",
74
+ "versionId": "20412"
75
+ },
76
+ "resourceType": "QuestionnaireResponse",
77
+ "status": "completed"
78
+ }
@@ -0,0 +1,170 @@
1
+ {
2
+ "authored": "2023-04-06T02:33:05Z",
3
+ "encounter": {
4
+ "reference": "Encounter/e133b999-9e91-4ebd-967e-450bad770682"
5
+ },
6
+ "id": "846558b9-4c03-4af6-a258-62b0390633e2",
7
+ "item": [
8
+ {
9
+ "answer": [
10
+ {
11
+ "valueDateTime": "2023-04-06T02:32:40+00:00"
12
+ }
13
+ ],
14
+ "linkId": "dateTime"
15
+ },
16
+ {
17
+ "answer": [
18
+ {
19
+ "valueString": "683e382b-fed4-433e-9b6d-a847a7953bc0"
20
+ }
21
+ ],
22
+ "linkId": "patientId"
23
+ },
24
+ {
25
+ "answer": [
26
+ {
27
+ "valueString": "Emily Nguyen"
28
+ }
29
+ ],
30
+ "linkId": "patientName"
31
+ },
32
+ {
33
+ "item": [
34
+ {
35
+ "answer": [
36
+ {
37
+ "valueCoding": {
38
+ "code": "LA6568-5",
39
+ "display": "Not at all",
40
+ "system": "http://loinc.org"
41
+ }
42
+ }
43
+ ],
44
+ "linkId": "44250-9"
45
+ },
46
+ {
47
+ "answer": [
48
+ {
49
+ "valueCoding": {
50
+ "code": "LA6569-3",
51
+ "display": "Several days",
52
+ "system": "http://loinc.org"
53
+ }
54
+ }
55
+ ],
56
+ "linkId": "44255-8"
57
+ },
58
+ {
59
+ "answer": [
60
+ {
61
+ "valueCoding": {
62
+ "code": "LA6570-1",
63
+ "display": "More than half the days",
64
+ "system": "http://loinc.org"
65
+ }
66
+ }
67
+ ],
68
+ "linkId": "44259-0"
69
+ },
70
+ {
71
+ "answer": [
72
+ {
73
+ "valueCoding": {
74
+ "code": "LA6571-9",
75
+ "display": "Nearly every day",
76
+ "system": "http://loinc.org"
77
+ }
78
+ }
79
+ ],
80
+ "linkId": "44254-1"
81
+ },
82
+ {
83
+ "answer": [
84
+ {
85
+ "valueCoding": {
86
+ "code": "LA6570-1",
87
+ "display": "More than half the days",
88
+ "system": "http://loinc.org"
89
+ }
90
+ }
91
+ ],
92
+ "linkId": "44251-7"
93
+ },
94
+ {
95
+ "answer": [
96
+ {
97
+ "valueCoding": {
98
+ "code": "LA6569-3",
99
+ "display": "Several days",
100
+ "system": "http://loinc.org"
101
+ }
102
+ }
103
+ ],
104
+ "linkId": "44258-2"
105
+ },
106
+ {
107
+ "answer": [
108
+ {
109
+ "valueCoding": {
110
+ "code": "LA6568-5",
111
+ "display": "Not at all",
112
+ "system": "http://loinc.org"
113
+ }
114
+ }
115
+ ],
116
+ "linkId": "44252-5"
117
+ },
118
+ {
119
+ "answer": [
120
+ {
121
+ "valueCoding": {
122
+ "code": "LA6569-3",
123
+ "display": "Several days",
124
+ "system": "http://loinc.org"
125
+ }
126
+ }
127
+ ],
128
+ "linkId": "44253-3"
129
+ },
130
+ {
131
+ "answer": [
132
+ {
133
+ "valueCoding": {
134
+ "code": "LA6570-1",
135
+ "display": "More than half the days",
136
+ "system": "http://loinc.org"
137
+ }
138
+ }
139
+ ],
140
+ "linkId": "44260-8"
141
+ },
142
+ {
143
+ "answer": [
144
+ {
145
+ "valueInteger": 12
146
+ }
147
+ ],
148
+ "linkId": "phq9-total-score"
149
+ }
150
+ ],
151
+ "linkId": "phq2phq9"
152
+ }
153
+ ],
154
+ "meta": {
155
+ "extension": [
156
+ {
157
+ "url": "ex:createdAt",
158
+ "valueInstant": "2023-04-06T02:32:41.569773Z"
159
+ }
160
+ ],
161
+ "lastUpdated": "2023-04-06T02:33:06.758734Z",
162
+ "versionId": "20508"
163
+ },
164
+ "questionnaire": "phq2phq9",
165
+ "resourceType": "QuestionnaireResponse",
166
+ "source": {
167
+ "reference": "Patient/683e382b-fed4-433e-9b6d-a847a7953bc0"
168
+ },
169
+ "status": "completed"
170
+ }
@@ -0,0 +1,158 @@
1
+ {
2
+ "questionnaire": "physical-exam",
3
+ "meta": {
4
+ "lastUpdated": "2023-04-06T02:05:52.434771Z",
5
+ "versionId": "20470",
6
+ "extension": [
7
+ {
8
+ "url": "ex:createdAt",
9
+ "valueInstant": "2023-04-06T02:05:32.668369Z"
10
+ }
11
+ ]
12
+ },
13
+ "encounter": {
14
+ "reference": "Encounter/e133b999-9e91-4ebd-967e-450bad770682"
15
+ },
16
+ "item": [
17
+ {
18
+ "item": [
19
+ {
20
+ "answer": [
21
+ {
22
+ "valueString": "Well nourished, well developed, awake and alert, resting comfortably in no acute distress, cooperative on exam"
23
+ }
24
+ ],
25
+ "linkId": "general"
26
+ },
27
+ {
28
+ "answer": [
29
+ {
30
+ "valueString": "NCAT, PERRL, normal conjunctivae, nonicteric sclerae, bilateral EAC/TM clear, no nasal discharge, OP clear, moist mucous membranes"
31
+ }
32
+ ],
33
+ "linkId": "heent"
34
+ },
35
+ {
36
+ "answer": [
37
+ {
38
+ "valueString": "Supple, normal ROM, no lymphadenopathy/masses, nontender"
39
+ }
40
+ ],
41
+ "linkId": "neck"
42
+ },
43
+ {
44
+ "answer": [
45
+ {
46
+ "valueString": "RRR, normal S1/S2, no murmurs/gallops/rub"
47
+ }
48
+ ],
49
+ "linkId": "cardiovascular"
50
+ },
51
+ {
52
+ "answer": [
53
+ {
54
+ "valueString": "No respiratory distress, lungs CTAB: no rales, rhonchi, or wheeze"
55
+ }
56
+ ],
57
+ "linkId": "pulmonary"
58
+ },
59
+ {
60
+ "answer": [
61
+ {
62
+ "valueString": "Soft and non-tender with no guarding or rebound; +BS normoactive, no tympany on auscultation"
63
+ }
64
+ ],
65
+ "linkId": "abdominal"
66
+ },
67
+ {
68
+ "answer": [
69
+ {
70
+ "valueString": "Normal ROM of UE and LE, normal bulk and tone,"
71
+ }
72
+ ],
73
+ "linkId": "musculoskeletal"
74
+ },
75
+ {
76
+ "answer": [
77
+ {
78
+ "valueString": "Pulses intact with normal cap refill, no LE pitting edema or calf tenderness"
79
+ }
80
+ ],
81
+ "linkId": "extremities"
82
+ },
83
+ {
84
+ "answer": [
85
+ {
86
+ "valueString": "AAOx3, converses normally. CN II - XII grossly intact. Gait and coordination intact. 5+ BL UE/LE strength, no gross motor or sensory defects"
87
+ }
88
+ ],
89
+ "linkId": "neurologic"
90
+ },
91
+ {
92
+ "answer": [
93
+ {
94
+ "valueString": "Normal mood and affect. Judgement/competence is appropriate"
95
+ }
96
+ ],
97
+ "linkId": "psychiatric"
98
+ },
99
+ {
100
+ "answer": [
101
+ {
102
+ "valueString": "Warm, dry, and intact. No rashes, dermatoses, petechiae, or lesions"
103
+ }
104
+ ],
105
+ "linkId": "skin"
106
+ },
107
+ {
108
+ "answer": [
109
+ {
110
+ "valueString": "Normal sensation bilaterally on soles of feet with 10g monofilament"
111
+ }
112
+ ],
113
+ "linkId": "monofilament"
114
+ },
115
+ {
116
+ "answer": [
117
+ {
118
+ "valueString": "The chest wall is symmetric, without deformity, and is atraumatic in appearance"
119
+ }
120
+ ],
121
+ "linkId": "chest"
122
+ },
123
+ {
124
+ "answer": [
125
+ {
126
+ "valueString": "External genitalia without erythema, exudate or discharge"
127
+ }
128
+ ],
129
+ "linkId": "genitourinary-female"
130
+ },
131
+ {
132
+ "answer": [
133
+ {
134
+ "valueString": "Normal external anus and normal tone. No palpable masses, normal mucosa, brown stool. Hemoccult negative"
135
+ }
136
+ ],
137
+ "linkId": "rectal"
138
+ },
139
+ {
140
+ "answer": [
141
+ {
142
+ "valueString": "No enlarged lymph nodes of occipital, pre- and postauricular, submandibular, anterior or posterior cervical, or supraclavicular identified"
143
+ }
144
+ ],
145
+ "linkId": "lymphatic"
146
+ }
147
+ ],
148
+ "linkId": "physical-exam-group"
149
+ }
150
+ ],
151
+ "resourceType": "QuestionnaireResponse",
152
+ "source": {
153
+ "reference": "Patient/683e382b-fed4-433e-9b6d-a847a7953bc0"
154
+ },
155
+ "status": "completed",
156
+ "id": "288fd914-b836-47dd-863a-e7d86a923f28",
157
+ "authored": "2023-04-06T02:05:51Z"
158
+ }